Update with new price management

This commit is contained in:
Ludovic CANDELLIER
2021-03-22 00:47:44 +01:00
parent 083d358fbd
commit 37ffaa938b
64 changed files with 1118 additions and 984 deletions

View File

@@ -1,11 +1,13 @@
<button @if (isset($type))type="{{ $type }}"@else type="button"@endif class="btn btn-secondary cancel @if (isset($class)){{ $class }}@endif" @if (isset($id_name)) id="{{ $id_name }}"@endif>
<i class="fa fa-fw fa-ban"></i> {{ __('cancel') }}
</button>
@include('components.button', ['class' => 'btn-secondary cancel ' . ($class ?? ''), 'icon' => 'fa-ban', 'txt' => __('cancel')])
@push('js')
<script>
$('.form-buttons .cancel').click(function() {
window.history.back();
@if (isset($url))
window.location = "{{ $url }}";
@else
window.history.back();
@endif
})
</script>
@endpush