CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6222

Wrong currency displayed on invoice

Added by Morten Haggren over 3 years ago. Updated over 2 years ago.

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

Revision 6620
Added by Ingo Schmitt over 5 years ago

  • 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.

Also available in: Atom PDF