Fix ci
This commit is contained in:
parent
7f3a6a5a40
commit
e72345334a
1 changed files with 2 additions and 2 deletions
|
|
@ -6598,7 +6598,7 @@ if ($action == 'create') {
|
|||
$langs->load("contracts");
|
||||
|
||||
if ($usercancreatecontract) {
|
||||
print '<a class="butAction" href="' . DOL_URL_ROOT . '/contrat/card.php?action=create&origin=' . $object->element . '&originid=' . $object->id . '&socid=' . $object->socid . '">' . $langs->trans('AddContract') . '</a>';
|
||||
print '<a class="butAction" href="' . DOL_URL_ROOT . '/contrat/card.php?action=create&origin=' . $object->element . '&originid=' . $object->id . '&socid=' . $object->socid . '">' . $langs->trans('AddContract') . '</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6657,7 +6657,7 @@ if ($action == 'create') {
|
|||
}
|
||||
|
||||
// Request a direct debit order
|
||||
if ($object->status > Facture::STATUS_DRAFT && $object->paye == 0 && $num == 0) {
|
||||
if ($object->status > Facture::STATUS_DRAFT && $object->paye == 0) {
|
||||
if ($resteapayer > 0) {
|
||||
if ($usercancreatewithdrarequest) {
|
||||
if (!$objectidnext && $object->close_code != 'replaced') { // Not replaced by another invoice
|
||||
|
|
|
|||
Loading…
Reference in a new issue