dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Removing date range in lines.


From: Maxime Kohlhaas
Subject: Re: [Dolibarr-dev] Removing date range in lines.
Date: Mon, 11 Aug 2014 10:26:26 +0200

Hi,

There's no option for this at the moment. You will have to modify php code to hide this.
In each file displaying lines, you have a call like this :

$object->printObjectLines($action, $mysoc, $soc, $lineid, 1);

The last parameter "1" is here to says "display date selector".
This mean's you have to modify several files.

Better way is to change this in only 2 files ; core/tpl/objectline_create and objectline_edit.
Simply replace "if (empty($dateSelector)) $dateSelector=0;" at the top of the file by "$dateSelector=0;"

I'll see to make it an option.



Bien cordialement,

--
Maxime Kohlhaas
Consultant associé
ATM Consulting
+33 6 33 42 92 43


2014-08-09 15:31 GMT+02:00 Manuel Muñoz <address@hidden>:
Hi.

Is there an easy way to remove the date ranges of services that appear for each line in the printed format?

Thank you very much for any kind of help in this matter.

_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]