move table
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
if (@booking)
|
||||
json.success true
|
||||
json.id @booking.booking_id
|
||||
json.status @booking.booking_status
|
||||
if Sale.exists?(@booking.sale_id)
|
||||
@@ -43,5 +44,6 @@ if (@booking)
|
||||
json.sub_total @total_amount
|
||||
json.commerical_tax @total_amount * 0.05
|
||||
json.total @total_amount + (@total_amount * 0.05)
|
||||
|
||||
else
|
||||
json.success false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user