General Progress

This commit is contained in:
Deon George
2014-12-01 14:01:02 +11:00
parent 6eb0b2f8dd
commit fba5988d8d
18 changed files with 806 additions and 136 deletions

View File

@@ -17,7 +17,7 @@ class Controller_Director_Account extends Controller_Account {
);
/**
* Edit a Module Configuration
* Add an Account
*/
public function action_add() {
Block::factory()
@@ -36,8 +36,9 @@ class Controller_Director_Account extends Controller_Account {
$this->response->headers('Content-Type','application/json');
$this->response->body(json_encode(array_values($result)));
}
/**
* Edit a Module Configuration
* List Accounts
*/
public function action_list() {
$output = __METHOD__;
@@ -65,10 +66,9 @@ class Controller_Director_Account extends Controller_Account {
->type('file')
->data('media/theme/bootstrap/js/bootstrap.datepicker.js');
return View::factory('child/user/add_edit')
return View::factory('account/user/add_edit')
->set('o',$co)
->set('so',Company::instance()->so());
}
}
?>