Example #1
0
 public function action_index()
 {
     $user_id = \Session::get(self::SESSION_KEY_USER_ID);
     $order = Model_Order::find(1);
     $order->staff_id = 1;
     $order->save();
     //return $this->template->content =var_dump($user_id);
     $data['staff']['staff_id'] = $order->staff_id;
     $data['order'] = Model_Order::getDetail($order->id);
     $this->template->content = View::forge('website/content/whereismypizza', $data);
 }
Example #2
0
 public function action_detail($order_id)
 {
     $data['detail'] = Model_Order::getDetail($order_id);
     $this->template->title = '詳細';
     $this->template->content = View::forge('deliverysupport/client/deliverydetail', $data);
 }