fix bill seeder

This commit is contained in:
omair saleh
2022-02-22 01:16:47 +08:00
parent 51eb0d54be
commit 43899b03c1
@@ -115,6 +115,7 @@ class CreateInvoiceTransactionProcessor
if ((float) $booking_amount > (float) $payable_amount) {
return;
}
dd($this->calculatesBookingTransferredAmount->execute($booking));
// confirm that all payments has been transferred
if($this->calculatesBookingTransferredAmount->execute($booking) !== $this->calculatesBookingPaidAmount->execute($booking)){
return;