'BPRF', 'desc' => 'Business Premises Registration Fees'], // ['code' => 'CGT', 'desc' => 'Capital Gains Tax'], // ['code' => 'CIT', 'desc' => 'Company Income Tax'], // ['code' => 'EDT', 'desc' => 'Education Tax'], // ['code' => 'INT', 'desc' => 'Interest'], // ['code' => 'NITDEF', 'desc' => 'National Information Technology Development Fund'], // ['code' => 'PAYE', 'desc' => 'Pay As You Earn'], // ['code' => 'PAYEW', 'desc' => 'Pay As You Earn – Wages Withholding'], // ['code' => 'PEN', 'desc' => 'Penalties'], // ['code' => 'PIT', 'desc' => 'Personal Income Tax'], // ['code' => 'PITER', 'desc' => 'Personal Income Tax - Employer'], // ['code' => 'PITEE', 'desc' => 'Personal Income Tax - Employee'], // ['code' => 'POL', 'desc' => 'Pre-Operational Levy '], // ['code' => 'PPT', 'desc' => 'Petroleum Profit Tax'], // ['code' => 'PRT', 'desc' => 'Provisional Tax'], // ['code' => 'STD', 'desc' => 'Stamp Duties'], // ['code' => 'VAT', 'desc' => 'Value Added Tax'], // ['code' => 'WHT', 'desc' => 'Withholding Tax'], // ['code' => 'DIW', 'desc' => 'Dividends, Interest and Withholdings'], // ['code' => 'RCSFC', 'desc' => 'Rent, commission, services, fees and contract'], // ['code' => 'LRP', 'desc' => 'Late Returns Penalty'] // ]; $data = [ ['code' => 'CGT', 'desc' => 'Capital Gain Tax'], ['code' => 'CIT', 'desc' => 'Company Income Tax'], ['code' => 'EDT', 'desc' => 'Education Tax'], ['code' => 'INT', 'desc' => 'Interest', 'showonfrontend' => "0"], ['code' => 'NITDEF', 'desc' => 'National Information Technology Development Fund'], ['code' => 'PAYE', 'desc' => 'Pay As You Earn', 'showonfrontend' => "0"], ['code' => 'PEN', 'desc' => 'Penalties', 'showonfrontend' => "0"], ['code' => 'PIT', 'desc' => 'Personal Income Tax'], ['code' => 'POL', 'desc' => 'Pre-Operational Levy '], ['code' => 'PPT', 'desc' => 'Petroleum Profit Tax'], ['code' => 'PRT', 'desc' => 'Provisional Tax'], ['code' => 'STD', 'desc' => 'Stamp Duties'], ['code' => 'VAT', 'desc' => 'Value Added Tax'], ['code' => 'WHT', 'desc' => 'Withholding Tax', 'showonfrontend' => "0"] ]; foreach($data as $d){ DB::table('tax_types')->insert([ 'code' => $d['code'], 'description' => $d['desc'] ]); } } }