Merge pull request #1325 from batuhawk/master

Attchment updated
This commit is contained in:
Batuhan Baş 2020-03-04 13:41:50 +03:00 committed by GitHub
commit 9838c03906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -57,7 +57,12 @@
{{ Form::textGroup('reference', trans('general.reference'), 'file',[]) }}
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
<div class="col-md-6">
@if($payment->attachment)
@php $file = $payment->attachment; @endphp
@include('partials.media.file')
@endif
</div>
@if ($payment->bill)
{{ Form::textGroup('document', trans_choice('general.bills', 1), 'file-invoice', ['disabled' => 'disabled'], $payment->bill->bill_number) }}

View File

@ -57,7 +57,12 @@
{{ Form::textGroup('reference', trans('general.reference'), 'file',[]) }}
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
<div class="col-md-6">
@if($revenue->attachment)
@php $file = $revenue->attachment; @endphp
@include('partials.media.file')
@endif
</div>
@if ($revenue->invoice)
{{ Form::textGroup('document', trans_choice('general.invoices', 1), 'file-invoice', ['disabled' => 'disabled'], $revenue->invoice->invoice_number) }}