Fix invoice_to for next billing period
This commit is contained in:
parent
39a230f94c
commit
878277907a
@ -265,7 +265,7 @@ class Service extends Model
|
||||
{
|
||||
$query = $this->hasMany(InvoiceItem::class)
|
||||
->where('item_type','=',0)
|
||||
->orderBy('date_orig');
|
||||
->orderBy('date_start');
|
||||
|
||||
if ($active)
|
||||
$query->where('active','=',TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user