Added meta title to pages
This commit is contained in:
@@ -18,9 +18,11 @@ class Controller_Reseller_Payment extends Controller_Payment {
|
||||
* Show a list of payments
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Customer Payments';
|
||||
|
||||
Block::factory()
|
||||
->title('Customer Payments')
|
||||
->title_icon('icon-th-list')
|
||||
->title_icon('fa fa-money')
|
||||
->body(Table::factory()
|
||||
->page_items(50)
|
||||
->data(ORM::factory('Payment')->where_authorised($this->ao)->find_all())
|
||||
|
@@ -18,9 +18,11 @@ class Controller_User_Payment extends Controller_Payment {
|
||||
* Show payments received
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Payments Received';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('%s: %s - %s',_('Payments Received For'),$this->ao->accnum(),$this->ao->name(TRUE)))
|
||||
->title_icon('icon-th-list')
|
||||
->title_icon('fa fa-money')
|
||||
->body(Table::factory()
|
||||
->page_items(50)
|
||||
->data($this->ao->payment->find_all())
|
||||
|
Reference in New Issue
Block a user