mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Contact Edit: Integrated certificate creation, if available.
This commit is contained in:
@@ -198,6 +198,11 @@
|
||||
$text['button-invoices']['pt-pt'] = "Facturas";
|
||||
$text['button-invoices']['fr-fr'] = "Factures";
|
||||
|
||||
$text['button-certificate']['en-us'] = "Certificate";
|
||||
$text['button-certificate']['es-cl'] = "Certificado";
|
||||
$text['button-certificate']['pt-pt'] = "Certificado";
|
||||
$text['button-certificate']['fr-fr'] = "Certificat";
|
||||
|
||||
// contact phones
|
||||
$text['title-contact_phones-add']['en-us'] = "Contact Phone Add";
|
||||
$text['title-contact_phones-add']['es-cl'] = "Agregar Número de Contacto";
|
||||
|
||||
@@ -281,6 +281,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
if ($action == "update" && is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/invoices')) {
|
||||
echo " <input type='button' class='btn' name='' alt='".$text['button-invoices']."' onclick=\"window.location='".PROJECT_PATH."/app/invoices/invoices.php?id=$contact_uuid'\" value='".$text['button-invoices']."'>\n";
|
||||
}
|
||||
if ($action == "update" && is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/certificates')) {
|
||||
echo " <input type='button' class='btn' name='' alt='".$text['button-certificate']."' onclick=\"window.location='".PROJECT_PATH."/app/certificates/index.php?name=".urlencode($contact_name_given." ".$contact_name_family)."'\" value='".$text['button-certificate']."'>\n";
|
||||
}
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user