m3 Security Fixes
This commit is contained in:
@@ -13,16 +13,16 @@ Solon Sentinel Portal
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<form>
|
||||
@csrf
|
||||
@csrf
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="inputEmail" class="col-sm-2 col-form-label">Date Range</label>
|
||||
<div class="col-sm-10">
|
||||
<input value="{{ $starting }} - {{ $ending }}" id="text" name="dates" type="text" aria-describedby="textHelpBlock" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="inputWhs" class="col-sm-2 col-form-label">Warehouse</label>
|
||||
@@ -30,13 +30,13 @@ Solon Sentinel Portal
|
||||
<select name="whs" class="form-control">
|
||||
<option value="*ALL">*ALL</option>
|
||||
@foreach($whs_array as $key)
|
||||
<option value={{$key}}
|
||||
<option value={{$key}}
|
||||
@if($whs==$key) selected @endif
|
||||
>{{$key}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-xs-offset-2 col-xs-10">
|
||||
@@ -58,7 +58,7 @@ Solon Sentinel Portal
|
||||
{{($key=="IC")?'INTERCO':'EXTERNAL'}}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container{{($key=='IC')?'1':'2'}}"></div>
|
||||
</figure>
|
||||
@@ -112,7 +112,7 @@ if (s1 > s2){
|
||||
|
||||
@foreach ($data as $key=>$value)
|
||||
var data{{$key}} = [
|
||||
{id: '0.0',parent: '', name: 'Total', value: '{{ $data[$key]['total'] }}'},
|
||||
{id: '0.0',parent: '', name: 'Total', value: '{{ $data[$key]['total'] }}'},
|
||||
{ id: '1.1', parent: '0.0', name: 'Held', value: '{{ $data[$key]['HLD'] }}'},
|
||||
{ id: '1.1.1', parent: '1.1', name: 'Financial Hold', value: '{{ $data[$key]['FinHld'] }}'},
|
||||
{ id: '1.1.1.1', parent: '1.1.1', name: 'Reserved', value: '{{ $data[$key]['FHResPick'] }}'},
|
||||
@@ -142,7 +142,7 @@ title: { text: 'Interco Chart'},
|
||||
series: [{
|
||||
type: 'sunburst',
|
||||
data: dataIC,
|
||||
|
||||
|
||||
allowDrillToNode: true,
|
||||
cursor: 'pointer',
|
||||
dataLabels: {
|
||||
@@ -199,7 +199,7 @@ title: { text: 'External Chart' },
|
||||
series: [{
|
||||
type: 'sunburst',
|
||||
data: dataEX,
|
||||
|
||||
|
||||
allowDrillToNode: true,
|
||||
cursor: 'pointer',
|
||||
dataLabels: {
|
||||
@@ -249,7 +249,7 @@ tooltip: {
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
// Date range init
|
||||
@@ -272,6 +272,6 @@ tooltip: {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user