C# Class Samba.Modules.TicketModule.TicketListViewModel

Inheritance: Samba.Presentation.Common.ObservableObject
Mostrar archivo Open project: emreeren/SambaPOS-2 Class Usage Examples

Public Methods

Method Description
DisplayTickets ( ) : void
RefreshOpenTickets ( ) : void
TicketListViewModel ( ) : System
UpdateOpenTickets ( Samba.Domain.Models.Tickets.Department department, string selectedTag, string tagFilter ) : void
UpdateSelectedDepartment ( int departmentId ) : void
UpdateSelectedTicketTitle ( ) : void

Private Methods

Method Description
CanCancelSelectedItems ( string arg ) : bool
CanChangePrice ( string arg ) : bool
CanCloseTicket ( string arg ) : bool
CanDecQuantity ( string arg ) : bool
CanDecSelectionQuantity ( string arg ) : bool
CanEditTicketNote ( string arg ) : bool
CanExecutePrintJob ( Samba.Domain.Models.Settings.PrintJob arg ) : bool
CanExecuteShowTicketTags ( Samba.Domain.Models.Tickets.TicketTagGroup arg ) : bool
CanGiftSelectedItems ( string arg ) : bool
CanIncQuantity ( string arg ) : bool
CanIncSelectionQuantity ( string arg ) : bool
CanMakeFastPayment ( string arg ) : bool
CanMakePayment ( string arg ) : bool
CanMoveTicketItems ( string arg ) : bool
CanRemoveTicketLock ( string arg ) : bool
CanSelectCustomer ( string arg ) : bool
CanSelectTable ( string arg ) : bool
CanShowExtraProperty ( string arg ) : bool
CanVoidSelectedItems ( string arg ) : bool
CloseTicket ( ) : void
GetOpenTicketTags ( IEnumerable openTickets, Samba.Domain.Models.Tickets.TicketTagGroup tagGroup, string tagFilter ) : IEnumerable
GetOpenTickets ( IEnumerable openTickets, Samba.Domain.Models.Tickets.TicketTagGroup tagGroup, string tagFilter ) : IEnumerable
OnAddMenuItemCommandExecute ( ScreenMenuItemData obj ) : void
OnCancelItemCommand ( string obj ) : void
OnChangePrice ( string obj ) : void
OnCloseTicketExecute ( string obj ) : void
OnDecQuantityCommand ( string obj ) : void
OnDecSelectionQuantityCommand ( string obj ) : void
OnEditTicketNote ( string obj ) : void
OnFilterOpenTicketsExecute ( Samba.Presentation.ViewModels.TicketTagFilterViewModel obj ) : void
OnIncQuantityCommand ( string obj ) : void
OnIncSelectionQuantityCommand ( string obj ) : void
OnMakeCashPaymentExecute ( string obj ) : void
OnMakeCreditCardPaymentExecute ( string obj ) : void
OnMakePaymentExecute ( string obj ) : void
OnMakeTicketPaymentExecute ( string obj ) : void
OnMoveTicketItems ( string obj ) : void
OnOpenTicketExecute ( int id ) : void
OnPrintJobExecute ( Samba.Domain.Models.Settings.PrintJob printJob ) : void
OnProcessCreditCard ( EventParameters obj ) : void
OnRemoveTicketLock ( string obj ) : void
OnSelectCustomerExecute ( string obj ) : void
OnSelectTableExecute ( string obj ) : void
OnShowAllOpenTickets ( string obj ) : void
OnShowExtraProperty ( string obj ) : void
OnShowGiftReasonsExecuted ( string obj ) : void
OnShowTicketsTagExecute ( Samba.Domain.Models.Tickets.TicketTagGroup tagGroup ) : void
OnShowVoidReasonsExecuted ( string obj ) : void
OnTimer ( object state ) : void
RefreshSelectedTicket ( ) : void
RefreshVisuals ( ) : void
SaveTicketIfNew ( ) : void
StartTimer ( ) : void
StopTimer ( ) : void
UpdateSelectedTicketView ( ) : void

Method Details

DisplayTickets() public method

public DisplayTickets ( ) : void
return void

RefreshOpenTickets() public method

public RefreshOpenTickets ( ) : void
return void

TicketListViewModel() public method

public TicketListViewModel ( ) : System
return System

UpdateOpenTickets() public method

public UpdateOpenTickets ( Samba.Domain.Models.Tickets.Department department, string selectedTag, string tagFilter ) : void
department Samba.Domain.Models.Tickets.Department
selectedTag string
tagFilter string
return void

UpdateSelectedDepartment() public method

public UpdateSelectedDepartment ( int departmentId ) : void
departmentId int
return void

UpdateSelectedTicketTitle() public method

public UpdateSelectedTicketTitle ( ) : void
return void