Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
This commit is contained in:
commit
8971fde420
@ -23,7 +23,13 @@ if (!empty($extrafieldsobjectkey) && !empty($search_array_options) && is_array($
|
||||
|
||||
if ($crit != '' && in_array($typ, array('date', 'datetime', 'timestamp')))
|
||||
{
|
||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||
if ($typ == 'date'){
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||
$crit = dol_get_first_hour($crit);
|
||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||
}else {
|
||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||
}
|
||||
} elseif (in_array($typ, array('boolean')))
|
||||
{
|
||||
if ($crit !== '-1' && $crit !== '') {
|
||||
|
||||
@ -43,6 +43,7 @@
|
||||
--amountremaintopaycolor:#880000;
|
||||
--amountpaymentcomplete:#008800;
|
||||
--amountremaintopaybackcolor:none;
|
||||
--infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
|
||||
}
|
||||
|
||||
<?php
|
||||
@ -87,6 +88,7 @@ if (!empty($conf->global->THEME_DARKMODEENABLED)) {
|
||||
--amountremaintopaycolor:rgb(252,84,91);
|
||||
--amountpaymentcomplete:rgb(101,184,77);
|
||||
--amountremaintopaybackcolor:rbg(245,130,46);
|
||||
--infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #000, #000, #000, #274231);
|
||||
}\n";
|
||||
if ($conf->global->THEME_DARKMODEENABLED != 2) {
|
||||
print "}\n";
|
||||
|
||||
@ -183,8 +183,8 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
||||
margin-left: 80px;
|
||||
}
|
||||
.info-box-sm .info-box-module-enabled {
|
||||
/* background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8) */
|
||||
background: linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
|
||||
/* background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8) */
|
||||
background: var(--infoboxmoduleenabledbgcolor);
|
||||
}
|
||||
.info-box-content-warning span.font-status4 {
|
||||
color: #bc9526 !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user