Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts: htdocs/compta/facture/card.php
This commit is contained in:
commit
92b245ae93
@ -5196,7 +5196,7 @@ elseif ($id > 0 || !empty($ref))
|
|||||||
{
|
{
|
||||||
if (!$objectidnext)
|
if (!$objectidnext)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?socid='.$object->socid.'&fac_avoir='.$object->id.'&action=create&type=2'.($object->fk_project > 0 ? '&projectid='.$object->fk_project : '').''.$object->id.'&action=create&type=2'.($object->entity > 0 ? '&originentity='.$object->entity : '').'">'.$langs->trans("CreateCreditNote").'</a>';
|
print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?socid='.$object->socid.'&fac_avoir='.$object->id.'&action=create&type=2'.($object->fk_project > 0 ? '&projectid='.$object->fk_project : '').''.($object->entity > 0 ? '&originentity='.$object->entity : '').'">'.$langs->trans("CreateCreditNote").'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3623,10 +3623,9 @@ function migrate_mode_reglement($db, $langs, $conf)
|
|||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @param Translate $langs Object langs
|
* @param Translate $langs Object langs
|
||||||
* @param Conf $conf Object conf
|
* @param Conf $conf Object conf
|
||||||
* @param string $versionto Version target
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function migrate_clean_association($db, $langs, $conf, $versionto)
|
function migrate_clean_association($db, $langs, $conf)
|
||||||
{
|
{
|
||||||
$result = $db->DDLDescTable(MAIN_DB_PREFIX."categorie_association");
|
$result = $db->DDLDescTable(MAIN_DB_PREFIX."categorie_association");
|
||||||
if ($result) // result defined for version 3.2 or -
|
if ($result) // result defined for version 3.2 or -
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user