Vendor & contractor integration
This commit is contained in:
30
signin_4.php
30
signin_4.php
@@ -75,6 +75,11 @@
|
||||
if (empty(filter_input(INPUT_POST, 'v_signature', FILTER_SANITIZE_STRING))) { $v_signature="";} else {$v_signature=filter_input(INPUT_POST, 'v_signature', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'e_signature', FILTER_SANITIZE_STRING))) { $e_signature="";} else {$e_signature=filter_input(INPUT_POST, 'e_signature', FILTER_SANITIZE_STRING);};
|
||||
if (empty(filter_input(INPUT_POST, 'escort', FILTER_SANITIZE_STRING))) { $escort="";} else {$escort=filter_input(INPUT_POST, 'escort', 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">
|
||||
<div class="row row-cols-1">
|
||||
@@ -97,6 +102,9 @@
|
||||
<div class="row row-cols-1">
|
||||
<div class="col d-grid gap-2">
|
||||
<a class="btn btn-outline-secondary btn-block" data-bs-toggle="modal" data-bs-target="#termsModalLong" href="<?php echo $StaticFunctions->getRules(); ?>"><?php echo $transLang['REFERENCE']; ?>: (<?php echo $transLang['ACKNOWLEDGEMENT_DOC_NAME']; ?>)</a>
|
||||
<?php if($isvendor==="1") { ?>
|
||||
<a class="btn btn-outline-secondary btn-block" data-bs-toggle="modal" data-bs-target="#termsVendorModalLong" href="<?php echo $StaticFunctions->getVendorRules(); ?>"><?php echo $transLang['REFERENCE']; ?>: (<?php echo $transLang['ACKNOWLEDGEMENT_VENDOR_DOC_NAME']; ?>)</a>
|
||||
<?php }; ?>
|
||||
<input type="hidden" name="siteid" id="siteid" value="<?php echo $siteid; ?>" />
|
||||
<input type="hidden" name="carnum" id="carnum" value="<?php echo $carnum; ?>" />
|
||||
<input type="hidden" name="ssanum" id="ssanum" value="<?php echo $ssanum; ?>" />
|
||||
@@ -107,7 +115,12 @@
|
||||
<input type="hidden" name="v_signature" id="v_signature" value="<?php echo $v_signature; ?>" />
|
||||
<input type="hidden" name="e_signature" id="e_signature" value="<?php echo $e_signature; ?>" />
|
||||
<input type="hidden" name="escort" id="escort" value="<?php echo $escort; ?>" />
|
||||
<a class="btn btn-lg btn-danger" href="index.php"><?php echo $transLang['CANCEL']; ?></a>
|
||||
<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; ?>" />
|
||||
<a class="btn btn-lg btn-danger" href="index.php"><i class="fas fa-ban"></i> <?php echo $transLang['CANCEL']; ?></a>
|
||||
<button type="submit" id="saveBtn" class="btn btn-lg btn-success" name="signin"><?php echo $transLang['SIGNIN']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,6 +142,21 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- END TERMS MODAL -->
|
||||
<!-- START TERMS MODAL -->
|
||||
<div class="modal fade" id="termsVendorModalLong" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="termsVendorModalLongTitle"><?php echo $transLang['TERMSTITLE']; ?></h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<object type="application/pdf" data="<?php echo $StaticFunctions->getVendorRules(); ?>" width="700" height="600">_</object>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END TERMS MODAL -->
|
||||
<?php } else { ?>
|
||||
<!-- START ERROR -->
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user