Ejemplo n.º 1
0
 internal void AddReceivableAmountForSupplier(Supplier supplier)
 {
     ResetTransactionData(TransactionType.Receivable);
     SelectedSupplier = new SupplierViewModel(supplier);
 }
Ejemplo n.º 2
0
 internal void GetPaymentFromSupplier(Supplier supplier)
 {
     ResetTransactionData(TransactionType.Income);
     SelectedSupplier = new SupplierViewModel(supplier);
 }
Ejemplo n.º 3
0
 internal void AddLiabilityAmountForSupplier(Supplier supplier)
 {
     ResetTransactionData(TransactionType.Liability);
     SelectedSupplier = new SupplierViewModel(supplier);
 }
Ejemplo n.º 4
0
 public void MakePaymentToSupplier(Supplier supplier)
 {
     ResetTransactionData(TransactionType.Expense);
     SelectedSupplier = new SupplierViewModel(supplier);
 }
Ejemplo n.º 5
0
 public SupplierViewModel(Supplier model)
 {
     Model = model;
 }
Ejemplo n.º 6
0
 private void OnCreateSupplier(string obj)
 {
     FoundSuppliers.Clear();
     var c = new Supplier
                 {
                     Address = SAddressSearchText,
                     Name = SupplierNameSearchText,
                     PhoneNumber = SPhoneNumberSearchText
                 };
     FoundSuppliers.Add(new SupplierViewModel(c));
     SelectedSView = 1;
     RaisePropertyChanged("SelectedSupplier");
 }
Ejemplo n.º 7
0
 internal void DisplaySupplierAccount(Supplier Supplier)
 {
     FoundSuppliers.Clear();
     if (Supplier != null)
         FoundSuppliers.Add(new SupplierViewModel(Supplier));
     RaisePropertyChanged("SelectedSupplier");
     OnDisplaySupplierAccount("");
 }