diff --git a/app/Mail/PanelBoxNotOkAlert.php b/app/Mail/PanelBoxNotOkAlert.php index 8e09e27..931fda9 100644 --- a/app/Mail/PanelBoxNotOkAlert.php +++ b/app/Mail/PanelBoxNotOkAlert.php @@ -20,13 +20,16 @@ class PanelBoxNotOkAlert extends Mailable public $supplier; + public $remark; + /** * Create a new message instance. */ - public function __construct($plant,$itemCode,$serialNumber,$supplier, $characteristics) + public function __construct($plant,$itemCode,$remark, $serialNumber,$supplier, $characteristics) { $this->plant = $plant; $this->itemCode = $itemCode; + $this->remark = $remark; $this->serialNumber = $serialNumber; $this->supplier = $supplier; $this->characteristics = $characteristics; diff --git a/resources/views/mail/panel-box-not-ok-alert.blade.php b/resources/views/mail/panel-box-not-ok-alert.blade.php index d57bf94..756930d 100644 --- a/resources/views/mail/panel-box-not-ok-alert.blade.php +++ b/resources/views/mail/panel-box-not-ok-alert.blade.php @@ -134,6 +134,20 @@ + + + Remark + + + + {{ $remark }} + + +