fixed quotation currency inference
This commit is contained in:
@@ -39,8 +39,7 @@ class PaymentProvider extends ChangeNotifier {
|
||||
String? clientPaymentRef,
|
||||
Map<String, String>? metadata,
|
||||
}) async {
|
||||
if (!_organization.isOrganizationSet)
|
||||
throw StateError('Organization is not set');
|
||||
if (!_organization.isOrganizationSet) throw StateError('Organization is not set');
|
||||
final quoteRef = _quotation.quotation?.quoteRef;
|
||||
if (quoteRef == null || quoteRef.isEmpty) {
|
||||
throw StateError('Quotation reference is not set');
|
||||
|
||||
Reference in New Issue
Block a user