7.9.5
Just to be clear, printing from detail works ok except from data from related case
Printing from list view is not getting the related line items etc
any ideas
in my view.list.php
…
class AOS_InvoicesViewList extends ViewList
{
/**
* @see ViewList::preDisplay()
*/
public function preDisplay(){
//require_once('modules/AOS_PDF_Templates/formLetterEOD.php');
require_once('custom/modules/AOS_Invoices/custom/list.php');
formLetter::LVPopupHtml('AOS_Invoices');
parent::preDisplay();
$this->lv = new AOS_InvoicesListViewSmarty();
}
public function listViewPrepare()
{
if (empty($_REQUEST['orderBy'])) {
$_REQUEST['orderBy'] = 'number';
$_REQUEST['sortOrder'] = 'desc';
}
parent::listViewPrepare();
}
}
Got this working as i wanted, Actually was a lot simpler than I thought
By creating a custom formLetterPdf.php I can now mass print invoices from the list view with all relationship data B)
I must need this same functionality for print mass invoice in single pdf from invoice list view. So can you please guide me how can i do that. I know i must need to create custom list view, but don’t have a idea how can i do that.
I will really thanks full to you.