stock changes 23-04-2025
This commit is contained in:
parent
c249f9d69d
commit
457585c5ad
@ -79,6 +79,11 @@ class Report extends BaseController
|
||||
$agt = $this->request->getPost('aging_to');
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['pending_list'] = $this->dahsboard_Model->req_list($fa, $aa, $m, $frm, $t, $agf, $agt);
|
||||
$data['givenYear'] = $ab ;
|
||||
$data['givenMonth']= $m ;
|
||||
$data['givenFrm'] = $frm ;
|
||||
$data['givenTo'] = $t;
|
||||
|
||||
//print_r($data);
|
||||
}
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
@ -105,7 +110,13 @@ class Report extends BaseController
|
||||
$agt = $this->request->getPost('total_order_value_To');
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['rel_po'] = $this->dahsboard_Model->report_relpo($fa, $aa, $m, $frm, $t, $agf, $agt);
|
||||
//print_r($data);
|
||||
|
||||
$data['givenYear'] = $ab ;
|
||||
$data['givenMonth']= $m ;
|
||||
$data['givenFrm'] = $frm ;
|
||||
$data['givenTo'] = $t;
|
||||
$data['givenAgf'] = $agf;
|
||||
$data['givenAgt'] = $agt;
|
||||
|
||||
|
||||
|
||||
@ -155,6 +166,8 @@ class Report extends BaseController
|
||||
$aa = substr((string)$ab, 5, 5);
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['Total'] = $this->dahsboard_Model->report_total($fa, $aa);
|
||||
|
||||
$data['givenYear'] = $ab ;
|
||||
}
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
|
||||
@ -318,6 +331,7 @@ class Report extends BaseController
|
||||
$b = substr((string)$ab, 5, 5);
|
||||
$data['year'] = $this->dahsboard_Model->report_year_wise($a, $b);
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['givenFinancialYear'] = $ab;
|
||||
|
||||
//$this->loadviews("Report_year_wise",$this->global,$data, NULL);
|
||||
}
|
||||
@ -377,6 +391,13 @@ class Report extends BaseController
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse'] = $this->dahsboard_Model->report_supplier($cname, $fa, $aa, $m, $frm, $t);
|
||||
$data['cname'] = $cname;
|
||||
$data['ab'] = $ab;
|
||||
$data['m'] = $m;
|
||||
$data['frm'] = $frm;
|
||||
$data['t'] = $t;
|
||||
|
||||
|
||||
}
|
||||
$data['material'] = $this->dahsboard_Model->material_name();
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
@ -400,6 +421,10 @@ class Report extends BaseController
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse'] = $this->dahsboard_Model->report_consolidate($cname, $fa, $aa);
|
||||
|
||||
$data['cname'] = $cname;
|
||||
$data['ab'] = $ab;
|
||||
|
||||
}
|
||||
$data['material'] = $this->dahsboard_Model->material_name();
|
||||
$data['cust'] = $this->dahsboard_Model->customer_name();
|
||||
|
||||
@ -52,9 +52,9 @@
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Reports</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);"></a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Requisation</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> </b></h4>
|
||||
<h4 class="page-title"><b> Order Value Released </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@ -81,13 +81,16 @@
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
foreach($finyear as $item):
|
||||
|
||||
{?>
|
||||
|
||||
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
<option
|
||||
<?php echo isset($givenYear) && $item->financial_year == $givenYear ? "selected" : "" ?>
|
||||
value="<?php echo $item->financial_year;?>">
|
||||
<?php echo $item->financial_year ; ?>
|
||||
</option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
@ -101,19 +104,17 @@
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="month" name="month">
|
||||
<option value="">Select Month</option>
|
||||
<option value="January">January</option>
|
||||
<option value="February">February</option>
|
||||
<option value="March">March</option>
|
||||
<option value="April">April</option>
|
||||
<option value="May">May</option>
|
||||
<option value="June">June</option>
|
||||
<option value="July">July</option>
|
||||
<option value="August">August</option>
|
||||
<option value="September">September</option>
|
||||
<option value="October">October</option>
|
||||
<option value="November">November</option>
|
||||
<option value="December">December</option>
|
||||
|
||||
<?php $monthArray=['January',"February","March","April",
|
||||
"May","June","July","August","September","October",
|
||||
"November","December"] ?>
|
||||
|
||||
<option value="">Select Month</option>
|
||||
<?php foreach($monthArray as $month): ?>
|
||||
<option value="<?=$month?>" <?php if(isset($givenMonth) && $givenMonth == $month){ echo 'selected'; } ?> >
|
||||
<?=$month?>
|
||||
</option>
|
||||
<?php endforeach ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -122,7 +123,8 @@
|
||||
<?php echo 'Total Order Value From'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="total_order_value_From" id="total_order_value_From" style="padding:4px;">
|
||||
<input class="form-control" name="total_order_value_From" id="total_order_value_From" style="padding:4px;"
|
||||
value="<?php echo isset($givenAgf) ? $givenAgf : "" ?>">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -131,7 +133,8 @@
|
||||
<?php echo 'Total Order Value To'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="total_order_value_To" id="total_order_value_To" style="padding:4px;">
|
||||
<input class="form-control" name="total_order_value_To" id="total_order_value_To" style="padding:4px;"
|
||||
value="<?php echo isset($givenAgt) ? $givenAgt : "" ?>">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -143,7 +146,8 @@
|
||||
<?php echo 'From Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="from_date" id="max-date" class="form-control datepicker">
|
||||
<input name="from_date" id="max-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenFrm) ? $givenFrm : "" ?>">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -152,12 +156,13 @@
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="to_date" id="min-date" class="form-control datepicker">
|
||||
<input name="to_date" id="min-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenTo) ? $givenTo : "" ?>">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3 col-md-offset-10"><br>
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -312,6 +317,7 @@ $( function() {
|
||||
dateFormat: 'dd-mm-yy',
|
||||
defaultDate: "+0d",
|
||||
changeMonth: true,
|
||||
orientation : "botttom"
|
||||
//numberOfMonths: 1
|
||||
})
|
||||
.on( "change", function() {
|
||||
@ -321,6 +327,7 @@ $( function() {
|
||||
dateFormat: 'dd-mm-yy',
|
||||
defaultDate: "+0d",
|
||||
changeMonth: true,
|
||||
orientation : "bottom"
|
||||
//numberOfMonths: 1
|
||||
})
|
||||
.on( "change", function() {
|
||||
|
||||
@ -71,8 +71,8 @@
|
||||
|
||||
<form method="post" action="<?php echo base_url('Report_consolidate'); ?>">
|
||||
|
||||
<div class="form-group has-feedback">
|
||||
<div class="col-md-4">
|
||||
<div class="row has-feedback">
|
||||
<div class="col-3">
|
||||
<label for="client_name">
|
||||
<?php echo 'Supplier'; ?>
|
||||
</label>
|
||||
@ -84,7 +84,12 @@
|
||||
|
||||
{?>
|
||||
|
||||
<option value="<?php echo $item->SupplierName;?>"><?php echo $item->SupplierName ; ?></option>
|
||||
<option
|
||||
|
||||
<?php echo isset($cname) && ($cname == $item->SupplierName) ? "selected" : "" ;
|
||||
?>
|
||||
|
||||
value="<?php echo $item->SupplierName;?>"><?php echo $item->SupplierName ; ?></option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
@ -94,7 +99,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'year'; ?>
|
||||
</label>
|
||||
@ -104,28 +109,41 @@
|
||||
<?php
|
||||
|
||||
|
||||
foreach($finyear as $item):
|
||||
foreach($finyear as $item)
|
||||
|
||||
{?>
|
||||
|
||||
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
<option
|
||||
|
||||
<?php echo (isset($ab) && $ab == ($item->financial_year) )? "selected" : "" ?>
|
||||
|
||||
value="<?php echo $item->financial_year;?>"
|
||||
|
||||
>
|
||||
|
||||
<?php echo $item->financial_year ; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
<?php } ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2">
|
||||
<br>
|
||||
<div class="col-3 ">
|
||||
<label for="">Select Value/Quantity </label>
|
||||
<br>
|
||||
<br>
|
||||
<label><input type="radio" name="colorRadio" id="value" onclick="toggleTables('2')" value="tab"> Value</label>
|
||||
|
||||
<label><input type="radio" name="colorRadio" id="qty" onclick="toggleTables('1')" value="ta" checked> Quantity</label>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-2 "><br>
|
||||
<div class="col-3 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
|
||||
@ -52,9 +52,9 @@
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Reports</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);"></a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Requisation</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> </b></h4>
|
||||
<h4 class="page-title"><b> Open Orders - Pending </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@ -123,7 +123,7 @@
|
||||
<?php echo 'Total Order Value From'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="total_order_value_From" id="total_order_value_From" style="padding:4px;">
|
||||
<input class="form-control" name="total_order_value_From" id="total_order_value_From" style="padding:4px;">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -132,7 +132,7 @@
|
||||
<?php echo 'Total Order Value To'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="total_order_value_To" id="total_order_value_To" style="padding:4px;">
|
||||
<input class="form-control" name="total_order_value_To" id="total_order_value_To" style="padding:4px;">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -160,7 +160,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3 col-md-offset-10"><br>
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
<form method="post" action="<?php echo base_url("Report_pending_purchase"); ?>">
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<label for="client_name">
|
||||
<?php echo 'Supplier'; ?>
|
||||
</label>
|
||||
@ -84,7 +84,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<label for="client_name">
|
||||
<?php echo 'Material'; ?>
|
||||
</label>
|
||||
@ -97,7 +97,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'Year'; ?>
|
||||
</label>
|
||||
@ -110,7 +110,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
@ -127,7 +127,7 @@
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="from_date">
|
||||
<?php echo 'From Date'; ?>
|
||||
</label>
|
||||
@ -135,7 +135,7 @@
|
||||
<input type="date" class="form-control" name="from_date" id="max-date" value="<?php if(isset($from_date)){ echo $from_date; } ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
@ -144,7 +144,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<label for="purchaseorder_number">
|
||||
<?php echo 'Purchase order number'; ?>
|
||||
</label>
|
||||
@ -157,8 +157,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2"></div>
|
||||
<div class="col-md-2 text-right"><br>
|
||||
<div class="col-3 text-right"><br>
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('Report_pending_purchase') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
<form method="post" action="<?php echo base_url('Report_supplier'); ?>">
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<label for="client_name">
|
||||
<?php echo 'Supplier'; ?>
|
||||
</label>
|
||||
@ -86,20 +86,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<label for="client_name">
|
||||
<?php echo 'Material'; ?>
|
||||
</label>
|
||||
<select class="form-control" id="item_name" name="item_name">
|
||||
<option value="">Select Material</option>
|
||||
<?php
|
||||
foreach ($material as $it): { ?>
|
||||
<option <?php if(isset($prod) && ($prod == $it->MaterialName)){ echo 'selected'; } ?> value="<?php echo $it->MaterialName; ?>"><?php echo $it->MaterialName; ?></option>
|
||||
<?php }
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'Year'; ?>
|
||||
</label>
|
||||
@ -112,7 +99,7 @@
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
@ -126,10 +113,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="from_date">
|
||||
<?php echo 'From Date'; ?>
|
||||
</label>
|
||||
@ -137,7 +121,11 @@
|
||||
<input type="date" class="form-control" name="from_date" id="max-date" value="<?php if(isset($frm)){ echo $frm; } ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
@ -146,8 +134,8 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6"></div>
|
||||
<div class="col-md-2 text-right"><br>
|
||||
<div class="col-6"></div>
|
||||
<div class="col-3 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
|
||||
@ -41,9 +41,9 @@
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Reports</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);"></a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Requisation</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> </b></h4>
|
||||
<h4 class="page-title"><b> Total Orders </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@ -59,25 +59,34 @@
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action=" ">
|
||||
<div class="col-md-2">
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Budget Year</option>
|
||||
<?php
|
||||
foreach($finyear as $item):
|
||||
|
||||
{?>
|
||||
|
||||
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<input type="submit" class="btn btn-success" id="year" name="btn_submit"
|
||||
value="View Report">
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<label for="">Select Budget Year </label>
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
foreach($finyear as $item):
|
||||
|
||||
{?>
|
||||
|
||||
<option
|
||||
<?php echo isset($givenYear) && $givenYear == $item->financial_year
|
||||
? "selected" : "" ?>
|
||||
|
||||
value="<?php echo $item->financial_year;?>">
|
||||
<?php echo $item->financial_year ; ?></option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-10 mt-2 text-right">
|
||||
<input type="submit" class="btn btn-success" id="year" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<table id="req" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
@ -178,4 +187,11 @@ $(document).ready(function() {
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#financialyear').select2();
|
||||
})
|
||||
|
||||
</script>
|
||||
@ -4,9 +4,8 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#client_name").select2();
|
||||
$("#item_name").select2();
|
||||
$("#purchaseorder_number").select2();
|
||||
|
||||
$("#financialyear").select2();
|
||||
|
||||
|
||||
});
|
||||
@ -56,7 +55,7 @@
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Reports</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Purchase</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> Report - Purchase </b></h4>
|
||||
<h4 class="page-title"><b> Report - Year Wise </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@ -74,18 +73,21 @@
|
||||
<form method="post" action="<?php echo base_url('Report_year_wise'); ?>">
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-2">
|
||||
<label for="financialyear"> Select Year</label>
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
foreach($finyear as $item):
|
||||
{?>
|
||||
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
<option
|
||||
<?php echo isset($givenFinancialYear) && $givenFinancialYear == $item->financial_year ? "selected" : "" ?>
|
||||
value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
<?php } endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6"></div>
|
||||
<div class="col-md-8"></div>
|
||||
<div class="col-md-2 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Reports</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Requisation</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> Pending </b></h4>
|
||||
<h4 class="page-title"><b> Pending </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@ -84,11 +84,20 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
foreach($finyear as $item):
|
||||
|
||||
{?>
|
||||
{ ; ?>
|
||||
|
||||
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
<option
|
||||
<?php echo (isset($givenYear) && $item->financial_year == $givenYear)?"selected":""; ?>
|
||||
|
||||
value="<?php echo $item->financial_year;?>"
|
||||
>
|
||||
|
||||
<?php echo $item->financial_year ; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
@ -103,19 +112,18 @@
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="month" name="month">
|
||||
|
||||
<?php $monthArray=['January',"February","March","April",
|
||||
"May","June","July","August","September","October",
|
||||
"November","December"] ?>
|
||||
|
||||
<option value="">Select Month</option>
|
||||
<option value="January">January</option>
|
||||
<option value="February">February</option>
|
||||
<option value="March">March</option>
|
||||
<option value="April">April</option>
|
||||
<option value="May">May</option>
|
||||
<option value="June">June</option>
|
||||
<option value="July">July</option>
|
||||
<option value="August">August</option>
|
||||
<option value="September">September</option>
|
||||
<option value="October">October</option>
|
||||
<option value="November">November</option>
|
||||
<option value="December">December</option>
|
||||
<?php foreach($monthArray as $month): ?>
|
||||
<option value="<?=$month?>" <?php if(isset($givenMonth) && $givenMonth == $month){ echo 'selected'; } ?> >
|
||||
<?=$month?>
|
||||
</option>
|
||||
<?php endforeach ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -151,8 +159,9 @@
|
||||
<?php echo 'From Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="from_date" id="max-date" class="form-control datepicker">
|
||||
|
||||
<input name="from_date" id="max-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenFrm) ? $givenFrm:"" ?>"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -162,13 +171,14 @@
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="to_date" id="min-date" class="form-control datepicker">
|
||||
|
||||
<input name="to_date" id="min-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenTo) ? $givenTo:"" ?>"
|
||||
>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3 "><br>
|
||||
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -260,9 +270,10 @@ $( function() {
|
||||
//var dateFormat = "mm/dd/yy",
|
||||
from = $( "#min-date" )
|
||||
.datepicker({
|
||||
dateFormat: "dd-mm-yy",
|
||||
format: "mm/dd/yyyy",
|
||||
defaultDate: "+0d",
|
||||
changeMonth: true,
|
||||
orientation:"bottom"
|
||||
//numberOfMonths: 1
|
||||
|
||||
})
|
||||
@ -270,9 +281,9 @@ $( function() {
|
||||
to.datepicker("option", "minDate", getDate( this ) );
|
||||
}),
|
||||
to = $( "#max-date" ).datepicker({
|
||||
dateFormat: "dd-mm-yy",
|
||||
defaultDate: "+0d",
|
||||
changeMonth: true,
|
||||
orientation : "bottom"
|
||||
//numberOfMonths: 1
|
||||
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user