Pause on coupons / Change statut to publié
This commit is contained in:
parent
e13c89a88e
commit
f007d5fb44
6 changed files with 19 additions and 4 deletions
4
public/css/app.css
vendored
4
public/css/app.css
vendored
|
|
@ -6184,6 +6184,10 @@ main section .red {
|
|||
color: #d70000;
|
||||
}
|
||||
|
||||
main section .orange {
|
||||
color: #de9700;
|
||||
}
|
||||
|
||||
main section .campagne-list, main section .notifs-wrapper {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
|
|
|||
3
resources/sass/partials/content.scss
vendored
3
resources/sass/partials/content.scss
vendored
|
|
@ -81,6 +81,9 @@ table {
|
|||
.red {
|
||||
color:#d70000;
|
||||
}
|
||||
.orange {
|
||||
color:$orange;
|
||||
}
|
||||
|
||||
.campagne-list, .notifs-wrapper {
|
||||
margin-top:30px;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<th>{{__('Ref') }}</th>
|
||||
<th>{{__('Nom') }}</th>
|
||||
<th>{{__('Création') }}</th>
|
||||
<th class="center">{{__('Status')}}</th>
|
||||
<th class="center">{{__('Publié ?')}}</th>
|
||||
<th class="center">{{__('Démo')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<th>{{__('Quantité') }}</th>
|
||||
<th>{{__('Qte restante') }}</th>
|
||||
<th>{{__('Qte Diffusé') }}</th>
|
||||
<th class="center">{{__('Status')}}</th>
|
||||
<th class="center">{{__('Publié ?')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,11 @@
|
|||
@if ( $coupon->isPrintable == 1)
|
||||
<p><span>Imprimable ?</span><span><i class="fas fa-check-circle green"></i></span></p>
|
||||
@else
|
||||
<p><span>Imprimable ?</span><span><i class="fas fa-times-circle red"></i></span></p>
|
||||
@if ( $coupon->coupon_published == 0)
|
||||
<p><span>Imprimable ?</span><span><i class="fas fa-times-circle red"></i></span></p>
|
||||
@else
|
||||
<p><span>Imprimable ?</span><span><i class="fas fa-pause-circle orange"></i></span></p>
|
||||
@endif
|
||||
@endif
|
||||
<input type="hidden" class="couponStatData" data-color="{{ $coupon->color }}" data-name="{{ $coupon->coupon_name }}" id="{{ $coupon->coupon_code }}" >
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,11 @@
|
|||
@if ( $coupon->isPrintable == 1)
|
||||
<i class="fas fa-check-circle green"></i>
|
||||
@else
|
||||
<i class="fas fa-times-circle red"></i>
|
||||
@if ( $coupon->coupon_published == 0)
|
||||
<i class="fas fa-times-circle red"></i>
|
||||
@else
|
||||
<i class="fas fa-pause-circle orange"></i>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
{{-- <p>{{$coupon->remain}}/{{$coupon->quantity}}</p> --}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue