pickles/common/modules/store/admin/orders/print.php
Josh Sherman 4e1006d3cd Finished the orders section of the store.
git-svn-id: http://svn.cleancode.org/svn/pickles@120 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-05-18 02:07:31 +00:00

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.');
}
}
?>