update payments and vat mentions
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="col-9">
|
||||
<h5>
|
||||
<a href="{{ route('Admin.Shop.Orders.edit', ['id' => $invoice['order_id']]) }}" class="btn btn-success">
|
||||
<i class="fa fa-truck"></i>
|
||||
<i class="fa fa-fw fa-truck"></i>
|
||||
</a>
|
||||
Facture N° {{ $invoice['ref'] }}
|
||||
<span class="small">
|
||||
@@ -20,12 +20,11 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
<h5>
|
||||
@if ($invoice['order']['customer']['company'])
|
||||
Société : {{ $invoice['order']['customer']['company'] }}<br />
|
||||
@endif
|
||||
{{ $invoice['order']['customer']['first_name'] }}
|
||||
{{ $invoice['order']['customer']['last_name'] }}
|
||||
@if ($invoice['order']['customer']['company'])
|
||||
<br>
|
||||
{{ $invoice['order']['customer']['company'] }}
|
||||
@endif
|
||||
</h5>
|
||||
|
||||
@if ($invoice['order']['delivery_address'])
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
</table>
|
||||
@endif
|
||||
|
||||
@include('load.form.datepicker')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$('#add_payment').click(function() {
|
||||
@@ -37,14 +39,14 @@
|
||||
var url_open = "{{ route('Admin.Shop.InvoicePayments.create') }}";
|
||||
var url_save = "{{ route('Admin.Shop.InvoicePayments.store') }}";
|
||||
openModal("Ajouter un paiement", '#invoice_payment-form', url_open, url_save,
|
||||
"InvoicePaymentRefresh();");
|
||||
"InvoicePaymentRefresh();", 'sm');
|
||||
}
|
||||
|
||||
function InvoicePaymentEdit(id) {
|
||||
var url_open = "{{ route('Admin.Shop.InvoicePayments.edit') }}/" + id;
|
||||
var url_save = "{{ route('Admin.Shop.InvoicePayments.store') }}";
|
||||
openModal("Editer un paiement", '#invoice_payment-form', url_open, url_save,
|
||||
"InvoicePaymentRefresh();");
|
||||
"InvoicePaymentRefresh();", 'sm');
|
||||
}
|
||||
|
||||
function InvoicePaymentRefresh() {
|
||||
|
||||
Reference in New Issue
Block a user