Bug #6222
Wrong currency displayed on invoice
| Status: | New | Start date: | 2010-01-26 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Bug | Spent time: | - | |
| Target version: | - | |||
| Votes: | 0 |
Description
pi6 used the currency defined in typoscript for invoices display rather than the invoce that was purchased in ( cu_iso_3_uid )
as a quick fix until this get fixed this can be used - in pi6 line ~115 ( after "if ($this->order) {" ) add;
$res=$GLOBALS['TYPO3_DB']->exec_SELECTquery( 'cu_iso_3', 'static_currencies','uid='.intval($this->order['cu_iso_3_uid']),'','',1);
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
$this->conf['currency']=$row['cu_iso_3'];
Associated revisions
- Fixed Bug 6222, Thanks to Karsten Dambekalns
History
Updated by Ingo Schmitt over 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r6620.