@if($serverstatus) @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('masterdata-read')) {{--Permissions--}}
@if (session()->has('success'))
@elseif (session()->has('error'))
@endif
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('masterdata-create')) @endif
@if(sizeof($datatables)>0) @foreach($data as $tabledata) @endforeach @else @endif
Actions Status Discount Head Discount Percentage Discount Amount Created By
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('masterdata-update')) @endif @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('masterdata-delete')) @endif
@if($tabledata['status']) Active @else Inactive @endif
{{$tabledata['discount_head']}} {{$tabledata['discount_percentage']}} {{$tabledata['discount_amount']}} {{$tabledata['created_person']}}

No Data Available

{{$datatables->links('livewire.pagination-livewire')}}
@else

Sorry !!! Unauthorized Access

@endif @else

Sorry !!! Service Is Not Available.

@endif @section('externaljs') @endsection