Browse Source

更改option 0109

main
10994015 1 year ago
parent
commit
a7aaf94895
  1. 1
      wms/crm/FormHelper.php
  2. 2
      wms/fun_global.php
  3. 2
      wms/mkt/pricereview-index.php

1
wms/crm/FormHelper.php

@ -296,6 +296,7 @@ class FormHelper
$content = self::option('', '', $selected);
foreach ($collection as $value => $element) {
// Element is an optgroup
// $content .= self::option(, $element['label'], $selected);
$content .= self::option($element['value'], $element['label'], $selected);
}

2
wms/fun_global.php

@ -95,7 +95,7 @@ function pricereview_class($rate, $user_id, &$ret = [], $special_fee)
$ret[1] = $row["manager"] . ",,";
pricereview_class($rate, $row["manager"], $ret, $special_fee);
} else {
$ret[2] = "M0024,,<##>M0107,,<##>M0175,,"; // 業務部專員:M0024許伃廷、M0107許紓晴 M0175陳君敏 (第2關有多位審核人)
$ret[2] = "M0175,,<##>M0107,,"; // 業務部專員:M0024許伃廷、M0107許紓晴 M0175陳君敏 (第2關有多位審核人)
$ret[3] = "M0060,,"; // 業務協理
if ($rate < 80 || $special_fee > 0) {
$ret[4] = "M0006,,"; // 總經理

2
wms/mkt/pricereview-index.php

@ -485,7 +485,7 @@ if ($data) :
<?php endif; ?>
<?php if ($data['status'] == 'YY' && (($user_id == "M0060" && $data['applyprogress'] == 2) || ($user_id == "M0107" && $data['applyprogress'] <= 1) || $user_id == "M0174" || $user_id == 'M0225') && $data['applystatus'] == 1) : ?>
<?php if ($data['status'] == 'YY' && (($user_id == "M0060" && $data['applyprogress'] == 2) || (($user_id == "M0107" || $user_id == "M0175") && $data['applyprogress'] <= 1) || $user_id == "M0174" || $user_id == 'M0225') && $data['applystatus'] == 1) : ?>
<a class="applybtn" href="../contract/contract-new-apply.php?id=<?php echo $data['id'] . '&' . $para; ?>">待簽核</a><br>
<?php endif; ?>
<?php if ($data['status'] != 'YY') : ?>

Loading…
Cancel
Save