@if($item->type == \App\Constants\DiscountTypes::PRODUCT) @endif @if($item->type == \App\Constants\DiscountTypes::PRODUCTS_GROUP) @endif @if($item->type == \App\Constants\DiscountTypes::MAIN_CATEGORY) @endif @if($item->type == \App\Constants\DiscountTypes::SUB_CATEGORY) @endif @if($item->type == \App\Constants\DiscountTypes::CATEGORIES_GROUP) @endif @if($item->type == \App\Constants\DiscountTypes::ORDER_TOTAL) @endif
@lang('general.name') {{ $item->name }}
@lang('general.discount_type') {{ $item->s_type }}
@lang('admin.product') {{ $item->product_name }}
@lang('admin.products') {{ $item->products_names }}
@lang('admin.category') {{ $item->main_category_name }}
@lang('admin.sub_category') {{ $item->sub_category_name }}
@lang('general.main_categories') {{ $item->main_categories_names }}
@lang('general.sub_categories') {{ $item->sub_categories_names }}
@lang('general.order_total_type') {{ $item->s_order_total_type }}
@lang('general.total_order_amount') {{ $item->order_total }}
@lang('general.discount_percentage') {{ $item->discount_value }}%
@lang('admin.created_at') {{ $item->created_at }}
@lang('general.start_date') {{ $item->start_date }}
@lang('general.end_date') {{ $item->end_date }}
@lang('general.status') {{ ($item->status == 1) ? trans('admin.active') : trans('admin.inactive') }}