Added meta title to pages
This commit is contained in:
@@ -15,9 +15,11 @@ class Controller_Reseller_Invoice extends Controller_Invoice {
|
||||
);
|
||||
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Customer Invoice List';
|
||||
|
||||
Block::factory()
|
||||
->title('Customer Invoices')
|
||||
->title_icon('icon-th-list')
|
||||
->title_icon('fa fa-edit')
|
||||
->body(Table::factory()
|
||||
->jssort('invoices')
|
||||
->data(ORM::factory('Invoice')->where_authorised($this->ao)->where_active()->find_all())
|
||||
|
@@ -73,6 +73,8 @@ class Controller_User_Invoice extends Controller_Invoice {
|
||||
* Show a list of invoices
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Invoice List';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('Invoices for Account: %s',$this->ao->accnum()))
|
||||
->title_icon('fa fa-list')
|
||||
|
Reference in New Issue
Block a user