add link for oqs in origami
This commit is contained in:
@@ -125,7 +125,13 @@
|
||||
<% if !@individual_total[0].nil? %>
|
||||
<tr>
|
||||
<td class="charges-name">
|
||||
<strong>Individual amount for <%= @individual_total[0]['total_customer'] %> persons</strong>
|
||||
<strong>Split Bill for <%= @individual_total[0]['total_customer'] %> persons</strong>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="charges-name">
|
||||
<strong>Amount Due (per person)</strong>
|
||||
</td>
|
||||
<td class="item-attr"><strong><span><%= number_with_precision(@individual_total[0]['per_person_amount'], precision: precision.to_i )%></span></strong></td>
|
||||
</tr>
|
||||
@@ -445,7 +451,7 @@ console.log("fffffffffffff")
|
||||
swal ( "Oops" , "Please select an table!" , "warning" );
|
||||
}
|
||||
}else{
|
||||
swal("Opps","You are not authorized for Discount","warning")
|
||||
swal("Oops","You are not authorized for Discount","warning")
|
||||
}
|
||||
return false;
|
||||
});
|
||||
@@ -461,7 +467,7 @@ console.log("fffffffffffff")
|
||||
}
|
||||
|
||||
}else{
|
||||
swal("Opps","You are not authorized for void","warning")
|
||||
swal("Oops","You are not authorized for void","warning")
|
||||
}
|
||||
});
|
||||
|
||||
@@ -548,23 +554,23 @@ console.log("fffffffffffff")
|
||||
$('#pay').click(function() {
|
||||
sub_total = $('#sub-total').text();
|
||||
if (payment_type == 'MPU' && $('.mpu').text() == 0 && sub_total != 0.0) {
|
||||
swal("Opps","Please Pay with MPU Payment","warning");
|
||||
swal("Oops","Please Pay with MPU Payment","warning");
|
||||
}else if(payment_type == "Redeem" && $('#ppamount').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with Redeem Payment","warning");
|
||||
swal("Oops","Please Pay with Redeem Payment","warning");
|
||||
}else if(payment_type == "VISA" && $('#visacount').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with Visa Payment","warning");
|
||||
swal("Oops","Please Pay with Visa Payment","warning");
|
||||
|
||||
}else if(payment_type == "JCB" && $('#jcbcount').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with jcb Payment","warning");
|
||||
swal("Oops","Please Pay with jcb Payment","warning");
|
||||
}
|
||||
else if(payment_type == "Master" && $('#mastercount').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with Master Payment","warning");
|
||||
swal("Oops","Please Pay with Master Payment","warning");
|
||||
}
|
||||
else if(payment_type == "UNIONPAY" && $('#unionpaycount').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with UNIONPAY Payment","warning");
|
||||
swal("Oops","Please Pay with UNIONPAY Payment","warning");
|
||||
}
|
||||
else if(payment_type == "Credit" && $('#credit').text()==0 && sub_total != 0.0){
|
||||
swal("Opps","Please Pay with Credit Payment","warning");
|
||||
swal("Oops","Please Pay with Credit Payment","warning");
|
||||
}else{
|
||||
|
||||
$( "#loading_wrapper").show();
|
||||
@@ -664,7 +670,7 @@ console.log("fffffffffffff")
|
||||
})
|
||||
});
|
||||
}else{
|
||||
swal("Opps","You are not authorized for void","warning")
|
||||
swal("Oops","You are not authorized for void","warning")
|
||||
}
|
||||
|
||||
});
|
||||
@@ -722,7 +728,7 @@ console.log("fffffffffffff")
|
||||
}
|
||||
});
|
||||
}else{
|
||||
swal("Opps","You are not authorized for foc","warning")
|
||||
swal("Oops","You are not authorized for foc","warning")
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user