mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 22:44:03 +00:00
debug orders not complete after po approved
This commit is contained in:
@@ -12,6 +12,7 @@ class CalculatesBookingTransferredAmount
|
||||
{
|
||||
|
||||
public function execute(Booking $booking, int $type){
|
||||
dd($booking->transactions()->bills()->transferred());
|
||||
return $type === 1 ?
|
||||
$booking->transactions()->bills()->transferred()
|
||||
->selectRaw('sum(amount - service_charge - tax) as sub_total')->get()->sum('sub_total') :
|
||||
|
||||
Reference in New Issue
Block a user