@lang('payroll::modules.payroll.earning')

{{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }}
{{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }}
@if (!is_null($salaryGroup)) @foreach ($salaryGroup->salary_group->components as $key => $value)
@if ($value->component->component_type == 'earning')
@if ($value->component->value_type == 'basic_percent') @else @endif
@if ($value->component->value_type == 'fixed') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }} @elseif($value->component->value_type == 'percent') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }} @elseif($value->component->value_type == 'basic_percent') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }} @else
{{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }}
@endif
@if ($value->component->value_type == 'fixed') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol )}} @elseif($value->component->value_type == 'percent') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }} @elseif($value->component->value_type == 'basic_percent') {{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }} @else
{{ ($currency->currency ? $currency->currency->currency_symbol : company()->currency->currency_symbol ) }}
@endif
@endif
@endforeach @endif

@lang('payroll::modules.payroll.extraPay')

@if ($fixedAllowance >= 0) @else @endif
@if ($fixedAllowance >= 0) @else @endif

@lang('payroll::modules.payroll.costToCompany')

{{ currency_format($annualSalary / 12, ($currency->currency ? $currency->currency->id : company()->currency->id )) }}

{{ currency_format($annualSalary, ($currency->currency ? $currency->currency->id : company()->currency->id )) }}

@lang('app.total') @lang('payroll::modules.payroll.deduction')

{{ currency_format($expenses, ($currency->currency ? $currency->currency->id : company()->currency->id )) }}
{{ currency_format($expenses * 12, ($currency->currency ? $currency->currency->id : company()->currency->id )) }}