JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Employee Set Salary') }} @endsection @section('breadcrumb') @endsection @section('content')
{{--
{{ __('Employee Salary') }}
--}}
{{ __('Employee Salary') }}
@can('Create Set Salary') @endcan
{{ __('Payslip Type') }}
{{ $employee->salary_type() }}
{{ __('Salary') }}
{{ $employee->salary }}
{{ __('Account Type') }}
{{ !empty($employee->account_type()) ? $employee->account_type() : '-' }}
{{ __('Allowance') }}
@can('Create Allowance') @endcan
@if (\Auth::user()->type != 'employee') @endif @foreach ($allowances as $allowance) @if ($allowance->type == 'fixed') @else @endif @endforeach
{{ __('Employee Name') }} {{ __('Allownace Option') }} {{ __('Title') }} {{ __('Type') }} {{ __('Amount') }}{{ __('Action') }}
{{ !empty($allowance->employee()) ? $allowance->employee()->name : '' }} {{ !empty($allowance->allowance_option()) ? $allowance->allowance_option()->name : '' }} {{ $allowance->title }} {{ ucfirst($allowance->type) }}{{ \Auth::user()->priceFormat($allowance->amount) }}{{ $allowance->amount }}% ({{ \Auth::user()->priceFormat($allowance->tota_allow) }}) @can('Edit Allowance') @endcan @can('Delete Allowance')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['allowance.destroy', $allowance->id], 'id' => 'delete-form-' . $allowance->id, ]) !!}
@endcan
{{ __('Commission') }}
@can('Create Commission') @endcan
@if (\Auth::user()->type != 'employee') @endif @foreach ($commissions as $commission) @if ($commission->type == 'fixed') @else @endif @endforeach
{{ __('Employee Name') }} {{ __('Title') }} {{ __('Type') }} {{ __('Amount') }}{{ __('Action') }}
{{ !empty($commission->employee()) ? $commission->employee()->name : '' }} {{ $commission->title }} {{ ucfirst($commission->type) }}{{ \Auth::user()->priceFormat($commission->amount) }}{{ $commission->amount }}% ({{ \Auth::user()->priceFormat($commission->tota_allow) }}) @can('Edit Commission') @endcan @can('Delete Commission')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['commission.destroy', $commission->id], 'id' => 'delete-form-' . $commission->id, ]) !!}
@endcan
{{ __('Loan') }}
@can('Create Loan') @endcan
{{-- --}} @if (\Auth::user()->type != 'employee') @endif @foreach ($loans as $loan) @if ($loan->type == 'fixed') @else @endif {{-- --}} @endforeach
{{ __('Employee') }} {{ __('Loan Options') }} {{ __('Title') }} {{ __('Type') }} {{ __('Loan Amount') }}{{ __('Start Date') }} {{ __('End Date') }}{{ __('Action') }}
{{ !empty($loan->employee()) ? $loan->employee()->name : '' }} {{ !empty($loan->loan_option()) ? $loan->loan_option()->name : '' }} {{ $loan->title }} {{ ucfirst($loan->type) }}{{ \Auth::user()->priceFormat($loan->amount) }}{{ $loan->amount }}% ({{ \Auth::user()->priceFormat($loan->tota_allow) }}) {{ \Auth::user()->dateFormat($loan->start_date) }} {{ \Auth::user()->dateFormat($loan->end_date) }} @can('Edit Loan') @endcan @can('Delete Loan')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['loan.destroy', $loan->id], 'id' => 'delete-form-' . $loan->id, ]) !!}
@endcan
{{ __('Saturation Deduction') }}
@can('Create Saturation Deduction') @endcan
@if (\Auth::user()->type != 'employee') @endif @foreach ($saturationdeductions as $saturationdeduction) @if ($saturationdeduction->type == 'fixed') @else @endif @endforeach
{{ __('Employee Name') }} {{ __('Deduction Option') }} {{ __('Title') }} {{ __('Type') }} {{ __('Amount') }}{{ __('Action') }}
{{ !empty($saturationdeduction->employee()) ? $saturationdeduction->employee()->name : '' }} {{ !empty($saturationdeduction->deduction_option()) ? $saturationdeduction->deduction_option()->name : '' }} {{ $saturationdeduction->title }} {{ ucfirst($saturationdeduction->type) }}{{ \Auth::user()->priceFormat($saturationdeduction->amount) }} {{ $saturationdeduction->amount }}% ({{ \Auth::user()->priceFormat($saturationdeduction->tota_allow) }}) @can('Edit Saturation Deduction') @endcan @can('Delete Saturation Deduction')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['saturationdeduction.destroy', $saturationdeduction->id], 'id' => 'delete-form-' . $saturationdeduction->id, ]) !!}
@endcan
{{ __('Other Payment') }}
@can('Create Other Payment') @endcan
@if (\Auth::user()->type != 'employee') @endif @foreach ($otherpayments as $otherpayment) @if ($otherpayment->type == 'fixed') @else @endif @endforeach
{{ __('Employee') }} {{ __('Title') }} {{ __('Type') }} {{ __('Amount') }}{{ __('Action') }}
{{ !empty($otherpayment->employee()) ? $otherpayment->employee()->name : '' }} {{ $otherpayment->title }} {{ ucfirst($otherpayment->type) }}{{ \Auth::user()->priceFormat($otherpayment->amount) }}{{ $otherpayment->amount }}% ({{ \Auth::user()->priceFormat($otherpayment->tota_allow) }}) @can('Edit Other Payment') @endcan @can('Delete Other Payment')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['otherpayment.destroy', $otherpayment->id], 'id' => 'delete-form-' . $otherpayment->id, ]) !!}
@endcan
{{ __('Overtime') }}
@can('Create Overtime') @endcan
@if (\Auth::user()->type != 'employee') @endif @foreach ($overtimes as $overtime) @endforeach
{{ __('Employee Name') }} {{ __('Overtime Title') }} {{ __('Number of days') }} {{ __('Hours') }} {{ __('Rate') }}{{ __('Action') }}
{{ !empty($overtime->employee()) ? $overtime->employee()->name : '' }} {{ $overtime->title }} {{ $overtime->number_of_days }} {{ $overtime->hours }} {{ \Auth::user()->priceFormat($overtime->rate) }} @can('Edit Overtime') @endcan @can('Delete Overtime')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['overtime.destroy', $overtime->id], 'id' => 'delete-form-' . $overtime->id, ]) !!}
@endcan
@endsection @push('script-page') @endpush