@extends('layouts.app') @section('title', __('Master Dashboard')) @section('content')
@include('layouts.leftside-menubar')
@include('schools.sub-left-menu') @include('schools.countdown')
{{----}} @if (count($subscriptions)>0) @foreach ($subscriptions as $key=>$subscription) {{-- --}} @endforeach @else @endif
# @lang('Trans_No') @lang('Amount Paid') @lang('Subscription') @lang('Start Date') @lang('End Date')@lang('Status')
{{ $key + 1 }} {{$subscription->schoolPayment->trans_number}} @if($subscription->schoolPayment->currency=='bdt' || $subscription->schoolPayment->currency=='BDT') @php $cs='৳'; $format = 'd-m-Y h:i:s A'; @endphp @else @php $cs='$'; $format = 'm-d-Y H:i:s'; @endphp @endif {{$cs.$subscription->schoolPayment->amount}} {{subscription($subscription->month)}} {{ date($format,strtotime($subscription->rangeFrom)) }} {{ date($format,strtotime($subscription->rangeTo)) }} @if(strtotime(now()) > strtotime($subscription->rangeTo)) Expired @else Active @endif
  @lang('No Related Data Found.')  
@endsection