Add source to invoice criteria. Modify invoice rules to get service fees from... #1701

Merged
arcticzero merged 217 commits from 746-resq-2-0-final into master 2023-11-22 08:54:48 +00:00
Showing only changes of commit 561a280647 - Show all commits

View file

@ -139,9 +139,22 @@ class Ticket
*/ */
protected $other_description; protected $other_description;
// is it a late documentation?
/**
* @ORM\Column(type="boolean", nullable=true)
*/
protected $flag_late_doc;
// reason for late documentation
/**
* @ORM\Column(type="text", nullable=true)
*/
protected $late_doc_reason;
public function __construct() public function __construct()
{ {
$this->date_create = new DateTime(); $this->date_create = new DateTime();
$this->flag_late_doc = false;
} }
public function getID() public function getID()
@ -354,4 +367,26 @@ class Ticket
{ {
return $this->other_description; return $this->other_description;
} }
public function setLateDoc($flag_late_doc = true)
{
$this->flag_late_doc = $flag_late_doc;
return $this;
}
public function isLateDoc()
{
return $this->flag_late_doc;
}
public function setLateDocReason($late_doc_reason)
{
$this->late_doc_reason = $late_doc_reason;
return $this;
}
public function getLateDocReason()
{
return $this->late_doc_reason;
}
} }