fixes
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
<button class="btn btn-secondary" id="register">Créez mon compte</button>
|
||||
</p>
|
||||
|
||||
<x-layout.collapse id="identification" title="Déjà client" class="d-none identification">
|
||||
<x-layout.collapse id="identification" title="Déjà client" class="d-none identification gradient-green1 rounded-lg">
|
||||
@include('Shop.auth.partials.login')
|
||||
</x-layout.collapse>
|
||||
|
||||
<x-layout.collapse id="personal_data" title="Informations personnelles" class="d-none personal_data">
|
||||
<x-layout.collapse id="personal_data" title="Informations personnelles" class="d-none personal_data gradient-green1 rounded-lg">
|
||||
@include('Shop.auth.partials.register')
|
||||
</x-layout.collapse>
|
||||
@endif
|
||||
@@ -23,15 +23,15 @@
|
||||
{{ Form::open(['route' => 'Shop.Orders.store', 'id' => 'order-form', 'autocomplete' => 'off']) }}
|
||||
|
||||
<div id="registred" @if (!App\Repositories\Shop\Customers::isConnected()) class="d-none" @endif>
|
||||
<x-layout.collapse id="adresses" title="Adresses">
|
||||
<x-layout.collapse id="adresses" title="Adresses" class="gradient-green1 rounded-lg">
|
||||
@include('Shop.Orders.partials.addresses')
|
||||
</x-layout.collapse>
|
||||
|
||||
<x-layout.collapse id="delivery_mode" title="Mode de livraison">
|
||||
<x-layout.collapse id="delivery_mode" title="Mode de livraison" class="gradient-green1 rounded-lg">
|
||||
@include('Shop.Orders.partials.deliveries')
|
||||
</x-layout.collapse>
|
||||
|
||||
<x-layout.collapse id="payment" title="Paiement">
|
||||
<x-layout.collapse id="payment" title="Paiement" class="gradient-green1 rounded-lg">
|
||||
@include('Shop.Orders.partials.payments')
|
||||
</x-layout.collapse>
|
||||
</div>
|
||||
@@ -40,24 +40,29 @@
|
||||
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<x-card class='shadow bg-light'>
|
||||
<x-card class='shadow gradient-green1'>
|
||||
@include('Shop.Baskets.partials.basketTotal')
|
||||
</x-card>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@include('load.layout.chevron')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$('#customer').click(function() {
|
||||
$(".personal_data").addClass('d-none');
|
||||
$('.identification').removeClass('d-none');
|
||||
$('#identification').collapse('show');
|
||||
})
|
||||
});
|
||||
$('#register').click(function() {
|
||||
$('.identification').addClass('d-none');
|
||||
$(".personal_data").removeClass('d-none');
|
||||
$('#personal_data').collapse('show');
|
||||
})
|
||||
});
|
||||
|
||||
initChevron();
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user