Commit Graph

566 Commits

Author SHA1 Message Date
Regis Houssin
6822a1b18b Fix: uniformise and clean code 2010-03-11 14:31:16 +00:00
Regis Houssin
92cfaa42d3 Fix: uniformise code
Fix: prepare to compatibility with other module
2010-03-11 10:25:55 +00:00
Laurent Destailleur
36c4605d17 Mutualize a lot of code about models selection to prepare generic odt generator. 2010-02-27 22:53:27 +00:00
Laurent Destailleur
d30e65cbaa New: Add default language for third parties and use it when multilang is enabled to define default language for document generation. 2010-02-27 13:37:13 +00:00
Laurent Destailleur
843123d84a Uniformize supplier invoice code with customer invoice code. 2010-02-27 12:05:47 +00:00
Laurent Destailleur
05cc92e3db New: Add default language for third parties and use it when multilang is enabled to define default language for document generation. 2010-02-27 11:05:01 +00:00
Regis Houssin
5bffa5399a Fix: add MAIN_INPUT_DESC_HEIGHT in update line 2010-01-25 13:45:13 +00:00
Regis Houssin
3c74bd21ca Works on enhancement of project tasks
Fix: move class in directory of module
2010-01-22 20:20:41 +00:00
Laurent Destailleur
6ef542d940 New: Can remove attached files before sending emails 2010-01-13 10:30:33 +00:00
Laurent Destailleur
38e757f4ae Fix: Debug module notification.
New: Can use email notification when validating proposal or orders.
2010-01-09 14:48:27 +00:00
Laurent Destailleur
d6558bbb52 Add hidden option MAIN_INPUT_DESC_HEIGHT 2010-01-09 12:13:22 +00:00
Regis Houssin
3388e4ad37 Fix: add virus alert 2010-01-08 10:02:53 +00:00
Regis Houssin
3b5735bd9c Fix: uniformize code
Fix: if the contact's address is empty, it uses one of the company
2009-12-23 10:07:48 +00:00
Regis Houssin
73f6abdeca Fix: view remise percent (negative or positive) 2009-12-10 12:20:52 +00:00
Laurent Destailleur
6f6c6426f7 Fix: The \n in lang templates were not correctly interpreted in email forms. 2009-11-04 20:16:11 +00:00
Regis Houssin
8b452fefa8 Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-21 09:42:47 +00:00
Laurent Destailleur
92c7cf3659 Fix bug #27597 : Impossibilité d'ajouter un fichier attaché lors de l'envoi d'un document 2009-10-14 16:13:20 +00:00
Laurent Destailleur
e192abc755 Fix: Data in memory must always be encoded in utf8. PHP files functions need ISO, so we convert data just before and after using them. 2009-10-04 15:52:16 +00:00
Laurent Destailleur
84bc3f5b31 Uniformize code. Attached fils for supplier invoices are shown on invoice card 2009-10-04 13:33:06 +00:00
Laurent Destailleur
6c4251fcfc Fix: Broken ajax features 2009-09-04 23:06:26 +00:00
Laurent Destailleur
3559ded84a Fix: Bug mysql5 2009-08-28 23:02:47 +00:00
Laurent Destailleur
8abeed13b7 New: Add picto on tab titles 2009-08-05 18:11:27 +00:00
Laurent Destailleur
3ef5f96974 New: Add picto on tab titles 2009-08-05 17:49:12 +00:00
Laurent Destailleur
d222a78c62 Fix: Removed urldecode used on superglobal _GET and _POST and _REQUEST... since they are already decoded by PHP. 2009-07-22 17:13:59 +00:00
Laurent Destailleur
2be9a2fdb4 Fix: If multiprice is enabled and level is not defined for customer, we always use the level 1. We can't use the denormalized price stored in product table as this price is the last price saved (it might be any level) and should never bee seen by user when multiprice is activated.
So we force the level to 1 if not defined.
2009-06-19 07:32:39 +00:00
Laurent Destailleur
bb6cfc1ee4 New: Can now use 0 as amount.
Qual: Uniformise labels
2009-06-04 00:59:06 +00:00
Laurent Destailleur
bbb3b8125d Fix: Removed delete of orders with amount is 0.
New: Can now use 0 as amount.
Qual: Uniformise labels
2009-06-04 00:36:23 +00:00
Laurent Destailleur
d4a3038240 Restore changes after 27 may due to from savannah Crash. 2009-06-03 23:00:24 +00:00
Laurent Destailleur
1063772919 Qual: Uniformize code 2009-05-27 15:52:08 +00:00
Laurent Destailleur
b57b5e9e38 New: If missing data, other data are kept. 2009-05-27 15:30:56 +00:00
Laurent Destailleur
930b400458 Uniformize code and make fix on predefined invoice feature. 2009-05-27 01:15:44 +00:00
Regis Houssin
e5d222b6cc Fix: régression sur l'utilisation des niveau du jeton, on test sur les 2 niveaux car
comportement aléatoire avec certaines fonctions
2009-05-17 08:01:54 +00:00
Regis Houssin
c1c1f8a4d2 Fix: ajout d'un niveau supplémentaire du cache du jeton 2009-05-16 15:45:26 +00:00
Regis Houssin
8efffebe2e Fix: ajout d'un jeton aléatoire dans les requetes POST 2009-05-15 14:32:44 +00:00
Laurent Destailleur
33df2649ef Fix: When product type is missing, description is not lost when adding new product lines. 2009-05-15 11:02:54 +00:00
Laurent Destailleur
c1ca9e53af Removed an option deprecated with ajax confirmation 2009-05-08 02:27:04 +00:00
Laurent Destailleur
1ea905d8b3 Look: Format price of discount 2009-05-07 12:13:34 +00:00
Regis Houssin
0aa35985ce Fix: add link to go close form 2009-05-06 20:27:56 +00:00
Laurent Destailleur
866e5952b0 Qual: Use a so much simpler way to have ajax confirmation boxes 2009-05-06 17:09:45 +00:00
Regis Houssin
39f233ac14 Fix: accent 2009-05-06 14:25:12 +00:00
Laurent Destailleur
7c6016b355 Qual: Use a so much simpler way to have ajax confirmation boxes 2009-05-06 13:39:43 +00:00
Laurent Destailleur
6d225588e5 Fix: Must not use DOL_DATA_ROOT directly 2009-04-29 18:52:07 +00:00
Laurent Destailleur
7322cd136e Fix: rename function sanitizeFileName into dol_sanitizeFileName to avoir conflict with fckeditor 2009-04-29 18:02:50 +00:00
Regis Houssin
a20b4643df New: parametre de config des repertoires dans les proprietes de la classe du module
avec un répertoire parent en fonction de l'entité
Fix: uniformisation propal to propale
2009-04-28 13:52:08 +00:00
Regis Houssin
b86684805c New: early development of multi-company module 2009-04-27 20:37:50 +00:00
Laurent Destailleur
4f2d2d2d00 Can validate a propasal with amount to 0 2009-04-06 18:16:04 +00:00
Laurent Destailleur
439a0f3260 New: Some changes to support the type of line in entities. 2009-03-12 22:33:26 +00:00
Laurent Destailleur
029a9d73e4 New: Some changes to support the type of line in entities. 2009-03-12 00:14:56 +00:00
Laurent Destailleur
7a6de88762 Fix: Bad navigation link 2009-03-11 08:48:56 +00:00
Laurent Destailleur
8431675159 New: Some changes to support the type of line in entities. 2009-03-10 01:18:45 +00:00
Laurent Destailleur
681a787fea New: Some changes to support the type of line in entities. 2009-03-10 00:54:53 +00:00
Laurent Destailleur
160ae055a7 Can modify proposal date if statut is draft. 2009-03-04 00:14:51 +00:00
Laurent Destailleur
ba14103659 New: Upload of joined files need create/modify permissions to work 2009-03-03 00:12:56 +00:00
Laurent Destailleur
f26f0654d0 Add user author in list 2009-02-25 21:03:40 +00:00
Laurent Destailleur
0823322ba1 Qual: All call to dolibarr_ functions are made on dol_ functions. 2009-02-20 22:53:15 +00:00
Laurent Destailleur
19e1bd0083 Qual: Removed deprecated code 2009-02-18 15:00:34 +00:00
Laurent Destailleur
8126b0cd6f Qual: Removed deprecated code 2009-02-18 14:29:56 +00:00
Laurent Destailleur
c42ed09071 Fix: Some fix everywhere in beta 2009-02-10 22:07:31 +00:00
Laurent Destailleur
31fb99d450 Can remove a proposal 2009-01-23 15:28:36 +00:00
Laurent Destailleur
79be7c4111 Use of quantity 0 for option lines in commercial proposal is always enabled. 2009-01-17 19:31:44 +00:00
Laurent Destailleur
d370e2ff9f Fix: Translation of Offered on PDF 2009-01-15 00:32:10 +00:00
Laurent Destailleur
192cb68c28 Can clone a commercial proposal 2009-01-14 15:53:52 +00:00
Laurent Destailleur
530c1312ac Maxi debug of multiprice feature
Prepare 2.5.1
2009-01-10 01:11:17 +00:00
Laurent Destailleur
754e0111f3 Perf: Reduce nb of call to time function. 2009-01-07 15:21:16 +00:00
Laurent Destailleur
0bdd1efe2b Qual: Renamed all function dolibarr_xxx to dol_xxx to use same prefix everywhere. 2009-01-07 10:57:36 +00:00
Laurent Destailleur
5165e2e093 Fix: Add message if delete can(t be done because of joined files. 2008-12-30 22:42:28 +00:00
Laurent Destailleur
cc7ebc8251 Add status if referrer list of a project 2008-12-27 23:40:25 +00:00
Laurent Destailleur
584d23bfbc Qual: Reduce memory required by 2% 2008-11-16 01:09:04 +00:00
Laurent Destailleur
45d8c67e6c Maxi debug for UTF8 support 2008-10-28 23:36:36 +00:00
Laurent Destailleur
7deb33c52d Maxi debug for UTF8 support 2008-10-28 20:05:23 +00:00
Laurent Destailleur
70b0f0042e Qual: Uniformize use of dolibarr_print_date 2008-10-26 15:55:50 +00:00
Laurent Destailleur
dbae510665 No special chars in filename 2008-10-25 21:18:53 +00:00
Laurent Destailleur
12d5b90b6c Fix: Statut to close a proposal is required. 2008-09-08 23:48:01 +00:00
Laurent Destailleur
74801a2914 Qual: Uniformize code. 2008-09-08 12:51:29 +00:00
Laurent Destailleur
bd20a88be3 Fix: Removed bad W3C compliant HTML tags 2008-08-29 21:16:34 +00:00
Laurent Destailleur
8411203632 Add patch from patrick raguin to support minimum for a price 2008-08-27 23:00:37 +00:00
Laurent Destailleur
478503967e Annulation modif 2008-08-12 18:20:18 +00:00
raphael_bertrand
7132585be1 fix bug24035: la valeur de remise ne peut pas etre negative 2008-08-11 13:29:23 +00:00
Laurent Destailleur
1a911fc38a Fix: Pb with floating operations 2008-08-08 22:12:27 +00:00
activdev
efc1e63ed5 Fix : Code cleanup : non need to instanciate a new Form (html) object. Using $html reference instead. 2008-07-28 09:14:12 +00:00
activdev
bf37c1af45 New : Added filter by status and date to 'Commercial' and 'Compta' list display propal 2008-07-28 08:37:38 +00:00
Laurent Destailleur
4fd6ce5e0d User creation not correctly managed if not defined 2008-07-20 17:14:19 +00:00
Laurent Destailleur
3088596dc0 Fix: Bug 23775 2008-07-15 00:57:36 +00:00
Laurent Destailleur
507d96ec25 Fix: Error on generating PDF 2008-07-12 12:45:29 +00:00
Laurent Destailleur
ca025dae94 Fix: PDF rebuild if status change 2008-07-11 16:27:57 +00:00
Laurent Destailleur
b5748c0fc5 Fix: Regression. Can add another file to proposal and invoices sending 2008-07-11 16:14:57 +00:00
Laurent Destailleur
0a655c9370 New: Add list of attached files in email forms 2008-05-23 19:43:28 +00:00
Laurent Destailleur
9a79fb2d54 Fix: bug #21998 : bug affichage Montant HT 2008-05-20 00:23:19 +00:00
Laurent Destailleur
5c10a7e4c2 Maxi debuggage de la gestion des expeditions.
La gestion des bons de livraisons ne marche pas car la table llx_co_liv n'est pas alimentée
2008-05-20 00:09:11 +00:00
Laurent Destailleur
4ef6a9d6ae Uniformisation du code 2008-04-24 20:59:29 +00:00
Laurent Destailleur
a4c3b86d9f Add topic of mail in message 2008-04-24 18:51:29 +00:00
Laurent Destailleur
c55e279b11 Fix: Several bugs 2008-04-09 23:07:13 +00:00
Laurent Destailleur
2e0343ff14 New: Yeh! Now all automatic actions are externalised in triggers. This make code so so much easier to understand and offer a lot of possible new features. 2008-04-08 02:12:02 +00:00
Laurent Destailleur
f9ed5b522f New: Yeh! Now all automatic actions are externalised in triggers. This make code so so much easier to understand and offer a lot of possible new features. 2008-04-07 22:11:22 +00:00
Laurent Destailleur
c635e88868 Lang files can be in two different worskpaces 2008-03-31 15:17:39 +00:00
Laurent Destailleur
af274668a3 Fix: Detection auto des champs text/html.
Fix: Dans les PDF, il ne faut pas faire le nl2br standard de PHP lors de la conversion text en HTML car ce dernier ne remplace pas le \n mais ajoute le br hors le writeHTMLCell transforme aussi les \n en br.
2008-03-31 03:31:08 +00:00
Laurent Destailleur
7b8a92b863 New: Support save of NPR vat in customer element (invoice, order, proposal, contract) 2008-03-19 00:31:03 +00:00
Laurent Destailleur
71186b44dc New: Support save of NPR vat in order and invoice 2008-03-18 23:24:24 +00:00
Laurent Destailleur
0c675e0c16 Fix: List "All xxx" not enough restricted 2008-03-12 21:26:53 +00:00
Laurent Destailleur
c1edb57981 Qual: Remove duplicate code 2008-03-07 10:34:16 +00:00
Laurent Destailleur
6bd6e4a309 New: Add pages for agenda module 2008-03-01 01:26:41 +00:00
Laurent Destailleur
65fcfcf69f New: Enhancement on sending email. 2008-02-29 16:26:38 +00:00
Laurent Destailleur
646a6307f0 New: Super clean of permissions checks 2008-02-25 20:03:21 +00:00
Laurent Destailleur
f9d4f6de52 Qual: Mutualize some code 2008-02-24 16:16:34 +00:00
Laurent Destailleur
72d107a5d0 Qual: Standardisation of code. Clean some code. 2008-02-24 15:51:06 +00:00
Laurent Destailleur
99297fea62 Fix: Security check 2008-02-24 13:18:40 +00:00
Laurent Destailleur
fed065dd7f Qual: Nettoyage de code redondant. L'appel a getright est inutile car deja dans le main. 2008-01-29 19:03:26 +00:00
Laurent Destailleur
eeb8bfafcb Qual: Déplacement show_document dans html.formfile.class.php 2008-01-20 13:53:02 +00:00
Regis Houssin
c19f0c753f Début modification expedition livraison
Phase1: modification des expeditions
- elles pourront désormais etre lié à une propale (pas encore effectif)
- l'id entrepot est stocké dans la ligne produit
2008-01-17 10:27:59 +00:00
Regis Houssin
c25c4dddf9 Remplacement du terme "éditer" par "modifier" 2008-01-10 23:59:58 +00:00
Regis Houssin
4d7c0b1fee Fix: traduction 2008-01-10 21:28:54 +00:00
Laurent Destailleur
71352d4143 Ajout d'un module agenda et de permissions sur les actions 2008-01-08 08:14:20 +00:00
Laurent Destailleur
90cce00222 Ajout info email emetteur sur formulaire email 2008-01-07 18:39:11 +00:00
Regis Houssin
f718bee3d3 Fix: traduction 2008-01-07 10:49:07 +00:00
Laurent Destailleur
7288c61ac8 Simplification des options activation ajax/javascript 2008-01-06 15:24:23 +00:00
Laurent Destailleur
85ae98ad58 Fix: Mode connexion http incompatible avec autres
Fix: Graph stats sur facture et commande avec artichow
2008-01-02 13:08:27 +00:00
Laurent Destailleur
536a5883e0 Simplification options fckeditor 2007-12-31 15:20:16 +00:00
Regis Houssin
a9eeb333b9 Fix: uniformisation du code 2007-12-19 14:24:37 +00:00
Regis Houssin
6224f42ed8 Fix: suppression définitive de la constante PRODUIT_CHANGE_PROD_DESC 2007-12-14 16:01:10 +00:00
Regis Houssin
a8ac4cf565 Add: Permettre de déterminer une ligne produit ayant une quantité nulle comme option 2007-12-12 16:35:19 +00:00
Regis Houssin
ef35fb8407 On affiche l'intitulé "offert" au lieu de 100% pour une réduction 2007-12-06 22:13:46 +00:00
Laurent Destailleur
b03b4685cf Perf: On charge CMailFile que si besoin 2007-12-02 21:05:32 +00:00
Laurent Destailleur
5697f3c0de Fix: Suite correction bug gestion avoirs 2007-12-02 20:55:23 +00:00
Laurent Destailleur
409cd5dbfe Qual: Simplification. Plus d'affichage du bouton générer doc en double.
Fix: Ordre de tri des paiments incorrect
2007-12-02 16:15:53 +00:00
Regis Houssin
7ee0aaa41c Fix: on pourra calculer le taux de marge sur un service 2007-12-01 08:54:52 +00:00
Regis Houssin
7438d55915 Fix: fichier converti par erreur en utf8, ce qui faisait apparaitre les caractères accentués avec un petit carré !!!! 2007-11-26 14:50:40 +00:00
Laurent Destailleur
85f5d72d64 Debut correction pour gestion cas utilisation no UCIN06.
Les remises de type avoir ne doivent pas s'inclure dans les lignes details mais dans comme paiements deja réalisé.
2007-11-26 02:54:16 +00:00
Regis Houssin
f44a0db145 Fix: le champ vide de la liste déroulante était à 1 ce qui pouvait attribuer un contact invalide 2007-11-22 18:20:20 +00:00
Regis Houssin
938b179ae2 Fix: les modification avec fckeditor n'était plus prise en compte 2007-11-12 23:08:20 +00:00
Regis Houssin
62cac982cb Mise à jour de fckeditor à la version 2.5beta - réinstallation complète car la structure des répertoires à changée 2007-11-12 14:41:02 +00:00
Laurent Destailleur
45af9432bf Simplification gestion des lignes factures/commandes/propales 2007-11-12 01:15:20 +00:00
Laurent Destailleur
8d7bb266ef Simplification gestion des lignes factures/commandes/propales 2007-11-12 00:47:04 +00:00
Laurent Destailleur
a70ced9753 Oubli du param sortorder dans les appels de print_liste_field_titre 2007-11-11 15:55:45 +00:00
Regis Houssin
e9c01bcfd7 modification de mon adresse mail 2007-11-01 20:39:36 +00:00
Regis Houssin
6e69cc9f5e Fix: champ "price" obsolete 2007-10-19 14:45:30 +00:00
Laurent Destailleur
bf4bdd634b Fix: Le pourcentage avencement des actions n'était plus sauvé. 2007-10-17 14:55:55 +00:00
Regis Houssin
aed5136806 Fix: le niveau de prix du client n'était plus récupéré
Fix: ligne produit non enregistrée si pourcentage de remise null
2007-10-07 17:50:09 +00:00
Laurent Destailleur
bc38375fa0 Fix: Super maxi debuggage sur la gestion des prix HT et TTC 2007-10-06 19:13:12 +00:00
Regis Houssin
b44066375d Ajout popup de confirmation ajax
Fix: bug sur l'enregistrement des lignes produits
2007-10-06 11:23:38 +00:00
Regis Houssin
2537cef00d nettoyage du code 2007-10-06 09:23:44 +00:00
Laurent Destailleur
4a9e8c7769 Fix: Correction bug divers sur ajout ligne pour un produit avec prix fixé en TTC. 2007-10-03 23:08:46 +00:00
Regis Houssin
86c8731a61 Début ajout calcul des marges 2007-09-17 12:38:27 +00:00
Laurent Destailleur
0bfb774397 Fix: La suppression d'un contact n'effacait pas les liens sur element_contact 2007-09-16 03:55:35 +00:00
Regis Houssin
0465008e52 mise à jour de Prototype : version 1.6.0_rc0
début gestion taux de marge (encore en dev mais désactivé par défaut)
2007-09-06 21:29:37 +00:00
Regis Houssin
059352a192 mise à jour de Prototype : version 1.6.0_rc0
début gestion taux de marge (encore en dev mais désactivé par défaut)
2007-09-06 20:59:41 +00:00
Regis Houssin
99412a8026 Ajout liste déroulante des tarifs fournisseurs pour un produit 2007-09-05 09:20:18 +00:00
Regis Houssin
6ff6a370fa Ajout liste déroulante des tarifs fournisseurs pour un produit 2007-09-05 09:18:06 +00:00
Regis Houssin
7d7200a2c9 Fix: modification du fonctionnement des produits fournisseurs !!! 2007-09-04 18:19:06 +00:00
Regis Houssin
2c9fa5bd45 début ajout calcul du taux de marge et taux de marque 2007-09-03 21:14:58 +00:00
Regis Houssin
ebcab1ead2 Fix: ajout identifiant afin d'éviter les conflits 2007-08-09 19:50:39 +00:00