Hello,
Here's a little how-to to display a fax send date in the Outbox.
* Edit outbox.php - Find (line 68)
$addressbook = new AFAddressBook; if (is_array($queue)) { foreach ($queue as $q) { $q['company'] = $q['number']; if ($addressbook->loadbyfaxnum($q['number'], $mult)) { $q['company'] = $addressbook->get_company(); }
- Add after
// Fax expedition date $q['date'] = ''; if( file_exists( '/var/spool/hylafax/doneq/q' . $q['jid'] ) ) { $q['date'] = date( 'd/m/Y H:i:s', filemtime( '/var/spool/hylafax/doneq/q' . $q['jid'] ) ); }
- Find (line 92)
$failed_faxqueue = array(); if (is_array($failed_queue)) { foreach ($failed_queue as $q) { $q['company'] = $q['number']; if ($addressbook->loadbyfaxnum($q['number'], $mult)) { $q['company'] = $addressbook->get_company(); }
Done :)
Tested on AvantFax 3.1.6. Replace "/var/spool/hylafax" by the content of "SPOOL=" in your hylafax setup.cache file.
Log in to post a comment.
Hello,
Here's a little how-to to display a fax send date in the Outbox.
* Edit outbox.php
- Find (line 68)
- Add after
- Find (line 92)
- Add after
Done :)
Tested on AvantFax 3.1.6.
Replace "/var/spool/hylafax" by the content of "SPOOL=" in your hylafax setup.cache file.