@extends('layouts.back-end.app') @section('title','Global Discount Add') @push('css_or_js') @endpush @section('content')
Global Discount
@csrf
Global Discount
@foreach($global as $k=>$c) @endforeach
{{trans('messages.SL#')}} {{trans('messages.Title')}} {{trans('messages.Discount')}} {{trans('messages.maximum_discount')}} {{trans('messages.start_date')}} {{trans('messages.expire_date')}} {{trans('messages.Status')}} {{trans('messages.Action')}}
{{$k+1}} {{substr($c['title'],0,20)}} {{$c['discount_type']=='amount'?\App\CPU\BackEndHelper::usd_to_currency($c['discount']).''.\App\CPU\BackEndHelper::currency_symbol():$c['discount']}} {{\App\CPU\BackEndHelper::usd_to_currency($c['max_discount'])}} {{\App\CPU\BackEndHelper::currency_symbol()}} {{date('d-M-y',strtotime($c['start_date']))}} {{date('d-M-y',strtotime($c['expire_date']))}} Edit
@endsection @push('script') @endpush