phpBMS

Ticket #220 (assigned enhancement)

Opened 3 years ago

Last modified 6 months 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 (9.1 kB) - added by m.waldeck@… 18 months ago.
first step for individual invoice number
invoices.php.patch.zip (3.4 kB) - added by m.waldeck@… 18 months ago.
Cleaning the patchfile, and adding the SQL-File for adding the invoice_number field

Change History

Changed 3 years ago by brieb

  • milestone changed from 1.0 to unknown

Changed 18 months ago by m.waldeck@…

first step for individual invoice number

Changed 18 months ago by m.waldeck@…

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

Changed 17 months 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 17 months ago by brieb

  • status changed from new to assigned

Changed 11 months 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 7 months ago by brieb

  • milestone changed from unknown to 1.0

Changed 6 months ago by brieb

  • keywords needsDesign added

Changed 6 months ago by brieb

  • keywords helpWanted added; needsDesign removed

Add/Change #220 (Invoice numbering)

Author



Change Properties
<Author field>
Action
as assigned
 
Note: See TracTickets for help on using tickets.
Copyright © 2010 Kreotek, LLC. All Rights reserved.