-->
Welcome, Guest
Username: Password: Remember me
You can also tweak your setup of Dolibarr by setting hidden configurations found in Dolibarr Setup Other

TOPIC: duplicate rouget template

duplicate rouget template 1 week 22 hours ago #38127

  • karim.elshall
  • karim.elshall's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
I want to duplicate first page of pdf templates.
The administrator has disabled public write access.

duplicate rouget template 1 week 15 hours ago #38135

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Master
  • Just another Dolibarian!
  • Posts: 335
  • Thank you received: 59
  • Karma: 14
Hello,
Please be more clear for faster help
The administrator has disabled public write access.

duplicate rouget template 1 week 11 hours ago #38141

  • karim.elshall
  • karim.elshall's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
I want the whole page for shipment or invoice to be 2 copies not only one Page.
The administrator has disabled public write access.

duplicate rouget template 6 days 4 hours ago #38150

  • karim.elshall
  • karim.elshall's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Can any one help, all i want is when i generate an invoice or shipment is to generate two copies instead of just one page in the same pdf file.

Thanks.
The administrator has disabled public write access.

duplicate rouget template 6 days 2 hours ago #38152

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Master
  • Just another Dolibarian!
  • Posts: 335
  • Thank you received: 59
  • Karma: 14
Let me be a bit cheeky :evil:
What if you print 2 copies of the invoice or print it twice :laugh: :laugh:
The administrator has disabled public write access.

duplicate rouget template 6 days 2 hours ago #38153

  • karim.elshall
  • karim.elshall's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
You are right regarding invoice but for shipment file i send to warehouse and every time i have to tell them to print two copies for the driver who is going to deliver goods to customer; as customer gets one copy and signs the other to the driver, but often they just print him just one copy.

So if there is any way to generate two copies in the same pdf file on the system that would be great.
The administrator has disabled public write access.

duplicate rouget template 6 days 43 minutes ago #38154

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Master
  • Just another Dolibarian!
  • Posts: 335
  • Thank you received: 59
  • Karma: 14
The administrator has disabled public write access.

duplicate rouget template 5 days 9 hours ago #38158

go to
/htdocs/admin/confexped.php
and activate
Support products deliveries receipts
The administrator has disabled public write access.

duplicate rouget template 5 days 9 hours ago #38159

  • karim.elshall
  • karim.elshall's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Thanks

to duplicate template page; just go to the file and add $pdf->copyPage();

like that for rouget at the end of file.

{
$pdf->copyPage();
global $conf;
$showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS;
return pdf_pagefoot($pdf, $outputlangs, 'SHIPPING_FREE_TEXT', $this->emetteur, $this->marge_basse, $this->marge_gauche, $this->page_hauteur, $object, $showdetails, $hidefreetext);


}
The administrator has disabled public write access.
The following user(s) said Thank You: ariffidaali
Time to create page: 0.065 seconds