diff --git a/Core/Base/AjaxForms/CommonSalesPurchases.php b/Core/Base/AjaxForms/CommonSalesPurchases.php index 617aa3afc2..1f14772ca2 100644 --- a/Core/Base/AjaxForms/CommonSalesPurchases.php +++ b/Core/Base/AjaxForms/CommonSalesPurchases.php @@ -34,7 +34,7 @@ trait CommonSalesPurchases protected static function cifnif(Translator $i18n, BusinessDocument $model): string { $attributes = $model->editable ? 'name="cifnif" maxlength="30" autocomplete="off"' : 'disabled=""'; - return '
' + return '
' . '
' . $i18n->trans('cifnif') . '' . '
' @@ -102,7 +102,7 @@ protected static function coddivisa(Translator $i18n, BusinessDocument $model): } $attributes = $model->editable ? 'name="coddivisa" required=""' : 'disabled=""'; - return empty($model->subjectColumnValue()) ? '' : '
' + return empty($model->subjectColumnValue()) ? '' : '
' . '
' . '' . $i18n->trans('currency') . '' . '' . '
' @@ -494,7 +494,7 @@ protected static function sortableBtn(Translator $i18n, BusinessDocument $model) protected static function tasaconv(Translator $i18n, BusinessDocument $model): string { $attributes = $model->editable ? 'name="tasaconv" step="any" autocomplete="off"' : 'disabled=""'; - return '
' + return '
' . '
' . $i18n->trans('conversion-rate') . '' . '
' diff --git a/Core/Base/AjaxForms/PurchasesHeaderHTML.php b/Core/Base/AjaxForms/PurchasesHeaderHTML.php index 183e2d4d7e..e54da45094 100644 --- a/Core/Base/AjaxForms/PurchasesHeaderHTML.php +++ b/Core/Base/AjaxForms/PurchasesHeaderHTML.php @@ -179,33 +179,21 @@ private static function detailModal(Translator $i18n, PurchaseDocument $model): . '