add user manual for zone

This commit is contained in:
phyusin
2017-10-23 17:59:35 +06:30
parent d3dfabd66a
commit ba18e722d7
33 changed files with 446 additions and 165 deletions

View File

@@ -53,7 +53,14 @@
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_print_setting_path(@print_setting),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), @print_setting, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-danger btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= print_settings_path(@print_setting)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>

View File

@@ -1,4 +1,3 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>

View File

@@ -31,7 +31,7 @@
<tbody>
<% @settings_cashier_terminals.each do |settings_cashier_terminal| %>
<tr>
<td><%= link_to settings_cashier_terminal.name,settings_cashier_terminal_path(settings_cashier_terminal) %></td>
<td><%= settings_cashier_terminal.name%></td>
<td><%= settings_cashier_terminal.is_active %></td>
<td><%= settings_cashier_terminal.is_currently_login %></td>
<td><%= settings_cashier_terminal.auto_print_receipt %></td>
@@ -39,7 +39,9 @@
<td><%= settings_cashier_terminal.show_tax %></td>
<td><%= settings_cashier_terminal.show_cashier %></td>
<!-- <td><%= settings_cashier_terminal.show_guest_info %></td> -->
<td><%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
<td>
<%= link_to t("views.btn.show"), settings_cashier_terminal_path(settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
</td>
</tr>
<% end %>

View File

@@ -1,7 +1,7 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item">Cashier Terminals</li>
<li class="breadcrumb-item"><a href="<%= settings_cashier_terminal_path %>">Cashier Terminals</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_cashier_terminal_path %>
@@ -78,16 +78,16 @@
<tr>
<td colspan="2" align="right">
<!-- <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_cashier_terminal_path(@settings_cashier_terminal) %>" data-method="delete">
<%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(@settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_cashier_terminal_path(@settings_cashier_terminal) %>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span> -->
<%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(@settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_cashier_terminal_path(@item, @settings_cashier_terminal ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
</span>
</td>
</tr>
</table>

View File

@@ -22,7 +22,7 @@
<th>Joined Date</th>
<th>Resigned Date</th>
<th>Active</th>
<th ></th>
<th>Actions</th>
</tr>
</thead>
@@ -39,15 +39,6 @@
<td><%= commissioner.is_active %></td>
<td><%= 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' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_commissioner_path(commissioner)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
<% end %>

View File

@@ -55,6 +55,19 @@
<td style="width:20%">Created By</td>
<td><%= Employee.find(@commissioner.created_by).name %></td>
</tr>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(@commissioner),:class => 'btn btn-primary btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_commissioner_path(@commissioner)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -1,38 +1,53 @@
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= settings_commissions_path %>">Home</a></li>
<li>Commissions</li>
<span style="float: right">
<%= link_to t("views.btn.new"), new_settings_commission_path, :class => 'btn btn-primary btn-sm' %>
</span>
</ul>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">Commissions</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<br>
<div class="card">
<table class="table table-striped">
<thead>
<tr>
<th>Product Name</th>
<th>Commission Type</th>
<th>Amount</th>
<th>Active</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @commissions.each do |commission| %>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix">
<%= link_to t("views.btn.new"),new_settings_commission_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
<div class="card">
<table class="table table-striped">
<thead>
<tr>
<td><%= commission.menu_item.name rescue '-' %></td>
<td><%= commission.commission_type rescue '-' %></td>
<td><%= commission.amount rescue '-' %></td>
<td><%= commission.is_active rescue '-' %></td>
<td><%= link_to t("views.btn.show"), settings_commissions_path(commission) %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_commission_path(commission) %></td>
<td><%= link_to t("views.btn.delete"), settings_commission_path(commission), method: :delete, data: {confirm: 'Are you sure?'} %></td>
<th>Product Name</th>
<th>Commission Type</th>
<th>Amount</th>
<th>Active</th>
<th colspan="2">Actions</th>
</tr>
<% end %>
</tbody>
</table>
</thead>
<tbody>
<% @commissions.each do |commission| %>
<tr>
<td><%= commission.menu_item.name rescue '-' %></td>
<td><%= commission.commission_type rescue '-' %></td>
<td><%= commission.amount rescue '-' %></td>
<td><%= commission.is_active rescue '-' %></td>
<td><%= link_to t("views.btn.show"), settings_commission_path(commission), :class => "btn btn-info btn-sm waves-effect" %>
<%= link_to t("views.btn.edit"), edit_settings_commission_path(commission), :class => "btn btn-info btn-sm waves-effect" %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
</div>
</div>
</div>
</div>

View File

@@ -1,14 +1,14 @@
<p id="notice"><%= notice %></p>
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= settings_commissions_path %>">Home</a></li>
<li><a href="<%= settings_commissions_path %>">Commissions</a></li>
<span style="float: right">
</span>
</ul>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= settings_commissions_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_commissions_path %>">Commissioner</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissioners_path %>
</span>
</ol>
</div>
<div class="card">
<div class="card-block">
<h4 class="card-title">Commission</h4>
@@ -30,11 +30,21 @@
<td style="width:20%">Active</td>
<td><%= @commission.is_active %></td>
</tr>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_commission_path(@commission), class: 'btn btn-info btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_commissions_path(@commission)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>
<%= link_to t('.new', :default => t("views.btn.new")), settings_commissions_path, class: 'btn btn-success' %>
<%= link_to t("views.btn.edit"), edit_settings_commission_path(@commission), class: 'btn btn-info' %>
<%= link_to t("views.btn.delete"), settings_commissions_path(@commission), method: :delete, class: 'btn btn-danger', data: {confirm: 'Are you sure?'} %>
</div>
</div>

View File

@@ -1,22 +1,49 @@
<%= simple_form_for([:settings,@zone,@settings_dining_facility,@dining_charge]) do |f| %>
<%= f.error_notification %>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<%= simple_form_for([:settings,@zone,@settings_dining_facility,@dining_charge]) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :item_code, :input_html => { :id => 'item_code' } %>
<%= f.input :unit_price, :input_html => { :id => 'unit_price'} %>
<%= f.input :taxable %>
<%= f.input :charge_type, :collection => [:hr, :day] %>
<%= f.input :minimum_free_time %>
<%= f.input :charge_block, :input_html => { :id => 'charge_block'} %>
<%= f.input :time_rounding, :collection => [:down, :up] %>
<%= f.input :time_rounding_block, :input_html => { :id => 'time_rounding_block'} %>
<%= f.input :time_rounding_block_price, :input_html => { :id => 'time_rounding_block_price'} %>
</div>
<div class="form-inputs">
<%= f.input :item_code, :input_html => { :id => 'item_code' } %>
<%= f.input :unit_price, :input_html => { :id => 'unit_price'} %>
<%= f.input :taxable %>
<%= f.input :charge_type, :collection => [:hr, :day] %>
<%= f.input :minimum_free_time %>
<%= f.input :charge_block, :input_html => { :id => 'charge_block'} %>
<%= f.input :time_rounding, :collection => [:down, :up] %>
<%= f.input :time_rounding_block, :input_html => { :id => 'time_rounding_block'} %>
<%= f.input :time_rounding_block_price, :input_html => { :id => 'time_rounding_block_price'} %>
</div>
<div class="form-actions">
<%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %>
<div class="form-actions">
<%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %>
</div>
<% end %>
</div>
<% end %>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Item code - generated item code for extra charges <br>
2) Unit price - to write price for extra charges <br>
3) Taxable - checkbox for taxble or not <br>
4) Charge Type - to write type for extra charges <br>
5) Minimum free time - time for free <br>
6) Charge block - time for block <br>
7) Time rounding block - rounding time for block <br>
8) Time rounding block price - to write price for time rounding block <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) SUBMIT - to create extra charges <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>
</div>
<script>

