Jump to content

Edit History

Amin Vatandoust

Amin Vatandoust

Hi @George Bazz

Thanks for your complete guidelines and sorry if I responded late. I tested it right now and it's working properly (Thank you and I will add solved to the Title)
 

I have another problem here. The Total Paid value adds six 0 in decimals (like 5000.000000 IRT) which should be 5000 IRT. I guess it's related to my currency because I had this problem with an SQL query too. In that query, I changed 

o.total_paid_tax_excl 'Total'

to 

Format(SUM(o.total_paid_tax_excl),0) 'Total'

 Then it removed the decimals. Now I'm wondering if there is an option to use such code in our TPL file of COD module?

 

Best Regards.

Amin Vatandoust

Amin Vatandoust

Hi @George Bazz

Thanks for your complete guidelines and sorry if I responded late. I tested it right now and it's working properly (Thank you and I will add solved to the Title)
 

I have another problem here. The Total Paid value adds six 0 in decimals (like 5000.000000 IRT) which should be 5000 IRT. I guess it's related to my currency because I had this problem with an SQL query too. In that query, I changed 

o.total_paid_tax_excl 'Total'

to 

Format(SUM(o.total_paid_tax_excl),0) 'Total'

 Then it removed the decimals. Now I'm wondering if there is an option to use such code in our TPL file of COD module?

 

Best Regards.

×
×
  • Create New...