- changed order pk column to id - refactored and fixed inShop - using php Money for transaction
45 lines
1.8 KiB
PHP
45 lines
1.8 KiB
PHP
@if(!request()->routeIs('login'))
|
|
@if ($message = Session::get('success', Session::get('bo.success')))
|
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
|
</div>
|
|
@endif
|
|
|
|
@if ($message = Session::get('error', Session::get('bo.error')))
|
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
@if ($message = Session::get('warning', Session::get('bo.warning')))
|
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
@if ($message = Session::get('info', Session::get('bo.info')))
|
|
<div class="alert alert-info alert-dismissible fade show" role="alert">
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
@if ($errors->any())
|
|
<ul class="list-unstyled">
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
|
</div>
|
|
@endif
|
|
@endif
|