Fixes to OSB to work with KH 3.3

This commit is contained in:
Deon George
2012-11-10 10:13:57 +11:00
parent ea36639638
commit 6db02ae77d
238 changed files with 813 additions and 938 deletions

View File

@@ -24,7 +24,7 @@ class Controller_Admin_Charge extends Controller_TemplateDefault_Admin {
Block::add(array(
'title'=>_('Customer Charges'),
'body'=>Table::display(
ORM::factory('charge')->where('sweep_type','>=',0)->order_by('date_orig DESC')->find_all(),
ORM::factory('Charge')->where('sweep_type','>=',0)->order_by('date_orig DESC')->find_all(),
25,
array(
'id'=>array('label'=>'ID','url'=>'user/charge/view/'),
@@ -50,7 +50,7 @@ class Controller_Admin_Charge extends Controller_TemplateDefault_Admin {
public function action_add() {
$output = '';
$co = ORM::factory('charge');
$co = ORM::factory('Charge');
if ($_POST) {
// Trim down our attributes