document attachment
This commit is contained in:
parent
406e438acd
commit
e2a2723e28
@ -512,7 +512,7 @@ abstract class DocumentShow extends Base
|
|||||||
$this->hideNote = $hideNote;
|
$this->hideNote = $hideNote;
|
||||||
$this->hideAttachment = $hideAttachment;
|
$this->hideAttachment = $hideAttachment;
|
||||||
|
|
||||||
$this->attachment = $attachment;
|
$this->attachment = !empty($attachment) ? $attachment : !empty($document) ? $document->attachment : '';
|
||||||
|
|
||||||
$this->textItems = $textItems;
|
$this->textItems = $textItems;
|
||||||
$this->textQuantity = $textQuantity;
|
$this->textQuantity = $textQuantity;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@if ($attachment)
|
@if ($attachment)
|
||||||
<div class="row align-items-center">
|
<div class="row align-items-center mb-4">
|
||||||
<div class="col-xs-12 col-sm-4">
|
<div class="col-xs-12 col-sm-4">
|
||||||
@php
|
@php
|
||||||
$file = $attachment;
|
$file = $attachment;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user