Topic: PRINT RECEIPTS PARTICULARS ARE MISSING

Hey FA,

i am printing receipts for customer, well everything is good in last section:

By Cash / Cheque* / Draft No. ______________________________ Dated __________________
Drawn on Bank ______________________________ Branch __________________

is missed, how the system is generate this lines?


please let me know about that....

Re: PRINT RECEIPTS PARTICULARS ARE MISSING

Checkout the lines 171 to 182 in reporting/rep112.php:

            $rep->TextCol(6, 7, _("Received / Sign"), - 2);
            $rep->NewLine();
            $rep->TextCol(0, 2, _("By Cash / Cheque* / Draft No."), - 2);
            $rep->TextCol(2, 4, "______________________________", - 2);
            $rep->TextCol(4, 5, _("Dated"), - 2);
            $rep->TextCol(5, 6, "__________________", - 2);
            $rep->NewLine(1);
            $rep->TextCol(0, 2, _("Drawn on Bank"), - 2);
            $rep->TextCol(2, 4, "______________________________", - 2);
            $rep->TextCol(4, 5, _("Branch"), - 2);
            $rep->TextCol(5, 6, "__________________", - 2);
            $rep->TextCol(6, 7, "__________________");

The "_()" are the gettext translatable strings that may be hardcoded if you want or change them in your language's .po file and compile into a .mo file and use.

Re: PRINT RECEIPTS PARTICULARS ARE MISSING

i have seen this but i want to use grab data in this feilds e.g

$rep->TextCol(4, 5, _("Dated"), - 2);
            $rep->TextCol(5, 6, "HERE IS DATE AUTOMATICALLY", - 2);

and all fields must be completed by automatically

how can i do that>

Re: PRINT RECEIPTS PARTICULARS ARE MISSING

Alternatively output the necessary lines to a separate file and use it.