Resolve "Final CMB Fixes" #1229

Merged
korina.cordero merged 102 commits from 270-final-cmb-fixes into master 2020-04-03 02:54:29 +00:00
Showing only changes of commit 1ab5909dfd - Show all commits

View file

@ -280,6 +280,14 @@ class JobOrder
*/
protected $hub_rejections;
// priority order for riders
// NOTE: this is a workaround since changeing rider to jo rider assignment with details requires
// too many changes and may break too many things.
/**
* @ORM\Column(type="integer", options={"default": 0}))
*/
protected $priority;
public function __construct()
{
$this->date_create = new DateTime();
@ -297,6 +305,8 @@ class JobOrder
$this->trade_in_type = null;
$this->flag_rider_rating = false;
$this->flag_coolant = false;
$this->priority = 0;
}
public function getID()
@ -802,4 +812,15 @@ class JobOrder
{
return $this->hub_rejections;
}
public function setPriority($priority)
{
$this->priority = $priority;
return $this;
}
public function getPriority()
{
return $this->priority;
}
}