fixed opListContoller - getinvoices
This commit is contained in:
parent
6c67a81b6f
commit
106515d25a
1 changed files with 11 additions and 0 deletions
|
|
@ -96,6 +96,17 @@ public class OPListController implements Serializable {
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public List<ItemCollection> getInvoices(String _dbtrNumber) {
|
public List<ItemCollection> getInvoices(String _dbtrNumber) {
|
||||||
|
|
||||||
|
// if last dbtr number is not equal then reset the current list....
|
||||||
|
if (invoiceList != null && //
|
||||||
|
(lastDbtrNumber == null
|
||||||
|
|| !lastDbtrNumber.equals(_dbtrNumber) //
|
||||||
|
|| lastCurrencyFilter == null
|
||||||
|
|| !lastCurrencyFilter.equals(currencyFilter)) //
|
||||||
|
) {
|
||||||
|
invoiceList = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (invoiceList != null) {
|
if (invoiceList != null) {
|
||||||
return invoiceList;
|
return invoiceList;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue