Changeset 509 for trunk/finance/bills.php
- Timestamp:
- Apr 1, 2013, 11:37:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/bills.php
r500 r509 43 43 $MainSubject = $DbResult->fetch_assoc(); 44 44 45 $DbResult = $this->Database->query('SELECT FinanceBankAccount.*, FinanceBank.CodeAS NumberFull FROM FinanceBankAccount '.45 $DbResult = $this->Database->query('SELECT FinanceBankAccount.*, CONCAT(FinanceBankAccount.Number, "/", FinanceBank.Code) AS NumberFull FROM FinanceBankAccount '. 46 46 'JOIN FinanceBank ON FinanceBank.Id=FinanceBankAccount.Bank '. 47 47 'WHERE (FinanceBankAccount.`Subject`='.$Config['Finance']['MainSubjectId'].') AND (FinanceBankAccount.`Use`=1)'); … … 135 135 $MainSubject = $DbResult->fetch_assoc(); 136 136 137 $DbResult = $this->Database->query('SELECT FinanceBankAccount.*, FinanceBank.CodeAS NumberFull FROM FinanceBankAccount '.137 $DbResult = $this->Database->query('SELECT FinanceBankAccount.*, CONCAT(FinanceBankAccount.Number, "/", FinanceBank.Code) AS NumberFull FROM FinanceBankAccount '. 138 138 'JOIN FinanceBank ON FinanceBank.Id=FinanceBankAccount.Bank '. 139 139 'WHERE (FinanceBankAccount.`Subject`='.$Config['Finance']['MainSubjectId'].') AND (FinanceBankAccount.`Use`=1)'); … … 154 154 'IČ: '.$MainSubject['IC'].'<br>'. 155 155 'DIČ: '.$MainSubject['DIC'].'<br>'. 156 'Účet: '.$MainSubjectAccount['Number '].'<br>'.156 'Účet: '.$MainSubjectAccount['NumberFull'].'<br>'. 157 157 'Plátce DPH: '.$BooleanText[$MainSubject['PayVAT']]. 158 158 '</td><td width="50%" valign="top">'.
Note:
See TracChangeset
for help on using the changeset viewer.