75 lines
3.5 KiB
PHP
75 lines
3.5 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 $TableData = $AccountCategory; ?>
|
|
<form method=POST action="" enctype="multipart/form-data" name="tbl_accategories">
|
|
<div class="row">
|
|
<!--COL START-->
|
|
<div class="col">
|
|
|
|
|
|
<div class="form-group">
|
|
<?php
|
|
fillComboWithValue("acgroup_id", "Account Type", "acgroup_id", "tbl_acgroups", "acgroup_name", "acgroup_id", $default = $TableData->acgroup_id, $CSSclass = "", $multiple = false, $condition = "status=1");
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<!--COL END-->
|
|
</div>
|
|
|
|
<div class="row">
|
|
<!--COL START-->
|
|
<!-- <div class="col">
|
|
<div class="form-group">
|
|
<?php fillComboWithValue("parent_category_id", "Parent Category", "parent_category_id", "tbl_accategories", "accategory_name", "accategory_id", $default = $TableData->parent_category_id, $CSSclass = "", $multiple = false, $condition = "status=1"); ?>
|
|
</div>
|
|
</div> -->
|
|
<div class="col">
|
|
|
|
|
|
<div class="form-group">
|
|
<label for="accategory_name">Category Name</label><input type="text" class="form-control" id="accategory_name" value="<?php echo $TableData->accategory_name; ?>" name="accategory_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>
|
|
<button type="reset" class="btn btn-default btn-sm">Reset</button> <button class="btn btn-primary btn-sm" type="submit" name="submit">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|