@extends('layouts.admin') @section('title',tr('view_coupon')) @section('content-header',tr('view_coupon')) @section('breadcrumb')
  • {{ tr('home') }}
  • {{ tr('coupons') }}
  • {{ tr('view_coupon') }}
  • @endsection @section('content')
    {{ tr('view_coupon') }} @if($coupon_details->status == APPROVED) {{ tr('decline') }} @else {{ tr('approve') }} @endif @if(Setting::get('admin_demo_control')) {{ tr('delete') }} {{ tr('edit') }} @else {{ tr('delete') }} {{ tr('edit') }} @endif
    {{ tr('title') }}
    {{ $coupon_details->title }}

    {{ tr('coupon_code') }}

    {{ $coupon_details->coupon_code }}


    {{ tr('amount_type') }} @if($coupon_details->amount_type == 0) {{ tr('percentage') }} @else {{ tr('absolute') }} @endif
    {{ tr('amount') }} @if($coupon_details->amount_type == 0) {{ $coupon_details->amount }} % @else {{ Setting::get('currency') }} {{ $coupon_details->amount }} @endif
    {{ tr('expiry_date') }}
    {{ date('d M y', strtotime($coupon_details->expiry_date)) }}

    {{ tr('no_of_users_limit') }}
    {{ $coupon_details->no_of_users_limit }}

    {{ tr('per_users_limit') }}
    {{ $coupon_details->per_users_limit }}

    {{ tr('status') }} @if($coupon_details->status == DECLINED) {{ tr('declined') }} @else {{ tr('approved') }} @endif
    {{ tr('created') }}
    {{ date('d/m/Y , H:i:s', strtotime($coupon_details->created_at)) }}

    {{ tr('updated_at') }}
    {{ date('d/m/Y , H:i:s', strtotime($coupon_details->updated_at)) }}
    @if($coupon_details->description == '') @else
    {{ tr('description') }}
    @endif
    @endsection