BBnepal-Accounts/account/application/views/setup/adddepartments.php

49 lines
2.8 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">
<form method=POST action="" enctype="multipart/form-data" name="tbl_departments">
<div class="row">
<div class="col">
<div class="form-group">
<label for="department_name">Department Name</label><input type="text" class="form-control" id="department_name" value="" name="department_name">
</div>
</div>
</div>
<div class="row">
<div class="col">
</div>
</div>
<div class="row">
<div class="col">
<div class="form-group">
<?php //fillComboWithValue($fieldName,$displayName,$fieldID,$tableName, $displayField, $valueField, $default="",$CSSclass="",$multiple=false,$condition="")
fillComboWithValue("branch_id", "Branch", "branch_id", "tbl_branches", "branch_name", "branch_id", $default = "", $CSSclass = "form-control", $multiple = false, $condition = "status=1");
?>
</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"></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>