Explorar el Código

check business pdf

ifah
Siti Hajar Ibrahim hace 5 años
padre
commit
68ba21a2c0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      app/Http/Controllers/CustomerService/CustomerController.php

+ 2
- 0
app/Http/Controllers/CustomerService/CustomerController.php Ver fichero

@@ -603,8 +603,10 @@ class CustomerController extends Controller

// $pdf = PDF::loadView('pdf.business-pdf', compact('form','package','product','ext1','ext2','ext3','ext4','ext5','ext6','dateSubmittion'));
if(strtotime($form->created_at) >= 1580774399){
info('newPdf');
$pdf = PDF::loadView('pdf.newBusiness-pdf', compact('form','package','product','ext1','ext2','ext3','ext4','ext5','dateSubmittion'));
}else {
info('oldPdf');
$pdf = PDF::loadView('pdf.oldBusiness-pdf', compact('form','package','product','ext1','ext2','ext3','ext4','ext5','ext6','dateSubmittion'));
}

Cargando…
Cancelar
Guardar