58 lines
2.8 KiB
PHP
58 lines
2.8 KiB
PHP
<div class="content-wrapper">
|
|
<div class="content">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="card card-primary card-outline">
|
|
<div class="card-header">
|
|
<h5 class="m-0">Create <?php echo $pageTitle; ?> <?php showListButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/list","List
|
|
".$pageTitle); ?></h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<?php $id = $this->uri->segment(4);
|
|
$TableData = $this->db->query("select * from tbl_vendors where vendor_id =\"$id\" ")->row(); ?>
|
|
<form method=POST action="" enctype="multipart/form-data" name="tbl_vendors">
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="form-group">
|
|
<label for="vendor_type">vendor_type</label><input type="text" class="form-control" id="vendor_type" value="<?php echo $TableData->vendor_type; ?>" name="vendor_type">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="form-group">
|
|
<label for="vendor_name">vendor_name</label><input type="text" class="form-control" id="vendor_name" value="<?php echo $TableData->vendor_name; ?>" name="vendor_name">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="form-group">
|
|
<label for="vendor_country">vendor_country</label><input type="text" class="form-control" id="vendor_country" value="<?php echo $TableData->vendor_country; ?>" name="vendor_country">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="form-group">
|
|
<label for="vendor_contact">vendor_contact</label><input type="text" class="form-control" id="vendor_contact" value="<?php echo $TableData->vendor_contact; ?>" name="vendor_contact">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="form-group">
|
|
<label for="remarks">remarks</label>
|
|
<textarea class="form-control" id="remarks" name="remarks"><?php echo $TableData->remarks; ?></textarea>
|
|
</div>
|
|
</div>
|
|
</div><button type="reset" class="btn btn-default">Reset</button> <button class="btn btn-primary" type="submit" name="submit">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|