|
@@ -6,6 +6,13 @@ use Dever;
|
|
|
|
|
|
class Manage
|
|
|
{
|
|
|
+ public function getOrderUrl($order_id, $order_num)
|
|
|
+ {
|
|
|
+ $url = Dever::load('manage/database')->url('list', $order_id, 'buy_order_goods&project=shop&order_id='.$order_id.'&page_type=1');
|
|
|
+
|
|
|
+ $url = '<a href="'.$url.'">'.$order_num.'</a>';
|
|
|
+ return $url;
|
|
|
+ }
|
|
|
public function showCash($cash, $p_cash = 0)
|
|
|
{
|
|
|
if (!$cash) {
|