Sh3ll
OdayForums


Server : Apache
System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User : tradze ( 1001)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/tradze/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/public_html/storage/framework/views/4efe02668f6899f055a4fb3f530896c673bc637b.php
<?php $__env->startSection('title'); ?>
    <?php echo $page_title; ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('css_page'); ?>
    <link href="<?php echo e(asset('/themes/admin/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css')); ?>" rel="stylesheet">
<?php $__env->stopSection(); ?>



<?php $__env->startSection('content'); ?>

    <!-- BEGIN PAGE HEADER-->
    <div class="page-bar">
        <ul class="page-breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="#">Home</a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"><?php echo e(trans('invoices::invoice.breadcrumbs_title')); ?></a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"><?php echo e(trans('invoices::invoice.page_title')); ?></a>
            </li>
        </ul>
    </div>
    <!-- END PAGE HEADER-->

    <!--display messaged-->
    <?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!--/ display messaged-->

    <div class="row">
        <div class="col-md-12">
            <div class="portlet">
                <div class="portlet-title">
                    <div class="caption">
                        <?php echo e(trans('invoices::invoice.page_title')); ?>

                    </div>
                </div>
                <div class="portlet-body">

                    <!--filters-->
                    <?php echo Form::open(array('url' => route('admin.invoices.search'), 'method' => 'post' ,'id'=>'search')); ?>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row">
                                <div class="col-md-6">
                                    <?php echo Form::text('search_series', @($filters['search_series'])?:null, ['class'=>'form-control','placeholder'=>trans('invoices::invoice.search_by_series')]); ?>

                                </div>
                                <div class="col-md-6">
                                    <?php echo Form::text('search_number', @($filters['search_number'])?:null, ['class'=>'form-control','placeholder'=>trans('invoices::invoice.search_by_number')]); ?>

                                </div>
                            </div>

                        </div>
                        <div class="col-md-3">

                            <div class="row">
                                <div class="col-md-6">
                                    <div class="input-group date date-picker margin-bottom-5" data-date-format="dd/mm/yyyy">
                                        <?php echo Form::text('search_date_from', @($filters['search_date_from'])?:null, ['class'=>'form-control', 'readonly'=>"", 'placeholder'=>trans('schedules::booking.search_by_order_date_from')]); ?>

                                        <span class="input-group-btn">
											<button class="btn default" type="button"><i class="fa fa-calendar"></i></button>
                                        </span>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="input-group date date-picker margin-bottom-5" data-date-format="dd/mm/yyyy">
                                        <?php echo Form::text('search_date_to', @($filters['search_date_to'])?:null, ['class'=>'form-control', 'readonly'=>"", 'placeholder'=>trans('schedules::booking.search_by_order_date_to')]); ?>

                                        <span class="input-group-btn">
											<button class="btn default" type="button"><i class="fa fa-calendar"></i></button>
                                        </span>
                                    </div>
                                </div>
                            </div>

                        </div>
                        <div class="col-md-3">
                            <?php echo Form::select('search_account', $search['accounts'], @($filters['search_account'])?:null, ['class'=>'form-control select2']); ?>

                        </div>
                    </div>

                    <div class="row margin-top-5"></div>

                    <div class="row" style="margin-top:5px;">
                        <div class="col-md-6">
                            <button class="btn blue-madison btn-sm col-md-12" name="search" value="search"><i class="icon-magnifier"></i> <?php echo e(strtoupper(trans('general.action_search'))); ?></button>
                        </div>
                        <div class="col-md-6">
                            <button class="btn btn-sm col-md-12" name="reset" value="reset"><i class="fa fa-times"></i> <?php echo e(strtoupper(trans('general.action_reset'))); ?></button>
                        </div>
                    </div>
                    <?php echo Form::close(); ?>

                    <hr/>
                    <!--end filters-->

                    <div class="container-fluid">
                        <div class="row">
                            <table class="table table-striped table-bordered table-hover" id="table">
                                <thead>
                                <tr class="heading">
                                    <th width="20%"><?php echo e(trans('invoices::invoice.col_account')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_series')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_number')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_date')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_duedate')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_amount')); ?></th>
                                    <th width="5%"><?php echo e(trans('invoices::invoice.col_payments')); ?></th>
                                    <th width="5%"><?php echo e(trans('invoices::invoice.col_status')); ?></th>
                                    <th width="10%"><?php echo e(trans('invoices::invoice.col_actions')); ?></th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--modal payment-->
    <?php echo $__env->make('invoices::admin.invoices.partial_add_payment', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!--end modal payment-->

<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_page_plugins'); ?>
    <script src="<?php echo e(asset('/themes/admin/assets/global/scripts/datatable.js')); ?>" type="text/javascript"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_page2'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_custom'); ?>
    Demo.init();
<?php $__env->stopSection(); ?>