View File

@@ -43,15 +43,14 @@
<%= link_to t("views.btn.edit"), edit_settings_employee_path(@employee),:class => 'btn btn-primary btn-lg waves-effect' %>
<%if @employee.role != "administrator"%>
<!-- <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_employee_path(@employee)%>" data-method="delete">
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_employee_path(@employee)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span> -->
<%= link_to t("views.btn.delete"), settings_employee_path(@item, @employee ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
</span>
<%end%>
</td>
</tr>

View File

@@ -48,7 +48,7 @@
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_membership_action_path(@settings_membership_action),:class => 'btn btn-primary btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_membership_action_path(@settings_membership_action)%>" data-method="delete">
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_membership_action_path(@settings_membership_action)%>" data-method="delete" disabled>
<%= t("views.btn.delete") %>
</button>

View File

@@ -47,7 +47,16 @@
<td><%= @settings_menu_category.order_by %></td>
<td><%= @settings_menu_category.created_at.utc.getlocal.strftime("%Y-%m-%d") %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_menu_category_path(@settings_menu_category, @settings_menu_category),:class => 'btn btn-primary btn-sm waves-effect' %></td>
<td><%= link_to t("views.btn.delete"), settings_menu_category_path(@settings_menu_category), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
<td>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_menu_category_path(@settings_menu_category)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -27,7 +27,14 @@
<td><%= @settings_menu_item_attribute.value rescue "-" %></td>
<td><%=l @settings_menu_item_attribute.created_at, format: :short %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_item_attribute_path(@settings_menu_item_attribute, @settings_menu_item_attribute) %>
<%= link_to t("views.btn.delete"), settings_menu_item_attribute_path(@settings_menu_item_attribute, @settings_menu_item_attribute ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_menu_item_attribute_path(@settings_menu_item_attribute)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button> -->
<!-- Start Delete confirrm text !-->
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>

View File

@@ -20,7 +20,7 @@
<th>Alt name</th>
<th>Order by</th>
<th>Parent</th>
<th colspan="3"></th>
<th colspan="2">Actions</th>
</tr>
</thead>
@@ -31,7 +31,16 @@
<td><%= @category.alt_name %></td>
<td><%= @category.order_by %></td>
<td><%= @category.parent.name rescue "-" %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_category_path(@category) %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_category_path(@category) %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= esettings_menu_category_path(@category)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -54,10 +54,26 @@
<td><%= @settings_menu_item_instances.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
<% if params[:simple_menu_item_id] %>
<!-- td><%= link_to t("views.btn.edit"), edit_settings_simple_menu_item_menu_item_instance_path(@item,@settings_menu_item_instances) %></td>
<td><%= link_to t("views.btn.delete"), settings_simple_menu_item_menu_item_instance_path(@item, @settings_menu_item_instances ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %></td>-->
<td><button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_simple_menu_item_menu_item_instance_path(@item, @settings_menu_item_instances)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span></td>-->
<% else %>
<!-- <td><%= link_to t("views.btn.edit"), edit_settings_simple_menu_item_menu_item_instance_path(@item,@settings_menu_item_instances) %></td>
<td><%= link_to t("views.btn.delete"), settings_simple_menu_item_menu_item_instance_path(@item, @settings_menu_item_instances ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %></td>-->
<td>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_simple_menu_item_menu_item_instance_path(@item, @settings_menu_item_instances)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>-->
<% end %>
</tr>

View File

@@ -29,7 +29,14 @@
<td><%=l @settings_menu_item_option.created_at, format: :short %></td>
<td>
<%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(@settings_menu_item_option, @settings_menu_item_option) %>
<%= link_to t("views.btn.delete"), settings_menu_item_option_path(@settings_menu_item_option), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_menu_item_option_path(@settings_menu_item_option)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button> -->
<!-- Start Delete confirrm text !-->
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>

View File

@@ -39,9 +39,9 @@
<td><%= item.item_set.name %></td>
<td><%= item.menu_item.name %></td>
<td>
<%= link_to t("views.btn.show"), settings_menu_item_set_path(item),:class=>'btn btn-sm btn-success' %>
<%= link_to t("views.btn.edit"), edit_settings_menu_item_set_path(item),:class=>'btn btn-sm btn-primary' %>
<%= link_to t("views.btn.delete"), settings_menu_item_set_path(item), method: :delete, data: { confirm: 'Are you sure?' } ,:class=>'btn btn-danger btn-sm'%>
<%= link_to t("views.btn.show"), settings_menu_item_set_path(item),:class=>'btn btn-sm btn-success waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_menu_item_set_path(item),:class=>'btn btn-sm btn-primary waves-effect' %>
<!-- <%= link_to t("views.btn.delete"), settings_menu_item_set_path(item), method: :delete, data: { confirm: 'Are you sure?' } ,:class=>'btn btn-danger btn-sm'%> -->
</td>
</tr>

View File

@@ -26,6 +26,19 @@
<td><strong>Create At</strong></td>
<td><%= @settings_menu_item_set.created_at %></td>
</tr>
<tr>
<td align="right">
<%= link_to t("views.btn.edit"), edit_settings_menu_item_set_path(@settings_menu_item_set),:class=>'btn btn-sm btn-primary waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_menu_item_set_path(@settings_menu_item_set)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button> -->
<!-- Start Delete confirrm text !-->
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>
</div>

View File

@@ -45,7 +45,16 @@
<td><%= @settings_menu.created_by %></td>
<td><%= @settings_menu.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_path(@settings_menu),:class => 'btn btn-primary btn-sm waves-effect' %></td>
<td><%= link_to t("views.btn.delete"), settings_menu_path(@settings_menu), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
<td>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_menu_path(@settings_menu)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -46,7 +46,14 @@
<td><%= @settings_order_queue_station.created_by %></td>
<td colspan="2">
<%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(@settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_order_queue_station_path(@settings_order_queue_station, @settings_order_queue_station ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_order_queue_station_path(@settings_order_queue_station)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>

View File

@@ -49,8 +49,15 @@
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(@settings_payment_method_setting),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_payment_method_setting_path(@settings_payment_method_setting), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect'%>
<%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(@settings_payment_method_setting),:class => 'btn btn-info btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_payment_method_setting_path(@settings_payment_method_setting)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</table>

View File

@@ -29,16 +29,16 @@
<tr><td style="width:20%">Taxable</td><td><%= @settings_product.taxable %></td></tr>
<tr>
<td colspan="2" align="right">
<!-- <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_product_path(@settings_product)%>" data-method="delete">
<%= link_to t("views.btn.edit"), edit_settings_product_path(@settings_product),:class => 'btn btn-primary btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_product_path(@settings_product)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span> -->
<%= link_to t("views.btn.edit"), edit_settings_product_path(@settings_product),:class => 'btn btn-primary btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_product_path(@item, @settings_product ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
</span>
</td>
</tr>
</tbody>

View File

@@ -58,7 +58,17 @@
<td><%= @category.alt_name %></td>
<td><%= @category.order_by %></td>
<td><%= @category.parent.name rescue "-" %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_category_path(@category),:class => 'btn btn-info btn-sm waves-effect' %></td>
<td>
<%= link_to t("views.btn.edit"), edit_settings_menu_category_path(@category),:class => 'btn btn-info btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_menu_category_path(@category)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -56,8 +56,17 @@
<td><%= @settings_menu_item.created_at.utc.getlocal.strftime("%Y-%m-%d") %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_category_simple_menu_item_path(@category, @settings_menu_item),:class => 'btn btn-primary btn-lg waves-effect' %></td>
<td><%= link_to t("views.btn.delete"), settings_menu_category_simple_menu_item_path(@category, @settings_menu_item ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
<td colspan="2">
<%= link_to t("views.btn.edit"), edit_settings_menu_category_simple_menu_item_path(@category, @settings_menu_item),:class => 'btn btn-primary btn-lg waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_menu_category_simple_menu_item_path(@category)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>

View File

@@ -41,10 +41,21 @@
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - to write table name <br>
2) Status - to write is available or not <br>
3) Seater - to write seat for table <br>
4) Order by - to write order for table <br>
5) Is active - checkbox for is active or not <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) ADD FOR EXTRA CHARGES - to add for extra charges <br>
2) CREATE - to create table <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -43,8 +43,8 @@
<% end %>
<td><%= table.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
<td>
<%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,table) %>
<%= link_to t("views.btn.delete"), settings_zone_table_path(@zone,table), method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to t("views.btn.show"), settings_zone_table_path(@zone,table),:class => 'btn btn-info btn-lg waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,table),:class => "btn btn-info btn-sm waves-effect" %>
</td>
</tr>
<% end %>
@@ -55,10 +55,17 @@
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - to write zone name <br>
2) Is active - checkbox for is active or not <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) CREATE ZONE - to create zone <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -47,7 +47,14 @@
<td><%= @table.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
<td>
<%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,@table),:class => 'btn btn-primary btn-lg waves-effect' %>
<%= link_to t("views.btn.delete"), settings_zone_table_path(@zone,@table), :class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_zone_table_path(@table)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
@@ -58,10 +65,24 @@
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - table name <br>
2) Status - table is available or not <br>
3) Seater - seat for table <br>
4) Order by - order for table <br>
5) Is active - is active or not <br>
6) Created By - user who created table <br>
7) Created At - datetime for table <br>
8) Actions - user can edit/delete table <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) EDIT - to edit table <br>
2) DELETE - to delete table <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -34,8 +34,8 @@
<td><%= settings_tax_profile.inclusive %></td>
<td><%= settings_tax_profile.order_by %></td>
<td><%= settings_tax_profile.created_by %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_tax_profile_path(settings_tax_profile),:class => 'btn btn-info btn-lg waves-effect' %>
<%= link_to t("views.btn.delete"), settings_tax_profile_path(settings_tax_profile ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %></td>
<td><%= link_to t("views.btn.show"), settings_tax_profile_path(settings_tax_profile), :class => "btn btn-info btn-sm waves-effect" %>
<%= link_to t("views.btn.edit"), edit_settings_tax_profile_path(settings_tax_profile),:class => 'btn btn-info btn-lg waves-effect' %></td>
</tr>
<% end %>
</tbody>

View File

@@ -1,29 +1,56 @@
<p id="notice"><%= notice %></p>
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= settings_tax_profile_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_tax_profile_path %>">Tax Profiles</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_tax_profile_path %>
</span>
</ol>
</div>
<p>
<strong>Name:</strong>
<%= @settings_tax_profile.name %>
</p>
<div class="card">
<div class="card-block">
<h4 class="card-title">Tax Profiles</h4>
<table class="table">
<tr>
<td><strong>Name:</strong></td>
<td><%= @settings_tax_profile.name %></td>
</tr>
<p>
<strong>Rate:</strong>
<%= @settings_tax_profile.rate %>
</p>
<tr>
<td><strong>Rate:</strong></td>
<td><%= @settings_tax_profile.rate %></td>
</tr>
<p>
<strong>Inclusive:</strong>
<%= @settings_tax_profile.inclusive %>
</p>
<tr>
<td><strong>Inclusive:</strong></td>
<td><%= @settings_tax_profile.inclusive %></td>
</tr>
<p>
<strong>Order by:</strong>
<%= @settings_tax_profile.order_by %>
</p>
<tr>
<td><strong>Order by:</strong></td>
<td><%= @settings_tax_profile.order_by %></td>
</tr>
<p>
<strong>Created by:</strong>
<%= @settings_tax_profile.created_by %>
</p>
<tr>
<td><strong>Created by:</strong></td>
<td><%= @settings_tax_profile.created_by %></td>
</tr>
<%= link_to t("views.btn.edit"), edit_settings_tax_profile_path(@settings_tax_profile) %> |
<%= link_to t('.new', :default => t("views.btn.new")), settings_tax_profiles_path %>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_tax_profile_path(@settings_tax_profile),:class => "btn btn-info ben-sm waves-effer" %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_tax_profile_path(@settings_tax_profile)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</table>
</div>
</div>

View File

@@ -1,7 +1,5 @@
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<%= simple_form_for([:settings,@settings_zone]) do |f| %>
<%= f.error_notification %>
@@ -16,13 +14,20 @@
</div>
<% end %>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - to write zone name <br>
2) Is active - checkbox for is active or not <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) CREATE ZONE - to create zone <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -5,7 +5,6 @@
<li class="breadcrumb-item"><a href="<%= settings_zones_path %>">Zones</a></li>
<li class="breadcrumb-item active">Edit</li>
<span class="float-right">
<%= link_to t("views.btn.delete"), settings_zone_path(@settings_zone), :class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to t("views.btn.back"), settings_zones_path %>
</span>
</ul>

