@extends('layouts.admin') @section('content')
By Course Discounts
@lang('student.filter by')

Discounts List

@if (count($discounts) > 0) @if ($discounts->total() >12000) @else
@endif @endif
@forelse ($discounts as $key=>$discount) @empty @endforelse
id Student course name percentage amount egp amount aed discount value discount amount egp discount amount aed discount reason due date status added by
{{ ++$key }} {{ $discount->first_name . ' ' . $discount->middle_name . ' ' .$discount->last_name}} {{ $discount->acyname }}_{{$discount->has_label ? ' ( '.$discount->label.' ) ':''}} {{ $discount->cname }} ( {{ $discount->lshort_name }} ) {{ $discount->ttname }} {{ $discount->installment_amount }}% {{ $discount->amount }} {{ $discount->amount_aed }} {{ $discount->discount_value }}% {{ $discount->discount_amount }} {{ $discount->discount_amount }} {{ $discount->discount_reason }} {{ $discount->due_date }} @if ($discount->is_paid) paid @else un-paid @endif @if ($discount->is_refunded) refunded @endif @if ($discount->is_refunded_after_post) refunded after post @endif @if ($discount->is_posted) posted @else un-posted @endif {{ $discount->discount_added_by_fname.' '. $discount->discount_added_by_lname}}
empty table

There is no data!

{{ $discounts->appends(Request::except('page'))->render('inc.paginate') }}

Displaying {{$discounts->count()}} of {{ $discounts->total() }} discount(s).

@endsection @section('admin-js') {{-- draw all data tables --}} @endsection