<?php $__env->startSection('scripts_custom2'); ?>
    <script>
        $(document).ready(function()
        {
            var CSRF_TOKEN = $('input[name="_token"]').val();

            $(".select2").select2();
            $(".select2filter").select2({
                placeholder: 'Tag-uri'
            });
            $('.date-picker').datepicker({
                orientation: "left",
                autoclose: true,
                format: 'yyyy-mm-dd',
            });

            //datatable
            var grid = new Datatable();

            grid.init({
                src: $("#table"),
                onSuccess: function (grid) {
                    // execute some code after table records loaded
                },
                onError: function (grid) {
                    // execute some code on network or other general error
                },
                onDataLoad: function(grid) {
                    // execute some code on ajax data load
                    $('.form_meridian_datetime').datepicker();

                    $(".popovers").popover({
                        container: 'body'
                    });
                    $(".tooltips").tooltip();
                },
                loadingMessage: 'Loading...',
                dataTable: { // here you can define a typical datatable settings from http://datatables.net/usage/options

                    // Uncomment below line("dom" parameter) to fix the dropdown overflow issue in the datatable cells. The default datatable layout
                    // setup uses scrollable div(table-scrollable) with overflow:auto to enable vertical scroll(see: assets/global/scripts/datatable.js).
                    // So when dropdowns used the scrollable div should be removed.
                    //"dom": "<'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'<'table-group-actions pull-right'>>r>t<'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'>>",
                    sDom: '"top"i',

                    "bStateSave": true, // save datatable state(pagination, sort, etc) in cookie.
                    columns: [
                        { data: 'account_id', name: 'account_id' },
                        { data: 'prefix', name: 'prefix' },
                        { data: 'number', name: 'number' },
                        { data: 'inv_date', name: 'inv_date' },
                        { data: 'inv_duedate', name: 'inv_duedate' },
                        { data: 'amount', name: 'amount' },
                        { data: 'payments', name: 'payments' },
                        { data: 'status', name: 'status' },
                        { data: 'actions', name: 'actions' },
                    ],
                    "lengthMenu": [
                        [10, 20, 50],
                        [10, 20, 50] // change per page values here
                    ],
                    "pageLength": 20, // default record count per page
                    "ajax": {
                        "url": '<?php echo route('admin.invoices.data'); ?>', // ajax source
                        "beforeSend": function(){
                            $("#table ").find('tbody').html("<tr><td align='center' colspan='10' class='bold'><i class='fa fa-spinner fa-spin'></i> <?php echo e(trans('general.action_is_loading')); ?></td></tr>");
                        },
                    },
                    "bSort": false,
                }
            });

            //delete payment
            $(document).on('click','.payment_delete', function(e){
                e.preventDefault();
                var url = $(this).attr('url');
                var id = $(this).attr('id');

                $.ajax({
                    url: url,
                    headers: {'X-CSRF-TOKEN': CSRF_TOKEN},
                    type: 'post',
                    dataType: 'json',
                    data: {'id':id},
                    beforeSend : function(){
                    },
                    error: function(data) {
                        console.log('action error');
                    },
                    success: function(data) {
                        //scroll top
                        $("body").scrollTop();

                        //refresh the page
                        location.reload(true);
                    }
                }); //end ajax
            });
            //end delete payment

            /*send mail*/
            $(document).on('submit','.form_inv_mail', function(e){
                e.preventDefault();
                var url = $(this).attr('action');
                var invId = $(this).attr('inv_id');
                var $html = $(this);


                $.ajax({
                    url: url,
                    type: 'post',
                    dataType: 'json',
                    data: $(this).serialize(),
                    beforeSend : function(){
                        $html.find('.modal_mail_err').text('');
                        $html.find('.modal_mail_err').hide();
                    },
                    error: function(data) {
                        var response = jQuery.parseJSON(data.responseText);
                        $html.find('.modal_mail_err').text('');
                        $html.find('.modal_mail_err').removeClass('hidden');
                        $.each(response,function(index,value){
                            $html.find('.modal_mail_err').append('<div>'+value[0]+'</div>');
                        });
                        $html.find('.modal_mail_err').show();
                    },
                    success: function(data) {
                        $("#actions_"+invId).append("<i class='icon icon-envelope-open tooltips' title='<?php echo e(trans("invoices::invoices.info_invoice_sent_by_email")); ?>'></i>");
                        $(".tooltips").tooltip();

                        $html.find('.modal-body').html('<div class="alert alert-success">'+data.message+'</div>');
                        $html.find('.modal-footer').remove();
                    }
                }); //end ajax
            });

        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('invoices::layouts.invoice_list', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradze/public_html/app/Modules/Invoices/Resources/Views/admin/invoices/index.blade.php ENDPATH**/ ?>

ZeroDay Forums Mini