Skip to content

Commit

Permalink
Disable option that i can't understand.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 18, 2015
1 parent 425d9bf commit bbc7000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/product/admin/product.php
Expand Up @@ -440,6 +440,7 @@
print '</form>';

// Activate propal merge produt card
/* disabled. PRODUIT_PDF_MERGE_PROPAL can be added manually. Still did not understand how this feature works.
$var=!$var;
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
Expand All @@ -452,7 +453,7 @@
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
print '</td>';
print '</tr>';
print '</form>';
print '</form>';*/

// Use units
$var=!$var;
Expand Down

4 comments on commit bbc7000

@rdoursenaud
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature has been introduced by @FHenry at e15d4c0.
How do I know that? I used git blame.
Maybe you should ask him what it's for?

@FHenry
Copy link
Member

@FHenry FHenry commented on bbc7000 Jun 30, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the module https://www.dolistore.com/fr/crm-gestion-relation-client/308-PDF-de-proposition-commerciale-avec-fiche-produit-service.html push into core version during devcamp.
If you activate the option, in product document card, add a PDF file, check (checkbox) a PDF document to says what it is in translation :Files use to add at the end into PDF in proposal. When the product is in a ropal line, the PDF selected will be outputed in propal PDF. Can be usefull to add commercial presentation with your proposal for some product.

@BebZ
Copy link

@BebZ BebZ commented on bbc7000 Jun 30, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean it creates a PDF of a product card ?!? (it would be so nice to have a tool to create nice products PDFs...) but ok, i understand, with some difficulties :

it adds the option (tick) to merge with propal, a pdf which is already uploaded in the linked documents of a product IF the product has a pdf linked and IF the product is in the propal.

Useful ;) thank you

@FHenry
Copy link
Member

@FHenry FHenry commented on bbc7000 Jun 30, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's it @BebZ
Nut @eldy comment it so let take time to explain him how it works

Please sign in to comment.