Account next invoice, and authorisations
This commit is contained in:
@@ -143,6 +143,8 @@ class Invoice extends Model
|
||||
{
|
||||
$return = collect();
|
||||
|
||||
$this->items->load(['service']);
|
||||
|
||||
foreach ($this->items->filter(function ($item) use ($po) {
|
||||
return $item->product_id == $po->id;
|
||||
}) as $o)
|
||||
|
Reference in New Issue
Block a user