Fixes for live environment and updates to admin/service/update

This commit is contained in:
Deon George
2011-07-22 11:04:20 +10:00
parent 27cdab1fe4
commit c8c4c5176d
41 changed files with 2457 additions and 82 deletions

View File

@@ -32,7 +32,7 @@ class Controller_User_Service extends Controller_TemplateDefault {
public function action_list() {
Block::add(array(
'title'=>sprintf('%s: %s - %s',_('Services For'),$this->ao->accnum(),$this->ao->name(TRUE)),
'body'=>View::factory('service/list')
'body'=>View::factory('service/user/list')
->set('services',$this->ao->service->find_all()),
));
}
@@ -47,7 +47,7 @@ class Controller_User_Service extends Controller_TemplateDefault {
Block::add(array(
'title'=>sprintf('%s: %s',$so->id(),$so->product->name()),
'body'=>View::factory('service/view')
'body'=>View::factory('service/user/view')
->set('so',$so),
));
}