TCPDF HELP

24.08.2012 09:38
#1
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 288
Quote
TCPDF HELP

Hi Webmaster or others.

I need some help in generete_pdf_order.php.

the "order date" is show in line 69 (V. 3.9.0 05.08.2012)

My costumers have to pay within "order date" + 30 days.

Can you help me with the code. so I can put it in the last payment date.

I try but didn't have any Success..
//$pdf->SetFont('freesansi','',11);
//$pdf->SetXY(40,65);
//$pdf->MultiCell(20,4,$order->order_date. " +30 days");

It will show but not calculate.

I hope you can help me.

Kind regards
Jacobsen

 
24.08.2012 15:14
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16513
Quote
Aw: TCPDF HELP

$date = substr($order->order_date,6,4).'-'.substr($order->order_date,3,2)."-".substr($order->order_date,0,2);
$dateend = date('d.m.Y',strtotime($date)+30*86400);

$pdf->MultiCell(20,4,$dateend);


Letzte Ă„nderung: 24.08.2012 15:14
 
04.09.2012 14:32
#3
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 288
Quote
Aw: TCPDF HELP

Extremely helpful as always.

Thank you very much


Kind regards
Jacobsen

 
Copyrights MAXXmarketing GmbH. All Rights Reserved