@extends('admin.layouts.master-soyuz') @section('title',__('All Coupans')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('All Coupans') }} @endslot @slot('menu1') {{ __('Coupans') }} @endslot @slot('button')
@endslot @endcomponent{{ __('ID') }} | {{ __('CODE') }} | {{ __('Amount') }} | {{ __('Max Usage') }} | {{ __('Detail') }} | {{ __('Action') }} | @foreach($coupans as $key=> $cpn)
---|---|---|---|---|---|
{{ $key+1 }} | {{ $cpn->code }} | @if($cpn->distype == 'fix') @endif {{ $cpn->amount }}@if($cpn->distype == 'per')% @endif | {{ $cpn->maxusage }} |
{{__("Linked to")}} : {{ ucfirst($cpn->link_by) }} {{ __('Expiry Date') }}: {{ date('d-M-Y',strtotime($cpn->expirydate)) }} {{__('Discount Type')}}: {{ $cpn->distype == 'per' ? __("Percentage") : __("Fixed Amount") }} |
@can('coupans.edit')
{{ __("Edit") }}
@endcan
@can('coupans.delete')
{{ __("Delete") }}
@endcan
{{ __("DELETE") }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}}? {{ __('This process cannot be undone.')}} |