fixed upload files
This commit is contained in:
parent
9838c03906
commit
2dd57c5084
@ -57,12 +57,14 @@
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file',[]) }}
|
||||
|
||||
@if ($payment->attachment)
|
||||
<div class="col-md-6">
|
||||
@if($payment->attachment)
|
||||
@php $file = $payment->attachment; @endphp
|
||||
@include('partials.media.file')
|
||||
@endif
|
||||
</div>
|
||||
@else
|
||||
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
|
||||
@endif
|
||||
|
||||
@if ($payment->bill)
|
||||
{{ Form::textGroup('document', trans_choice('general.bills', 1), 'file-invoice', ['disabled' => 'disabled'], $payment->bill->bill_number) }}
|
||||
|
@ -57,12 +57,14 @@
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file',[]) }}
|
||||
|
||||
@if ($revenue->attachment)
|
||||
<div class="col-md-6">
|
||||
@if($revenue->attachment)
|
||||
@php $file = $revenue->attachment; @endphp
|
||||
@include('partials.media.file')
|
||||
@endif
|
||||
</div>
|
||||
@else
|
||||
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
|
||||
@endif
|
||||
|
||||
@if ($revenue->invoice)
|
||||
{{ Form::textGroup('document', trans_choice('general.invoices', 1), 'file-invoice', ['disabled' => 'disabled'], $revenue->invoice->invoice_number) }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user