75 lines
2.8 KiB
PHP
75 lines
2.8 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8">
|
|
@if ($message = Session::get('success'))
|
|
<div class="alert alert-success">
|
|
<p>{{ $message }}</p>
|
|
</div>
|
|
@endif
|
|
<form action="{{ route('payment.feepayment') }}" method="POST" id="formpayment">
|
|
@csrf
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
<label for="name">Nama</label>
|
|
<input type="text" class="form-control" name="name" id="name">
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<label for="user_id">User ID</label>
|
|
<input type="text" class="form-control" name="user_id" id="user_id">
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
<label for="notel">Number Phone</label>
|
|
<input type="text" class="form-control" name="notel" id="notel">
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<label for="email">E-mel</label>
|
|
<input type="text" class="form-control" name="email" id="email">
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
<label for="lelong_id">Lelong ID</label>
|
|
<input type="text" class="form-control" name="lelong_id" id="lelong_id">
|
|
</div>
|
|
</div>
|
|
<div class="text-right pt-4">
|
|
{{-- <input type="hidden" name="userid" value="{{$user->id}}"> --}}
|
|
{{-- <a href="{{url('pengguna/listpengguna')}}" class="btn btn-primary">Kembali</a> --}}
|
|
<button type="button" class="btn btn-warning" onclick="confirm()">Simpan</button>
|
|
</div>
|
|
|
|
</form>
|
|
{{-- <button class="btn btn-primary" onclick="confirm()">Simpan</button> --}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
function confirm() {
|
|
$.confirm({
|
|
title: 'Confirmation',
|
|
content: 'Anda pasti?',
|
|
type: 'orange',
|
|
typeAnimated: true,
|
|
buttons: {
|
|
Simpan: {
|
|
btnClass: 'btn-warning',
|
|
action: function () {
|
|
$("#formpayment").submit();
|
|
}
|
|
},
|
|
Batal: {
|
|
btnClass: 'btn-default',
|
|
action: function () {}
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
@endsection
|