Ejemplo n.º 1
0
 $pdf->Cell(1);
 $pdf->Cell(33, 5, $issued_on, 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(33, 5, $expire_on, 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(0, 5, number_format($credit_amount, 2, '.', ','), 1, 0, 'C');
 $pdf->Ln(6);
 $pdf->SetTextColor(255, 255, 255);
 $pdf->Cell(60, 5, "User ID", 1, 0, 'C', 1);
 $pdf->Cell(1);
 $pdf->Cell(0, 5, "Employer Name", 1, 0, 'C', 1);
 $pdf->Ln(6);
 $pdf->SetTextColor(0, 0, 0);
 $pdf->Cell(60, 5, $employer->id(), 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(0, 5, $employer->get_name(), 1, 0, 'C');
 $pdf->Ln(10);
 $table_header = array("No.", "Item", "Amount (" . $currency . ")");
 $pdf->FancyTable($table_header);
 $pdf->Ln(13);
 $pdf->SetFont('', 'I');
 $pdf->Cell(0, 0, "This credit note was automatically generated. Signature is not required.", 0, 0, 'C');
 $pdf->Ln(6);
 $pdf->Cell(0, 5, "Refund Notice", 'LTR', 0, 'C');
 $pdf->Ln();
 $pdf->Cell(0, 5, "- Refund will be made payable to " . $employer->get_name() . ". ", 'LR', 0, 'C');
 $pdf->Ln();
 $pdf->Cell(0, 5, "- To facilitate the refund process, please inform us of any discrepancies.", 'LBR', 0, 'C');
 $pdf->Ln(10);
 $pdf->Cell(0, 0, "E. & O. E.", 0, 0, 'C');
 $pdf->Close();
Ejemplo n.º 2
0
 $pdf->Cell(1);
 $pdf->Cell(33, 5, $data['issued_on'], 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(33, 5, $data['payable_by'], 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(0, 5, number_format($_POST['amount'], '2', '.', ', '), 1, 0, 'C');
 $pdf->Ln(6);
 $pdf->SetTextColor(255, 255, 255);
 $pdf->Cell(60, 5, "User ID", 1, 0, 'C', 1);
 $pdf->Cell(1);
 $pdf->Cell(0, 5, "Employer Name", 1, 0, 'C', 1);
 $pdf->Ln(6);
 $pdf->SetTextColor(0, 0, 0);
 $pdf->Cell(60, 5, $employer->id(), 1, 0, 'C');
 $pdf->Cell(1);
 $pdf->Cell(0, 5, $employer->get_name(), 1, 0, 'C');
 $pdf->Ln(10);
 $table_header = array("No.", "Item", "Amount (" . $currency . ")");
 $pdf->FancyTable($table_header, $items, number_format($_POST['amount'], '2', '.', ', '));
 $pdf->Ln(13);
 $pdf->SetFont('', 'I');
 $pdf->Cell(0, 0, "This invoice was automatically generated. Signature is not required.", 0, 0, 'C');
 $pdf->Ln(6);
 $pdf->Cell(0, 5, "Payment Notice", 'LTR', 0, 'C');
 $pdf->Ln();
 $pdf->Cell(0, 5, "- Payment shall be made payable to " . $branch_raw[0]['branch'] . ".", 'LR', 0, 'C');
 $pdf->Ln();
 $pdf->Cell(0, 5, "- To facilitate the processing of the payment, please write down the invoice number(s) on your cheque(s)/payment slip(s)", 'LBR', 0, 'C');
 $pdf->Ln(10);
 $pdf->Cell(0, 0, "E. & O. E.", 0, 0, 'C');
 $pdf->Close();