<?php

return [
    'getPreStatus' => [
        [
            'statusId' => '1',
            'statusName' => 'Draft',
            'colorCode'=>'bg-status-gray'
        ],
        [
            'statusId' => '2',
            'statusName' => 'Sending',
            'colorCode'=>'bg-status-yellow'
        ],
        [
            'statusId' => '3',
            'statusName' => 'Gateway Accepted',
            'colorCode'=>'bg-status-blue'
        ],
        [
            'statusId' => '4',
            'statusName' => 'Customs Accepted',
            'colorCode'=>'bg-status-green'
        ],
        [
            'statusId' => '5',
            'statusName' => 'Customs Response',
            'colorCode'=>'bg-status-orange'
        ],
        [
            'statusId' => '6',
            'statusName' => 'Sending Cancel',
            'colorCode'=>'bg-status-purple'
        ],
        [
            'statusId' => '7',
            'statusName' => 'Gateway Accepted Cancel',
            'colorCode'=>'bg-status-darkgreen'
        ],
        [
            'statusId' => '8',
            'statusName' => 'Cancel Success',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => '9',
            'statusName' => 'Error',
            'colorCode'=>'bg-status-darkred'
        ],
        [
            'statusId' => '10',
            'statusName' => 'CVS Exported',
            'colorCode'=>'bg-status-purple'
        ],
        [
            'statusId' => '11',
            'statusName' => 'SPN Exported',
            'colorCode'=>'bg-status-purple'
        ],
        [
            'statusId' => '12',
            'statusName' => 'Cancel Error',
            'colorCode'=>'bg-status-yellow'
        ],
        [
            'statusId' => '13',
            'statusName' => 'Draft from error',
            'colorCode'=>'bg-status-brown'
        ],
        [
            'statusId' => 'B',
            'statusName' => 'Before Cancel',
            'colorCode'=>'bg-status-purple'
        ],
        [
            'statusId' => 'C',
            'statusName' => 'Canceled',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => 'D',
            'statusName' => 'Draft',
            'colorCode'=>'bg-status-gray'
        ],
        [
            'statusId' => 'B',
            'statusName' => 'Before Cancel',
            'colorCode'=>'bg-status-gray'
        ],
        [
            'statusId' => 'E',
            'statusName' => 'Control Error',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => 'G',
            'statusName' => 'Green',
            'colorCode'=>'bg-status-green'
        ],
        [
            'statusId' => 'P',
            'statusName' => 'Pending',
            'colorCode'=>'bg-status-gray'
        ],
        [
            'statusId' => 'R',
            'statusName' => 'Red',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => 'W',
            'statusName' => 'Waiting',
            'colorCode'=>'bg-status-gray'
        ]
    ],
    'defaultPagination' => [
        10,
        20,
        50,
        100,
        200,

    ],
    'getUploadListStatus' => [
        [
            'statusId' => 'DUPLICATE',
            'statusName' => 'DUPLICATE',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => 'ERROR',
            'statusName' => 'ERROR',
            'colorCode'=>'bg-status-darkred'
        ],
        [
            'statusId' => 'FILE NOT FOUND',
            'statusName' => 'FILE NOT FOUND',
            'colorCode'=>'bg-status-gray'
        ],
        [
            'statusId' => 'SUCCESS',
            'statusName' => 'SUCCESS',
            'colorCode'=>'bg-status-green'
        ],
        [
            'statusId' => 'INVALID FIELD',
            'statusName' => 'INVALID FIELD',
            'colorCode'=>'bg-status-red'
        ],
        [
            'statusId' => 'WAITING',
            'statusName' => 'WAITING',
            'colorCode'=>'bg-status-orange'
        ]
    ],
    'getExchangeRate' => [
        [
            'currency' => 'AED',
            'baht' => '8.40470',
            'rate' => '1',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
        [
            'currency' => 'AUD',
            'baht' => '29.39770',
            'rate' => '1',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
        [
            'currency' => 'HKD',
            'baht' => '3.98740',
            'rate' => '1',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
    ],
    'getCurrency' => [
        [
            'code' => 'AED',
            'name' => 'U.A.E. DIRHAMa',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
        [
            'code' => 'AFA',
            'name' => 'AFGHANI',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
        [
            'code' => 'ALL',
            'name' => 'LEK',
            'exdate' => '2023-07-01',
            'finishdate' =>  '2023-07-31'
        ],
    ],
    'getInvalidFieldStatus' => [
        [
            'statusId' => 'Y',
            'statusName' => 'SUCCESS',
            'colorCode'=>'bg-status-green'
        ],
        [
            'statusId' => '',
            'statusName' => '',
            'colorCode'=>''
        ],
    ],
    'getTransportMode' => [
        [
            'code' => '3',
            'name' => 'ทางรถยนต์',
            'active' => 'Y'
        ],
        [
            'code' => '4',
            'name' => 'ทางเครื่องบิน',
            'active' => 'N'
        ]
    ],
    'getWeight' => [
        [
            'code' => 'KGM',
            'name' => 'KGM',
            'active' => 'Y'
        ],
        [
            'code' => 'CTM',
            'name' => 'CTM',
            'active' => 'Y'
        ],
        [
            'code' => 'GRM',
            'name' => 'GRM',
            'active' => 'Y'
        ],
        [
            'code' => 'TNE',
            'name' => 'TNE',
            'active' => 'Y'
        ]
    ],
    'getTariff' => [
        [
            'tariffcode' => '000001031000',
            'thdesc' => 'ทั้งตัวและครึ่งตัว',
            'endesc' => 'Carcasses and half carcasses',
            'start' => '20220101',
            'finish' => '99999999'
        ],
        [
            'tariffcode' => '000008831000',
            'thdesc' => 'แมลง',
            'endesc' => 'Insects',
            'start' => '20220101',
            'finish' => '99999999'
        ],
        [
            'tariffcode' => '000001033600',
            'thdesc' => 'ของจากปลา',
            'endesc' => 'Of fish',
            'start' => '20220101',
            'finish' => '99999999'
        ],
        [
            'tariffcode' => '000009991000',
            'thdesc' => 'ทั้งตัวและครึ่งตัว',
            'endesc' => 'Carcasses and half carcasses',
            'start' => '20220101',
            'finish' => '99999999'
        ]
    ],
    'getTariffSeq' => [
        [
            'tariffsequence' => ' 65004',
            'privilege' => '090',
            'dutycode' => 'P',
            'advalrate' => '0',
            'specrate' => '0',
            'speccode' => '',
            'thdesc' => 'การลดอัตราอากรและยกเว้นอากรศุลกากรตามมาตรา 12 แห่งพระราชกำหนดพิกัดอัตราศุลกากร พ ศ 2530',
            'start' => '20220101',
            'finish' => '99999999'
        ],
        [
            'tariffsequence' => ' 65036',
            'privilege' => '020',
            'dutycode' => 'P',
            'advalrate' => '0',
            'specrate' => '0',
            'speccode' => '',
            'thdesc' => 'พระราชกำหนดพิกัดอัตราศุลกากร 2565 (ฉบับที่ 7)',
            'start' => '20220101',
            'finish' => '99999999'
        ],
        [
            'tariffsequence' => '65041',
            'privilege' => '000',
            'dutycode' => 'P',
            'advalrate' => '60',
            'specrate' => '0',
            'speccode' => '',
            'thdesc' => 'การลดอัตราอากรและยกเว้นอากรศุลกากรตามมาตรา 12 แห่งพระราชกำหนดพิกัดอัตราศุลกากร พ ศ 2530',
            'start' => '20220101',
            'finish' => '99999999'
        ]
    ],
    'getStatistical' => [
        [
            'statisticode' => ' 000',
            'unitcode' => 'C62',
            'thdesc' => 'รากชิโครี่',
            'endesc' => 'Chicory roots',
            'start' => '20220101',
            'finish' => '99999999'
        ]
    ]
];
