瀏覽代碼

Budget change percentage threshold

Piotr Labudda 10 年之前
父節點
當前提交
2f921c368f
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      SE/se-lib/Route/Budget.php

+ 4 - 4
SE/se-lib/Route/Budget.php

@@ -148,7 +148,7 @@ jQuery(document).ready(function () {
 		.cell-procent-below100 { color:#777; }
 		.cell-procent-100 { color:#777; }
 		.cell-procent-over100 { color:#ff9b00; }
-		.cell-procent-over200 { color:#f00; }
+		.cell-procent-over150 { color:#f00; }
 
 		/* print table background colors */
 		table td, table th { -webkit-print-color-adjust:exact; }
@@ -299,8 +299,8 @@ jQuery(document).ready(function () {
 				$monthPlan = $this->getPlan($projectID, $month);
 				if ($monthPlan > 0) {
 					$procentOut = round(($monthCostTotal * 100) / $monthPlan);
-					if ($procentOut > 200) {
-						$cellProcentCls = 'cell-procent-over200';
+					if ($procentOut > 150) {
+						$cellProcentCls = 'cell-procent-over150';
 					} else if ($procentOut > 100) {
 						$cellProcentCls = 'cell-procent-over100';
 					} else if ($procentOut == 100) {
@@ -643,7 +643,7 @@ jQuery(document).ready(function() {
 								<td class="p2" style="max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" title="<?php echo $vKorespInfo->K_ZAWARTOS; ?>"><?php echo $vKorespInfo->K_ZAWARTOS; ?></td>
 								<?php $vKorespCostOut = number_format($vKorespInfo->COST, 2); ?>
 								<td class="cell-cost cell-cost-only_child"><?php echo $vKorespCostOut; ?></td>
-								<td>
+								<td class="cell-transfer_opposite_id_project">
 									<?php $dekretId = V::get('TRANSFER_OPPOSITE_ID_PROJECT', 0, $vKorespInfo) ?>
 									<?php if ($dekretId > 0) : ?>
 										Dekret z projektu nr <?php echo $dekretId; ?>