Browse Source

auto assign dealer and online subscription as Allo

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
c961e74e43

+ 2
- 0
app/Http/Controllers/Form/BusinessController.php View File

'project_type' => $coverage->project_type, 'project_type' => $coverage->project_type,
'status_payment' => 'paid', 'status_payment' => 'paid',
'status_email' => 'unverified', 'status_email' => 'unverified',
'customer_coverage' => 'Allo',
'remark_form' => '' 'remark_form' => ''
]); ]);


$sl->project_type = $coverage->project_type; $sl->project_type = $coverage->project_type;
$sl->status_payment = 'paid'; $sl->status_payment = 'paid';
$sl->status_email = 'unverified'; $sl->status_email = 'unverified';
$sl->customer_coverage = 'Allo';
$sl->remark_form = ''; $sl->remark_form = '';
$sl->dealer_id = $request->dealer_id; $sl->dealer_id = $request->dealer_id;
$sl->company_id = $staff->StaffDetail->company_id; $sl->company_id = $staff->StaffDetail->company_id;

+ 2
- 0
app/Http/Controllers/Form/ResidentialController.php View File

'project_type' => $coverage->project_type, 'project_type' => $coverage->project_type,
'status_payment' => 'paid', 'status_payment' => 'paid',
'status_email' => 'unverified', 'status_email' => 'unverified',
'customer_category' => 'Allo',
'remark_form' => '' 'remark_form' => ''
]); ]);


$sl->project_type = $coverage->project_type; $sl->project_type = $coverage->project_type;
$sl->status_payment = 'paid'; $sl->status_payment = 'paid';
$sl->status_email = 'unverified'; $sl->status_email = 'unverified';
$sl->customer_category = 'Allo';
$sl->remark_form = ''; $sl->remark_form = '';
$sl->dealer_id = $request->dealer_id; $sl->dealer_id = $request->dealer_id;
$sl->company_id = $staff->StaffDetail->company_id; $sl->company_id = $staff->StaffDetail->company_id;

Loading…
Cancel
Save