Method |
Description |
|
AddItemToSelectedTicket ( Samba.Domain.Models.Tickets.TicketItem model ) : void |
|
|
AddTimeCardEntry ( TimeCardEntry timeCardEntry ) : void |
|
|
AssignCustomerToSelectedTicket ( Samba.Domain.Models.Customers.Customer customer ) : void |
|
|
AssignCustomerToTicket ( Samba.Domain.Models.Tickets.Ticket ticket, Samba.Domain.Models.Customers.Customer customer ) : void |
|
|
AssignTableToSelectedTicket ( int tableId ) : void |
|
|
CloseTicket ( ) : TicketCommitResult |
|
|
CreateNewTicket ( ) : void |
|
|
GetLastTimeCardEntry ( User user ) : TimeCardEntry |
|
|
GetReason ( int reasonId ) : string |
|
|
GetUserName ( int userId ) : string |
|
|
GetVatTemplate ( int menuItemId ) : Samba.Domain.Models.Menus.VatTemplate |
|
|
LoadTables ( string selectedTableScreen ) : IList
Private Methods
Method Details
AddItemToSelectedTicket()
public method
public AddItemToSelectedTicket ( Samba.Domain.Models.Tickets.TicketItem model ) : void |
model |
Samba.Domain.Models.Tickets.TicketItem |
|
return |
void |
|
AddTimeCardEntry()
public static method
public static AddTimeCardEntry ( TimeCardEntry timeCardEntry ) : void |
timeCardEntry |
Samba.Domain.Models.Users.TimeCardEntry |
|
return |
void |
|
AssignCustomerToSelectedTicket()
public method
public AssignCustomerToSelectedTicket ( Samba.Domain.Models.Customers.Customer customer ) : void |
customer |
Samba.Domain.Models.Customers.Customer |
|
return |
void |
|
AssignCustomerToTicket()
public method
public AssignCustomerToTicket ( Samba.Domain.Models.Tickets.Ticket ticket, Samba.Domain.Models.Customers.Customer customer ) : void |
ticket |
Samba.Domain.Models.Tickets.Ticket |
|
customer |
Samba.Domain.Models.Customers.Customer |
|
return |
void |
|
AssignTableToSelectedTicket()
public method
CloseTicket()
public method
public CloseTicket ( ) : TicketCommitResult |
return |
TicketCommitResult |
|
CreateNewTicket()
public method
GetLastTimeCardEntry()
public static method
public static GetLastTimeCardEntry ( User user ) : TimeCardEntry |
user |
Samba.Domain.Models.Users.User |
|
return |
Samba.Domain.Models.Users.TimeCardEntry |
|
GetReason()
public method
public GetReason ( int reasonId ) : string |
reasonId |
int |
|
return |
string |
|
GetUserName()
public method
public GetUserName ( int userId ) : string |
userId |
int |
|
return |
string |
|
GetVatTemplate()
public method
public GetVatTemplate ( int menuItemId ) : Samba.Domain.Models.Menus.VatTemplate |
menuItemId |
int |
|
return |
Samba.Domain.Models.Menus.VatTemplate |
|
LoadTables()
public method
public LoadTables ( string selectedTableScreen ) : IList
selectedTableScreen |
string |
|
return |
IList
MainDataContext()
public method
MoveTicketItems()
public method
public MoveTicketItems ( IEnumerable selectedItems, int targetTicketId ) : TicketCommitResult |
selectedItems |
IEnumerable |
|
targetTicketId |
int |
|
return |
TicketCommitResult |
|
OpenTicket()
public method
public OpenTicket ( int ticketId ) : void |
ticketId |
int |
|
return |
void |
|
OpenTicketFromTableName()
public method
OpenTicketFromTicketNumber()
public method
Recalculate()
public method
public Recalculate ( Ticket ticket ) : void |
ticket |
Ticket |
|
return |
void |
|
ResetCache()
public method
ResetTableDataForSelectedTicket()
public method
ResetUserData()
public method
SaveTables()
public method
StartWorkPeriod()
public method
public StartWorkPeriod ( string description, decimal cashAmount, decimal creditCardAmount, decimal ticketAmount ) : void |
description |
string |
|
cashAmount |
decimal |
|
creditCardAmount |
decimal |
|
ticketAmount |
decimal |
|
return |
void |
|
StopWorkPeriod()
public method
public StopWorkPeriod ( string description ) : void |
description |
string |
|
return |
void |
|
UpdateTableData()
public method
public UpdateTableData ( TableScreen selectedTableScreen, int pageNo ) : void |
selectedTableScreen |
TableScreen |
|
pageNo |
int |
|
return |
void |
|
UpdateTables()
public method
public UpdateTables ( int tableScreenId, int pageNo ) : void |
tableScreenId |
int |
|
pageNo |
int |
|
return |
void |
|
UpdateTicketNumber()
public method
UpdateTicketNumber()
public method
public UpdateTicketNumber ( Ticket ticket, Numerator numerator ) : void |
ticket |
Ticket |
|
numerator |
Numerator |
|
return |
void |
|
UpdateTicketTable()
public method
UpdateTimeCardEntry()
public static method
public static UpdateTimeCardEntry ( User user, int timeCardAction ) : void |
user |
User |
|
timeCardAction |
int |
|
return |
void |
|
| | |