优化合同到期提醒
This commit is contained in:
parent
a50e90b2a3
commit
b24e6fea45
|
|
@ -338,7 +338,7 @@ class appadmin extends admin
|
||||||
public function str_color($state, $str, $weight = 'unset')
|
public function str_color($state, $str, $weight = 'unset')
|
||||||
{
|
{
|
||||||
global $_M, $_YW;
|
global $_M, $_YW;
|
||||||
$color = ['red-600', 'green-600', 'cyan-600', 'blue-600'];
|
$color = ['red-600', 'green-600', 'cyan-600', 'blue-600','orange-600','purple-600'];
|
||||||
return '<font class="' . $color[ $state ] . ' font-weight-' . $weight . '">' . $str . '</font>';
|
return '<font class="' . $color[ $state ] . ' font-weight-' . $weight . '">' . $str . '</font>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue