Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
period generation
09-19-2012, 06:33 PM,
#2
RE: period generation
The code is all there so you can see for yourself - care is taken to ensure that the code is as readable as it possibly can be.

The function GetPeriod($Some_Given_Date, $db) in the file includes/DateFunctions.inc is responsible for figuring out which period a date belongs in ... if the date belongs in a period subsequent or prior to the defined periods then new periods are defined and inserted into the database.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Messages In This Thread
period generation - by irabelle - 09-19-2012, 06:15 PM
RE: period generation - by phil - 09-19-2012, 06:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)