Initial commit
This commit is contained in:
63
resources/views/organisation/merchant_edit.blade.php
Normal file
63
resources/views/organisation/merchant_edit.blade.php
Normal file
@@ -0,0 +1,63 @@
|
||||
@extends('dealer_layouts.dealer_master')
|
||||
@section('page-title')
|
||||
Organisation | {{ $page_title }}
|
||||
@endsection
|
||||
|
||||
@section('page-css')
|
||||
@endsection
|
||||
@section('page-content')
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@include('commons.notifications')
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="hpanel hblue">
|
||||
<div class="panel-heading hbuilt">Merchant Account</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{ route('merchant.update', $merchant->id) }}" id="editMerchantForm" method="POST" class="form-horizontal">
|
||||
{{ csrf_field() }}
|
||||
@method('PUT')
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Fullname</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" name="fullname" value="{{ $merchant->fullname }}" placeholder="Full Name of Merchant " required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
<div class="form-group"><label class="col-sm-2 control-label">Phone</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="phone" value="{{ $merchant->phone }}" class="form-control" id="merchantPhone" placeholder="Phone number " required >
|
||||
</div>
|
||||
</div>
|
||||
<div class="hr-line-dashed"></div>
|
||||
<div class="form-group"><label class="col-sm-2 control-label">Language</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control" name="language" id="merchantLanguage">
|
||||
<option value="">-- Select Language --</option>
|
||||
<option value="english" <?php echo ($merchant->language == 'english') ? "selected" : ""; ?> >English</option>
|
||||
<option value="chichewa" <?php echo ($merchant->language == 'chichewa') ? "selected" : ""; ?>>Chichewa</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group"><label class="col-sm-2 control-label">Status</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control" name="status" id="merchantStatus">
|
||||
<option value="">-- Select Status --</option>
|
||||
<option value="active" <?php echo ($merchant->status == 'active') ? "selected" : ""; ?> >Active</option>
|
||||
<option value="inactive" <?php echo ($merchant->status == 'inactive') ? "selected" : ""; ?>>Inactive</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hr-line-dashed"></div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12 ">
|
||||
<button class="btn btn-success btn-block" type="submit"> <i class="fa fa-save"></i> Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user