1
+ import 'package:invoiceninja_flutter/data/models/import_model.dart' ;
2
+
1
3
class Constants {
2
4
//static String get hostedApiUrl => kReleaseMode ? kAppProductionUrl : kAppStagingUrl;
3
5
static String get hostedApiUrl => kAppProductionUrl;
@@ -410,6 +412,10 @@ const String kGatewayTypeInstantBankPay = '21';
410
412
const String kGatewayTypeFPX = '22' ;
411
413
const String kGatewayTypeKlarna = '23' ;
412
414
const String kGatewayTypeBacs = '24' ;
415
+ const String kGatewayTypeVenmo = '25' ;
416
+ const String kGatewayTypeMercadoPago = '26' ;
417
+ const String kGatewayTypeMyBank = '27' ;
418
+ const String kGatewayTypePayLater = '28' ;
413
419
414
420
const kGatewayTypes = {
415
421
kGatewayTypeCreditCard: 'credit_card' ,
@@ -436,6 +442,10 @@ const kGatewayTypes = {
436
442
kGatewayTypeFPX: 'fpx' ,
437
443
kGatewayTypeKlarna: 'klarna' ,
438
444
kGatewayTypeBacs: 'bacs' ,
445
+ kGatewayTypeVenmo: 'venmo' ,
446
+ kGatewayTypeMercadoPago: 'mercado_pago' ,
447
+ kGatewayTypeMyBank: 'my_bank' ,
448
+ kGatewayTypePayLater: 'pay_later' ,
439
449
};
440
450
441
451
const String kNotificationChannelEmail = 'email' ;
@@ -674,6 +684,32 @@ const String kReportPurchaseOrderItem = 'purchase_order_item';
674
684
const String kReportVendor = 'vendor' ;
675
685
const String kReportTransaction = 'transaction' ;
676
686
687
+ final kReportMap = {
688
+ kReportClient: ExportType .clients,
689
+ kReportClientContact: ExportType .client_contacts,
690
+ kReportCredit: ExportType .credits,
691
+ kReportCreditItem: null ,
692
+ kReportDocument: ExportType .documents,
693
+ kReportExpense: ExportType .expenses,
694
+ kReportInvoice: ExportType .invoices,
695
+ kReportPayment: ExportType .payments,
696
+ kReportProduct: ExportType .products,
697
+ kReportProfitAndLoss: ExportType .profitloss,
698
+ kReportTask: ExportType .tasks,
699
+ kReportTaskItem: null ,
700
+ kReportInvoiceTax: ExportType .tax_summary,
701
+ kReportPaymentTax: null ,
702
+ kReportQuote: ExportType .quotes,
703
+ kReportInvoiceItem: ExportType .invoice_items,
704
+ kReportQuoteItem: ExportType .quote_items,
705
+ kReportRecurringExpense: null ,
706
+ kReportRecurringInvoice: ExportType .recurring_invoices,
707
+ kReportPurchaseOrder: null ,
708
+ kReportPurchaseOrderItem: null ,
709
+ kReportVendor: null ,
710
+ kReportTransaction: null ,
711
+ };
712
+
677
713
const String kPdfFieldsClientDetails = 'client_details' ;
678
714
const String kPdfFieldsCompanyDetails = 'company_details' ;
679
715
const String kPdfFieldsCompanyAddress = 'company_address' ;
0 commit comments