Giter Site home page Giter Site logo

dolibarr_module_subtotal's People

Contributors

altairis-tof avatar aspangaro avatar atm-adrien avatar atm-arnaud avatar atm-florian avatar atm-florianm avatar atm-gauthier avatar atm-greg avatar atm-gregm avatar atm-gregr avatar atm-john avatar atm-jonathan avatar atm-jpb avatar atm-lena avatar atm-marc avatar atm-maxime avatar atm-maximep avatar atm-nicolas avatar atm-quentin avatar atm-saamiperdrix avatar dolibit-ut avatar fhenry avatar frederic34 avatar jtraulle avatar kkhelifa-opendsi avatar lvessiller-opendsi avatar marc-dll avatar rdoursenaud avatar samifilali avatar thomas-ngr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dolibarr_module_subtotal's Issues

Erreur de calcul sous total multidevise

Bonjour,

lorsqu'on travaille avec des devises différentes, les sous-totaux sont dans la devise principale.

  1. crééer une proposition en CHF au taux de 1.1290CHF pour 1 €.
  2. dans le ligne de service par exemple mettre 100h à 125 CHF. Le total HT est de 12 500 CHF, mais le sous-total est de 11 071.75 ce qui correspond au sous-total en €.

Break page do not work corretly

I've got a problem on break page when title line in just on the end of a page I send you by email the PDF result.
If I uncomment line 604-612 into class/actions_subtotal.class.php it works, Why this code is commented if it work ?
I'm on a Dolibarr 3.5, may be break page feature in newer dolibarr version do the tricks and that why you comment this code because it is no more usefull ?

Superflous dashes

Dolibarr version: 3.8.2
Module version: 1.6.0
Setup: Hiding detail

It seems that when hiding the lines, it does not hide the corresponding dashes.

image

Bug: FreeText from Customer Order set in Shipment with quantity of 50

If you use in a Customer Order a line [AddFreeText]
and then go [Create Shipment]
this line has a ordered qty of 50 and can not be changed or delete.

Solution:
Qty of FreeText should be 'NULL' or '0' or at least '0.1' or not more than '1'.
If we need a quantity > 0 to use the line, maybe you can hide to print?

Tested:
Dolibarr 9.0.4
Subtotal 3.1.0

bug clone

Si on clone une proposition commerciale comportant des sous-totaux avec saut de page le saut de page n'est pas cloné.
Je n'ai pas testé mais je pense que le même défaut est présent quel que soit le type de document et aussi pour les titres.

Implementation error

Error: Bug into hook beforePDFCreation of module class ActionsSubtotal. Method must not return a string but an int (0=OK, 1=Replace, -1=KO) and set string into ->resprints

Missing translation

BackToModuleList is untranslated.
Seems you forgot to load the translation file ;)
capture d ecran de 2015-11-30 16-26-47

message d'erreur sur page de config propales

Fatal error: Cannot redeclare class doc_generic_proposal_odt in C:\wamp\www\dlb50\htdocs\core\modules\propale\doc\doc_generic_proposal_odt.modules.php on line 509

dolibarr 5.0.1 et subtotal 2.2.3

image

SQL searches are not properly escaped

Sample request:

Error url=/product/ajax/products.php?htmlname=idprod&outjson=1&price_level=0&type=&mode=1&status=1&finished=2&idprod=Entr%C3%A9e+d%27air+ext%C3%A9rieu, query_string=htmlname=idprod&outjson=1&price_level=0&type=&mode=1&status=1&finished=2&idprod=Entr%C3%A9e+d%27air+ext%C3%A9rieu, sql=SELECT p.rowid, p.label, p.ref, p.description, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.duration, p.stock, p.fk_price_expression FROM llx_product as p WHERE p.entity IN (1) AND p.tosell = 1 AND (((p.ref LIKE '%Entrée%' OR p.label LIKE '%Entrée%') AND (p.ref LIKE '%d'air%' OR p.label LIKE '%d'air%') AND (p.ref LIKE '%extérieu%' OR p.label LIKE '%extérieu%'))) ORDER BY p.ref, db_error=You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'air%' OR p.label LIKE '%d'air%') AND (p.ref LIKE '%extérieu%' OR p.label LIKE '' at line 1

The apostrophe in "d'air" should be escaped!
Potential SQL injection!

PROBLEME REFERENCELETTERS ET SOUS TOTAL DANS TITRE ET IF THEN

