@extends('admin.layouts.main') @section('title') {{ trans('finance.wht_log') }} @endsection @section('content')
@include('admin.common.sidebar')
date_range
@permission('vat-log-read') @if(count($whtLogs) > 0) Export @endif @endpermission
@if(count($whtLogs))
@if(request()->type == 'withholder') @include('admin.modules.finance.wht_log.voucher_wht_logs') @else @include('admin.modules.finance.wht_log.invoice_wht_logs') @endif
@else
@endif
@if(count($whtLogs) > 0 && count($departmentList) > 0)

{{ @trans('finance.wht_allocation') }}

@foreach($departmentList as $dept) @endforeach @foreach ($departmentList as $dept) @if($dept->subdepts_count > 0) @foreach($dept->subdepts as $sub_dept) @endforeach @else @endif @endforeach @if(request()->type == 'withholder') @include('admin.modules.finance.wht_log.voucher_wht_allocation') @else @include('admin.modules.finance.wht_log.invoice_wht_allocation') @endif
subdepts_count > 0) colspan="{{ $dept->subdepts_count }}" @endif class="text-center top-head @if($loop->odd) table-cl-purple @elseif($loop->even) table-cl-yellow @endif">{{ $dept->name }}Total
{{ $sub_dept->name }}-
@endif
@endsection @push('pageModals') @include('admin.modules.finance.modals.payment_reminder') @endpush @push('pageJs') @endpush