shoppingmallv2 init...
This commit is contained in:
parent
efd5b44948
commit
4c72289e0c
@ -220,6 +220,8 @@ define('ICONS', [
|
|||||||
'HOME' => '<i class="bi bi-house-door-fill"></i>',
|
'HOME' => '<i class="bi bi-house-door-fill"></i>',
|
||||||
'PLAY' => '<i class="bi bi-play-fill"></i>',
|
'PLAY' => '<i class="bi bi-play-fill"></i>',
|
||||||
'CART' => '<i class="bi bi-cart4"></i>',
|
'CART' => '<i class="bi bi-cart4"></i>',
|
||||||
|
'CARD' => '<i class="bi bi-credit-card"></i>',
|
||||||
|
'DEPOSIT' => '<i class="bi bi-cash-coin"></i>',
|
||||||
'UP' => '<i class="bi bi-arrow-up"></i>',
|
'UP' => '<i class="bi bi-arrow-up"></i>',
|
||||||
'DOWN' => '<i class="bi bi-arrow-down"></i>',
|
'DOWN' => '<i class="bi bi-arrow-down"></i>',
|
||||||
'LEFT' => '<i class="bi bi-arrow-left"></i>',
|
'LEFT' => '<i class="bi bi-arrow-left"></i>',
|
||||||
|
|||||||
@ -38,6 +38,8 @@ class OrderController extends FrontController
|
|||||||
switch ($action) {
|
switch ($action) {
|
||||||
case "index":
|
case "index":
|
||||||
case "excel":
|
case "excel":
|
||||||
|
['name', "cost", "sale", "quantity", "price", "status", "created_at"];
|
||||||
|
break;
|
||||||
case "view":
|
case "view":
|
||||||
return ['name', "cost", "sale", "quantity", "price", "status", "updated_at", "created_at"];
|
return ['name', "cost", "sale", "quantity", "price", "status", "updated_at", "created_at"];
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -139,12 +139,12 @@ function getFieldIndex_Row_OrderHelper($field, $entity, array $viewDatas): strin
|
|||||||
"<div class=\"payment\">%s</div><div class=\"payment\">%s</div>",
|
"<div class=\"payment\">%s</div><div class=\"payment\">%s</div>",
|
||||||
anchor(
|
anchor(
|
||||||
URLS['cardPayment'] . '/' . $entity->getPrimaryKey(),
|
URLS['cardPayment'] . '/' . $entity->getPrimaryKey(),
|
||||||
"카 드 결 제",
|
ICONS['CARD'] . " 카 드 결 제",
|
||||||
["class" => "btn btn-sm btn-primary btn-circle", "style" => "color:white", "target" => "_self"]
|
["class" => "btn btn-sm btn-primary btn-circle", "style" => "color:white", "target" => "_self"]
|
||||||
),
|
),
|
||||||
anchor(
|
anchor(
|
||||||
URLS['depositPayment'] . '/' . $entity->getPrimaryKey(),
|
URLS['depositPayment'] . '/' . $entity->getPrimaryKey(),
|
||||||
"무통장입금",
|
ICONS['DEPOSIT'] . " 무통장입금",
|
||||||
["class" => "btn btn-sm btn-info btn-circle", "style" => "color:white", "target" => "_self"]
|
["class" => "btn btn-sm btn-info btn-circle", "style" => "color:white", "target" => "_self"]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user