Example #1
0
 function populate()
 {
     $orders = new SInvoiceLineCollection(new SInvoiceLine());
     $pl = new PageList('top_sales_orders');
     $customersales = $orders->getTopSales(10);
     $this->contents = $customersales;
 }
Example #2
0
 public function sorders_summary()
 {
     $orders = new SInvoiceLineCollection();
     $customersales = $orders->getTopSales(10, $this->_data['type']);
     $this->view->set('content', $customersales);
 }