M1n1 Shira0ka File Manager
<?php $__env->startSection('content'); ?>
<h2>Ajouter un abonnement pour <?php echo e($member->lastname . ' ' . $member->firstname); ?></h2>
<?php echo Form::open(['method' => 'post', 'url' => route('edit_store_subscription', $sub)]); ?>
<input name="member_id" type="text" value="<?php echo e($member->id); ?>" style="display:none" />
<div class="form-group">
<div class="input-group input-daterange">
<input placeholder="Date de début" name="date_start" type="text" class="form-control" value="<?php echo e($sub->get_date_start_slash()); ?>" />
<div id="trait" class="input-group-addon" style="padding-top: 8px;"> au </div>
<input placeholder="Date de fin" name="date_end" type="text" class="form-control" value="<?php echo e($sub->get_date_end_slash()); ?>" />
</div>
<br/>
<?php echo Form::label('cost', 'Prix (Rps)'); ?>
<?php echo Form::text('cost', $sub->cost, ['class' => 'form-control']); ?>
<?php echo Form::label('credit', 'Reste à payer (Rps)'); ?>
<?php echo Form::text('credit', $sub->credit, ['class' => 'form-control']); ?>
</div>
<button class="btn btn-primary">Modifier</button>
<?php echo Form::close(); ?>
<script type="application/javascript">
$(document).ready(function() {
$("input[name='date_start']").datepicker({
'language': 'fr'
});
$("input[name='date_end']").datepicker({
language: 'fr',
startDate :'<?php echo e($sub->get_date_start()); ?>',
endDate : ''
});
$("input[name='date_start']").change(function() {
$("input[name='date_end']").datepicker({
startDate :$("input[name='date_start']").val(),
});
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\WWW\bullgym\resources\views/subscriptions_edit.blade.php ENDPATH**/ ?>
GO Party By You