update absolute paths in blade
This commit is contained in:
parent
3feea553dc
commit
29d511eb7d
26 changed files with 55 additions and 55 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Answer::class)
|
||||
@can('viewAny', \App\Models\Answer::class)
|
||||
<a href="{{ route('questions.answers.index', $questionModel) }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body', ['brParam' => $questionModel])
|
||||
</div>
|
||||
@can('create', App\Models\Answer::class)
|
||||
@can('create', \App\Models\Answer::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
@include('answers.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('create', App\Models\Answer::class)
|
||||
@can('create', \App\Models\Answer::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Answer::class)
|
||||
@can('viewAny', \App\Models\Answer::class)
|
||||
<a href="{{ route('questions.answers.index', $questionModel) }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
action="{{ route("questions.answers.destroy", ['question' => $questionModel, 'answer' => $answerModel]) }}"
|
||||
method="POST"
|
||||
class="btn-group">
|
||||
@can('update', App\Models\Answer::class)
|
||||
@can('update', \App\Models\Answer::class)
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
@endcan
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\Answer::class)
|
||||
@can('delete', \App\Models\Answer::class)
|
||||
<button class="btn btn-sm btn-danger"
|
||||
title="{{ __('Supprimer cette :model', ['model' => Str::singular(__('models.classes.answers'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
action="{{ route("questions.answers.destroy", ['question' => $questionModel, 'answer' => $answerModel]) }}"
|
||||
method="POST"
|
||||
class="btn-group">
|
||||
@can('update', App\Models\Answer::class)
|
||||
@can('update', \App\Models\Answer::class)
|
||||
<a class="btn btn-sm btn-primary"
|
||||
href="{{ route('questions.answers.edit', ['question' => $questionModel, 'answer' => $answerModel]) }}"
|
||||
title="{{ __('Modifier cette :model', ['model' => Str::singular(__('models.classes.answers'))]) }}" data-bs-toggle="tooltip">
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
@endcan
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\Answer::class)
|
||||
@can('delete', \App\Models\Answer::class)
|
||||
<button class="btn btn-sm btn-danger"
|
||||
title="{{ __('Supprimer cette :model', ['model' => Str::singular(__('models.classes.answers'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</a>
|
||||
@include('breadcrumbs.breadcrumb-body', ['brParam' => $questionModel])
|
||||
</div>
|
||||
@can('create', App\Models\Answer::class)
|
||||
@can('create', \App\Models\Answer::class)
|
||||
<div class="col-md-3 d-flex align-items-center p-0">
|
||||
<div class="input-group justify-content-end">
|
||||
<a href="{{ route('questions.answers.create', ['question' => $questionModel]) }}" class="btn btn-primary" title="{{ __('Ajouter une :model', ['model' => Str::singular(__('models.classes.answers'))]) }}" data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Brand::class)
|
||||
@can('viewAny', \App\Models\Brand::class)
|
||||
<a href="{{ route('brands.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('create', App\Models\Brand::class)
|
||||
@can('create', \App\Models\Brand::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
@include('brands.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('create', App\Models\Brand::class)
|
||||
@can('create', \App\Models\Brand::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Brand::class)
|
||||
@can('viewAny', \App\Models\Brand::class)
|
||||
<a href="{{ route('brands.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('update', App\Models\Brand::class)
|
||||
@can('update', \App\Models\Brand::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
@include('brands.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('update', App\Models\Brand::class)
|
||||
@can('update', \App\Models\Brand::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<span class="badge bg-warning text-dark text-wrap">{{ $brandModel->updated_at->formatLocalized('%d/%m/%Y à %H:%M') }}</span>
|
||||
</td>
|
||||
<td class="text-end align-middle bg-white">
|
||||
@can('update', App\Models\Brand::class)
|
||||
@can('update', \App\Models\Brand::class)
|
||||
<a class="btn btn-sm btn-primary" href="{{ route('brands.edit', $brandModel->id) }}" title="{{ __('Modifier cette :model', ['model' => Str::singular(__('models.classes.brands'))]) }}" data-bs-toggle="tooltip">
|
||||
<i class="fa-solid fa-pencil"></i>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<div class="col p-0">
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('create', App\Models\Brand::class)
|
||||
@can('create', \App\Models\Brand::class)
|
||||
<div class="col-md-3 d-flex align-items-center p-0">
|
||||
<div class="input-group justify-content-end">
|
||||
<a href="{{ route('brands.create') }}" class="btn btn-primary" title="{{ __('Ajouter une :model', ['model' => Str::singular(__('models.classes.brands'))]) }}" data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<div class="col-lg-6 col-md-10 col-12">
|
||||
<fieldset>
|
||||
<legend>{{ __('Type d\'export') }}</legend>
|
||||
@foreach(CustomerExportType::toArray() as $i => $exportType)
|
||||
@foreach(\App\Enums\CustomerExportType::toArray() as $i => $exportType)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="export_type" id="exportType{{ $i }}" value="{{ $exportType->value }}" required>
|
||||
<label class="form-check-label" for="exportType{{ $i }}">
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<td class="align-middle bg-white">{{ $customerInfo->status ? 'Oui' :'Non' }}</td>
|
||||
<td class="align-middle bg-white"><span class="badge bg-warning text-dark text-wrap">{{ $customerInfo->last_connection }}</span></td>
|
||||
{{-- MODEL ACTIONS --}}
|
||||
@can('view', App\Models\Customer::class)
|
||||
@can('view', \App\Models\Customer::class)
|
||||
<td class="text-end align-middle bg-white">
|
||||
<a href="{{ route("customers.show", [
|
||||
'customer' => $customerInfo->customer_id,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Customer::class)
|
||||
@can('viewAny', \App\Models\Customer::class)
|
||||
<a href="{{ route('customers.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\Customer::class)
|
||||
@can('delete', \App\Models\Customer::class)
|
||||
<button class="btn btn-danger"
|
||||
title="{{ __('Supprimer ce :model', ['model' => Str::singular(__('models.classes.customers'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
<export_arcadia>
|
||||
<Commande>
|
||||
<Num_Commande>{{ $request->order_num }}</Num_Commande>
|
||||
<Date_Commande>{{ Carbon::parse($request->order_date)->format('d/m/Y') }}</Date_Commande>
|
||||
<Date_Commande>{{ \Carbon::parse($request->order_date)->format('d/m/Y') }}</Date_Commande>
|
||||
<Operation>{{ $request->operation }}</Operation>
|
||||
@if($type->equals(ArcadiaMailType::default()))
|
||||
@if($orderType->equals(ArcadiaOrderType::cb()))
|
||||
@if($type->equals(\App\Enums\ArcadiaMailType::default()))
|
||||
@if($orderType->equals(\App\Enums\ArcadiaOrderType::cb()))
|
||||
<Etat_Commande_CB>1</Etat_Commande_CB>
|
||||
<Etat_Commande_Cheque>Null</Etat_Commande_Cheque>
|
||||
@elseif($orderType->equals(ArcadiaOrderType::check()))
|
||||
@elseif($orderType->equals(\App\Enums\ArcadiaOrderType::check()))
|
||||
<Etat_Commande_CB>Null</Etat_Commande_CB>
|
||||
<Etat_Commande_Cheque>1</Etat_Commande_Cheque>
|
||||
@endif
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
<Quantite>1</Quantite>
|
||||
<Code_Support>{{ $request->support_code }}</Code_Support>
|
||||
<Libelle_Type_Support>{{ $request->label_type_support }}</Libelle_Type_Support>
|
||||
@if($type->equals(ArcadiaMailType::game()))
|
||||
@if($type->equals(\App\Enums\ArcadiaMailType::game()))
|
||||
@if(!is_null($request->code_on_pack))
|
||||
<Code_on_Pack><![CDATA[{{ $request->code_on_pack }}]]></Code_on_Pack>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<export_arcadia>
|
||||
<Commande>
|
||||
<Num_Commande/>
|
||||
<Date_Commande>{{ Carbon::parse($request->order_date)->format('d/m/Y') }}</Date_Commande>
|
||||
<Date_Commande>{{ \Carbon::parse($request->order_date)->format('d/m/Y') }}</Date_Commande>
|
||||
<Operation>{{ $request->operation }}</Operation>
|
||||
<Email_conso><![CDATA[{{ $customerInfo['email'] }}]]></Email_conso>
|
||||
<Civilite/>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<label class="input-group-text" for="brandSelect">{{ __('Filter par Marque') }}</label>
|
||||
<select class="form-select" id="brandSelect">
|
||||
<option value="0" @if(!request()->brand) selected @endif>{{ __('Sélectionnez une marque..') }}</option>
|
||||
@foreach(Brand::all() as $brand)
|
||||
@foreach(\App\Models\Brand::all() as $brand)
|
||||
<option value="{{ $brand->id }}" @if(request()->brand == "$brand->id") selected @endif>{{ $brand->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Question::class)
|
||||
@can('viewAny', \App\Models\Question::class)
|
||||
<a href="{{ route('questions.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('create', App\Models\Question::class)
|
||||
@can('create', \App\Models\Question::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
@include('questions.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('create', App\Models\Question::class)
|
||||
@can('create', \App\Models\Question::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -24,14 +24,14 @@
|
|||
action="{{ route('questions.destroy', ['question' => $questionModel]) }}"
|
||||
method="POST"
|
||||
class="btn-group">
|
||||
@can('viewAny', App\Models\Answer::class)
|
||||
@can('viewAny', \App\Models\Answer::class)
|
||||
<a href="{{ route("questions.answers.index", $questionModel) }}" class="btn btn-dark"
|
||||
title="{{ __('Afficher les :model', ['model' => __('models.classes.answers')]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
<i class="fa-solid fa-comments"></i>
|
||||
</a>
|
||||
@endcan
|
||||
@can('update', App\Models\Question::class)
|
||||
@can('update', \App\Models\Question::class)
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
@endcan
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\Question::class)
|
||||
@can('delete', \App\Models\Question::class)
|
||||
<button class="btn btn-danger"
|
||||
title="{{ __('Supprimer cette :model', ['model' => Str::singular(__('models.classes.questions'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
@include('questions.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('update', App\Models\Question::class)
|
||||
@can('update', \App\Models\Question::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -28,21 +28,21 @@
|
|||
action="{{ route("questions.destroy", $questionModel) }}"
|
||||
method="POST"
|
||||
class="btn-group">
|
||||
@can('viewAny', App\Models\Answer::class)
|
||||
@can('viewAny', \App\Models\Answer::class)
|
||||
<a href="{{ route("questions.answers.index", $questionModel) }}" class="btn btn-sm btn-dark"
|
||||
title="{{ __('Afficher les :model', ['model' => __('models.classes.answers')]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
<i class="fa-solid fa-comments"></i>
|
||||
</a>
|
||||
@endcan
|
||||
@can('view', App\Models\Question::class)
|
||||
@can('view', \App\Models\Question::class)
|
||||
<a href="{{ route("questions.show", $questionModel) }}" class="btn btn-sm btn-warning"
|
||||
title="{{ __('Afficher cette :model', ['model' => Str::singular(__('models.classes.questions'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
<i class="fa-solid fa-eye"></i>
|
||||
</a>
|
||||
@endcan
|
||||
@can('update', App\Models\Question::class)
|
||||
@can('update', \App\Models\Question::class)
|
||||
<a href="{{ route("questions.edit", $questionModel) }}" class="btn btn-sm btn-primary"
|
||||
title="{{ __('Modifier cette :model', ['model' => Str::singular(__('models.classes.questions'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
@endcan
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\Question::class)
|
||||
@can('delete', \App\Models\Question::class)
|
||||
<button class="btn btn-sm btn-danger"
|
||||
title="{{ __('Supprimer cette :model', ['model' => Str::singular(__('models.classes.questions'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Service::class)
|
||||
@can('viewAny', \App\Models\Service::class)
|
||||
<a href="{{ route('questions.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Service::class)
|
||||
@can('viewAny', \App\Models\Service::class)
|
||||
<a href="{{ route('services.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('create', App\Models\Service::class)
|
||||
@can('create', \App\Models\Service::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
method="POST">
|
||||
@csrf
|
||||
@include('services.form')
|
||||
@can('create', App\Models\Service::class)
|
||||
@can('create', \App\Models\Service::class)
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
<button id="formSubmit"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Service::class)
|
||||
@can('viewAny', \App\Models\Service::class)
|
||||
<a href="{{ route('services.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@endcan
|
||||
@include('breadcrumbs.breadcrumb-body')
|
||||
</div>
|
||||
@can('update', App\Models\Service::class)
|
||||
@can('update', \App\Models\Service::class)
|
||||
<div class="col-12 col-md-4 d-flex justify-content-center justify-content-md-end align-items-center">
|
||||
<button id="formSubmitClone"
|
||||
type="button"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
@include('services.form')
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
@can('update', App\Models\Service::class)
|
||||
@can('update', \App\Models\Service::class)
|
||||
<button id="formSubmit"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
</td>
|
||||
<td class="text-end align-middle bg-white">
|
||||
<div class="btn-group">
|
||||
@can('view', App\Models\Service::class)
|
||||
@can('view', \App\Models\Service::class)
|
||||
<a href="{{ route("services.show", $serviceModel) }}"
|
||||
title="{{ __('Afficher ce :model', ['model' => Str::singular(__('models.classes.services'))]) }}"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
<i class="fa-solid fa-eye"></i>
|
||||
</a>
|
||||
@endcan
|
||||
@can('update', App\Models\Service::class)
|
||||
@can('update', \App\Models\Service::class)
|
||||
<a class="btn btn-sm btn-primary"
|
||||
href="{{ route('services.edit', $serviceModel->id) }}"
|
||||
title="{{ __('Modifier ce :model', ['model' => Str::singular(__('models.classes.services'))]) }}"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
<div class="col-md-3 d-flex align-items-center p-0">
|
||||
<div class="input-group justify-content-end">
|
||||
@can('create', App\Models\Service::class)
|
||||
@can('create', \App\Models\Service::class)
|
||||
<a href="{{ route('services.create') }}"
|
||||
class="btn btn-primary"
|
||||
title="{{ __('Ajouter une :model', ['model' => Str::singular(__('models.classes.services'))]) }}"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="card-header bg-light">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center">
|
||||
<div class="d-flex flex-row align-items-start">
|
||||
@can('viewAny', App\Models\Service::class)
|
||||
@can('viewAny', \App\Models\Service::class)
|
||||
<a href="{{ route('services.index') }}"
|
||||
class="btn btn-primary text-decoration-none me-2"
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
@can('delete', App\Models\SingleOptin::class)
|
||||
@can('delete', \App\Models\SingleOptin::class)
|
||||
<button class="btn btn-sm btn-danger"
|
||||
title="{{ __('Supprimer cette :model', ['model' => Str::singular(__('models.classes.singleoptins'))]) }}"
|
||||
data-bs-toggle="tooltip">
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<input type="date" class="form-control date end" name="end" value="{{ request()->end ?? Carbon::now()->endOfMonth()->format('Y-m-d') }}" required>
|
||||
<select name="brand" class="form-select" required>
|
||||
<option value="" @if(!request()->brand) selected @endif>{{ __('Sélectionnez une marque') }}</option>
|
||||
@foreach(Brand::all() as $brand)
|
||||
@foreach(\App\Models\Brand::all() as $brand)
|
||||
<option value="{{ $brand->id }}" @if(request()->brand == $brand->id) selected @endif>{{ $brand->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@
|
|||
<button class="btn btn-secondary date month" type="button">{{ __('Ce mois-ci') }}</button>
|
||||
<button class="btn btn-secondary date year" type="button">{{ __('Cette année') }}</button>
|
||||
<span class="input-group-text">{{ __('Début') }}</span>
|
||||
<input type="date" class="form-control date start" name="start" value="{{ request()->start ?? Carbon::now()->startOfMonth()->format('Y-m-d') }}" required>
|
||||
<input type="date" class="form-control date start" name="start" value="{{ request()->start ?? \Carbon::now()->startOfMonth()->format('Y-m-d') }}" required>
|
||||
<span class="input-group-text">{{ __('Fin') }}</span>
|
||||
<input type="date" class="form-control date end" name="end" value="{{ request()->end ?? Carbon::now()->endOfMonth()->format('Y-m-d') }}" required>
|
||||
<input type="date" class="form-control date end" name="end" value="{{ request()->end ?? \Carbon::now()->endOfMonth()->format('Y-m-d') }}" required>
|
||||
<select name="question" class="form-select" required>
|
||||
<option value="" @if(!request()->question) selected @endif>{{ __('Sélectionnez une question') }}</option>
|
||||
@foreach(Question::all() as $question)
|
||||
@foreach(\App\Models\Question::all() as $question)
|
||||
<option value="{{ $question->id }}" @if(request()->question == $question->id) selected @endif>{{ $question->question }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue