tambah field invoice no dan billing no

This commit is contained in:
2024-04-25 17:05:00 +07:00
parent 0b7a8191bf
commit 60af8f21ce
6 changed files with 87 additions and 0 deletions

View File

@@ -252,6 +252,14 @@ class RequestLogController extends Controller
$requestLog->catatan = $request->catatan;
}
if (!empty($request->billing_no)) {
$requestLog->billing_no = $request->billing_no;
}
if (!empty($request->invoice_no)) {
$requestLog->invoice_no = $request->invoice_no;
}
if (!empty($request->reason)) {
$requestLog->reason = $request->reason;
}
@@ -402,6 +410,12 @@ class RequestLogController extends Controller
if (!empty($request->catatan)) {
$requestLog->catatan = $request->catatan;
}
if (!empty($request->billing_no)) {
$requestLog->billing_no = $request->billing_no;
}
if (!empty($request->invoice_no)) {
$requestLog->invoice_no = $request->invoice_no;
}
if ($request->discharge_date) {
$requestLog->discharge_date = $request->discharge_date;
}