Ejemplo n.º 1
0
 public function findSupplierEntries($supplierid, $category, $dates, $all)
 {
     if ($this->validateAdmin()) {
         echo json_encode(TransactionVouchers::GetSupplierTransactions($supplierid, $category, $dates, $all));
     } else {
         echo 0;
     }
 }