check JunctionPay
This commit is contained in:
@@ -28,6 +28,13 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
|
||||
delivery_type = "DIRECT DELIVERY";
|
||||
}
|
||||
|
||||
var payment_type = "";
|
||||
if(value.payment_type=="cash_on_delivery"){
|
||||
payment_type = "COD";
|
||||
}else if(value.payment_type =="dinga"){
|
||||
payment_type = "DINGA";
|
||||
}
|
||||
|
||||
if(key==0){
|
||||
var order_id = value.order_reservation_id;
|
||||
var sr_no = rowCount;
|
||||
@@ -49,11 +56,13 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
|
||||
+'</td>'
|
||||
+'<td width ="20%" class="align-center">'+created_at
|
||||
+'</td>'
|
||||
+'<td width ="20%" class="align-center">'+time
|
||||
+'<td width ="15%" class="align-center">'+time
|
||||
+'</td>'
|
||||
+'<td width ="20%" class="align-center">'+value.grand_total
|
||||
+'</td>'
|
||||
+'<td width ="30%" class="align-center">'
|
||||
+'<td width ="20%" class="align-center col-blue">'+payment_type
|
||||
+'</td>'
|
||||
+'<td width ="20%" class="align-center">'
|
||||
+'<span class="font-10 col-blue">'+ delivery_type +'</span>'
|
||||
+'</td>'
|
||||
+' </tr>';
|
||||
|
||||
Reference in New Issue
Block a user