Consistency updates for use of viewpath()
This commit is contained in:
@@ -59,7 +59,7 @@ class Controller_User_Statement extends Controller_TemplateDefault_User {
|
||||
));
|
||||
|
||||
$output = (string)$pag;
|
||||
$output .= View::factory('statement/user/show_head');
|
||||
$output .= View::factory($this->viewpath().'/head');
|
||||
|
||||
$i = 0;
|
||||
foreach ($ta as $k => $v) {
|
||||
@@ -68,12 +68,12 @@ class Controller_User_Statement extends Controller_TemplateDefault_User {
|
||||
elseif ($i > $pag->current_last_item())
|
||||
break;
|
||||
|
||||
$output .= View::factory('statement/user/show_body')
|
||||
$output .= View::factory($this->viewpath().'/body')
|
||||
->set('o',$v)
|
||||
->set('trc',$i%2 ? 'odd' : 'even');
|
||||
}
|
||||
|
||||
$output .= View::factory('statement/user/show_foot');
|
||||
$output .= View::factory($this->viewpath().'/foot');
|
||||
|
||||
Block::add(array(
|
||||
'title'=>sprintf('%s: %s - %s',_('Transactions For'),$this->ao->accnum(),$this->ao->name(TRUE)),
|
||||
|
Reference in New Issue
Block a user