openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
312 stars 1.02k forks source link

Completed Teller transactions aren't displayed in proper currency - only shows as $ #1732

Closed santoshconflux closed 5 years ago

santoshconflux commented 7 years ago

Reported by Subramanya at https://mifosforge.jira.com/browse/MIFOSX-2732

Original Description:

  1. Set currency as Indian Rupees, US Dollar, UAE Dirhams, in currency configuration.
  2. Create teller and add cashier to it.
  3. Add office financial mapping for main cash at vault and for cash at teller/cashier.
  4. Allocate cash in Indian Rupees, and Settle cash in UAE Dirhams,
  5. Click on search Journal entries in which all entries got created with $ symbol. It should be with particular currency symbol with which transaction has been done.
mauliksoneji commented 7 years ago

@botraunak Please look into this issue

botraunak commented 7 years ago

This is JSON posted to the API, correct currency codes are sent to the server and can be verified as the summary shows appropriate results. { "txnDate":"31 May 2017", "currencyCode":"AFN", "txnAmount":"100", "txnNote":"test", "locale":"en", "dateFormat":"dd MMMM yyyy" }

The journal entries are created I guess automatically for the API endpoint. See Doc Link attached. https://demo.openmf.org/api-docs/apiLive.htm#allocateCashToCashier

So it might be a Fineract Issue? @Mastermaulik can you confirm?

santoshconflux commented 7 years ago

@Mastermaulik or @nazeer1100126 , please confirm before I move this issue to Fineract.

santoshconflux commented 5 years ago

@ShruthiRajaram , we will see whether it's Fineract side issue.

ShruthiRajaram commented 5 years ago

@santoshconflux I am looking into old journal entries and can see specific currency symbols displayed. image Kindly check and confirm

santoshconflux commented 5 years ago

Not able to reproduce in recent version.