This commit is contained in:
ludo
2025-02-15 12:12:42 +01:00
parent d1cc62c9b1
commit 592402a6c1
53 changed files with 1098 additions and 404 deletions

View File

@@ -114,9 +114,15 @@
</div>
</form>
<div class="col-6">
<x-layout.box-collapse title='Adresses' id='form-customer-address'>
<x-layout.box-collapse title='Adresses' id='customer-addresses'>
@include('Admin.Shop.CustomerAddresses.list', ['dataTable' => $customer_addresses])
</x-layout.box-collapse>
<x-layout.box-collapse title='Factures' id='customer-invoices'>
@include('Admin.Shop.CustomerInvoices.list', ['dataTable' => $customer_invoices])
</x-layout.box-collapse>
<x-layout.box-collapse title='Commandes' id='customer-orders'>
@include('Admin.Shop.CustomerOrders.list', ['dataTable' => $customer_orders])
</x-layout.box-collapse>
</div>
</div>
@@ -124,12 +130,14 @@
@include('load.form.save')
@include('load.form.select2')
@include('load.layout.chevron')
@push('js')
{!! JsValidator::formRequest('App\Http\Requests\Admin\Shop\StoreCustomerPost', '#customer-form') !!}
<script>
$(function() {
initChevron();
initSelect2();
initSaveForm('#customer-form');
});