|
@@ -78,7 +78,7 @@ class AccountancyCategory // extends CommonObject
|
|
|
public $range_account;
|
|
|
|
|
|
/**
|
|
|
- * @var mixed Sample property 1
|
|
|
+ * @var int $sens Sens of the account: 0: credit - debit, 1: debit - credit
|
|
|
*/
|
|
|
public $sens;
|
|
|
|
|
@@ -722,8 +722,8 @@ class AccountancyCategory // extends CommonObject
|
|
|
* @param string $date_end Date end
|
|
|
* @param int $sens Sens of the account: 0: credit - debit, 1: debit - credit
|
|
|
* @param string $thirdparty_code Thirdparty code
|
|
|
- * @param string $month Specifig month - Can be empty
|
|
|
- * @param string $year Specifig year - Can be empty
|
|
|
+ * @param int $month Specifig month - Can be empty
|
|
|
+ * @param int $year Specifig year - Can be empty
|
|
|
* @return integer <0 if KO, >= 0 if OK
|
|
|
*/
|
|
|
public function getSumDebitCredit($cpt, $date_start, $date_end, $sens, $thirdparty_code='nofilter', $month=0, $year=0)
|