Displaying 2 lists in view.list

I am using a suitecrm_version 7.14.1 and want to display 2 lists of invoices in a custom module, in List1 will be show list of invoices not send and in List2 will be shown a list of invoices that were already send. Can something like that be done using lists or should i use subpanels? Also i was trying to display just a list of invoices without any limits using the code bellow but was unable to do so any ideas why it doesnt work would be very appretiated.

View.List.php.zip (753 Bytes)
printing list $invoices shows that the 2 record that i added in aos_invoices module are being displayed but are not in a list

Hi,
You can create a custom view and in their you can apply the where condition in the query.
If you know SuiteCRM coding, you can understand what I am saying

Please check these articles

And about no pagination, it is not a recommended approach to skip the pagination from any view as it will come up with many performance issues in future when your data size will increase.

Thanks

1 Like