diff --git a/app/assets/javascripts/addorder.js b/app/assets/javascripts/addorder.js index a2d77325..c8bb6be3 100755 --- a/app/assets/javascripts/addorder.js +++ b/app/assets/javascripts/addorder.js @@ -37,8 +37,8 @@ $(function(){ } row = '
' - +'
' - +''+ product[field].name +'' + +'
' + +'
'+ product[field].name +'
' +"
" - +"' - +'' + +"" + +'add' +'
' +'
' @@ -65,7 +64,7 @@ $(function(){ +"
" +'' +'
'; $('.menu_items_list').append(row); @@ -109,6 +108,7 @@ $(function(){ if (JSON.stringify(menu_items[field].item_sets)!='[]') { fa_plus = ''; + add = ''; menu_item_box = 'set_item_box'; data_target = 'sx_item_set_detailModal'; @@ -120,7 +120,8 @@ $(function(){ item_attributes = menu_items[field].attributes; promotion_price = menu_items[field].promotion_price; }else{ - fa_plus = 'fa-plus'; + fa_plus = 'material-icons'; + add = 'add' menu_item_box = 'menu_item_box'; data_target = 'sx_item_detailModal'; @@ -146,8 +147,8 @@ $(function(){ } row = '
' - +'
' - +''+ menu_items[field].name +'' + +'
' + +'
'+ menu_items[field].name +'
' +"
" - +"' - +'' + +"" + +add+ '' +'
' +'
' @@ -174,7 +174,7 @@ $(function(){ +"
" +'' +'
'; $('.menu_items_list').append(row); @@ -216,14 +216,14 @@ $(function(){ +"' data-max-qty='"+item_sets[field]["max_selectable_qty"] +"'>" +'
' - +''+result["name"]+'' + +''+result["name"]+'' +'
' +'
' +'' +' ' +'
' +'' +'' @@ -433,8 +433,8 @@ $(function(){ disabled = "disabled"; } row +=""; }); @@ -446,7 +446,7 @@ $(function(){ type = item_options[field]["type"]; row = "

"+type+"

" $(value).each(function(i){ - row +=""; }); $(".options-list").append(row); diff --git a/app/assets/stylesheets/addorder.scss b/app/assets/stylesheets/addorder.scss index 7d3add13..91976f41 100755 --- a/app/assets/stylesheets/addorder.scss +++ b/app/assets/stylesheets/addorder.scss @@ -1,3 +1,6 @@ +section .content{ + padding:50px 15px 0 225px !important; +} .custom-card-head{ height: 40px; background-color: #54A5AF; @@ -78,11 +81,9 @@ element.style { } .selected-attribute { - color: #fff !important; background-color: green !important; } .selected-option { - color: #fff !important; background-color: green !important; } @@ -94,12 +95,14 @@ element.style { white-space: normal !important; margin-bottom: 5px; margin-right: 5px; + color:#111 !important; } .option_btn { white-space: normal !important; margin-bottom: 5px; margin-right: 5px; + color:#111 !important; } #logo{ margin: auto; diff --git a/app/views/origami/addorders/detail.html.erb b/app/views/origami/addorders/detail.html.erb index 078d10f4..1056d477 100755 --- a/app/views/origami/addorders/detail.html.erb +++ b/app/views/origami/addorders/detail.html.erb @@ -23,8 +23,7 @@
- -

+
ORDER DETAILS | Table <%=@table.name%> @@ -121,13 +120,14 @@
@@ -154,8 +154,8 @@

Total :

- - + +
@@ -183,13 +183,13 @@
@@ -207,7 +207,7 @@
-
+