delet the coupon part in the form input for campaign + change bouton name for edit coupon
This commit is contained in:
parent
703c731a07
commit
f82c41b7af
3 changed files with 2 additions and 23 deletions
|
|
@ -22,7 +22,7 @@ return [
|
|||
'delete_model' => 'Supprimer :model',
|
||||
'detach_model' => 'Détacher :model',
|
||||
'save_model' => 'Sauvegarder :model',
|
||||
'edit_model' => 'Mettre à jour :model',
|
||||
'edit_model' => 'Mettre à jour le(s) :model',
|
||||
'no_results' => 'Aucun résultat pour :model',
|
||||
'publish' => 'Publié',
|
||||
'unpublish' => 'Dépublié',
|
||||
|
|
|
|||
|
|
@ -64,27 +64,6 @@
|
|||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
{{-- COUPON_ID --}}
|
||||
<div class="col-12 col-md-6 mb-3">
|
||||
<fieldset class="h-100 border bg-white p-3">
|
||||
<legend>{{ __('models.classes.coupons') }}</legend>
|
||||
<div class="row">
|
||||
<div class="col-12 mb-3">
|
||||
@include('bo.partials.inputs.pivot-belongsToMany', [
|
||||
'id' => 'campaignCoupons',
|
||||
'label' => __(':model associée', ['model' => Str::singular(trans('models.classes.coupons'))]),
|
||||
'name' => 'coupons',
|
||||
'placeholder' => 'Coupons',
|
||||
'model' => $campaignModel ?? null,
|
||||
'itemsList' => $couponModels,
|
||||
'helper' => __('Choisir un :model dans la liste.', [
|
||||
'model' => Str::singular(trans('models.classes.coupons')),
|
||||
]),
|
||||
])
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
{{-- STATUS --}}
|
||||
<div class="col-12 col-md-6 mb-3">
|
||||
<fieldset class="h-100 border bg-white p-3">
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
</a>
|
||||
<a class="btn btn-sm btn-primary" data-bs-toggle="tooltip"
|
||||
href="{{ route('bo.campaigns.linked-coupons', $campaignModel) }}"
|
||||
title="{{ __('crud.helpers.update_model', ['model' => Str::singular(__('models.classes.coupons'))]) }}">
|
||||
title="{{ __('crud.helpers.edit_model', ['model' => Str::ucfirst(__('models.classes.coupons'))]) }}">
|
||||
<i class="fa-solid fa-receipt"></i>
|
||||
</a>
|
||||
@method('DELETE')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue