Topic: change credit note numbering

hello.

please a hint!

where should I look in order to change credit notes to use same numbering as sales invoices ?

Regards,
S

Re: change credit note numbering

found it.

in case someone really needs it.

in /sales/includes/cart_class.inc at line 208
replace
$this->reference = $Refs->get_next($this->trans_type);
with
if ($this->trans_type == ST_CUSTCREDIT) {
    $this->reference = $Refs->get_next(ST_SALESINVOICE);
} else {
    $this->reference = $Refs->get_next($this->trans_type);
}