Vendor & contractor integration
This commit is contained in:
12
signin_3.php
12
signin_3.php
@@ -72,6 +72,11 @@
|
||||
if (empty(filter_input(INPUT_POST, 'lastname', FILTER_SANITIZE_STRING))) { $lastname="";} else {$lastname=filter_input(INPUT_POST, 'lastname', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'company', FILTER_SANITIZE_STRING))) { $company="";} else {$company=filter_input(INPUT_POST, 'company', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'visit_type', FILTER_SANITIZE_STRING))) { $visit_type="";} else {$visit_type=filter_input(INPUT_POST, 'visit_type', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'isvendor', FILTER_SANITIZE_STRING))) { $isvendor="0";} else {$isvendor=filter_input(INPUT_POST, 'isvendor', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'db_vendorinfo_contact1', FILTER_SANITIZE_STRING))) { $db_vendorinfo_contact1="";} else {$db_vendorinfo_contact1=filter_input(INPUT_POST, 'db_vendorinfo_contact1', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'db_vendorinfo_contact2', FILTER_SANITIZE_STRING))) { $db_vendorinfo_contact2="";} else {$db_vendorinfo_contact2=filter_input(INPUT_POST, 'db_vendorinfo_contact2', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'db_vendorinfo_workstart', FILTER_SANITIZE_STRING))) { $db_vendorinfo_workstart="";} else {$db_vendorinfo_workstart=filter_input(INPUT_POST, 'db_vendorinfo_workstart', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'db_vendorinfo_workend', FILTER_SANITIZE_STRING))) { $db_vendorinfo_workend="";} else {$db_vendorinfo_workend=filter_input(INPUT_POST, 'db_vendorinfo_workend', FILTER_SANITIZE_STRING);};
|
||||
?>
|
||||
<div class="container-fluid">
|
||||
<div class="row row-cols-1">
|
||||
@@ -81,6 +86,7 @@
|
||||
</div>
|
||||
<form name="form-signin" class="form-signin" action="signin_4.php" method="post">
|
||||
<?php echo Csrf::getInputToken('home') ?>
|
||||
<?php if ($isvendor==="0") { ?>
|
||||
<div class="accordion" id="accordionExample">
|
||||
<div class="accordion-item">
|
||||
<h5 class="accordion-header" id="headingOne">
|
||||
@@ -105,6 +111,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }; ?>
|
||||
<div class="row row-cols-1">
|
||||
<div class="col d-grid gap-2">
|
||||
<h4><?php echo $transLang['VSIGNATURE']; ?>:</h4>
|
||||
@@ -119,6 +126,11 @@
|
||||
<input type="hidden" name="lastname" id="lastname" value="<?php echo $lastname; ?>" />
|
||||
<input type="hidden" name="company" id="company" value="<?php echo $company; ?>" />
|
||||
<input type="hidden" name="visit_type" id="visit_type" value="<?php echo $visit_type; ?>" />
|
||||
<input type="hidden" name="isvendor" id="isvendor" value="<?php echo $isvendor; ?>" />
|
||||
<input type="hidden" name="db_vendorinfo_contact1" id="db_vendorinfo_contact1" value="<?php echo $db_vendorinfo_contact1; ?>" />
|
||||
<input type="hidden" name="db_vendorinfo_contact2" id="db_vendorinfo_contact2" value="<?php echo $db_vendorinfo_contact2; ?>" />
|
||||
<input type="hidden" name="db_vendorinfo_workstart" id="db_vendorinfo_workstart" value="<?php echo $db_vendorinfo_workstart; ?>" />
|
||||
<input type="hidden" name="db_vendorinfo_workend" id="db_vendorinfo_workend" value="<?php echo $db_vendorinfo_workend; ?>" />
|
||||
<button type="submit" id="saveBtn" class="btn btn-lg btn-success" name="signin"><?php echo $transLang['NEXT']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user