@extends('admin.adminlayouts.adminlayout') @section('head') {!! HTML::style("assets/global/plugins/bootstrap-select/css/bootstrap-select.min.css")!!} {!! HTML::style("assets/global/plugins/select2/css/select2.css")!!} {!! HTML::style("assets/global/plugins/jquery-multi-select/css/multi-select.css")!!} @stop @section('mainarea')

@lang("pages.payroll.editTitle")

{!! Form::open(['class'=>'form-horizontal','method'=>'POST','id'=>'salary-form']) !!}
{{--Employee info--}}
{{--INLCUDE ERROR MESSAGE BOX--}}
{{--END ERROR MESSAGE BOX--}}
@lang('core.employeeInfo')
{!! HTML::image($payroll->employee->profile_image_url,'ProfileImage',['height'=>'100px']) !!} {{--Hidden Values--}} {{--Hidden values--}}
  • @lang("core.employeeID"): {{ $payroll->employee->employeeID}}

  • @lang("core.name"): {{$payroll->employee->full_name}}

  • @lang("core.month") : {!! date("F", mktime(0, 0, 0, $payroll->month, 10)) !!}

  • @lang("core.year"): {{$payroll->year}}

@lang("core.salaryInfo")
{{--Allowances--}}
@lang("core.editAllowances")
{!! '';$i=0; !!} @foreach(json_decode($payroll->allowances) as $index=>$value)
@if($i>0)
@endif {!! '';$i++; !!}
@endforeach
{{--Allowances End--}} {{--Deductions--}}
@lang("core.editDeductions")
{!! '';$i=0; !!} @foreach(json_decode($payroll->deductions) as $index=>$value)
@if($i>0)
@endif {!! '';$i++; !!}
@endforeach
{{--Deductions End--}} {{--Gross--}}
@lang("core.grossSalary")
{{--Gross End--}}
{!! Form::close() !!} {{--Confirm Box Model--}} {{--Confirm Box MODAL--}} @stop @section('footerjs') {!! HTML::script("assets/global/plugins/bootstrap-select/js/bootstrap-select.min.js")!!} {!! HTML::script("assets/global/plugins/select2/js/select2.min.js")!!} {!! HTML::script("assets/global/plugins/jquery-multi-select/js/jquery.multi-select.js")!!} @stop