diff --git a/app/views/print_settings/show.html.erb b/app/views/print_settings/show.html.erb index 4613b930..4304a64f 100755 --- a/app/views/print_settings/show.html.erb +++ b/app/views/print_settings/show.html.erb @@ -53,7 +53,14 @@ <%= 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' %> + + + diff --git a/app/views/settings/accounts/index.html.erb b/app/views/settings/accounts/index.html.erb index d2a1c9a4..dc751a17 100755 --- a/app/views/settings/accounts/index.html.erb +++ b/app/views/settings/accounts/index.html.erb @@ -1,4 +1,3 @@ - diff --git a/app/views/settings/commissions/show.html.erb b/app/views/settings/commissions/show.html.erb index 001f2a8c..cc929544 100755 --- a/app/views/settings/commissions/show.html.erb +++ b/app/views/settings/commissions/show.html.erb @@ -1,14 +1,14 @@ -

<%= notice %>

- +

Commission

@@ -30,11 +30,21 @@ Active <%= @commission.is_active %> + + + <%= link_to t("views.btn.edit"), edit_settings_commission_path(@commission), class: 'btn btn-info btn-sm waves-effect' %> + + + + + - <%= 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?'} %>
diff --git a/app/views/settings/dining_charges/_form.html.erb b/app/views/settings/dining_charges/_form.html.erb index db793f8c..a83f1a7d 100755 --- a/app/views/settings/dining_charges/_form.html.erb +++ b/app/views/settings/dining_charges/_form.html.erb @@ -1,22 +1,49 @@ -<%= simple_form_for([:settings,@zone,@settings_dining_facility,@dining_charge]) do |f| %> - <%= f.error_notification %> +
+
+ <%= simple_form_for([:settings,@zone,@settings_dining_facility,@dining_charge]) do |f| %> + <%= f.error_notification %> -
- <%= 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'} %> -
+
+ <%= 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'} %> +
-
- <%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %> +
+ <%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %> +
+ <% end %>
-<% end %> +
+
+
+
view_headline PAGE DETAIL
+

+ 1) Item code - generated item code for extra charges
+ 2) Unit price - to write price for extra charges
+ 3) Taxable - checkbox for taxble or not
+ 4) Charge Type - to write type for extra charges
+ 5) Minimum free time - time for free
+ 6) Charge block - time for block
+ 7) Time rounding block - rounding time for block
+ 8) Time rounding block price - to write price for time rounding block
+

+
list BUTTON LISTS
+

+ 1) SUBMIT - to create extra charges
+

+
list LINK LISTS
+

1) Home / Back - go to dashboard

+
+
+
+