Bonjour,
Je ne sais pas pourquoi mais dans les contrats et propositions généré le document a4 est un tout petit peut plus grands que la taille normal ce qui a pour conséquence de faire planter les impression même si nous réduisons la page à l'impression
De plus, le logo en haut à gauche qui devrais être présent et qui est généré avec les pdf type Einstein ou autres de base ne ressort pas
La conditions de if then else ne ressort pas dans le document généré sur les lignes de totaux
11_017_ABB_PRE.pdf
200623_RIG_MOU_BUDGET_ESTIMATIF.pdf
P-2006-0024_ABB_PRE.pdf
Annotation 2020-06-19 152358
Annotation 2020-06-24 101522
Annotation 2020-06-24 101700

Merci de m'aiguiller dans la marche à suivre pour que les impression fonctionnent et que je puisse signer des contrats
Je reste à votre disposition si vous avez des questions
Cordialement

API Documents /Buildoc et subtotal

Bonjour,

Lorsqu'on génère un document depuis l'API documents/buildoc, les lignes titre, texte et sous-total ne se "transforment" pas comme lorsqu'on passe par le bouton générer dans l'interface d'administration.

Avez-vous une piste pour m'aider à faire fonctionner cela ?
Cordialement,
Dominique

Reférence externe de ligne supprimée

Lors de l'utilisation du formulaire d'édition par bloc de lignes, les informations contenues dans le champ "ref_ext" sont supprimées.
Edition d'une facture de situation et du pourcentage d'avancement d'un bloc de lignes en l'occurrence ici.

Bug sur le calcul des sous-totaux

Cas d'exemple :

T1
|_ l1 => 50 €
|_ l2 => 40 €
|_ T2
|l3 => 100 €
|
ST2
|_ l4 => 23 €
|_ ST1

On obtiens ST2 = 100 ET ST1 = 123 €
Alors qu'on devrais avoir ST2 = 100 ET ST1 = 213 €

Missing en_US translation

The tokens AddBreakPageBefore and ConfirmDeleteAllThisLines are missing.

I also suggest you setup a Transifex account to help others contribute translations ;)

current code?

what is the most current code?
Still main or the 3.6-lite

Coloration ligne de titre et ligne de total

Ajouter la possibilité de colorer la ligne de titre et la ligne de total via 2 constantes
SUBTOTAL_TITLE_BACKGROUNDCOLOR et SUBTOTAL_SUBTOTAL_BACKGROUNDCOLOR

J'ai un bout de code fonctionnel que je peux passer en PR si vous le souhaitez

#216

Problème d'accès à la page de configuration

Bonjour,
Nous utilisons actuellement la version 14.0.5 de Dolibarr.
Il se trouve que j'arrive bien à activer le module malgrès une erreur de token en désactivant un check CSRFCHECK_WITH_TOKEN dans admin/modules.php.
Néanmoins, impossible d'acceder à la page de configuration du module. L'accée à l'url "/subtotal/admin/subtotal_setup.php" n'envoit pas d'erreur mais affiche le dashboard de Dolibarr.

Can't import from milestone

I tried running the import-from-milestone.php script from the CLI
php import-from-milestone.php
but it doesn't work and spits out the HTML from the authentication page.

I then tried calling it from a browser after being authenticated and it spits out SQL commands.
Do you expect me to run these commands?

Looks like an unfinished (useful) feature…

Accessibility

Adding a title brings a native modal window from the browser.

This is disruptive, distracting and not very well integrated.
The fact that it's modal prevents me from using another tab at the same time.
I think it would be much better to use a jQuery (dolibarr native) modal popup instead.

Bug quantités - passage ligne de texte libre CD client => bon expédition

Dolibarr 13.0.4
Sous-total 3.6.8

Lorsque du texte libre est présent sur la commande client et qu'on créé une expédition à partir de cette commande, des quantités sont attribuées au texte libre.
Une erreur qui en découle est le calcul des reliquats (reliquats négatifs sur du texte libre) pour ceux qui l'affichent sur le PDF du bon d'expédition

Pour résoudre le problème, modifications apportées sur actions_subtotal.class.php

Ligne 2654 et suivantes :

<?php
if($line->product_type == '9'): $correct_qty = 0; else: $correct_qty; endif; ?>
<input type="hidden" name="idl<?php echo $i; ?>" value="<?php echo $line->id; ?>" />
<input type="hidden" name="qtyasked<?php echo $i; ?>" value="<?php echo $correct_qty; ?>" />
<input type="hidden" name="qdelivered<?php echo $i; ?>" value="0" />
<input type="hidden" name="qtyl<?php echo $i; ?>" value="<?php echo $correct_qty; ?>" />
<input type="hidden" name="entl<?php echo $i; ?>" value="<?php echo $fk_entrepot; ?>" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.