resq/src/Ramcar/APIRiderStatus.php

24 lines
881 B
PHP

<?php
namespace App\Ramcar;
class APIRiderStatus extends NameValue
{
const NO_PENDING_JO = 'no_pending_jo';
const OUTLET_ASSIGN = 'outlet_assign';
const RIDER_ASSIGN = 'rider_assign';
const RIDER_PICK_UP = 'rider_pick_up';
const RIDER_OTW = 'rider_otw';
const RIDER_UNAVAIL = 'rider_unavail';
const RIDER_RATING = 'rider_rating';
const COLLECTION = [
'no_pending_jo' => 'No pending job order',
'outlet_assign' => 'Waiting for outlet assignment',
'rider_assign' => 'Waiting for rider assignment',
'rider_pick_up' => 'Rider is picking up item from outlet',
'rider_otw' => 'Rider is on the way to customer',
'rider_unavail' => 'No available rider for delivery',
'rider_rating' => 'Rider waiting for rating from customer',
];
}