{{-- UBLExtensions --}}
@include('xml._ubl_extensions_payroll')
{{$type_note}}
@if($type_note == 1)
{{-- Replace Predecessor --}}
@include('xml._replace_predecessor_payroll')
{{-- Period --}}
@include('xml._period_payroll')
{{-- Secuence Number --}}
@include('xml._secuence_number_payroll')
{{-- XML Generation Place --}}
@include('xml._generation_place_payroll')
{{-- XML Provider --}}
@include('xml._provider_payroll')
{{-- General Information --}}
@include('xml._general_information_payrollNote')
{{-- Employer --}}
@include('xml._employer')
{{-- Worker --}}
@include('xml._worker')
{{-- Payment --}}
@include('xml._payment_payroll')
{{-- Accrued --}}
@include('xml._accrued_payroll')
{{-- Deductions --}}
@include('xml._deductions_payroll')
{{preg_replace("/[\r\n|\n|\r]+/", "", $accrued->accrued_total)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $deductions->deductions_total)}}
{{preg_replace("/[\r\n|\n|\r|',']+/", "", number_format($accrued->accrued_total - $deductions->deductions_total, 2))}}
@else
{{-- Delete Predecessor --}}
@include('xml._delete_predecessor_payroll')
{{-- Secuence Number --}}
@include('xml._secuence_number_payroll')
{{-- XML Generation Place --}}
@include('xml._generation_place_payroll')
{{-- XML Provider --}}
@include('xml._provider_payroll')
{{-- General Information --}}
@include('xml._general_information_payrollNote')
{{-- Employer --}}
@include('xml._employer')
@endif