Re: [Openledger-developer] Question to Invoice.pm and Customer.pm
Brought to you by:
klavs
From: Klavs K. <kl...@vs...> - 2005-03-08 17:30:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 on 03/08/05 01:37 Ang Tun Chek wrote: | hi all, | | just wonder why there is customer details in Invoice.pm since we already | have a customer class. | You are absolutely correct. I wrote the invoice class, before doing the customer object :) (bad exscuse, I know ;) Feel free to add a function to submit a customer-object instead. Then I'll rewrite my code to use that. | i hope to add a new field called "terms" so we can have a improve | duedate function | | duedate=current_date + terms Not a bad idea. I'm guessing you are adding this in the customer object (only place it makes sense AFAIK :) - -- Regards, Klavs Klavsen, GSEC - kl...@vs... - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." ~ --Henry Spencer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCLeEmPToLeX4GPGIRAtF0AJ46LLUn1JC4SzvkLmQZoVb4dl/ZRQCgmLic ielXwf3HTu5LVl2Ej1svAxI= =Q6mN -----END PGP SIGNATURE----- |