nBill Community nBill Home Page
21/May/2012, 11:11:41 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Currency on auto created Incomes  (Read 1065 times)
n.richard
Jr. Member
**
Offline Offline

Posts: 69


View Profile
« on: 03/March/2010, 04:11:14 PM »

I activated the "Auto Create Income Item" in my Order Form, so that when I mark an Invoice as paid (this is done manually, clicking the red cross in Invoices list) an Income is automatically created.
"Amount Received" on the Income defaults to the Invoice amount (fine!) but currency is always Pounds even if my Invoice is in Euros :-(

Using nBill 2.0.8
Thanks!
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 03/March/2010, 05:27:35 PM »

When you mark an invoice as paid on the invoice list, it always prompts you to create an income record - regardless of any settings on your order form. The auto create income setting on the order form is to stipulate that if/when a callback is received from a payment service provider to say that the payment was completed successfully, it should then automatically create the income record and mark the invoice as paid without any manual intervention from you (although this might not be working for you if you have pending until paid turned off as indicated in your next post).

To fix the problem with the currency not being picked up from the invoice, please first upgrade to version 2.0.9, then replace the following files with the attached versions:

/administrator/components/com_nbill/framework/ajax/nbill.ajax.invoice.php
/administrator/componnets/com_nbill/admin.html/income.html.php
/administrator/components/com_nbill/admin.html/expenditure.html.php

[attachment deleted by admin]
Logged
n.richard
Jr. Member
**
Offline Offline

Posts: 69


View Profile
« Reply #2 on: 03/March/2010, 11:21:05 PM »

Works fine on Firefox but not with IE8 (with and without compatibility mode).

I can't say if it used to work before this fix but now Amount Received is 0.00 and Currency is British Pounds in IE8...
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #3 on: 04/March/2010, 11:34:55 AM »

Try these...

[attachment deleted by admin]
« Last Edit: 04/March/2010, 11:47:40 AM by netshine » Logged
n.richard
Jr. Member
**
Offline Offline

Posts: 69


View Profile
« Reply #4 on: 04/March/2010, 08:50:46 PM »

OK, working much better!

Thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!