mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-25 07:24:21 +00:00
large commit
This commit is contained in:
@@ -211,10 +211,11 @@ class CompaniesTableSeeder extends Seeder
|
||||
$object = new AddressObject($street_one, $street_two, $district->country_id, $district->state_id, $district->id, $address->post_code, 'Business Address');
|
||||
$this->createsAddress->execute($companyModule, $object);
|
||||
|
||||
if($address->contact){
|
||||
$contact = preg_replace("/[^0-9.]/", "", $address->contact);
|
||||
if($contact){
|
||||
$i++;
|
||||
if($i === 1) {
|
||||
$contactObject = new ContactObject('', preg_replace("/[^0-9.]/", "", $address->contact), $company->email, '',);
|
||||
$contactObject = new ContactObject('', $contact, $company->email, '',);
|
||||
$this->createContactProcessor->execute($contactObject, $newCompany);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,14 +118,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col p-l-0">
|
||||
<div class="font-heading bold fs-10" :class="[{'text-danger': item.status !== 1}]">Identification Verification</div>
|
||||
<div class="font-heading fs-10" :class="[{'text-danger': item.status !== 1}, {'muted': item.status === 1}]" v-text="item.status !== 1 ? 'Verification request rejected':'Approval in progress...'"></div>
|
||||
<div class="font-heading bold fs-14" :class="[{'text-danger': item.status !== 1}]">Identification Verification</div>
|
||||
<div class="font-heading fs-14" :class="[{'text-danger': item.status !== 1}, {'muted': item.status === 1}]" v-text="item.status !== 1 ? 'Verification request rejected':'Approval in progress...'"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col p-b-15">
|
||||
<div class="font-heading text-danger fs-10" v-if="item.status !== 1">Our warehouse will accept your parcel but your goods will be on hold for delivery until you have successfully verified your identity!</div>
|
||||
<div class="font-heading fs-11" v-if="item.status === 1">Our warehouse will accept your parcel but your goods will be on hold for delivery until your identification is approved!</div>
|
||||
<div class="font-heading text-danger fs-14" v-if="item.status !== 1">Our warehouse will accept your parcel but your goods will be on hold for delivery until you have successfully verified your identity!</div>
|
||||
<div class="font-heading fs-14" v-if="item.status === 1">Our warehouse will accept your parcel but your goods will be on hold for delivery until your identification is approved!</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" v-if="item.status === 1">
|
||||
@@ -137,7 +137,7 @@
|
||||
</div>
|
||||
<div class="row" v-if="item.status !== 1">
|
||||
<div class="col no-padding">
|
||||
<button class="btn btn-sm btn-danger btn-block b-rad-none requestModal" data-type="identificationVerificationModal">Re-submit Identification</button>
|
||||
<button class="btn btn-lg btn-danger btn-block b-rad-none requestModal" data-type="identificationVerificationModal">Re-submit Identification</button>
|
||||
</div>
|
||||
</div>
|
||||
<modal-component type="identificationVerificationModal" v-if="item.status !== 1">
|
||||
|
||||
Reference in New Issue
Block a user