git-svn-id: http://svn.cleancode.org/svn/pickles@120 4d10bc64-7434-11dc-a737-d2d0f8310089
18 lines
440 B
PHP
18 lines
440 B
PHP
<?php
|
|
|
|
class store_admin_orders_print extends store_admin {
|
|
|
|
protected $display = DISPLAY_JSON;
|
|
|
|
public function __default() {
|
|
$saver = new store_admin_orders_save($this->config, $this->db, $this->mailer, $this->error);
|
|
$saver->__default();
|
|
|
|
$this->setPublic('packing_slip', nl2br($saver->packing_slip));
|
|
|
|
$this->setPublic('status', 'Success');
|
|
$this->setPublic('message', 'The order has been updated successfully.');
|
|
}
|
|
}
|
|
|
|
?>
|