From 8682fe81afd0c55518ebe38730d0a4bb7a734784 Mon Sep 17 00:00:00 2001
From: sonikf <93765174+sonikf@users.noreply.github.com>
Date: Tue, 19 Aug 2025 12:43:47 +0300
Subject: [PATCH] fix typo (#34999)
---
htdocs/expedition/card.php | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 4a5f23d896f..16b5bed064d 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -2081,9 +2081,9 @@ if ($action == 'create') {
// Confirm sign
if ($action == 'sign') {
- $text = $langs->trans('ConfirmSignIntervention');
+ $text = $langs->trans('ConfirmSignShipping');
if (isModEnabled('notification')) {
- require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php';
+ require_once DOL_DOCUMENT_ROOT . '/core/class/notify.class.php';
$notify = new Notify($db);
$text .= '
';
$text .= $notify->confirmMessage('SHIPPING_MODIFY', $object->socid, $object);
@@ -2092,24 +2092,23 @@ if ($action == 'create') {
$formquestion[] = [
'type' => 'select',
'name' => 'signed_status',
- 'select_show_empty' => 1,
- 'label' => ''.$langs->trans('SignStatus').'',
- 'values' => $object->getSignedStatusLocalisedArray(),
- //'default' => $object->signed_status
+ 'select_show_empty' => 0,
+ 'label' => '' . $langs->trans('SignStatus') . '',
+ 'values' => $object->getSignedStatusLocalisedArray()
];
- $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('SignIntervention'), $text, 'confirm_sign', $formquestion, 0, 1);
+ $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id, $langs->trans('SignShipping'), $text, 'confirm_sign', $formquestion, 0, 1);
}
// Confirm unsign
if ($action == 'unsign') {
- $text = $langs->trans('ConfirmUnsignIntervention');
+ $text = $langs->trans('ConfirmUnsignShipping');
if (isModEnabled('notification')) {
- require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php';
+ require_once DOL_DOCUMENT_ROOT . '/core/class/notify.class.php';
$notify = new Notify($db);
$text .= '
';
$text .= $notify->confirmMessage('SHIPPING_MODIFY', $object->socid, $object);
}
- $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('UnsignIntervention'), $text, 'confirm_unsign', '', 0, 1);
+ $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id, $langs->trans('UnsignShipping'), $text, 'confirm_unsign', '', 0, 1);
}
// Call Hook formConfirm