private async Task OnViewSettledReceipt(InvoicePaymentView payment)
 {
     if (payment == null)
     {
         return;
     }
     await Nav.NavigateTo(new SettlementViewReceiptPage(payment));
 }
Ejemplo n.º 2
0
 public SettlementViewReceiptPageViewModel(InvoicePaymentView invoicePaymentView)
 {
     Invoice     = invoicePaymentView;
     BackCommand = new AsyncDelegateCommand(Back);
     EmailList   = new ObservableCollection <string>
     {
         Settings.Email
     };
     AddEmailCommand  = new AsyncDelegateCommand(OnAddEmail);
     SendEmailCommand = new AsyncDelegateCommand(OnSendEmail);
 }
Ejemplo n.º 3
0
 public SettlementViewReceiptPage(InvoicePaymentView invoicePaymentView)
 {
     InitializeComponent();
     BindingContext = _vm = new SettlementViewReceiptPageViewModel(invoicePaymentView);
 }