Jump to content


Photo

Negative number display

currency data display report

  • Please log in to reply
1 reply to this topic

#1 Walter

Walter

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationBaltics

Posted 20 December 2018 - 07:49 AM

Hi guys,

Can anybody tell why and how to correct the problem with the display of negative amounts in X2 display view?

 

We are importing accounting balances from an external accounting system with credit/debit/balance amounts, where negative amounts are expected for sure but in list view, they are being displayed in brackets.

 

Entry View (the field in edit mode displays the correct way)

 

Attached File  screen_2.PNG   1.96KB   0 downloads

 

List view displays in brackets

 

Attached File  screen_1.PNG   4.55KB   0 downloads

 

Is there a method to change that? In which system file that could potentially be done?

 

Thank you in advance!

 



#2 jack

jack

    Newbie Member

  • Moderators
  • 17 posts

Posted 04 January 2019 - 10:15 AM

Hi Walter,

 

You might want to check out the formatter in protected/components/formatters/FieldFormatter.php , this is used to render fields so it might be causing your problem.

 

-Jack







Also tagged with one or more of these keywords: currency, data, display, report

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users