update blast wabot tuntut baki dan parameter setting
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
|
||||
@section('content')
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.10/css/select2.min.css" rel="stylesheet"/>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.10/js/select2.min.js"></script>
|
||||
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
|
||||
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-12 mx-auto card">
|
||||
<h3 class="pt-3">Kemaskini Notis Tuntut Baki Surat</h3>
|
||||
|
||||
@if ($message = Session::get('failed'))
|
||||
<div class="alert alert-danger">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
<form action="{{route('parameter.storeparabaki')}}" method="POST" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@foreach($tetapan as $notis)
|
||||
{{-- {{dd($notis->para2)}} --}}
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-4" id="parabaki">
|
||||
<textarea name="parabaki" id="article-ckeditor" >
|
||||
{{$notis->parabaki}}
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-12 mx-auto card">
|
||||
<h3 class="pt-3">Kemaskini Notis Tuntut Baki Blast Whatsapp</h3>
|
||||
|
||||
@if ($message = Session::get('failed'))
|
||||
<div class="alert alert-danger">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
<form action="{{route('parameter.storeparabaki2')}}" method="POST" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@foreach($tetapan as $notis)
|
||||
{{-- {{dd($notis->para2)}} --}}
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-4" id="parabaki2">
|
||||
<textarea name="parabaki2" rows="6" cols="150">
|
||||
{{$notis->parabaki2}}
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
CKEDITOR.replace( 'article-ckeditor', {
|
||||
height: 400,
|
||||
width: 1500
|
||||
|
||||
} );
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
CKEDITOR.replace( 'article-ckeditor2', {
|
||||
height: 400,
|
||||
width: 1500
|
||||
|
||||
} );
|
||||
</script>
|
||||
<script>
|
||||
$('#caw').select2({
|
||||
width: '100%',
|
||||
placeholder: "Pilih Cawangan",
|
||||
allowClear: true
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
$("input[name=fasa]").change(function(){
|
||||
|
||||
if($("#fasa1").is(':checked')){
|
||||
$("#jbg").val('').prop("readonly", false);
|
||||
}
|
||||
if($("#fasa2").is(':checked')){
|
||||
$("#jbg").val('12').prop("readonly", true);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user