E-Invoice - Partial completion of => Doc Delivery - E-INVOICE, E-CN, E-RN + Edit Booking Amount (3.0) with feedback from Sin Yee

This commit is contained in:
Dillon Ngo
2025-06-10 02:25:44 +08:00
parent 6cfa6f8d75
commit a04e4b83a6
7 changed files with 145 additions and 65 deletions
@@ -8,11 +8,13 @@ class CreatePaymentVerificationDocumentDTO implements DataTransferObject
{
public int $bookingId;
public int $companyId;
public int $paymentId;
public function __construct(array $data)
{
$this->bookingId = $data['booking_id'];
$this->companyId = $data['company_id'];
$this->paymentId = $data['payment_id'];
}
public function toArray(): array
@@ -20,6 +22,7 @@ class CreatePaymentVerificationDocumentDTO implements DataTransferObject
return [
'booking_id' => $this->bookingId,
'company_id' => $this->companyId,
'payment_id' => $this->paymentId,
];
}
}