50 lines
2.1 KiB
PHP
50 lines
2.1 KiB
PHP
<?php
|
|
|
|
namespace App\Ramcar;
|
|
|
|
class JORejectionReason extends NameValue
|
|
{
|
|
const ADMINISTRATIVE = 'administrative';
|
|
const NO_STOCK_SALES = 'no_stock_sales';
|
|
const NO_STOCK_SERVICE = 'no_stock_service';
|
|
const LINE_NO_ANSWER = 'line_no_answer';
|
|
const LINE_BUSY = 'line_busy';
|
|
const NO_RIDER_AVAILABLE = 'no_rider_available';
|
|
const NO_RIDER_IN_TRANSIT = 'no_rider_in_transit';
|
|
const REFUSAL = 'refusal';
|
|
const STORE_CLOSED = 'store_closed';
|
|
const NO_CREDIT_CARD = 'no_credit_card';
|
|
const DISCOUNT = 'discount';
|
|
const STORE_CLOSED_SCHEDULED = 'store_closed_scheduled';
|
|
const STORE_CLOSED_HALF_DAY = 'store_closed_half_day';
|
|
const STORE_CLOSED_NO_ADVISE = 'store_closed_no_advise';
|
|
const PRIORITY_HUB_WTY_CLAIM = 'priority_hub_wty_claim';
|
|
const PRIORITY_HUB_JUMPSTART = 'priority_hub_jumpstart';
|
|
const PRIORITY_HUB_RESQ_REQUEST = 'priority_hub_resq_req';
|
|
const CUSTOMER_REQUEST = 'customer_request';
|
|
|
|
const COLLECTION = [
|
|
'administrative' => 'ADMINISTRATIVE',
|
|
'no_stock_sales' => 'NO STOCK - SALES',
|
|
'no_stock_service' => 'NO STOCK - SERVICE',
|
|
'line_no_answer' => 'LINE NO ANSWER',
|
|
'line_busy' => 'LINE BUSY',
|
|
'no_rider_available' => 'NO RIDER - AVAILABLE',
|
|
'no_rider_in_transit' => 'NO RIDER - IN TRANSIT',
|
|
'refusal' => 'REFUSAL',
|
|
'store_closed' => 'STORE CLOSED',
|
|
'no_credit_card' => 'NO CREDIT CARD PAYMENT / NO TERMINAL',
|
|
'discount' => 'DISCOUNT',
|
|
'store_closed_scheduled' => 'STORE CLOSED (ON SCHEDULE)',
|
|
'store_closed_half_day' => 'STORE CLOSED (HALF DAY)',
|
|
'store_closed_no_advise' => 'STORE CLOSED (NO ADVISE)',
|
|
'priority_hub_wty_claim' => 'PRIORITY HUB OUTLET FOR WARRANTY CLAIM',
|
|
'priority_hub_jumpstart' => 'PRIORITY HUB OUTLET FOR JUMPSTART',
|
|
'priority_hub_resq_req' => 'PRIORITY HUB OUTLET FOR RESQ-Q REQUEST',
|
|
'customer_request' => 'CUSTOMER REQUEST',
|
|
];
|
|
|
|
const BLACKLIST = [
|
|
self::ADMINISTRATIVE => true,
|
|
];
|
|
}
|