2
0
forked from Wavyzz/dolibarr

Look and feel v6

This commit is contained in:
Laurent Destailleur
2017-05-18 12:12:36 +02:00
parent 0b52c43e05
commit a36a9fab2f
10 changed files with 104 additions and 160 deletions

View File

@@ -127,7 +127,7 @@ class Task extends CommonObject
$sql.= ", ".$user->id;
$sql.= ", ".($this->date_start!=''?"'".$this->db->idate($this->date_start)."'":'null');
$sql.= ", ".($this->date_end!=''?"'".$this->db->idate($this->date_end)."'":'null');
$sql.= ", ".($this->planned_workload!=''?$this->planned_workload:0);
$sql.= ", ".(($this->planned_workload!='' && $this->planned_workload >= 0)?$this->planned_workload:'null');
$sql.= ", ".(($this->progress!='' && $this->progress >= 0)?$this->progress:'null');
$sql.= ")";