portal invoice payment method alignment updated
This commit is contained in:
parent
9d62190e43
commit
82964ec251
@ -222,7 +222,7 @@
|
|||||||
<th>
|
<th>
|
||||||
@if ($invoice->notes)
|
@if ($invoice->notes)
|
||||||
<p class="form-control-label">{{ trans_choice('general.notes', 2) }}</p>
|
<p class="form-control-label">{{ trans_choice('general.notes', 2) }}</p>
|
||||||
<p class="form-control text-muted long-texts">{{ $invoice->notes }}</p>
|
<p class="text-muted long-texts">{{ $invoice->notes }}</p>
|
||||||
@endif
|
@endif
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -268,38 +268,40 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@stack('card_footer_start')
|
@stack('card_footer_start')
|
||||||
<div class="card-footer">
|
<div class="card-footer pb-0">
|
||||||
<div class="float-right">
|
<div class="row">
|
||||||
@stack('button_print_start')
|
<div class="col-xs-12 col-sm-6">
|
||||||
<a href="{{ route('portal.invoices.print', $invoice->id) }}" target="_blank" class="btn btn-success header-button-top">
|
@if($invoice->status != 'paid')
|
||||||
<i class="fa fa-print"></i> {{ trans('general.print') }}
|
@if ($payment_methods)
|
||||||
</a>
|
{!! Form::open([
|
||||||
@stack('button_print_end')
|
'id' => 'invoice-payment',
|
||||||
|
'role' => 'form',
|
||||||
@stack('button_pdf_start')
|
'autocomplete' => "off",
|
||||||
<a href="{{ route('portal.invoices.pdf', $invoice->id) }}" class="btn btn-white header-button-top" data-toggle="tooltip" title="{{ trans('invoices.download_pdf') }}">
|
'novalidate' => 'true',
|
||||||
<i class="fa fa-file-pdf"></i> {{ trans('general.download') }}
|
'class' => 'mb-0'
|
||||||
</a>
|
]) !!}
|
||||||
@stack('button_pdf_end')
|
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, '', ['change' => 'onChangePaymentMethod', 'id' => 'payment-method', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-sm-12') }}
|
||||||
</div>
|
{!! Form::hidden('invoice_id', $invoice->id, ['v-model' => 'form.invoice_id']) !!}
|
||||||
<div class="col-md-4">
|
{!! Form::close() !!}
|
||||||
@if($invoice->status != 'paid')
|
@endif
|
||||||
@if ($payment_methods)
|
|
||||||
{!! Form::open([
|
|
||||||
'id' => 'invoice-payment',
|
|
||||||
'role' => 'form',
|
|
||||||
'autocomplete' => "off",
|
|
||||||
'novalidate' => 'true'
|
|
||||||
]) !!}
|
|
||||||
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, '', ['change' => 'onChangePaymentMethod', 'id' => 'payment-method', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-md-12') }}
|
|
||||||
{!! Form::hidden('invoice_id', $invoice->id, ['v-model' => 'form.invoice_id']) !!}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
</div>
|
||||||
</div>
|
<div class="col-xs-12 col-sm-6 text-right">
|
||||||
|
@stack('button_print_start')
|
||||||
|
<a href="{{ route('portal.invoices.print', $invoice->id) }}" target="_blank" class="btn btn-success header-button-top">
|
||||||
|
<i class="fa fa-print"></i> {{ trans('general.print') }}
|
||||||
|
</a>
|
||||||
|
@stack('button_print_end')
|
||||||
|
|
||||||
<div id="confirm" class="col-md-12">
|
@stack('button_pdf_start')
|
||||||
<component v-bind:is="method_show_html" @interface="onRedirectConfirm"></component>
|
<a href="{{ route('portal.invoices.pdf', $invoice->id) }}" class="btn btn-white header-button-top">
|
||||||
|
<i class="fa fa-file-pdf"></i> {{ trans('general.download') }}
|
||||||
|
</a>
|
||||||
|
@stack('button_pdf_end')
|
||||||
|
</div>
|
||||||
|
<div id="confirm" class="col-sm-12">
|
||||||
|
<component v-bind:is="method_show_html" @interface="onRedirectConfirm"></component>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@stack('card_footer_end')
|
@stack('card_footer_end')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user