public PhysicalInventoryViewModel() { FillCombo(); FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(p => p.Value == 0);//Value == 0(show all) Value=3(show this week) }
public ItemsMovementViewModel() { FillCombo(); FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(p => p.Value == 1);//Value == 0(show all) Value=3(show this week) }
public FollowUpViewModel() { FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(p => p.Value == 0);//Value == 0(show all) Value=3(show this week) FillStatusCombo(); Load(); CheckRoles(); }
public ExpenseViewModel() { FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(); AddNewPaymentCommandVisibility = true; Load(); }
public TenderViewModel() { FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(); AddNewTenderCommandVisibility = true; Load(); }
public DeliveryViewModel() { FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(p => p.Value == 0);//Value == 0(show all) Value=3(show this week) FillStatusCombo(); Load(); CheckRoles(); AcceptanceVisibility = "Collapsed"; }
public ExpenseLoanViewModel() { FillPeriodCombo(); SelectedPeriod = FilterPeriods.FirstOrDefault(); FillPaymentTypesCombo(); SelectedPaymentType = PaymentTypesFilter.FirstOrDefault(); GetWarehouses(); Load(); }