BBnepal-Accounts/account/application/views/acgroups/edit.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

62 lines
4.2 KiB
PHP

<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6"> <h1 class="m-0"><?php echo $pageTitle; ?></h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>">Dashboard</a></li>
<li class="breadcrumb-item active"><?php echo $pageTitle; ?></li> </ol>
</div>
</div>
</div>
</div>
<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_acgroups where acgroup_id =\"$id\" ")->row(); ?>
<form method=POST action="" enctype="multipart/form-data" name="tbl_acgroups">
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="acgroup_code">Acgroup Code</label><input type="text" class="form-control" id="acgroup_code" value="<?php echo $TableData->acgroup_code; ?>" name="acgroup_code">
</div> </div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="acgroup_name">Acgroup Name</label><input type="text" class="form-control" id="acgroup_name" value="<?php echo $TableData->acgroup_name; ?>" name="acgroup_name">
</div> </div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<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>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="display_order">Display Order</label><input type="text" class="form-control" id="display_order" value="<?php echo $TableData->display_order; ?>" name="display_order">
</div> </div>
<!--COL END-->
</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>