check no order
This commit is contained in:
@@ -37,8 +37,9 @@ if (@booking)
|
||||
json.remark item.remark
|
||||
json.item_status item.order_item_status
|
||||
@total_amount = @total_amount + (item.price * item.qty)
|
||||
else
|
||||
json.success false
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
json.sub_total @total_amount
|
||||
|
||||
Reference in New Issue
Block a user