diff --git a/app/assets/stylesheets/origami.scss b/app/assets/stylesheets/origami.scss index 0ec6fc4c..07c7428f 100755 --- a/app/assets/stylesheets/origami.scss +++ b/app/assets/stylesheets/origami.scss @@ -314,7 +314,7 @@ tr.discount-item-row:hover { position: relative; left: 42%; top: 30%; - background-color: #d9534f; + background-color: #32ad1a; color: #fff; text-align: center; width: 200px; @@ -405,4 +405,18 @@ i.logout_icon{ #is_memberModal .btn { width: 80%; } -/* End Is Member Modal */ \ No newline at end of file +/* End Is Member Modal */ + +/* Start iframe */ +iframe { + border: none; + overflow: hidden !important; + width: 400px; + height: 550px; +} + +#pdfModal .btn { + width: 150%; + height: 100%; +} +/* End iframe */ \ No newline at end of file diff --git a/app/models/sale.rb b/app/models/sale.rb index f0b5aeed..5d46aafc 100755 --- a/app/models/sale.rb +++ b/app/models/sale.rb @@ -884,7 +884,7 @@ def self.get_menu_item_query(order_by) "(CASE WHEN si.qty IS NOT NULL THEN SUM(si.qty) ELSE 0 END) as total_item," + "(CASE WHEN si.unit_price != mii.price THEN si.unit_price ELSE mii.price END) as unit_price," + "(CASE WHEN si.qty IS NOT NULL THEN (SUM(si.qty) * si.unit_price) ELSE 0 END) as grand_total," + - "mii.price as unit_price, (CASE WHEN si.product_name IS NOT NULL THEN si.product_name ELSE mii.item_instance_name END) as product_name, + "mii.price as unit_price, (CASE WHEN si.product_name IS NOT NULL THEN si.product_name ELSE CONCAT(menu_items.name,' - ',mii.item_instance_name) END) as product_name, mc.name as" + " menu_category_name,mc.id as menu_category_id, si.remark as status_type, si.price as price ") diff --git a/app/views/crm/customers/_new_form.html.erb b/app/views/crm/customers/_new_form.html.erb index 3a953e81..5dcb86b0 100755 --- a/app/views/crm/customers/_new_form.html.erb +++ b/app/views/crm/customers/_new_form.html.erb @@ -162,6 +162,9 @@

<%= t :card_tap %>

+
+ +
diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 55d0b19b..2deb9c0c 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -391,21 +391,23 @@