Laurent Destailleur
60486417c3
Test. Try to create a backport branch.
2012-12-02 19:55:42 +01:00
Laurent Destailleur
c9ee9c7a38
Fix: pdf_getPDFFontSize must be after pdf_getInstance
...
Conflicts:
htdocs/core/modules/commande/doc/pdf_einstein.modules.php
2012-11-28 19:26:08 +01:00
Laurent Destailleur
91fdb6a569
Fix: Not enought space for free text. To avoid to edit again and again
...
value for all templates, I added an option to be able to fix template
onto production when space is not enough.
Conflicts:
htdocs/core/modules/action/rapport.pdf.php
htdocs/core/modules/cheque/pdf/pdf_blochet.class.php
htdocs/core/modules/commande/doc/pdf_einstein.modules.php
htdocs/core/modules/expedition/doc/pdf_expedition_merou.modules.php
htdocs/core/modules/expedition/doc/pdf_expedition_rouget.modules.php
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
htdocs/core/modules/project/pdf/pdf_baleine.modules.php
htdocs/core/modules/propale/doc/pdf_azur.modules.php
htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php
2012-11-03 13:41:33 +01:00
Laurent Destailleur
753400ccf5
Fix: Label for payment by cheque using the wrong translation key
...
Fix: Option to overwrite translation did not work as expected
Fix: Bad translation for greece
2012-11-02 15:46:46 +01:00
Laurent Destailleur
8bd2f9cfb5
Fix: Fix pagebreak. Fix also position for non A4 format.
2012-10-31 17:14:11 +01:00
Laurent Destailleur
cd992d553e
Fix: The bottom margin is already included into heightforfooter
...
This provide 1cm more for product description.
Fix: Some code was not merged from previous fix (must not show free text
on all pages)
Conflicts:
htdocs/core/modules/expedition/doc/pdf_expedition_rouget.modules.php
htdocs/core/modules/livraison/pdf/pdf_sirocco.modules.php
htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
2012-10-30 18:52:55 +01:00
Laurent Destailleur
db00ca9dd7
Fix: Free text overlap data when not on last page.
...
Conflicts:
htdocs/core/lib/pdf.lib.php
htdocs/core/modules/expedition/doc/pdf_expedition_merou.modules.php
htdocs/core/modules/expedition/doc/pdf_expedition_rouget.modules.php
htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
htdocs/core/modules/livraison/pdf/pdf_sirocco.modules.php
htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
htdocs/core/modules/project/pdf/pdf_baleine.modules.php
2012-10-30 14:15:35 +01:00
Laurent Destailleur
c80badafe0
Fix: Revert direction of option (this information is a legal issue for
...
most countries). Also, i removed the mandatory test, this is required
for invoices, not proposals.
So now, there is no need to hide by default because test on invoice
setup has been removed, so we can show by default (if defined) and use
option to force to hide if we want.
2012-10-29 11:38:58 +01:00
Laurent Destailleur
8fe8a1a6fd
Fix: Bad alignement of fields with some page format.
2012-10-21 15:58:01 +02:00
Laurent Destailleur
878d5612a1
Fix: [ bug #260 ] Page breaks on PDF export of supplier order when you
...
have a service with 40 lines
2012-10-18 12:36:20 +02:00
Regis Houssin
51ccb33964
Fix: carriage return
2012-07-26 18:12:02 +02:00
Laurent Destailleur
c1b1dcc5e7
Fix: Translation of payment term/cond
2012-05-21 20:24:20 +02:00
Laurent Destailleur
907c7f748d
Fix: Bad CR for public note. Must work when text is full text with \n
...
and also when text is HTML with br.
2012-04-20 13:41:55 +02:00
Regis Houssin
4f490f3e2d
New: add possibility to define a page break, its very important for
...
internal and external modules (milestone)
2012-04-12 20:53:31 +02:00
Regis Houssin
14b6173d87
Fix: add width and minimum height of cells parameters
2012-04-03 18:01:27 +02:00
Laurent Destailleur
46251db167
Qual: Use a shared function to define logo heigth.
...
Qual: Add more phpunit tests
Fix: This also solve overlapping logos.
2012-04-01 23:57:15 +02:00
Regis Houssin
ffc6812241
Fix: avoid php strict mode warning
2012-03-23 18:19:50 +01:00
Regis Houssin
3c794967c3
Fix: multiple avoid warning with php strict mode
2012-03-23 17:18:33 +01:00
Regis Houssin
77623a9c1b
Fix: compatibility with ckeditor
2012-03-23 09:03:36 +01:00
Regis Houssin
5d2da2c884
Fix: uniformize code
2012-03-22 08:33:44 +01:00
Laurent Destailleur
97f0095251
PDF are better with all PDF sizes
2012-03-20 09:22:41 +01:00
Laurent Destailleur
dc86095c06
Doxygen
2012-03-18 02:19:27 +01:00
Laurent Destailleur
9e5cffc62b
Doxygen
2012-03-14 11:49:11 +01:00
Laurent Destailleur
66bad9ea04
Doxygen
2012-03-13 09:38:00 +01:00
Laurent Destailleur
e4b697fa75
New: Show delivery date into proposal template azur.
2012-03-04 22:18:15 +01:00
Laurent Destailleur
cb3104220e
Fix: Instantiate if not already done
2012-03-02 19:36:43 +01:00
Regis Houssin
30c7bf811b
Fix: add pdf_writeLinkedObjects method
2012-03-02 15:03:46 +01:00
Regis Houssin
9301def08d
Fix: rename method
2012-03-02 15:03:14 +01:00
Regis Houssin
61e90e0d9d
Fix: add $hookmanager parameter
2012-03-02 10:26:03 +01:00
Regis Houssin
71e5e27e7e
Fix: instantiate $hookmanager if not exist
2012-03-02 10:16:50 +01:00
Regis Houssin
64b8486494
New: add method for show linked objects in pdf
2012-03-02 08:11:40 +01:00
Laurent Destailleur
9174182a27
Fix: Removed warning
2012-03-01 09:24:45 +01:00
Regis Houssin
f3cb926c3c
Fix: use generic array for all parts
2012-03-01 13:58:33 +08:00
Laurent Destailleur
7c4e908639
models_modules isn't enough so we use same facture_invoice,
...
commande_invoice, propale_invoice. This means module descriptor file
should contains
module_parts('facture'=>1) if we want to add doc template for invoice
into module/core/modules/facture/doc
2012-03-01 02:06:08 +01:00
Laurent Destailleur
51fb1b2385
Fix: Code was sharing loop for custom dir and loop for subdir modules.
...
The loop to manage customdir must be managed by the dol_buildpath so
only loop on / + module dir must be done.
2012-02-29 20:07:17 +01:00
Regis Houssin
79c0369d66
Fix: possibility to use models of external modules
2012-03-01 01:24:00 +08:00
Laurent Destailleur
1c4ca9b335
New: Add hidden option MAIN_ADD_PDF_BACKGROUND to add a PDF as
...
background of invoice/order generated PDF.
2012-02-27 22:57:19 +01:00
Laurent Destailleur
16ad5452b6
Fix: When company name is too long, wrapping overwrite address.
2012-02-26 14:27:19 +01:00
Laurent Destailleur
45f2f7b449
Fix: Second field is required
2012-02-25 16:14:59 +01:00
Laurent Destailleur
8d6655061e
Qual: Full description of lines for ODT generation share same
...
function.
2012-02-19 21:08:17 +01:00
Laurent Destailleur
c4b845d60a
Qual: Removed deprecated function name.
2012-02-19 18:34:22 +01:00
Laurent Destailleur
0a17345415
Doxygen
2012-02-16 18:39:22 +01:00
Laurent Destailleur
aea54edfa2
Qual: Uniformize code
2012-02-08 13:43:49 +01:00
Laurent Destailleur
104a4532b9
Fix: miscellaneous not initialized vars
2012-02-07 18:48:50 +01:00
Laurent Destailleur
2093b3f0be
New: Allow to use ODT templates for prososal like it's done for invoices
2012-02-05 19:37:52 +01:00
Laurent Destailleur
d596920898
Doxygen
2012-01-23 18:43:30 +01:00
Regis Houssin
b9d9f3b5b1
Fix: bad path in error message
2012-01-06 10:19:07 +01:00
Regis Houssin
37c7d2b102
Merge pull request #84 from simnandez/develop
...
[ task #176 ] Allow to use ODT templates for prososal like it's done for invoices. Working
2012-01-04 23:51:10 -08:00
Regis Houssin
187c54ae7f
[task #176 ] Allow to use ODT templates for prososal like it's done
2012-01-05 08:49:48 +01:00
Laurent Destailleur
90b7cd1aae
[ task #176 ] Allow to use ODT templates for prososal like it's done for
...
invoices. Move pdf and odt to doc dir
2012-01-04 02:04:55 +01:00