update fixing by CODEX

This commit is contained in:
Fiqh Pratama
2025-10-26 14:14:06 +07:00
parent 6f9f0d34a3
commit e918e1e8a1
10 changed files with 55 additions and 40 deletions
+5 -1
View File
@@ -18,17 +18,19 @@ class ExpenseRejected extends Mailable
protected string $tanggal;
protected int $total;
protected string $url;
protected ?string $remarks;
/**
* Create a new message instance.
*/
public function __construct(string $name, string $expense_number, string $tanggal, int $total, string $url)
public function __construct(string $name, string $expense_number, string $tanggal, int $total, string $url, ?string $remarks = null)
{
$this->name = $name;
$this->expense_number = $expense_number;
$this->tanggal = $tanggal;
$this->total = $total;
$this->url = $url;
$this->remarks = $remarks;
}
/**
@@ -54,6 +56,7 @@ class ExpenseRejected extends Mailable
'tanggal' => $this->tanggal,
'total' => $this->total,
'url' => $this->url,
'remarks' => $this->remarks,
],
);
}
@@ -79,6 +82,7 @@ class ExpenseRejected extends Mailable
'tanggal' => $this->tanggal,
'total' => $this->total,
'url' => $this->url,
'remarks' => $this->remarks,
])->render();
}
}