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

89 lines
3.3 KiB
PHP

<div class="card card-primary card-outline">
<div class="card-header">
</div>
<div class="card-body">
<form method=POST action="<?php echo site_url("master/fiscalyear/edit/$Fiscalyear->fiscalyear_id"); ?>" 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 $Fiscalyear->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 $Fiscalyear->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($Fiscalyear->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($Fiscalyear->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 $Fiscalyear->remarks; ?></textarea>
</div>
</div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="remarks">Status</label>
<select name="status" class="form-control">
<option value="0" <?php if ($Fiscalyear->status == 0) echo "SELECTED"; ?>>Disabled</option>
<option value="1" <?php if ($Fiscalyear->status == 1) echo "SELECTED"; ?>>Enable</option>
</select>
</div>
</div>
<!--COL END-->
</div>
<div class="col-2 float-right text-right">
<button class="btn btn-primary" type="submit" name="submit">Save</button>
</div>
</form>
</div>
</div>