{{-- UBLExtensions --}} @include('xml._ubl_extensions_payroll') @if(isset($novelty)) {{preg_replace("/[\r\n|\n|\r]+/", "", json_encode($novelty->novelty))}} @endif {{-- 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_payroll') {{-- 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))}}