/home/kueuepay/public_html/database/seeders/Admin/SetupKycSeeder.php
<?php
namespace Database\Seeders\Admin;
use Illuminate\Database\Seeder;
use App\Models\Admin\SetupKyc;
class SetupKycSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$setup_kycs = array(
array('id' => '1','slug' => 'user','user_type' => 'USER','fields' => '[{"type": "file","label": "Id Back Part","name": "id_back_part","required": true,"validation": {"max": "10","mimes": ["jpg","png","svg","webp" ],"min": 0,"options": [],"required": true}},{"type": "file","label": "Id Front Part","name": "id_front_part","required": true,"validation": {"max": "10","mimes": ["jpg","png","svg","webp"],"min": 0,"options": [],"required": true}},{"type": "select","label": "Document Type","name": "document_type","required": true,"validation": {"max": 0,"min": 0,"mimes": [],"options": ["NID"," Driving License"," Passport"],"required": true}}]','status' => '1','last_edit_by' => '1','created_at' => '2023-02-20 05:21:32','updated_at' => '2023-03-20 04:05:57'),
);
foreach($setup_kycs as $item){
$data = SetupKyc::where('slug',$item['slug'])->first();
if($data == null){
SetupKyc::insert($item);
}
}
}
}
Run Command [Bypass]
Run Command
User Registration
top
In the digital age, privacy concerns have become increasingly paramount, prompting the European Union to enact the General Data Protection Regulation (GDPR) in 2018. Among its many provisions, GDPR sets strict guidelines for the collection and processing of personal data, including the use of cookies on websites. Privacy Policy
Allow
Decline