fix bill seeder

This commit is contained in:
omair saleh
2022-02-22 01:21:08 +08:00
parent 4c1c8db0e4
commit 06802e1f78
@@ -115,7 +115,6 @@ 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;