Jump to content
thirty bees forum

Where can I change the customer number & the invoice number & have it increment from that?


Recommended Posts

Posted

@alwayspaws

override / controllers / admin / AdminOrdersController.php but at the moment i dont know what to do, how to show the invoice number on pdf ..... without zeros, prefix and the minimum number of invoice is the .....

``` <?php

class AdminOrdersController extends AdminOrdersControllerCore
{
    public function __construct()
    {
        parent::__construct();

        $this->fields_list['invoice_number'] = array(
            'title' => $this->l('invoice'),
            'align' => 'text-center',
            'class' => 'fixed-width-xs'
        );
    }
}```

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...