Standardisation work, changed accnum() to refnum()
This commit is contained in:
@@ -21,20 +21,9 @@ class Controller_User_Payment extends Controller_Payment {
|
||||
$this->meta->title = 'Payments Received';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('%s: %s - %s',_('Payments Received For'),$this->ao->accnum(),$this->ao->name(TRUE)))
|
||||
->title_icon('fa fa-money')
|
||||
->body(Table::factory()
|
||||
->page_items(50)
|
||||
->data($this->ao->payment->find_all())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'date_payment'=>'Date',
|
||||
'checkout->display("name")'=>'Method',
|
||||
'total(TRUE)'=>'Total',
|
||||
'balance(TRUE)'=>'Balance',
|
||||
'invoicelist()'=>'Invoices',
|
||||
))
|
||||
);
|
||||
->title(sprintf('%s: %s - %s',_('Payments Received For'),$this->ao->refnum(),$this->ao->name(TRUE)))
|
||||
->title_icon($this->icon)
|
||||
->body(View::factory('payment/user/list')->set('o',$this->ao->payment->find_all()));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user