fixes : ps
This commit is contained in:
parent
91a4183a50
commit
abc4802723
@ -59,7 +59,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<?php $today = date('M-Y'); ?>
|
||||
<input type="text" name="month_year" id="month_year" value="<?php echo $datefordropdown; ?>" class="form-control" data-provide="datepicker" data-date-format="M-yyyy" data-date-min-view-mode="1">
|
||||
<input type="text" value="<?php echo $datefordropdown; ?>" name="month_year" class="form-control monthpicker" id="month_year">
|
||||
<input type="hidden" name="gobal_driver_id" id="gobal_driver_id" value="<?php echo $gobal_driver_id; ?>" >
|
||||
</div>
|
||||
|
||||
@ -85,7 +85,6 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
<tr>
|
||||
<th>Create Date</th>
|
||||
<th>Create By</th>
|
||||
<th>Driver Name</th>
|
||||
<th>Date</th>
|
||||
<th>Invoice Number</th>
|
||||
<th>Customer</th>
|
||||
@ -111,7 +110,6 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
<tr>
|
||||
<td><?= esc($date) ?></td>
|
||||
<td><?= esc($record['FullName']) ?></td>
|
||||
<td><?= esc($record['driver_name']) ?></td>
|
||||
<td><?= esc($attdate) ?></td>
|
||||
<td><?= esc($record['invoice_number']) ?></td>
|
||||
<td><?= esc($record['customer']) ?></td>
|
||||
@ -267,10 +265,17 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>public/assets/js/common.js" charset="utf-8"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"></script>
|
||||
<script>
|
||||
$('#month_year').datepicker({
|
||||
format: 'M-yyyy',
|
||||
viewMode: 'months',
|
||||
minViewMode: 'months',
|
||||
autoclose: true,
|
||||
orientation: 'bottom'
|
||||
})
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$('#month_year').attr('class', 'form-control');
|
||||
|
||||
function isNumber(evt) {
|
||||
|
||||
//alert("hi");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user