Quotes fully work now, including PDF, Email, Approval, Cancel, Edit, Copy, Copy to Invoice, also added quote_footer config to settings

This commit is contained in:
root
2019-05-17 22:43:51 -04:00
parent a4e08b7296
commit 1f02a1d287
10 changed files with 755 additions and 27 deletions

19
functions.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
function keygen()
{
$chars = "abcdefghijklmnopqrstuvwxyz";
$chars .= "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$chars .= "0123456789";
while (1) {
$key = '';
srand((double) microtime() * 1000000);
for ($i = 0; $i < 16; $i++) {
$key .= substr($chars, (rand() % (strlen($chars))), 1);
}
break;
}
return $key;
}
?>