Siti Hajar Ibrahim преди 5 години
родител
ревизия
b179f0b15c
променени са 1 файла, в които са добавени 8 реда и са изтрити 4 реда
  1. 8
    4
      app/Http/Controllers/DS/DealerController.php

+ 8
- 4
app/Http/Controllers/DS/DealerController.php Целия файл

@@ -274,8 +274,10 @@ class DealerController extends Controller

$address = ''; $name = '';
if($f->type_application == 'R'){
$address = $f->Subscriber->building_name;
$name = $f->Subscriber->name;
if (!empty($f->Subscriber->building_name)){
$address = $f->Subscriber->building_name;
$name = $f->Subscriber->name;
}
}else if($f->type_application == 'B'){
$address = '-';
$name = $f->Subscriber->company_name;
@@ -423,8 +425,10 @@ class DealerController extends Controller

$address = ''; $name = '';
if($f->type_application == 'R'){
$address = $f->Subscriber->building_name;
$name = $f->Subscriber->name;
if (!empty($f->Subscriber->building_name)){
$address = $f->Subscriber->building_name;
$name = $f->Subscriber->name;
}
}else if($f->type_application == 'B'){
$address = '-';
$name = $f->Subscriber->company_name;

Loading…
Отказ
Запис