mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +00:00
Update add modal to support leads and clients
This commit is contained in:
@@ -2,12 +2,15 @@
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content bg-dark">
|
<div class="modal-content bg-dark">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title"><i class="fa fa-fw fa-user-plus mr-2"></i>Create client</h5>
|
<h5 class="modal-title"><i class="fa fa-fw fa-user-plus mr-2"></i>Create <?php if (isset($lead)){ echo "Lead";} else { echo "Client";}?></h5>
|
||||||
<button type="button" class="close text-white" data-dismiss="modal">
|
<button type="button" class="close text-white" data-dismiss="modal">
|
||||||
<span>×</span>
|
<span>×</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="client_lead" value="<?php
|
||||||
|
if (isset($lead)){ echo "1";} else { echo "0";}
|
||||||
|
?>">
|
||||||
<div class="modal-body bg-white">
|
<div class="modal-body bg-white">
|
||||||
|
|
||||||
<ul class="nav nav-pills nav-justified mb-3">
|
<ul class="nav nav-pills nav-justified mb-3">
|
||||||
@@ -224,7 +227,9 @@
|
|||||||
|
|
||||||
<div class="tab-pane fade" id="pills-additional">
|
<div class="tab-pane fade" id="pills-additional">
|
||||||
|
|
||||||
<?php if ($config_module_enable_accounting) { ?>
|
<?php if ($config_module_enable_accounting) {
|
||||||
|
if (!isset($lead)) {
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Hourly Rate</label>
|
<label>Hourly Rate</label>
|
||||||
@@ -278,7 +283,7 @@
|
|||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<input type="hidden" name="currency_code" value="<?php echo $session_company_currency; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo $session_company_currency; ?>">
|
||||||
<input type="hidden" name="net_terms" value="0">
|
<input type="hidden" name="net_terms" value="0">
|
||||||
<?php } ?>
|
<?php } }?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Notes</label>
|
<label>Notes</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user