| {{__('db.name')}} | {{__('db.Value')}} | {{__('db.Discount Plan')}} | {{__('db.Validity')}} | {{__('db.Days')}} | {{__('db.Products')}} | {{__('db.status')}} | {{__('db.action')}} | |
|---|---|---|---|---|---|---|---|---|
| {{$key}} | {{ $discount->name }} | {{ $discount->value.' (' . $discount->type . ')' }} | @foreach($discount->discountPlans as $index => $discount_plan) @if($index) {{', '.$discount_plan->name}} @else {{$discount_plan->name}} @endif @endforeach | {{date($general_setting->date_format, strtotime($discount->valid_from)).'-'.date($general_setting->date_format, strtotime($discount->valid_till))}} | {{ $discount->days }} | @if($discount->product_list) |