@extends('layouts.app') @section('title', $page_title) @section('content')

{{ $sub_title }}

{{__('file.Back')}}

{{ config('settings.title') ? config('settings.title') : env('APP_NAME') }}

@if(config('settings.contact_no'))

{{__('file.Contact No')}}.: {{ config('settings.contact_no') }}, @if(config('settings.email')){{__('file.Email')}}: {{ config('settings.email') }}@endif

@endif
Corporate Office : Ga 81/C Gulshan Badda Link Road,Opposite Side Off Primer Bank Ltd,Dhaka Bangladesh

{{__('file.Date')}}: {{ date('d-M-Y') }}

{{__('Customer Name')}} :
{{__('Customer ID')}} :
{{__('Customer Department')}} :
{{__('Customer Designation')}} :
{{$payslip->employee->name}}
{{$payslip->employee->employee_id}}
{{$payslip->employee->department->name}}
{{$payslip->employee->designation->name}}
{{__('Payment Date')}}:
{{--
{{__('file.Status')}}:
--}}
{{date('Y-m-d', strtotime($payslip->created_at))}}
{{--
{{__('file.Status')}}:
--}}
@php $allowances = 0; @endphp @foreach($other_allowance as $row) @endforeach
{{__('file.Total Allowance')}}
{{__('file.House Rent Allowance')}} : {{$allowance->house_rent_allowance}}/-TK
{{__('file.Medical Allowance')}} : {{$allowance->medical_allowance}}/-TK
{{__('file.Transport Allowance')}} : {{$allowance->transport_allowance}}/-TK
{{__('file.Mobile Allowance')}} : {{$allowance->mobile_allowance}}/-TK
{{__('file.Other Allowance')}} : {{$allowance->other_allowance}}/-TK
{{$row->allowances_name}} : {{$row->allowances_amount}}/-TK @php $allowances += $row->allowances_amount @endphp




@foreach($other_deduction as $row)
@endforeach
{{__('file.Total Deduction')}}
{{__('file.Attendance Deduction')}} : 0/-TK
{{__('file.Provident Fund Deduction')}} : {{$deduction->provident_fund_deduction}}/-TK
{{__('file.Tax Deduction')}} : {{$deduction->tax_deduction}}/-TK
{{__('file.Other Deduction')}} : {{$deduction->other_deduction}}/-TK
{{$row->deduction_name}} : {{$row->deduction_amount}}/-TK
{{__('BASIC SALARY')}}: {{$allowance->basic_salary}}/-TK
{{__('TOTAL ALLOWANCE')}}: {{$payslip->total_allowance}}/-TK
{{__('GROSS SALARY')}}: {{($payslip->gross_salary)}}/-TK
{{__('SALARY ADVANCE')}}: - {{$payslip->salary_advance}}/-TK
{{__('TOTAL DEDUCTION')}}: - {{($payslip->total_deduction)}}/-TK
{{__('BONUS')}}: {{$payslip->bonus}}/-TK
{{__('NET PAYABLE')}}: {{$payslip->net_salary}}/-TK
{{__('file.DUE AMOUNT')}}: {{$payslip->net_salary - $payslip->payment_amount}}/-TK
{{__('PAYABLE')}}: {{$payslip->payment_amount}}/-TK

{{__('file.Thank you!')}}

{{__('file.Note')}}:
{{$payslip->note}}


{{__('file.Received By')}}

{{\Illuminate\Support\Facades\Auth::user()->name}}

{{__('file.Authorized By')}}

@endsection @push('scripts') @endpush