Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer committed Oct 16, 2017
1 parent f853dbc commit bd5bffa
Show file tree
Hide file tree
Showing 19 changed files with 9,255 additions and 9,255 deletions.
14 changes: 7 additions & 7 deletions htdocs/accountancy/class/lettering.class.php
Expand Up @@ -33,12 +33,12 @@
*/
class lettering extends BookKeeping
{
/**
* lettrageTiers
*
* @param int $socid Thirdparty id
* @return int <0 if KO, >0 if OK
*/
/**
* lettrageTiers
*
* @param int $socid Thirdparty id
* @return int <0 if KO, >0 if OK
*/
public function lettrageTiers($socid) {

$db = $this->db;
Expand Down Expand Up @@ -121,7 +121,7 @@ public function lettrageTiers($socid) {

/**
Prise en charge des lettering complexe avec prelevment , virement
*/
*/
$sql = "SELECT bk.rowid, bk.doc_date, bk.doc_type, bk.doc_ref, bk.code_tiers, bk.numero_compte , bk.label_compte, bk.debit , bk.credit, bk.montant , bk.sens , bk.code_journal , bk.piece_num, bk.date_lettering, bu.url_id , bu.type ";
$sql .= " FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as bk";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "bank_url as bu ON(bk.fk_doc = bu.fk_bank AND bu.type IN ('payment', 'payment_supplier') ) ";
Expand Down

0 comments on commit bd5bffa

Please sign in to comment.