Fixed add invoice, quote, recurring under client area, added alternative contact photo if one is not present using fontawesome stacked circle with contact initials inside

This commit is contained in:
root
2019-05-18 23:27:15 -04:00
parent 65c961986c
commit b559b58f34
7 changed files with 37 additions and 8 deletions

View File

@@ -16,4 +16,11 @@ function keygen()
return $key;
}
function initials($str) {
$ret = '';
foreach (explode(' ', $str) as $word)
$ret .= strtoupper($word[0]);
return $ret;
}
?>