BBnepal-Accounts/account/application/views/fiscalyear/edit.php

81 lines
4.2 KiB
PHP
Raw Permalink Normal View History

2024-07-10 12:43:19 +00:00
<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_fiscalyear where fiscalyear_id =\"$id\" ")->row(); ?>
<form method=POST action="" enctype="multipart/form-data" name="tbl_fiscalyear">
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="fiscalyear_code">Fiscal Year Code</label><input type="text" class="form-control" id="fiscalyear_code" value="<?php echo $TableData->fiscalyear_code; ?>" name="fiscalyear_code">
</div>
</div>
<!--COL END-->
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="fiscalyear_year">Fiscal Year</label><input type="text" class="form-control" id="fiscalyear_year" value="<?php echo $TableData->fiscalyear_year; ?>" name="fiscalyear_year">
</div>
</div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="fiscalyear_from">Fiscal Year From</label><input type="text" class="form-control nepaliDatePicker" id="fiscalyear_from" value="<?php echo NepaliDate($TableData->fiscalyear_from); ?>" name="fiscalyear_from">
</div>
</div>
<!--COL END-->
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="fiscalyear_to">Fiscal Year To</label><input type="text" class="form-control nepaliDatePicker" id="fiscalyear_to" value="<?php echo NepaliDate($TableData->fiscalyear_to); ?>" name="fiscalyear_to">
</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>
<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>