@extends('layout.app') @section('content')
{{-- @if (in_array('show-sub-package-rate', $permissions)) @endif --}} @canany(['show-sub-package-rate', 'specific_management_services']) @endcan @canany(['show-sub-package-rate', 'specific_management_services']) @if (checkSettings('ResellerClientOnlineRecharge') == 'enable' && checkSettings('setClientPaymentAmountToClient') != 'enable' ) @endif @endcan @if (in_array('show-mother-package', $permissions)) @endif @if (in_array('show-mother-package', $permissions)) @endif @if (in_array('show-motherpackage-rate', $permissions)) @endif @if (in_array('sub-pack-commission', $permissions)) @endif @foreach ($sub_packages as $r) {{-- @if (in_array('show-sub-package-rate', $permissions)) @endif --}} @canany(['show-sub-package-rate', 'specific_management_services']) @endcanany @canany(['show-sub-package-rate', 'specific_management_services']) @if (checkSettings('ResellerClientOnlineRecharge') == 'enable' && checkSettings('setClientPaymentAmountToClient') != 'enable' ) @endif @endcan @if (in_array('show-mother-package', $permissions)) @endif @if (in_array('show-mother-package', $permissions)) @endif @if (in_array('show-motherpackage-rate', $permissions)) @endif @if (in_array('sub-pack-commission', $permissions)) @endif @endforeach
ID Package Name Package Rate Package Rate Client payment amount Manager Name Mother Package Mother Package Rate Commission
{{ $r->id }} {{ $r->name }} {{ $r->rate }} {{ $r->rate }} {{ $r->client_payment_amount }} {{ $r->reseller->name ?? '' }} {{ $r->package->package_name ?? '' }} {{ $r->package->package_rate ?? '' }} {{ $r->commission ?? '' }} @if (in_array('sub-package_edit', $permissions)) Edit @endif @if (in_array('sub-package_destroy', $permissions))
@method('DELETE') @csrf
@endif @if (in_array('view-sub-package-log-history', $permissions)) History @endif
{{-- {{ $sub_packages->links() }} --}}
{{-- --}} @endsection @section('ajax') @endsection