Regards,
How I can disable editing date on the invoice direct. In this way the user can not change the date of the invoice.

Thanks in advance
Oswall

Thanks Joe for your reply.
Please tell me when you can solve.
I use 2.3.8 FA

Oswall

In the file sales_order_entry.php, if I comment the following code, solve the immediate problem.
But I wonder if you might have problems elsewhere in FA, if I do this.
The code is commented:
         if ($ Refs-> is_valid ($ _POST ['ref'])) {
display_error (_ ("You must enter a reference."));
set_focus ('ref');
return false;
}
       
    if ($ _SESSION ['Items'] -> trans_no == 0 &&! is_new_reference ($ _POST ['ref']
    $ _SESSION ['Items'] -> trans_type)) {
    display_error (_ ("The Entered reference is already in use."));
set_focus ('ref');
    return false;
    } Elseif ($ _SESSION ['Items'] -> get_items_total () <0) {
display_error ("Invoice total amount can not be less than zero.");
return false;
}

Thanks
Oswall

I note that FA assigns the reference number immediately upon entering the direct invoice screen.
I think it must allocate (create) just before the bill persist and have a free number.

Oswall

You can disable the uniqueness of the "reference"?.
Thus, no checks whether the reference number being used by another.
We use the invoice number, do not use the reference number.

Thanks
Oswall

Regards,
I use FA 2.3.8 with ubuntu linux server, and 3 PCs in network lan.
I have a problem with the "Reference" number created by FA.
When two or more users on different PCs trying to create an invoice, FA creates the same reference number for all.
As FA indicates the "reference" number is being used by another.
I activated the invoice number in config.php instead of the reference.
But the number of reference remains a problem.
You can disable the reference number of FA?.

Oswall

regards,
Change things in multiple files and work with type 'A5'.
I think it's important to use 1/2 page to print invoices. It is faster and cheaper for the customer (less paper).
If you want, I send the files to be included revize and when you want.
Oswall

regards,
I managed to resize the page report107.php this:

$ rep = new FrontReport (_ ('INVOICE'), "InvoiceBulk ',' A5 ', 9' L ');

I use it in Landscape, to maintain a width of about 8.5 in.

How I can change the number of the invoice detail lines.
Can be 10 or 12 lines maximum detail so as not to leave the margins.
Thanks,
Oswall

Hi Joe,
Thanks for your answer.

Since I included the code for setting 'A5' in pdf_report.inc
However I have problems with the syntax to configure page type to A5 in rep107.php
Trying:

$ rep-> user_pagesize ('A5');
$ rep-> user_pagesize = 'A5';
$ rep-> SetPageSize ('A5');
$ rep-> SetPageSize = 'A5';

and does not work. Sorry but I know little FA API.

I need to use 1/2 page for billing, saving paper.

Hi,
You can print the invoice in half a page, either letter or A4 for example.
Or change the page type to 8.5 x 5.5
How I can change the invoice to print half a page.
Thanks,

12

(4 replies, posted in Reporting)

Although I am new in frontaccount, yes desire to collaborate.

Oswall

13

(4 replies, posted in Reporting)

Greetings,

How I can print reports of sales type tickets for POS (point of sales).
Using printing like the TMU-220 for example.

It is possible?

thanks,
Oswall AC