mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
added component markdown changes
This commit is contained in:
parent
257d25bd9e
commit
c681946b1d
|
@ -28,6 +28,7 @@ class CheckoutConsumableMail extends Mailable
|
||||||
$this->note = $note;
|
$this->note = $note;
|
||||||
$this->target = $checkedOutTo;
|
$this->target = $checkedOutTo;
|
||||||
$this->acceptance = $acceptance;
|
$this->acceptance = $acceptance;
|
||||||
|
$this->qty = $consumable->checkout_qty;
|
||||||
|
|
||||||
$this->settings = Setting::getSettings();
|
$this->settings = Setting::getSettings();
|
||||||
}
|
}
|
||||||
|
@ -50,7 +51,7 @@ class CheckoutConsumableMail extends Mailable
|
||||||
*/
|
*/
|
||||||
public function content(): Content
|
public function content(): Content
|
||||||
{
|
{
|
||||||
Log::debug($this->item->getImageUrl());
|
|
||||||
$eula = $this->item->getEula();
|
$eula = $this->item->getEula();
|
||||||
$req_accept = $this->item->requireAcceptance();
|
$req_accept = $this->item->requireAcceptance();
|
||||||
|
|
||||||
|
@ -66,6 +67,7 @@ class CheckoutConsumableMail extends Mailable
|
||||||
'eula' => $eula,
|
'eula' => $eula,
|
||||||
'req_accept' => $req_accept,
|
'req_accept' => $req_accept,
|
||||||
'accept_url' => $accept_url,
|
'accept_url' => $accept_url,
|
||||||
|
'qty' => $this->qty,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
@if (isset($item->manufacturer))
|
@if (isset($item->manufacturer))
|
||||||
| **{{ trans('general.manufacturer') }}** | {{ $item->manufacturer->name }} |
|
| **{{ trans('general.manufacturer') }}** | {{ $item->manufacturer->name }} |
|
||||||
@endif
|
@endif
|
||||||
|
@if (isset($qty))
|
||||||
|
| **{{ trans('general.qty') }}** | {{ $qty }} |
|
||||||
|
@endif
|
||||||
@if (isset($item->model_no))
|
@if (isset($item->model_no))
|
||||||
| **{{ trans('general.model_no') }}** | {{ $item->model_no }} |
|
| **{{ trans('general.model_no') }}** | {{ $item->model_no }} |
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue