| + | |||||
|
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
- <% end %>
+
+
+
- |
+ <% end %>
+
+
|||||
| Select | @@ -68,28 +66,28 @@|||||
|---|---|---|---|---|---|
| - | -- <% if crm_customer.customer_id != "CUS-000000000001" && crm_customer.customer_id != "CUS-000000000002" %> - <%= @i += 1 %> - <%else%> - - - <% end %> - | -<%= crm_customer.name %> | -<%= crm_customer.company rescue '-' %> | -<%= crm_customer.contact_no %> | -<%= crm_customer.email %> | - + <% @crm_customers.each do |crm_customer| %> -
| + | ++ <% if crm_customer.customer_id != "CUS-000000000001" && crm_customer.customer_id != "CUS-000000000002" %> + <%= @i += 1 %> + <%else%> + - <% end %> + | +<%= crm_customer.name %> | +<%= crm_customer.company rescue '-' %> | +<%= crm_customer.contact_no %> | +<%= crm_customer.email %> | + + +
There are no record for your search | |||||
There are no record for your search | |||||
- + + + + + <%= f.error_notification %> + <%= f.hidden_field :id, :class => "form-control col-md-6 " %> +
+ <%= f.radio_button :salutation,"Mr", :class => "salutation mr", :value=>"Mr", :style=>"width: 30px"%> <%= f.radio_button :salutation,"Mrs", :class => "salutation mrs", :value=>"Mrs", :style=>"width: 30px"%> @@ -122,139 +120,139 @@ <%= f.radio_button :salutation,"Miss", :class => "salutation miss", :value=>"Miss", :style=>"width: 30px"%> <%= f.radio_button :salutation,"Mdm", :class => "salutation mdm", :value=>"Mdm", :style=>"width: 30px"%> -
- - <%= f.radio_button :gender,"Male", :class => "gender male", :value=>"Male", :style=>"width: 30px"%> +
+ + <%= f.radio_button :gender,"Male", :class => "gender male", :value=>"Male", :style=>"width: 30px"%> <%= f.radio_button :gender,"Female", :class => "gender female", :value=>"Female", :style=>"width: 30px"%> -
Card Tap
Card Tap
+
<%= notice %>
+-
| Name | -Unique code | -Template | -Printer name | -Font | -Api settings | -Page width | -Page height | -Print copies | -Precision | -Delimiter | -Heading_space | -Action | -
|---|
| <%= print_setting.name %> | -<%= print_setting.unique_code %> | -<%= print_setting.template %> | -<%= print_setting.printer_name %> | -<%= print_setting.font %> | -<%= print_setting.api_settings %> | -<%= print_setting.page_width %> | -<%= print_setting.page_height %> | -<%= print_setting.print_copies %> | -<%= print_setting.precision %> | -<%= print_setting.delimiter %> | -<%= print_setting.heading_space %> | -<%= link_to t("views.btn.show"), print_setting %> | <%= link_to t("views.btn.edit"), edit_print_setting_path(print_setting) %> | - +Name | +Unique code | + +Printer name | +Font | + +Page width | +Page height | +Print copies | +Precision | +Delimiter | +Heading_space | +Action |
|---|
+
| Name | -<%= @print_setting.name %> | -
|---|---|
| Unique code | -<%= @print_setting.unique_code %> | -
| Template | -<%= @print_setting.template %> | -
| Printer name | -<%= @print_setting.printer_name %> | -
| Font | -<%= @print_setting.font %> | -
| Api settings | -<%= @print_setting.api_settings %> | -
| Page width | -<%= @print_setting.page_width %> | -
| Page height | -<%= @print_setting.page_height %> | -
| Print copies | -<%= @print_setting.print_copies %> | -
| Name | +<%= @print_setting.name %> | +
|---|---|
| Unique code | +<%= @print_setting.unique_code %> | +
| Template | +<%= @print_setting.template %> | +
| Printer name | +<%= @print_setting.printer_name %> | +
| Font | +<%= @print_setting.font rescue '-' %> | +
| Api settings | +<%= @print_setting.api_settings %> | +
| Page width | +<%= @print_setting.page_width %> | +
| Page height | +<%= @print_setting.page_height %> | +
| Print copies | +<%= @print_setting.print_copies %> | +
-
| Date | -- | ||||
|---|---|---|---|---|---|
| Menu Category | -Code | -Product | -Total Item | -Unit Price | -Revenue | -
| From Date : <%= params[:from] %> , To Date : <%= params[:to] %> | -|||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Shift Name = <%= @shift_from %> - <%= @shift_to %> ( <%= cashier_name %> ) | -|||||||||||||||||
| - | Menu Category | -Code | -Product | -Total Item | -Unit Price | -Revenue | -|||||||||||
| - <% if !cate_arr.include?(sale.menu_category_id) %> - | <%= sale.menu_category_name %> | - <% cate_arr.push(sale.menu_category_id) %> - <% else %> -- <% end %> - | <%= sale.code rescue '-' %> | - <% if @item_table == 'sale' %> - <% if sale.item_remark == 'FOC' %> -<%= '[PROMO] '.to_s + sale.product_name.to_s rescue '-' %> | - <% elsif sale.item_remark == 'FOC ITEM' %> -<%= '[DIS:QTY] '.to_s + sale.product_name.to_s rescue '-' %> | - <% elsif sale.item_remark == 'DISCOUNT' %> -<%= '[DIS:TP] '.to_s + sale.product_name.to_s rescue '-' %> | - <% else %> -<%= sale.product_name.to_s rescue '-' %> | - <% end %> - <% if sale.item_remark == 'DISCOUNT' %> -- | -- | -<%= sale.total_price.abs rescue '-' %> | - <% total_price += sale.total_price %> - <% else %> -<%= sale.total_item.abs rescue '-' %> | -<%= sale.unit_price rescue '-' %> | -<%= sale.grand_total.abs rescue '-' %> | - <% end %> - <% else %> -<%= sale.product_name.to_s rescue '-' %> | -<%= sale.total_item.abs rescue '-' %> | -<%= sale.unit_price rescue '-' %> | -<%= sale.grand_total.abs rescue '-' %> | - <% end %> -
| - | Grand Total | -<%= grand_total + total_discount %> | -|||||||||||||||
| <%= account.title %> | -<%= %><%= account.account_type == 1 ? "Expense" : "Income"%> | -<%= account.discount %> | -<%= account.point %> | -<%= account.bonus %> | -<%= account.rebate %> | -- <%= link_to t("views.btn.edit"), edit_settings_account_path(account),:class => 'btn btn-primary btn-lg waves-effect' %> - <%= link_to t("views.btn.delete"), settings_account_path(account),:class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %> + |
| <%= account.title %> | +<%= %><%= account.account_type == 1 ? "Expense" : "Income"%> | +<%= account.discount %> | +<%= account.point %> | +<%= account.bonus %> | +<%= account.rebate %> | ++ <%= link_to t("views.btn.edit"), edit_settings_account_path(account),:class => 'btn btn-primary btn-lg waves-effect' %> + <%= link_to t("views.btn.delete"), settings_account_path(account),:class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %> - | -
-
| Name | -Active | -Login? | -Auto print | -Printer name | -Show tax | -Show cashier | -Show guest info | -Action | -
|---|
| Name | +Active | +Login? | +Auto print | +Printer name | +Show tax | +Show cashier | +Show guest info | +Action | +
|---|---|---|---|---|---|---|---|---|
| <%= settings_cashier_terminal.name %> | <%= settings_cashier_terminal.is_active %> | @@ -43,19 +41,19 @@<%= settings_cashier_terminal.show_guest_info %> | <%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(settings_cashier_terminal),:class => 'btn btn-info btn-lg waves-effect' %> <%= link_to t("views.btn.delete"), settings_cashier_terminal_path(settings_cashier_terminal), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %> | -
-
| Name | -Employee Name | -Commission type | -Joined Date | -Resigned Date | -Active | -- | |||
|---|---|---|---|---|---|---|---|---|---|
| Name | +Employee Name | +Commission type | +Joined Date | +Resigned Date | +Active | ++ | ||
|---|---|---|---|---|---|---|---|---|
| <%= commissioner.name %> | @@ -40,22 +37,22 @@ | <%= commissioner.joined_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %> | <%= commissioner.resigned_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %> | <%= commissioner.is_active %> | -<%= link_to t("views.btn.show"), settings_commissioner_path(commissioner),:class => 'btn btn-info btn-lg waves-effect' %> | -<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(commissioner),:class => 'btn btn-primary btn-lg waves-effect' %> | -<%= link_to t("views.btn.delete"), settings_commissioner_path(commissioner), method: :delete, data: {confirm: 'Are you sure?'},:class => 'btn btn-danger btn-lg waves-effect' %> | +<%= link_to t("views.btn.show"), settings_commissioner_path(commissioner),:class => 'btn btn-info btn-sm waves-effect' %> + <%= link_to t("views.btn.edit"), edit_settings_commissioner_path(commissioner),:class => 'btn btn-primary btn-sm waves-effect' %> + <%= link_to t("views.btn.delete"), settings_commissioner_path(commissioner), method: :delete, data: {confirm: 'Are you sure?'},:class => 'btn btn-danger btn-sm waves-effect' %> |