internal void AddReceivableAmountForSupplier(Supplier supplier) { ResetTransactionData(TransactionType.Receivable); SelectedSupplier = new SupplierViewModel(supplier); }
internal void GetPaymentFromSupplier(Supplier supplier) { ResetTransactionData(TransactionType.Income); SelectedSupplier = new SupplierViewModel(supplier); }
internal void AddLiabilityAmountForSupplier(Supplier supplier) { ResetTransactionData(TransactionType.Liability); SelectedSupplier = new SupplierViewModel(supplier); }
public void MakePaymentToSupplier(Supplier supplier) { ResetTransactionData(TransactionType.Expense); SelectedSupplier = new SupplierViewModel(supplier); }
public SupplierViewModel(Supplier model) { Model = model; }
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"); }
internal void DisplaySupplierAccount(Supplier Supplier) { FoundSuppliers.Clear(); if (Supplier != null) FoundSuppliers.Add(new SupplierViewModel(Supplier)); RaisePropertyChanged("SelectedSupplier"); OnDisplaySupplierAccount(""); }