Ejemplo n.º 1
0
 internal void Print_Receipt(InvoiceData xInvoiceData, 
                             string FursD_BussinesPremiseID,
                             string ElectronicDevice_ID,
                             int BaseCurrencyDecimalPlaces,
                             GlobalData.ePaymentType PaymentType, string sPaymentMethod, string sAmountReceived, string sToReturn, DateTime_v issue_time,
                             NavigationButtons.Navigation nav)
 {
     if (Printer_is_ESC_POS())
     {
         Print_Receipt_ESC_POS(xInvoiceData, FursD_BussinesPremiseID,ElectronicDevice_ID, BaseCurrencyDecimalPlaces, PaymentType, sPaymentMethod, sAmountReceived, sToReturn, issue_time);
     }
     else
     {
         Form_Print_A4 print_A4_dlg = new Form_Print_A4(xInvoiceData, PaymentType, sPaymentMethod, sAmountReceived, sToReturn, issue_time, nav);
         print_A4_dlg.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 internal void Print_ProformaInvoice(InvoiceData xInvoiceData,
                             int BaseCurrencyDecimalPlaces,
                             GlobalData.ePaymentType PaymentType, 
                             string sPaymentMethod,
                             string sBank,
                             string sBankAccount,
                             string sTermsOfPayment_Description,
                             long DruationType,
                             long Duration,
                             DateTime_v issue_time
                             )
 {
     Form_Print_A4 print_A4_dlg = new Form_Print_A4(xInvoiceData, PaymentType, sPaymentMethod, DruationType, Duration, issue_time, null);
     print_A4_dlg.ShowDialog();
 }