Merge branch '694-yokohama-add-new-transactionorigin-types' into 'master'
Resolve "YOKOHAMA Add new TransactionOrigin types" Closes #694 See merge request jankstudio/resq!810
This commit is contained in:
commit
5d6eb443a7
2 changed files with 17 additions and 8 deletions
|
|
@ -156,7 +156,7 @@ class JobOrder
|
||||||
|
|
||||||
// where requested job order came from (transaction origin)
|
// where requested job order came from (transaction origin)
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=15)
|
* @ORM\Column(type="string", length=30)
|
||||||
*/
|
*/
|
||||||
protected $source;
|
protected $source;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,20 @@ namespace App\Ramcar;
|
||||||
|
|
||||||
class TransactionOrigin extends NameValue
|
class TransactionOrigin extends NameValue
|
||||||
{
|
{
|
||||||
const CALL = 'call';
|
const CALL = 'call';
|
||||||
const ONLINE = 'online';
|
const ONLINE = 'online';
|
||||||
const FACEBOOK = 'facebook';
|
const FACEBOOK = 'facebook';
|
||||||
const VIP = 'vip';
|
const VIP = 'vip';
|
||||||
const MOBILE_APP = 'mobile_app';
|
const MOBILE_APP = 'mobile_app';
|
||||||
const WALK_IN = 'walk_in';
|
const WALK_IN = 'walk_in';
|
||||||
const LAZADA = 'lazada';
|
const LAZADA = 'lazada';
|
||||||
|
const YOKOHAMA_OP_FACEBOOK = 'yokohama_op_facebook';
|
||||||
|
const YOKOHAMA_TWITTER = 'yokohama_twitter';
|
||||||
|
const YOKOHAMA_INSTAGRAM = 'yokohama_instagram';
|
||||||
|
const YOKOHAMA_CAROUSELL = 'yokohama_carousell';
|
||||||
|
|
||||||
// TODO: for now, resq also gets the walk-in option
|
// TODO: for now, resq also gets the walk-in option
|
||||||
|
// resq also gets new YOKOHAMA options
|
||||||
const COLLECTION = [
|
const COLLECTION = [
|
||||||
'call' => 'Hotline',
|
'call' => 'Hotline',
|
||||||
'online' => 'Online',
|
'online' => 'Online',
|
||||||
|
|
@ -21,5 +26,9 @@ class TransactionOrigin extends NameValue
|
||||||
'mobile_app' => 'Mobile App',
|
'mobile_app' => 'Mobile App',
|
||||||
'walk_in' => 'Walk-in',
|
'walk_in' => 'Walk-in',
|
||||||
'lazada' => 'Lazada',
|
'lazada' => 'Lazada',
|
||||||
|
'yokohama_op_facebook' => 'Yokohama OP Facebook',
|
||||||
|
'yokohama_twitter' => 'Yokohama Twitter',
|
||||||
|
'yokohama_instagram' => 'Yokohama Instagram',
|
||||||
|
'yokohama_carousell' => 'Yokohama Carousell',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue