feat: implement admin user management interface and registration command
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{{col("col-12 detail","User Detail")}}
|
||||
<?php
|
||||
if(isAdmin()) {
|
||||
$teams = db("subcontractors")->get()->pluck("company_name_en")->toArray();
|
||||
if(getisset("update")) {
|
||||
$post = $_POST;
|
||||
$pic = upload("pic","profile_pic/");
|
||||
@@ -78,20 +77,6 @@ if(isAdmin()) {
|
||||
<label for="">{{e2("Name Ru")}}: </label><input type="text" value="" name="name_ru"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="">{{e2("Team/Subconstructer")}}: </label>
|
||||
<select name="subcontructer" id="" class="form-control">
|
||||
<option value="">{{e2("Select")}}</option>
|
||||
<?php
|
||||
foreach($teams AS $s) {
|
||||
?>
|
||||
<option value="{{$s}}">{{$s}}</option>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="">{{e2("Date of Birth")}}: </label><input type="date" value="" name="date_of_birth"
|
||||
class="form-control">
|
||||
|
||||
Reference in New Issue
Block a user