One Hat Cyber Team
Your IP :
18.218.189.170
Server IP :
104.21.112.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:
9e85c1dfb9ba07f6a9b472acd49866db.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"> <?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">Add Expense</h3> </div> </div> </section> <div class="box-typical box-typical-padding"> <form action="<?php echo e(route('store-expense')); ?>" method="post" id="expense_form"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Amount</label> <input type="text" name="amount" class="form-control" id="amount" required value="<?php echo e($amount); ?>"> <input type="hidden" name="reference" value="<?php echo e($reference); ?>"/> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Select Head</label> <select required class="form-control" name="header" id="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($type == 'purchase_order' && $header->name == 'Product Purchase'): ?> selected <?php endif; ?> ><?php echo e($header->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </fieldset> </div> <div class="col-lg-6"> <label class="form-label semibold" for="exampleInput">Transaction Date</label> <div class='input-group date'> <input required type="text" readonly id="transaction_date" class="form-control" name="transaction_date"> <span class="input-group-addon"> <i class="font-icon font-icon-calend"></i> </span> </div> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Narration</label> <input type="text" name="comments" class="form-control" id="narration"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Payment Mode</label> <select required class="form-control" name="payment_mode"> <option name="bank">Bank</option> <option name="cash">Cash</option> </select> </fieldset> </div> </div><!--.row--> <div class="row m-t"> <div class="col-lg-12"> <button type="submit" name="add_sale" id="add_expense_btn" class="btn btn-inline btn-success p-x-3 p-y">Submit </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() { $( "#transaction_date" ).datepicker({ dateFormat: "yy-mm-dd", minDate: 0 }); }); $('body').on('click', '#add_expense_btn', function(){ let header = $('#header').val(); let amount = $('#amount').val(); let date = $('#transaction_date').val(); let narration = $('#narration').val(); if(header && amount && date && narration) { $('#expense_form').submit(); $(this).prop('disabled', true) } }); </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/expense.blade.php ENDPATH**/ ?>
Simpan