phpBMS

Ticket #220 (assigned enhancement)

Opened 4 years ago

Last modified 2 years ago

Invoice numbering

Reported by: Tom Owned by: brieb
Priority: major Milestone: 1.0
Component: phpbms Version: 0.92
Keywords: helpWanted Cc:

Description

In the Netherlands it is required to number all invoices in a ascending way, without gaps. However if I create an order now and this order is cancelled, the invoice (order id) is never created and it is also not possible to create a credit invoice.

Three things should be implemented: - Generate a unique invoice number only when the invoice is created; - Make it possible to give a startnumber for the invoice id (like 20070000); - Make it possible to create a credit note, if an invoice is incorrect.

Attachments

invoices.php.patch Download (9.1 KB) - added by m.waldeck@… 3 years ago.
first step for individual invoice number
invoices.php.patch.zip Download (3.4 KB) - added by m.waldeck@… 3 years ago.
Cleaning the patchfile, and adding the SQL-File for adding the invoice_number field

Change History

Changed 4 years ago by brieb

  • milestone changed from 1.0 to unknown

Changed 3 years ago by m.waldeck@…

first step for individual invoice number

Changed 3 years ago by m.waldeck@…

Cleaning the patchfile, and adding the SQL-File for adding the invoice_number field

Changed 3 years ago by brieb

This looks promising, although in it's present state the patch would be hard to incorporate:

  1. It looks like the patch does more than create invoice numbers.
  2. It looks like the id get's generated when converting to invoice
  3. It looks like there is no place on the addedit screen that displays the new id.
  4. It does not modify any reports that may need to display said number.
  5. The alter table command would need to be integrated into the update process and db change incorporated into the installers.
  6. Copyright notices other than the modified BSD license are not permitted in the phpBMS repository

If you attached the patch with the intention of just giving an example to people making their own changes, I give it a big thumbs up.

Changed 3 years ago by brieb

  • status changed from new to assigned

Changed 2 years ago by anonymous

This looks promising, although in it's present state the patch would be hard to incorporate:

  1. It looks like the patch does more than create invoice numbers.
  2. It looks like the id get's generated when converting to invoice
  3. It looks like there is no place on the addedit screen that displays the new id.
  4. It does not modify any reports that may need to display said number.
  5. The alter table command would need to be integrated into the update process and db change incorporated into the installers. nike air yeezy shoes
  6. Copyright notices other than the modified BSD license are not permitted in the phpBMS repository

If you attached the patch with the intention of just giving an example to people making their own changes, I give it a big thumbs up.

Changed 2 years ago by brieb

  • milestone changed from unknown to 1.0

Changed 2 years ago by brieb

  • keywords needsDesign added

Changed 2 years ago by brieb

  • keywords helpWanted added; needsDesign removed
Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.