<?php

namespace Database\Seeders;

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

class OrderStatusesTableSeeder extends Seeder
{
    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        echo 'Seeding order_statuses...'.PHP_EOL;

        DB::table('order_statuses')->delete();

        DB::table('order_statuses')->insert(array(
            0 => array(
                'id' => '0',
                'name' => 'Order Received',
                'mapping_code' => null,
            ),
            1 => array(
                'id' => '1',
                'name' => 'Processing',
                'mapping_code' => null,
            ),
            2 => array(
                'id' => '2',
                'name' => 'Order Approved',
                'mapping_code' => null,
            ),
            3 => array(
                'id' => '3',
                'name' => 'Order Rejected',
                'mapping_code' => null,
            ),
            4 => array(
                'id' => '4',
                'name' => 'Shipped',
                'mapping_code' => null,
            ),
            5 => array(
                'id' => '5',
                'name' => 'Part Refunded',
                'mapping_code' => null,
            ),
            6 => array(
                'id' => '6',
                'name' => 'Refunded',
                'mapping_code' => null,
            ),
            7 => array(
                'id' => '7',
                'name' => 'Part Shipped',
                'mapping_code' => null,
            ),
            8 => array(
                'id' => '8',
                'name' => 'Waiting For Response',
                'mapping_code' => null,
            ),
            9 => array(
                'id' => '9',
                'name' => 'Cancelled',
                'mapping_code' => null,
            ),
            10 => array(
                'id' => '10',
                'name' => 'Awaiting GP Confirmation',
                'mapping_code' => null,
            ),
            11 => array(
                'id' => '12',
                'name' => 'Awaiting Prescription Status',
                'mapping_code' => null,
            ),
            12 => array(
                'id' => '13',
                'name' => 'Partially Rejected',
                'mapping_code' => null,
            ),
            13 => array(
                'id' => '14',
                'name' => 'Returned',
                'mapping_code' => null,
            ),
            14 => array(
                'id' => '15',
                'name' => 'No Response',
                'mapping_code' => null,
            ),
            15 => array(
                'id' => '17',
                'name' => 'Consultation Complete',
                'mapping_code' => null,
            ),
        ));
    }
}
