Work on Email and other major consistency work
This commit is contained in:
@@ -54,14 +54,8 @@ class Controller_Reseller_Charge extends Controller_Charge {
|
||||
private function add_edit($id=NULL,$output='') {
|
||||
$co = ORM::factory('Charge',$id);
|
||||
|
||||
if ($_POST) {
|
||||
// Entry updated
|
||||
if ($co->values($_POST)->check() AND $co->save())
|
||||
SystemMessage::factory()
|
||||
->title('Record updated')
|
||||
->type('success')
|
||||
->body(_('Your Charge record has been recorded/updated.'));
|
||||
}
|
||||
if ($_POST AND $co->values($_POST)->changed() AND (! $this->save($co)))
|
||||
$co->reload();
|
||||
|
||||
Script::factory()
|
||||
->type('file')
|
||||
|
Reference in New Issue
Block a user