Просмотр исходного кода

Set due date to 30 days from now.

Alan Lam 8 лет назад
Родитель
Сommit
15930bfa13
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      controllers/test_invoice.php

+ 1 - 1
controllers/test_invoice.php

@@ -86,7 +86,7 @@ $pdf->Cell(45, 8, date("d/m/Y"), 0, 1, "R");
 $pdf->SetTextColor(128);
 $pdf->Cell(45, 8, "Due Date:", 0, 0, "R");
 $pdf->SetTextColor(0);
-$pdf->Cell(45, 8, date("d/m/Y", time() + 864000), 0, 1, "R");
+$pdf->Cell(45, 8, date("d/m/Y", time() + 2592000), 0, 1, "R");
 
 $pdf->Rect(110, $pdf->GetY(), 90, 8, "F");
 $pdf->Cell(45, 8, "Balance Due:", 0, 0, "R");