@extends('layouts.master') @section('title',__('All Packages')) @section('breadcum') @endsection @section('maincontent')
@can('package.delete') @endcan @can('package.create') {{ __('Create Package') }} @endcan
{{ __('All Packages') }}
@if ($packages) @foreach ($packages as $key => $package) {{-- @if($package->delete_status == 1) --}} {{-- @endif --}} @endforeach @endif
{{ __('#') }} {{ __('ID') }} {{__('PACKAGE NAME')}} {{__('AMOUNT')}} {{__('INTERVAL')}} {{__('INTERVAL COUNT')}} {{__('TRIAL PERIOD')}} {{__('STATUS')}} {{__('ACTIONS')}}
{{$key+1}} {{$package->name}} @if($package->amount != '0.00') {{$package->amount}} @else Free @endif {{$package->interval}} {{$package->interval_count}} {{$package->trial_period_days}}
{{ csrf_field() }} @if($package->status == 'active' || $package->status == 'upcoming') @else @endif
@if($package->delete_status != 1) @can('package.edit') @endcan {{-- settings --}} @can('package.delete') @endcan @else @can('package.edit') @endcan @endif
@endsection @section('script') @endsection