View File

@@ -48,12 +48,20 @@
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - zone name <br>
2) Is active - is active or not <br>
3) Created by - user who created zone <br>
4) Actions - user can view/change zone data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) EDIT - to edit zone <br>
2) DELETE - to delete zone <br>
</p>
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>

View File

@@ -37,8 +37,14 @@
<% end %>
<td>
<%= link_to t("views.btn.edit"),edit_settings_zone_path(@settings_zone),:class => 'btn btn-primary btn-lg waves-effect' %>
<%= link_to t("views.btn.delete"), settings_zone_path(@settings_zone),:class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_zone_path(@settings_zone)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
@@ -106,10 +112,41 @@
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
<h5>Zone</h5>
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - zone name <br>
2) Is active - is active or not <br>
3) Created by - user who created zone <br>
4) Actions - user can change/delete zone data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) NEW - to add new zone <br>
2) SHOW - to show zone detail <br>
3) EDIT - to edit zone <br>
</p>
<h5>Dining Facilities</h5>
<h5><i class="material-icons md-18">view_headline PAGE DETAIL</i></h5>
<p>
1) Name - table name / user can view table data<br>
2) Type - type for table <br>
3) Seater - seat for table <br>
4) Is active - is active or not <br>
5) Created by - user who created table <br>
6) Created At - datetime for created table <br>
7) Actions - user can change table data <br>
</p>
<h5><i class="material-icons md-18">list BUTTON LISTS</i> </h5>
<p>
1) NEW TABLE - to add new table <br>
2) NEW ROOM - to add new room <br>
3) EDIT - to edit table <br>
</p>
-----------------------------------------------------------------
<h5><i class="material-icons md-18">list LINK LISTS</i> </h5>
<p>1) Home / Back - go to dashboard</p>
</div>
</div>
</div>