mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 12:34:37 -04:00
Set next_send_date to null when balance == 0
This commit is contained in:
parent
e891238db0
commit
bc688985e1
@ -92,7 +92,7 @@ class Task extends BaseModel
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static function calcstart_time()
|
public function calcStartTime()
|
||||||
{
|
{
|
||||||
$parts = json_decode($this->time_log) ?: [];
|
$parts = json_decode($this->time_log) ?: [];
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ class Task extends BaseModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLaststart_time()
|
public function getLastStartTime()
|
||||||
{
|
{
|
||||||
$parts = json_decode($this->time_log) ?: [];
|
$parts = json_decode($this->time_log) ?: [];
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ class Task extends BaseModel
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function calcDuration($start_time_cutoff = 0, $end_time_cutoff = 0)
|
public function calcDuration($start_time_cutoff = 0, $end_time_cutoff = 0)
|
||||||
{
|
{
|
||||||
$duration = 0;
|
$duration = 0;
|
||||||
$parts = json_decode($this->time_log) ?: [];
|
$parts = json_decode($this->time_log) ?: [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user