diff --git a/ChangeLog b/ChangeLog index 67021ea4d09..7c88dec9f5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -41,6 +41,7 @@ FIX: #16135 FIX: #16143 FIX: #16156 FIX: #16160 +FIX: #16165 Create customer discount without vat FIX: #16185 FIX: #16189, fix download/see check deposit PDF FIX: #16215 @@ -75,6 +76,7 @@ FIX: ODT generation very slow FIX: amount in summary of report FIX: vat value when code contains number FIX: payment term label on PDF +FIX: date selector when using reduced year (like on smartphone) ***** ChangeLog for 13.0.0 compared to 12.0.0 ***** diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 1be8d68760e..2f5cb064a5e 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -780,7 +780,7 @@ if ($object->id > 0) $objp = $db->fetch_object($resql); print ''; - print ''; + print ''; $propal_static->id = $objp->propalid; $propal_static->ref = $objp->ref; $propal_static->ref_client = $objp->ref_client; @@ -871,7 +871,7 @@ if ($object->id > 0) $commande_static->billed = $objp->billed; print ''; - print ''; + print ''; print $commande_static->getNomUrl(1); print ''.dol_print_date($db->jdate($objp->dc), 'day')."\n"; print ''.price($objp->total_ht).''; @@ -938,7 +938,7 @@ if ($object->id > 0) $sendingstatic->ref = $objp->ref; print ''; - print ''; + print ''; print $sendingstatic->getNomUrl(1); print ''; if ($objp->date_creation > 0) { @@ -1014,7 +1014,7 @@ if ($object->id > 0) } print ''; - print ''; + print ''; print $contrat->getNomUrl(1, 12); print $late; print "\n"; @@ -1076,10 +1076,13 @@ if ($object->id > 0) $objp = $db->fetch_object($resql); $fichinter_static->id = $objp->id; + $fichinter_static->ref = $objp->ref; $fichinter_static->statut = $objp->fk_statut; print ''; - print ''.img_object($langs->trans("ShowPropal"), "propal").' '.$objp->ref.''."\n"; + print ''; + print $fichinter_static->getNomUrl(1); + print ''."\n"; //print ''.dol_print_date($db->jdate($objp->startdate)).''."\n"; print ''.convertSecondToTime($objp->duration).''."\n"; print ''.$fichinter_static->getLibStatut(5).''."\n"; @@ -1210,7 +1213,7 @@ if ($object->id > 0) $sql .= ', f.total as total_ht'; $sql .= ', f.tva as total_tva'; $sql .= ', f.total_ttc'; - $sql .= ', f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as statut'; + $sql .= ', f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as status'; $sql .= ', s.nom, s.rowid as socid'; $sql .= ', SUM(pf.amount) as am'; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture as f"; @@ -1251,9 +1254,10 @@ if ($object->id > 0) $facturestatic->total_ht = $objp->total_ht; $facturestatic->total_tva = $objp->total_tva; $facturestatic->total_ttc = $objp->total_ttc; + $facturestatic->statut = $objp->status; print ''; - print ''; + print ''; print $facturestatic->getNomUrl(1); print ''; if ($objp->df > 0) @@ -1273,7 +1277,7 @@ if ($object->id > 0) print ''; } - print ''.($facturestatic->LibStatut($objp->paye, $objp->statut, 5, $objp->am)).''; + print ''.($facturestatic->LibStatut($objp->paye, $objp->status, 5, $objp->am)).''; print "\n"; $i++; } diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index ece75be8b3a..1d83bbd4b76 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -4756,7 +4756,7 @@ if ($action == 'create') $paymentstatic->num_payment = $objp->num_payment; $paymentstatic->payment_code = $objp->payment_code; - print ''; + print ''; print $paymentstatic->getNomUrl(1); print ''; print ''; @@ -4785,7 +4785,7 @@ if ($action == 'create') $bankaccountstatic->accountancy_journal = $accountingjournal->getNomUrl(0, 1, 1, '', 1); } - print ''; + print ''; if ($bankaccountstatic->id) print $bankaccountstatic->getNomUrl(1, 'transactions'); print ''; diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index b8bd1b6c564..8ea227482b1 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -508,19 +508,19 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie print ''.$langs->trans('Numero'); print ' ('.$langs->trans("ChequeOrTransferNumber").')'; print ''; - print ''; + print ''; // Check transmitter print ''.$langs->trans('CheckTransmitter'); print ' ('.$langs->trans("ChequeMaker").')'; print ''; - print ''; + print ''; // Bank name print ''.$langs->trans('Bank'); print ' ('.$langs->trans("ChequeBank").')'; print ''; - print ''; + print ''; // Comments print ''.$langs->trans('Comments').''; @@ -578,6 +578,8 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie $i = 0; //print ''; print '
'; + + print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table print ''; print ''; @@ -786,7 +788,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie print "\n"; } print "
"; - //print "\n"; + print "
\n"; } $db->free($resql); } else { diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index cd018c3e6dc..1abb7eb26e0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5700,6 +5700,9 @@ class Form if ($h == 3) $shour = ''; if ($m == 3) $smin = ''; + $nowgmt = dol_now('gmt'); + //var_dump(dol_print_date($nowgmt, 'dayhourinputnoreduce', 'tzuserrel')); + // You can set MAIN_POPUP_CALENDAR to 'eldy' or 'jquery' $usecalendar = 'combo'; if (!empty($conf->use_javascript_ajax) && (empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR != "none")) { @@ -5722,13 +5725,13 @@ class Form // Calendrier popup version eldy if ($usecalendar == "eldy") { - // Zone de saisie manuelle de la date + // Input area to enter date manually $retstring .= 'trans("FormatDateShortJavaInput").'\'); "'; // FormatDateShortInput for dol_print_date / FormatDateShortJavaInput that is same for javascript $retstring .= '>'; - // Icone calendar + // Icon calendar $retstringbuttom = ''; if (!$disabled) { $retstringbuttom = '