Skip to content

Commit

Permalink
Update Sale.php (#5)
Browse files Browse the repository at this point in the history
* Update Sale.php

Yeni güncellemeyle faturaların güncellenme/oluşturulma tarihine göre filtreleme geldi.
  • Loading branch information
yedincisenol authored and mayoz committed Jan 20, 2017
1 parent bd722f8 commit 88b45bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bundle/Sale.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ class Sale extends Bundle
*
* @param int $page
* @param int $limit
* @param string|null $lastSynch
* @return array
*/
public function get($page = 1, $limit = 25)
public function get($page = 1, $limit = 25, $lastSynch = null)
{
return $this->client->call("sales_invoices", [
'page' => $page,
'per_page' => $limit,
'last_synch' => $lastSynch,
], 'GET');
}

Expand Down

0 comments on commit 88b45bc

Please sign in to comment.