customer invoice page stylesheet
This commit is contained in:
parent
42584aa357
commit
1e96c7ef6e
@ -10,4 +10,7 @@ return [
|
|||||||
'order' => 'Order',
|
'order' => 'Order',
|
||||||
'payment_gateways' => 'Offline Payment Methods',
|
'payment_gateways' => 'Offline Payment Methods',
|
||||||
|
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'loading' => 'Loading',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@ -142,17 +142,20 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box-footer row no-print">
|
<div class="box-footer row no-print">
|
||||||
<div class="col-md-12">
|
<div class="col-md-10">
|
||||||
<a href="{{ url('incomes/invoices/' . $invoice->id . '/print') }}" target="_blank" class="btn btn-default">
|
<a href="{{ url('incomes/invoices/' . $invoice->id . '/print') }}" target="_blank" class="btn btn-default">
|
||||||
<i class="fa fa-print"></i> {{ trans('general.print') }}
|
<i class="fa fa-print"></i> {{ trans('general.print') }}
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ url('incomes/invoices/' . $invoice->id . '/pdf') }}" class="btn btn-default" data-toggle="tooltip" title="{{ trans('invoices.download_pdf') }}">
|
<a href="{{ url('incomes/invoices/' . $invoice->id . '/pdf') }}" class="btn btn-default" data-toggle="tooltip" title="{{ trans('invoices.download_pdf') }}">
|
||||||
<i class="fa fa-file-pdf-o"></i> {{ trans('general.download') }}
|
<i class="fa fa-file-pdf-o"></i> {{ trans('general.download') }}
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-2 no-padding-right">
|
||||||
@if($invoice->invoice_status_code != 'paid')
|
@if($invoice->invoice_status_code != 'paid')
|
||||||
@if ($payment_methods)
|
@if ($payment_methods)
|
||||||
{!! Form::select('payment_method', $payment_methods, null, array_merge(['id' => 'payment-method', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])])) !!}
|
{!! Form::select('payment_method', $payment_methods, null, array_merge(['id' => 'payment-method', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])])) !!}
|
||||||
|
{!! Form::hidden('invoice_id', $invoice->id, []) !!}
|
||||||
@else
|
@else
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
@ -179,13 +182,15 @@
|
|||||||
data: $('.box-footer input, .box-footer select'),
|
data: $('.box-footer input, .box-footer select'),
|
||||||
headers: { 'X-CSRF-TOKEN': '{{ csrf_token() }}' },
|
headers: { 'X-CSRF-TOKEN': '{{ csrf_token() }}' },
|
||||||
beforeSend: function() {
|
beforeSend: function() {
|
||||||
|
$('#confirm').html('');
|
||||||
|
|
||||||
$('#confirm').append('<div id="loading" class="text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>');
|
$('#confirm').append('<div id="loading" class="text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>');
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
$('#loading').remove();
|
$('#loading').remove();
|
||||||
},
|
},
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data['erorr']) {
|
if (data['error']) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user