SliQ Invoicing Plus Version 3 Released

After a number of months in development, SliQ Invoicing Plus V3 has been released.

The new version includes a number of features requested by our customers including:-

- Support for Purchase Orders and Supplier Data

- Optional Password Protection on Company Files

- Tax or VAT Summary tables on invoice templates

Over the next few months we have a new development plan for SliQ Invoicing and will be adding a number of new features into version 3 on a one or two month release cycle into the middle of next year.

As with previous versions, version 3 is available for a one-off price and includes a free 30 day trial. V3 is 100% compatible with V2 and will automatically import and convert all data and settings from V2 when installed on an existing user’s PC.

For more information on the new features in version 3, check out our Release History page.

Note: For information on the release of SliQ Invoicing Plus V4, see http://www.sliqtools.co.uk/blog/releases/sliq-invoicing-plus-version-4-released/.

Windows Mail on Vista – Simple MAPI send problem

If your application will not send emails using Windows Mail on Windows Vista, it’s worth checking if Windows Mail is set as the default email client. To check if Windows Mail is set as the default:

  1. Run Windows Mail by clicking Vista’s Start button then choosing All Programs. Then click on Windows Mail.
  2. When Windows Mail appears, click on its Tools menu and choose Options.
  3. In the General tab, look under the Default Messaging Programs section at the bootm. If the Make Default button next to “This application is the default Mail handler” is checked, Windows Mail should be the default email client on the PC.
  4. If the Make Default button is enabled, press it to make Windows Mail the default on your PC.
  5. Click OK to close the Options dialog.

It’s also worth checking the default settings in Vista’s start menu …

  1. Click on Vista’s Start button then choose the Default Programs option.
  2. Choose the Set your default programs option.
  3. In the window that appears, choose Windows Mail.
  4. Click the Set this program as default option that appears on the bottom right of the window.

After following the procedures above, if Windows Mail should work properly when another application on your PC uses Window’s Simple MAPI service to send emails.

For help on sending emails using Windows Live Mail on Windows 7, check this blog post.

Splitting a time value into day, hour, mins, secs in PHP

I’ve been writing a new webpage that calculates the time left before a user license period expires. I wanted to display the time as a countdown of the number of days left before the license runs out. I couldn’t find an off-the-shelf PHP function to do the job so I quickly wrote the function below.

/* This function takes a PHP time value and returns the duration as an array
with 4 elements -
element 0 = days
element 1 = hours
element 2 = minutes
element 3 = seconds
*/
function DurationInDHMS($timeduration)
{
    $days = floor($timeduration / 86400);
    $timeduration = $timeduration - ($days * 86400);
    $hours = floor($timeduration / 3600);
    $timeduration = $timeduration - ($hours * 3600);
    $minutes = floor($timeduration / 60);
    $seconds = $timeduration - ($minutes * 60);
    return array($days, $hours, $minutes, $seconds);
}