stock changes 23-04-2025
This commit is contained in:
parent
9b22bf3969
commit
3c4c52fa3a
@ -187,6 +187,7 @@ class Report extends BaseController
|
||||
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$data['ccrpt'] = $this->dahsboard_Model->report_ccr($fa, $aa);
|
||||
$data['ab'] = $ab;
|
||||
}
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
|
||||
@ -1079,6 +1080,11 @@ class Report extends BaseController
|
||||
|
||||
$data['monthly_gst_purchase'] = $this->dahsboard_Model->monthly_gst_purchase($m, $frm, $t, $fa, $aa);
|
||||
$data['monthly_gst_sales'] = $this->dahsboard_Model->monthly_gst_sales($m, $frm, $t, $fa, $aa);
|
||||
|
||||
$data['m'] = $m;
|
||||
$data['frm']= $frm;
|
||||
$data['t'] = $t;
|
||||
$data['ab']= $ab;
|
||||
}
|
||||
$data['finyear'] = $this->dahsboard_Model->report_finyear();
|
||||
$this->loadviews("Report_monthly_gst", $this->global, $data, NULL);
|
||||
|
||||
@ -163,6 +163,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('releasedpo') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -241,6 +242,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -144,6 +144,7 @@
|
||||
|
||||
|
||||
<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_consolidate') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -435,6 +436,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -1,92 +1,109 @@
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#client_name").select2();
|
||||
$("#item_name").select2();
|
||||
$("#purchaseorder_number").select2();
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
.dataTables_filter input {padding: 4px;}
|
||||
|
||||
table{
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.dataTables_filter input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
/* width: 50%; */
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
/* float: right; */
|
||||
|
||||
}
|
||||
.buttons-text {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
|
||||
}
|
||||
.btn-success {
|
||||
background-color: #00d976;;
|
||||
border-color: #00d976;;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="row" style="min-height: 600px;">
|
||||
<!-- Left col -->
|
||||
<div class="col-md-12">
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info">
|
||||
<div class="box-header with-border">
|
||||
<center><h3 class="box-title"><p style="color: #00d976;"><b>Report - Cost Center</b><br><br>
|
||||
<?php
|
||||
|
||||
if($this->input->post('financialyear')){
|
||||
$ab=$this->input->post('financialyear');
|
||||
echo '('.$ab.')';
|
||||
}
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<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> Financial Reports</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> Cost Center </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
?></p></h3></center>
|
||||
<div class="col-xs-12 col-md-4 col-md-offset-4">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<!-- <form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;"> -->
|
||||
|
||||
|
||||
<center>
|
||||
<div class="panel-body">
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action=" ">
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<label for="">Budget year</label>
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Budget Year</option>
|
||||
<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($ab) && $ab == $item->financial_year ? "selected" : " "; ?>
|
||||
value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
<?php
|
||||
}
|
||||
endforeach;
|
||||
?>
|
||||
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
|
||||
<div class="col-10 mt-2 text-right">
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('Report_costcenter') ?>';">
|
||||
<input type="submit" class="btn btn-success" id="year" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</center>
|
||||
<table id="cc" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="cc" style="font-size:12px;">
|
||||
<!-- <table class="table table-bordered table-hover" id="asset_list_table" style="background-color:#fff;font-size:12px;"> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Cost Center Code</th>
|
||||
@ -96,7 +113,6 @@
|
||||
<th>Budget Year</th>
|
||||
<th>Utilized Amount (₹)</th>
|
||||
<th>Balance Amount (₹)</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -118,19 +134,30 @@
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div> <!-- container -->
|
||||
</div> <!-- content -->
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
|
||||
@ -147,40 +174,42 @@
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
|
||||
$(document).ready(function() {
|
||||
table = $('#cc').DataTable( {
|
||||
"language": {
|
||||
"emptyTable":"<center> Data Not Found ! </center>"
|
||||
},
|
||||
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
|
||||
{
|
||||
extend: 'excelHtml5',
|
||||
footer: 'true',
|
||||
//messageTop: $('h3').text(),
|
||||
title: $('h3').text(),
|
||||
exportOptions: {
|
||||
columns: ':visible'
|
||||
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
},
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
info: false, // Disable table information
|
||||
lengthChange: false, // Disable page length options
|
||||
pageLength: 10, // Default rows per page
|
||||
responsive: true, // Keep responsive design
|
||||
language: {
|
||||
paginate: {
|
||||
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
'colvis'
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
$('#mySelect').on('change',function(){
|
||||
|
||||
table
|
||||
.column(4)
|
||||
.search(this.value)
|
||||
.draw();
|
||||
});
|
||||
|
||||
function Reset()
|
||||
{
|
||||
$('#mySelect').val('');
|
||||
|
||||
@ -1,88 +1,83 @@
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#client_name").select2();
|
||||
$("#item_name").select2();
|
||||
$("#purchaseorder_number").select2();
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
.dataTables_filter input {padding: 4px;}
|
||||
|
||||
table{
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.dataTables_filter input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
/* width: 50%; */
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
/* float: right; */
|
||||
|
||||
}
|
||||
.btn-success {
|
||||
background-color: #00d976;;
|
||||
border-color: #00d976;;
|
||||
}
|
||||
th, td { white-space: nowrap; }
|
||||
.dataTable > thead > tr > th[class*="sort"]:after{
|
||||
content: "" !important;
|
||||
}
|
||||
|
||||
table.dataTable thead > tr > th.sorting_asc,
|
||||
table.dataTable thead > tr > th.sorting_desc,
|
||||
table.dataTable thead > tr > th.sorting,
|
||||
table.dataTable thead > tr > td.sorting_asc,
|
||||
table.dataTable thead > tr > td.sorting_desc,
|
||||
table.dataTable thead > tr > td.sorting {
|
||||
padding-right: inherit;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="row" style="min-height: 600px;">
|
||||
<!-- Left col -->
|
||||
<div class="col-md-12">
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info">
|
||||
<div class="box-header with-border">
|
||||
<center><h3 class="box-title"><p style="color: #00d976;"><b>Report - Monthly GST</b>
|
||||
<br><br>
|
||||
<?php
|
||||
if($this->input->post('financialyear')){
|
||||
$ab=$this->input->post('financialyear');
|
||||
echo '('.$ab.')';
|
||||
echo ' ';
|
||||
|
||||
}
|
||||
if($this->input->post('month')){
|
||||
$m=$this->input->post('month');
|
||||
echo '('.$m.')';
|
||||
echo ' ';
|
||||
}
|
||||
if($this->input->post('from_date') && $this->input->post('to_date')){
|
||||
$frm = $this->input->post('from_date');
|
||||
$t = $this->input->post('to_date');
|
||||
echo $frm.'-to-'.$t;
|
||||
}
|
||||
|
||||
?>
|
||||
</p></h3></center>
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<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 active">
|
||||
<h4 class="page-title"><b> Monthly GST Summary Reports </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
|
||||
<div class="panel-body">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<!-- <form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;"> -->
|
||||
|
||||
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action="<?php echo base_url('Report_monthly_gst'); ?>">
|
||||
|
||||
<div class="form-group has-feedback">
|
||||
<div class="col-md-2">
|
||||
<div class="row">
|
||||
<div class="col-md-3 ">
|
||||
<label for="to_date">
|
||||
<?php echo 'Year'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
@ -92,77 +87,75 @@ table.dataTable thead > tr > td.sorting {
|
||||
|
||||
{?>
|
||||
|
||||
<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; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</d>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="from_date">
|
||||
<?php echo 'From Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="from_date" id="max-date" class="form-control datepicker">
|
||||
<span class="input-group-addon">
|
||||
<i class="fa fa-calendar fa-fw"></i>
|
||||
</span>
|
||||
<input name="from_date" id="max-date" class="form-control datepicker"
|
||||
value="<?php echo isset($frm) ? $frm : "" ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="to_date" id="min-date" class="form-control datepicker">
|
||||
<span class="input-group-addon">
|
||||
<i class="fa fa-calendar fa-fw"></i>
|
||||
</span>
|
||||
<input name="to_date" id="min-date" class="form-control datepicker"
|
||||
value="<?php echo isset($t) ? $t : "" ?>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-3">
|
||||
<label for="month">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<?php
|
||||
$months = [
|
||||
"January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December"
|
||||
];
|
||||
?>
|
||||
|
||||
<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 foreach ($months as $month): ?>
|
||||
<option value="<?= $month ?>" <?= (isset($m) && $m == $month) ? 'selected' : '' ?>>
|
||||
<?= $month ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2"><br><br>
|
||||
<input type="submit" class="btn btn-success" name="btn_submit" style="margin-top: -14px;margin-bottom: 28px;"
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col text-right"><br><br>
|
||||
<input type="button" class="btn btn-danger mb-4" value="Reset" onclick="window.location.href='<?= base_url('Report_monthly_gst') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit" style="margin-top: -14px;margin-bottom: 26px;"
|
||||
value="View Report">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
<table id="cc" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box-body">
|
||||
<div class = "table-responsive">
|
||||
<center><table class="table table-bordered" id="cc" width="70%" style="font-size:12px !important;">
|
||||
<!-- <table class="table table-bordered table-hover" id="asset_list_table" style="background-color:#fff;font-size:12px;"> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center">Name</th>
|
||||
@ -174,10 +167,7 @@ table.dataTable thead > tr > td.sorting {
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$m=$this->input->post('month');
|
||||
$frm=$this->input->post('from_date');
|
||||
$t=$this->input->post('to_date');
|
||||
$ab=$this->input->post('financialyear');
|
||||
|
||||
if(!empty($monthly_gst_purchase) and !empty($monthly_gst_sales)){ ?>
|
||||
|
||||
<tr>
|
||||
@ -221,64 +211,58 @@ table.dataTable thead > tr > td.sorting {
|
||||
echo round($total_net,2);?></span></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
<!--<tr>
|
||||
<td style="text-align:center;"><strong>Total</strong></td>
|
||||
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
// <?php
|
||||
// {
|
||||
// echo number_format($tot_pac,2,'.','');
|
||||
|
||||
// }
|
||||
|
||||
// ?>
|
||||
</strong></td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
// <?php
|
||||
// {
|
||||
// echo number_format($tot_inc,2,'.','');
|
||||
|
||||
// }
|
||||
|
||||
// ?>
|
||||
</strong></td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
// <?php
|
||||
// {
|
||||
// echo number_format($tot_tot,2,'.','');
|
||||
|
||||
// }
|
||||
|
||||
// ?>
|
||||
</strong></td>
|
||||
|
||||
|
||||
|
||||
</tr>-->
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- container -->
|
||||
</div> <!-- content -->
|
||||
</div>
|
||||
|
||||
</table></center>
|
||||
<div class="col-md-2" style="float: right;">
|
||||
<form>
|
||||
<a href="<?= base_url() ?>report/monthly_gst_table?m=<?php echo $m;?>&frm=<?php echo $frm;?>&t=<?php echo $t;?>&financialyear=<?php echo $ab;?>"><input style="width: 100px; padding: 10px; cursor: pointer; box-shadow: 6px 6px 5px; #999; -webkit-box-shadow: 6px 6px 5px #999; -moz-box-shadow: 6px 6px 5px #999; font-weight: bold; background: #00d976;; color: #000; border-radius: 10px; border: 1px solid #999; font-size: 100%;" type="button" value="View details"/></a>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||
<script>
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
info: false, // Disable table information
|
||||
lengthChange: false, // Disable page length options
|
||||
pageLength: 10, // Default rows per page
|
||||
responsive: true, // Keep responsive design
|
||||
language: {
|
||||
paginate: {
|
||||
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -376,5 +360,3 @@ $(document).ready(function() {
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -161,6 +161,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('openOrder') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
|
||||
@ -242,6 +243,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -350,6 +350,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
<form method="post" action="<?php echo base_url('Report_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($frm)){ echo $frm; } ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<label for="to_date">
|
||||
<?php echo 'To Date'; ?>
|
||||
</label>
|
||||
@ -144,8 +144,9 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6"></div>
|
||||
<div class="col-md-2 text-right"><br>
|
||||
<div class="col-3"></div>
|
||||
<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_purchase') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -425,6 +426,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -136,6 +136,7 @@
|
||||
</div>
|
||||
<div class="col-6"></div>
|
||||
<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_supplier') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -260,6 +261,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -74,7 +74,8 @@
|
||||
? "selected" : "" ?>
|
||||
|
||||
value="<?php echo $item->financial_year;?>">
|
||||
<?php echo $item->financial_year ; ?></option>
|
||||
<?php echo $item->financial_year ; ?>
|
||||
</option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
@ -82,6 +83,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-10 mt-2 text-right">
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('TotalOrder') ?>';">
|
||||
<input type="submit" class="btn btn-success" id="year" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -154,39 +156,34 @@
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||
|
||||
<script>
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"language": {
|
||||
"emptyTable": "<center> Data Not Found ! </center>"
|
||||
},
|
||||
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#req').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
|
||||
{
|
||||
extend: 'excelHtml5',
|
||||
footer: 'true',
|
||||
//messageTop: $('h3').text(),
|
||||
title: $('h3').text(),
|
||||
exportOptions: {
|
||||
columns: ':visible'
|
||||
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
info: false, // Disable table information
|
||||
lengthChange: false, // Disable page length options
|
||||
pageLength: 10, // Default rows per page
|
||||
responsive: true, // Keep responsive design
|
||||
language: {
|
||||
paginate: {
|
||||
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
'colvis'
|
||||
]
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
||||
@ -89,6 +89,7 @@
|
||||
</div>
|
||||
<div class="col-md-8"></div>
|
||||
<div class="col-md-2 text-right"><br>
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('Report_year_wise') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -202,6 +203,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
@ -14,7 +11,6 @@
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
table {
|
||||
width: auto;
|
||||
}
|
||||
@ -85,22 +81,20 @@
|
||||
|
||||
|
||||
|
||||
foreach($finyear as $item):
|
||||
|
||||
{ ; ?>
|
||||
foreach ($finyear as $item): {; ?>
|
||||
|
||||
<option
|
||||
<?php echo (isset($givenYear) && $item->financial_year == $givenYear) ? "selected" : ""; ?>
|
||||
|
||||
value="<?php echo $item->financial_year;?>"
|
||||
>
|
||||
value="<?php echo $item->financial_year; ?>">
|
||||
|
||||
<?php echo $item->financial_year; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php } endforeach; ?>
|
||||
<?php }
|
||||
endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
@ -113,13 +107,26 @@
|
||||
<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"] ?>
|
||||
<?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'; } ?> >
|
||||
<option value="<?= $month ?>" <?php if (isset($givenMonth) && $givenMonth == $month) {
|
||||
echo 'selected';
|
||||
} ?>>
|
||||
<?= $month ?>
|
||||
</option>
|
||||
<?php endforeach ?>
|
||||
@ -160,8 +167,7 @@
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="from_date" id="max-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenFrm) ? $givenFrm:"" ?>"
|
||||
>
|
||||
value="<?php echo isset($givenFrm) ? $givenFrm : "" ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -172,13 +178,13 @@
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input name="to_date" id="min-date" class="form-control datepicker"
|
||||
value="<?php echo isset($givenTo) ? $givenTo:"" ?>"
|
||||
>
|
||||
value="<?php echo isset($givenTo) ? $givenTo : "" ?>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 text-right"><br>
|
||||
<input type="button" class="btn btn-danger m-2" value="Reset" onclick="window.location.href='<?= base_url('reportpending') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
@ -202,11 +208,11 @@
|
||||
<tbody>
|
||||
|
||||
<?php if (!empty($pending_list)) {
|
||||
foreach($pending_list as $lis)
|
||||
{
|
||||
foreach ($pending_list as $lis) {
|
||||
?>
|
||||
<tr>
|
||||
<!-- <td><span><?php //$date = new DateTime($lis->ReqDate);echo $date->format('d-m-Y'); ?></span></td>-->
|
||||
<!-- <td><span><?php //$date = new DateTime($lis->ReqDate);echo $date->format('d-m-Y');
|
||||
?></span></td>-->
|
||||
<td><span><?php echo $lis->ReqDate ?></span></td>
|
||||
<td><span><?php echo $lis->ReqNo ?></span></td>
|
||||
<td><span><?php echo $lis->Requestedby ?></span></td>
|
||||
@ -217,7 +223,6 @@
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
@ -249,6 +254,13 @@
|
||||
$(document).ready(function() {
|
||||
// Initialize the DataTable with only pagination enabled
|
||||
var table = $('#cc').DataTable({
|
||||
dom: 'Blfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'excel',
|
||||
text: 'Excel',
|
||||
}
|
||||
],
|
||||
paging: true, // Enable pagination
|
||||
searching: true, // Disable search
|
||||
ordering: false, // Disable column sorting
|
||||
@ -351,8 +363,7 @@ $.fn.dataTable.ext.search.push(
|
||||
if ((isNaN(min) && isNaN(max)) ||
|
||||
(isNaN(min) && Aging <= max) ||
|
||||
(min <= Aging && isNaN(max)) ||
|
||||
( min <= Aging && Aging <= max ) )
|
||||
{
|
||||
(min <= Aging && Aging <= max)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -370,18 +381,11 @@ $(document).ready(function() {
|
||||
|
||||
|
||||
//for clear button
|
||||
function Reset()
|
||||
{
|
||||
function Reset() {
|
||||
$('#min').val('');
|
||||
$('#max').val('');
|
||||
$('#min-date').val('');
|
||||
$('#max-date').val('');
|
||||
$('#financialyear').val('');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
@ -55,10 +55,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-money-bill-alt"> Finance Reports </span></h4>
|
||||
<p class="uk-text uk-margin-remove">Cost Cente</p>
|
||||
<a href="<?php echo base_url(); ?>Report_costcenter" target="_blank"><p class="uk-text uk-margin-remove">Cost Center</p></a>
|
||||
<p class="uk-text uk-margin-remove">Production Salary Cost</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!--
|
||||
currently not used in Ria..!!
|
||||
<div class="col-md-3">
|
||||
@ -69,9 +70,12 @@
|
||||
<a href="<?php // echo base_url(); ?>cashbookmonthlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Monthly Expenses</p></a>
|
||||
<a href="<?php //echo base_url(); ?>cashbookyearlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Yearly Expenses</p></a>
|
||||
</div> -->
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-mail-bulk "> GST Reports </span></h4>
|
||||
<p class="uk-text uk-margin-remove" target="_blank"> Monthly GST Summary Report </p>
|
||||
<a href="<?php echo base_url(); ?>Report_monthly_gst" target="_blank"><p class="uk-text uk-margin-remove">Monthly GST Summary Report</p></a>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-newspaper"> Sales Reports </span></h4>
|
||||
@ -81,13 +85,9 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-credit-card"> PayRoll </span></h4>
|
||||
<p class="uk-text uk-margin-remove" target="_blank">Employee Payroll</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-calendar"> Attendance </span></h4>
|
||||
<p class="uk-text uk-margin-remove" target="_blank">Employee Attendance</p>
|
||||
<p class="uk-text uk-margin-remove" target="_blank">Employee Performance</p>
|
||||
<a href="<?php echo base_url(); ?>leavereports" target="_blank"><p class="uk-text uk-margin-remove">Leave Report</p></a>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user