update fixing by CODEX
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user