From 03be473a3d8f018f5547405f93c20631dc1d8cf5 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sat, 10 Aug 2024 23:17:55 +0200 Subject: [PATCH] FIX #30576 - Salary payment - Date of the payment is not displayed (#30592) --- htdocs/salaries/payment_salary/card.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/salaries/payment_salary/card.php b/htdocs/salaries/payment_salary/card.php index bdf21475a7770..6596c7f4c56a5 100644 --- a/htdocs/salaries/payment_salary/card.php +++ b/htdocs/salaries/payment_salary/card.php @@ -1,9 +1,10 @@ - * Copyright (C) 2004-2014 Laurent Destailleur - * Copyright (C) 2005 Marc Barilley / Ocebo - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2021 Gauthier VERDOL +/* Copyright (C) 2004 Rodolphe Quiedeville + * Copyright (C) 2004-2014 Laurent Destailleur + * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2021 Gauthier VERDOL + * Copyright (C) 2024 Alexandre SPANGARO * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -151,9 +152,9 @@ // Date print ''; -print $form->editfieldkey("Date", 'datep', $object->datep, $object, 1, 'datehourpicker'); +print $form->editfieldkey("Date", 'datep', $object->datepaye, $object, 1, 'datehourpicker'); print ''; -print $form->editfieldval("Date", 'datep', $object->datep, $object, 1, 'datehourpicker', '', null, null, '', 0, '', 'id', 'tzuserrel', array('addnowlink'=>1)); +print $form->editfieldval("Date", 'datep', $object->datepaye, $object, 1, 'datehourpicker', '', null, null, '', 0, '', 'id', 'tzuserrel', array('addnowlink'=>1)); print ""; print '';