Company Logo

{{ getBusinessNameById(auth()->user()->business_id) }}

{{ __('accounting.mobile') }} : @if ($business_info->phone) {{ $business_info->phone }} @else {{ __('accounting.na') }} @endif {{ __('accounting.email') }} Email: @if ($business_info->email) {{ $business_info->email }} @else {{ __('accounting.na') }} @endif

{{ __('accounting.invoice_number') }} : INV- @if ($employee_info->created_at) {{ \Carbon\Carbon::parse($employee_info->created_at)->format('Y') }} -{{ $employee_info->id }} @else {{ __('accounting.na') }} @endif
{{ __('accounting.employee') }} : {{ $employee_info->user->username }}
{{ __('accounting.Designation') }} : @if($employee_info->information->designation->designation_name) {{ $employee_info->information->designation->designation_name }} @else {{ __('accounting.mobile') }} Not Available @endif
{{ __('accounting.month') }} : @if ($salary_invoice[0]->salary_invoice_date) {{ \Carbon\Carbon::parse($salary_invoice[0]->salary_invoice_date)->format('F') }} @else {{ __('accounting.na') }} @endif
{{ __('accounting.genarate_date') }} : @if ($salary_invoice[0]->salary_invoice_date) {{ \Carbon\Carbon::parse($salary_invoice[0]->salary_invoice_date)->format('d-M-Y') }} @else {{ __('accounting.na') }} @endif
@foreach($salary_invoice as $key => $details) @endforeach
{{ __('accounting.sl') }} {{ __('accounting.gross_salary') }} {{ __('accounting.bonus') }} {{ __('accounting.net_salary') }} {{ __('accounting.paid') }}
{{ $key + 1 }} {{ $details->amount }} {{ $details->total_bonus ?? '' }} @if(!empty($invoiceDetails->extra_bonus)) ({{ $invoiceDetails->extra_bonus }}) @endif {{ number_format($details->amount + $details->total_bonus, 2) }} {{ $details->total_paid }}
{{ __('accounting.subtotal') }} : {{ number_format($details->amount + $details->total_bonus, 2) }}
{{ __('accounting.total_bonus') }} : {{ number_format($details->total_bonus + ($invoiceDetails->extra_bonus ?? 0), 2) }}
{{ __('accounting.paid_amount') }} : {{ $details->total_paid }}
{{ __('accounting.due_amount') }} : {{ number_format($details->amount + $details->total_bonus - $details->total_paid, 2) }}
{{ __('accounting.paid_date') }} : @if ($salary_invoice[0]->salary_invoice_date) {{ \Carbon\Carbon::parse($salary_invoice[0]->salary_invoice_date)->format('d-M-Y') }} @else {{ __('accounting.na') }} @endif

{{ __('accounting.payment_method') }} : @if($payment_info) @if($payment_info->payment_method == '1') Cash @elseif($payment_info->payment_method == '2') Card @elseif($payment_info->payment_method == '3') Cheque @elseif($payment_info->payment_method == '4') Bank Transfer @elseif($payment_info->payment_method == '5') Other @endif @else {{ __('accounting.not_available') }} @endif

{{ __('accounting.authorize_by') }}