fixed invetory
This commit is contained in:
@@ -781,7 +781,7 @@ $(function() {
|
||||
total_price = $('#total_price').text();
|
||||
qty = parseInt($('#count').val());
|
||||
|
||||
var item_row = $('.selected-attribute');
|
||||
var item_row = $('.selected-attribute');
|
||||
|
||||
attribute_arr = get_selected_attributes('selected-attribute');
|
||||
option_arr = get_selected_attributes('selected-option');
|
||||
@@ -804,6 +804,8 @@ $(function() {
|
||||
|
||||
}
|
||||
if (JSON.stringify(attribute_arr) === JSON.stringify(instances[field].values)) {
|
||||
console.log('instances');
|
||||
console.log(attrbu);
|
||||
$('.add_to_order').attr('data-instance-code',instances[field].code);
|
||||
$('.add_to_order').attr('data-instance',instances[field].name);
|
||||
$('.add_to_order').attr('data-price',instances[field].price);
|
||||
|
||||
@@ -3,12 +3,13 @@ section .content{
|
||||
}
|
||||
.custom-card-head{
|
||||
height: 40px;
|
||||
background-color: #79D0F2;
|
||||
// background-color: #79D0F2;
|
||||
background-color: #3F52B5;
|
||||
color :#fff;
|
||||
#background-color: #a1aade;
|
||||
opacity: 0.8;
|
||||
padding:5px;
|
||||
font-weight:400;
|
||||
font-weight:600;
|
||||
}
|
||||
.custom-card {
|
||||
border: 2px solid rgba(0, 0, 0, 0.125) !important;
|
||||
@@ -21,11 +22,11 @@ section .content{
|
||||
width: 100%;
|
||||
font-weight:900;
|
||||
}
|
||||
|
||||
|
||||
.custom-card-block {
|
||||
padding: 0.3rem !important;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 34em) {
|
||||
.custom-card-columns {
|
||||
-webkit-column-count: 2;
|
||||
@@ -143,7 +144,7 @@ element.style {
|
||||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
color:#111 !important;
|
||||
}
|
||||
}
|
||||
#logo{
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
@@ -188,7 +189,7 @@ section.content{
|
||||
opacity: 1;
|
||||
z-index: 101;
|
||||
filter: alpha(opacity=100); /* ie */
|
||||
-moz-opacity: 1; /* mozilla */
|
||||
-moz-opacity: 1; /* mozilla */
|
||||
}
|
||||
|
||||
#count ,#set_count{
|
||||
@@ -240,7 +241,7 @@ i.logout_icon{
|
||||
.my-toggle{
|
||||
padding: 15px 20px 10px 10px;
|
||||
line-height:2;
|
||||
|
||||
|
||||
}
|
||||
.list-menu{
|
||||
list-style: none;
|
||||
@@ -268,7 +269,7 @@ i.logout_icon{
|
||||
.list-menu > a:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
.cashier_number{
|
||||
.cashier_number, .qty_number{
|
||||
width: 33%;
|
||||
height:58px;
|
||||
line-height:58px;
|
||||
@@ -320,7 +321,8 @@ i.logout_icon{
|
||||
color :#273040;
|
||||
min-height:100px;
|
||||
height: 150px;
|
||||
background-color:#79D0F2;
|
||||
// background-color:#79D0F2;
|
||||
background-color: #3F52B5;
|
||||
|
||||
}
|
||||
.menu_item_no_img_box{
|
||||
@@ -329,7 +331,7 @@ i.logout_icon{
|
||||
}
|
||||
.custom-card-no-img-footer{
|
||||
padding:0.35rem 1.25rem !important;
|
||||
|
||||
|
||||
}
|
||||
.custom-flex-footer{
|
||||
display:flex;
|
||||
|
||||
Reference in New Issue
Block a user