@extends(@Auth::user()->role=='admin' ? 'layouts.gentella':'layouts.'.env('LAYOUT')) @section('content')
| # | Discount Code | Percentage (%) | Status | Action |
|---|---|---|---|---|
| {{ $promotion->id }} | {{ $promotion->code }} | {{ $promotion->percent.'%' }} | @if($promotion->status==1) @else @endif | @if($promotion->status==1) id/0") }}" class="label label-warning"> Deactivate @else id/1") }}" class="label label-success"> Activate @endif id") }}" class="label label-danger"> Delete` |