Re: feature request
Karsten Hilbert <[email protected]> Wed, 14 Aug 2019 11:02:44 +0200
| Newsgroups | gmane.comp.gnu.medical.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 14, 2019 at 10:47:07AM +0200, slappinjohn wrote: > Hi Karsten, > > could the format of the invoice numbers be configurable? Whether if its > random or an internal counter etc. Sure. Currently the code does this: def get_invoice_id(pk_patient=None): return 'GM%s / %s' % ( pk_patient, gmDateTime.pydt_strftime ( gmDateTime.pydt_now_here(), '%Y-%m-%d / %H%M%S' ) ) Please suggest what kinds of data you would like to include into an invoice number and I'll implement it. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B _______________________________________________ Gnumed-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnumed-devel