<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class PaymentTypeSeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('payment_types')->insert([
            'code' => 'CH',
            'description' => 'Cheque',
            'code_sunat' => 01,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'CD',
            'description' => 'cheque diferido',
            'code_sunat' => 02,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'DP',
            'description' => 'Deposito BCO, BCP',
            'code_sunat' => 03,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'DC',
            'description' => 'Deposito BCO, Continental',
            'code_sunat' => 04,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'EF',
            'description' => 'Efectivo',
            'code_sunat' => 05,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'LT',
            'description' => 'Letra',
            'code_sunat' => 06,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
        DB::table('payment_types')->insert([
            'code' => 'NC',
            'description' => 'Nota de credito',
            'code_sunat' => 07,
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s')
        ]);
    }
}
