
<?php $__env->startSection('breadcrumb-first', $breadcrumb->first); ?>
<?php $__env->startSection('breadcrumb-second', $breadcrumb->second); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
	<div class="col-lg-12">
		<div class="card m-b-30">
			<div class="card-body">
                <h4 class="header-title text-uppercase mb-3">
					<i class="fa fa-table"></i> Laporan <?php echo e(\Carbon\Carbon::parse($start_date)->translatedFormat('d F Y')); ?> sampai dengan <?php echo e(\Carbon\Carbon::parse($end_date)->translatedFormat('d F Y')); ?>

                </h4>
				<form method="get">
                    <div class="row">
                        <div class="form-group col-lg-6">
                            <label>Tanggal Mulai</label>
                            <div class="input-group">							
                                <input type="text" class="form-control datepicker-autoclose <?php $__errorArgs = ['start_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" autocomplete="off" name="start_date" id="datepicker-autoclose" data-provide="datepicker" data-date-autoclose="true" placeholder="yyyy-mm-dd" value="<?php echo e(old('start_date') ?? date('d F Y', strtotime($start_date))); ?>">
                                <span class="input-group-prepend last">
                                    <button class="btn btn-success" type="submit"><i class="fa fa-filter"></i></button>
                                </span>
                                <?php $__errorArgs = ['start_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="invalid-feedback">
                                    <?php echo e($message); ?>

                                </div>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group col-lg-6">
                            <label>Tanggal Berakhir <?php echo e(old('end_date')); ?></label>
                            <div class="input-group">							
                                <input type="text" class="form-control datepicker-autoclose <?php $__errorArgs = ['end_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" autocomplete="off" name="end_date" id="datepicker-autoclose" data-provide="datepicker" data-date-autoclose="true" placeholder="yyyy-mm-dd" value="<?php echo e(old('end_date') ?? date('d F Y', strtotime($end_date))); ?>">
                                <span class="input-group-prepend last">
                                    <button class="btn btn-success" type="submit"><i class="fa fa-filter"></i></button>
                                </span>
                                <?php $__errorArgs = ['end_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="invalid-feedback">
                                    <?php echo e($message); ?>

                                </div>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                    </div>
				</form>
			</div>
		</div>
	</div>
	<div class="col-lg-12">
		<div class="card m-b-30">
			<div class="card-body">
				<div class="table-responsive">
					<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap">
						<thead>
							<tr>
								<th class="text-uppercase">Total</th>
								<th class="text-uppercase">Pending</th>
								<th class="text-uppercase">Canceled</th>
								<th class="text-uppercase">Success</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>Rp <?php echo e(number_format($deposits['all']->amount,0,',','.')); ?> (<?php echo e(number_format($deposits['all']->total,0,',','.')); ?>)</td>
								<td>Rp <?php echo e(number_format($deposits['pending']->amount,0,',','.')); ?> (<?php echo e(number_format($deposits['pending']->total,0,',','.')); ?>)</td>
								<td>Rp <?php echo e(number_format($deposits['canceled']->amount,0,',','.')); ?> (<?php echo e(number_format($deposits['canceled']->total,0,',','.')); ?>)</td>
								<td>Rp <?php echo e(number_format($deposits['success']->amount,0,',','.')); ?> (<?php echo e(number_format($deposits['success']->total,0,',','.')); ?>)</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/glor5228/public_html/resources/views/admin/deposit/deposit/report.blade.php ENDPATH**/ ?>