@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{{trans('file.name')}} | {{trans('file.Value')}} | {{trans('file.Discount Plan')}} | {{trans('file.Validity')}} | {{trans('file.Days')}} | {{trans('file.Products')}} | {{trans('file.Status')}} | {{trans('file.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) |