Days Late Calculation

Help
2006-04-13
2013-05-30
  • Hi! Which page contains the script that calculates the number of days  when the book should have been returned? Thanks...

     
    • Several pages show 'Days Late'

      I'm not sure what you would want to change and how that should be done in general, just hinting to search for files containing text getDaysLate(

      H.

       
    • I would like to modify the script to skip weekends...

       
      • Ah, probably /classes/BiblioCopy.php
        look for lines ending with days_late "
        and modify the SQL

        You might be the first to try... the semi-official roadmap doesn't mention this or related circulation functionality.
        http://obiblio.sourceforge.net/index.php/Main/Roadmap

        Wouldn't surprise me if this has been asked before on the "Feature requests" forum ("calendar" might be a good search phrase to check this). So probably many libraries could use your code if you succeed.

        H.

         
    • Whew! Finally I got it, If anybody wants the code let me know..

       
      • If it's just a code snippet you could post it here.
        But long lines and formatting will get mangled by the forum system, then it's better to send an email with attachment.

        Thanks for sharing,

        Hans van der Weij
        infinite-mnkz at users.sourceforge.net

         
  • Sunil Jacob
    Sunil Jacob
    2009-10-08

    Hi nobody,

    can you please share the code snippet to my mail-id <br>
    <b>sunil1450@gmail.com</b>

     
  • Sunil Jacob
    Sunil Jacob
    2009-10-08

    Hi nobody,

    can you please share the code snippet to my mail-id <br>
    Below is my correct mail id , this was a typo in the previous thread <br>
    <b>sunil1405@gmail.com</b>

     


Anonymous


Cancel   Add attachments