Explorar el Código

fix report

ifah
Siti Hajar Ibrahim hace 5 años
padre
commit
990f977a70
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3
    4
      app/Http/Controllers/Api/FormController.php

+ 3
- 4
app/Http/Controllers/Api/FormController.php Ver fichero

@@ -110,7 +110,7 @@ class FormController extends BaseController

$name = ''; $contact_no = '';
$address = ''; $building = '';
$labelD = ''; $amount_claim='';
$labelD = '';

if(!empty($f->dealer_id)){
$c = Company::find($f->company_id);
@@ -119,9 +119,8 @@ class FormController extends BaseController
$labelD = "";
}
if (!empty($f->Subscriber->DealerClaim)){
$amount_claim = $f->Subscriber->DealerClaim->total_claim;
}
$amount_claim = $f->Subscriber->DealerClaim->total_claim;

if(!empty($f->Subscriber) && !empty($f->PackageDetail)){
if($f->type_application == 'R'){

Cargando…
Cancelar
Guardar