Skip to content

Commit 8bf0e37

Browse files
committed
Fixed InvoiceBuilder with new simpler get
1 parent c9aa0f5 commit 8bf0e37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Builders/InvoiceBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ public function getBooked(array $filters = [])
1919

2020
public function getNotDue(array $filters = [])
2121
{
22-
return $this->get($filters, 'notDue');
22+
return $this->get($filters, 'totals/booked/unpaid/notDue');
2323
}
2424

2525
public function getOverdue(array $filters = [])
2626
{
27-
return $this->get($filters, 'overdue');
27+
return $this->get($filters, 'totals/booked/unpaid/overdue');
2828
}
2929

3030
public function getPaid(array $filters = [])
3131
{
32-
return $this->get($filters, 'paid');
32+
return $this->get($filters, 'totals/booked/paid');
3333
}
3434

3535
public function getUnpaid(array $filters = [])
3636
{
37-
return $this->get($filters, 'unpaid');
37+
return $this->get($filters, 'totals/booked/unpaid');
3838
}
3939

4040
public function getTotals(array $filters = [])

0 commit comments

Comments
 (0)