latest commit 16-05-2025
This commit is contained in:
parent
17d9ce85f5
commit
7c9fe843e2
@ -420,9 +420,9 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_Supplier', 'Re
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_Item', 'Report::MM_Item');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_ReceiptValue', 'Report::MM_ReceiptValue');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase', 'Report::purchase');
|
||||
$routes->get('report/consolidate_month', 'Report::consolidate_month');
|
||||
$routes->get('report/link_purchase', 'Report::link_purchase');
|
||||
$routes->get('report/consolidate_year', 'Report::consolidate_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/consolidate_month', 'Report::consolidate_month');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/link_purchase', 'Report::link_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/consolidate_year', 'Report::consolidate_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_year_wise', 'Report::year_wise');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier', 'Report::purchase_supplier');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate', 'Report::consolidate');
|
||||
@ -434,32 +434,35 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'cashbookmonthlyexpenses', 'Rep
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'cashbookyearlyexpenses', 'Report::yearexpenses');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase_inward', 'Report::ipurchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_year_wise_inward', 'Report::iyear_wise');
|
||||
$routes->get('report/imonth_wise', 'Report::imonth_wise');
|
||||
$routes->get('report/iyear_wise_total/(:any)', 'Report::iyear_wise_total/$1');
|
||||
$routes->get('report/ilink_purchase', 'Report::ilink_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/imonth_wise', 'Report::imonth_wise');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/iyear_wise_total/(:any)', 'Report::iyear_wise_total/$1');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/ilink_purchase', 'Report::ilink_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier_inward', 'Report::ipurchase_supplier');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_supplier_summary', 'Report::suppliersummary');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate_inward', 'Report::iconsolidate');
|
||||
$routes->get('report/i_consolidate_month', 'Report::i_consolidate_month');
|
||||
$routes->get('report/i_consolidate_year', 'Report::i_consolidate_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/i_consolidate_month', 'Report::i_consolidate_month');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/i_consolidate_year', 'Report::i_consolidate_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_cumulative_inward', 'Report::icumulative');
|
||||
$routes->get('report/icum_day/(:any)/(:any)', 'Report::icum_day/$1/$2');
|
||||
$routes->get('report/icum_month/(:any)/(:any)', 'Report::icum_month/$1/$2');
|
||||
$routes->get('report/icum_year/(:any)/(:any)', 'Report::icum_year/$1/$2');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/icum_day/(:any)/(:any)', 'Report::icum_day/$1/$2');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/icum_month/(:any)/(:any)', 'Report::icum_month/$1/$2');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/icum_year/(:any)/(:any)', 'Report::icum_year/$1/$2');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_cumulative_raw', 'Report::rawi_cumulative');
|
||||
$routes->get('report/rawi_cum_day', 'Report::rawi_cum_day');
|
||||
$routes->get('report/rawi_cum_month', 'Report::rawi_cum_month');
|
||||
$routes->get('report/rawi_cum_year', 'Report::rawi_cum_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/rawi_cum_day', 'Report::rawi_cum_day');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/rawi_cum_month', 'Report::rawi_cum_month');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/rawi_cum_year', 'Report::rawi_cum_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_consolidate_category', 'Report::rawi_consolidate');
|
||||
$routes->get('report/rawi_consolidate_month', 'Report::rawi_consolidate_month');
|
||||
$routes->get('report/rawi_consolidate_year', 'Report::rawi_consolidate_year');
|
||||
$routes->match(['GET', 'POST'], 'Report_pending_purchase', 'Report::pending_purchase');
|
||||
$routes->match(['GET', 'POST'], '/Report_pending_purchase', 'Report::pending_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/rawi_consolidate_month', 'Report::rawi_consolidate_month');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'report/rawi_consolidate_year', 'Report::rawi_consolidate_year');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_pending_purchase', 'Report::pending_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], '/Report_pending_purchase', 'Report::pending_purchase');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_purchase_attach', 'Report::iattach');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_monthly_gst', 'Report::monthly_gst');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_inward_Register', 'User::getMaterialInwardRegister');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'DeliveryPerformance', 'User::deliver_perform');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Empperform', 'Report::per');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'hsnSalesRegister', 'Report::hsnSalesRegister');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'hsnCreditNoteRegister', 'Report::hsnCreditNoteRegister');
|
||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'hsnSummaryRegister', 'Report::hsnSummaryRegister');
|
||||
|
||||
//stock reports
|
||||
$routes->match(['GET', 'POST'],'smrySilicaSandReport','Report::smrySilicaSandReport');
|
||||
|
||||
@ -1761,6 +1761,67 @@ class Report extends BaseController
|
||||
}
|
||||
|
||||
|
||||
public function hsnSalesRegister(){
|
||||
|
||||
$this->global['pageTitle'] = 'Summary- HSN Sales Register Report';
|
||||
$data = [];
|
||||
|
||||
if ($this->request->getPost('month')) {
|
||||
$month = $this->request->getPost('month') ;
|
||||
$year = $this->request->getPost('financialyear');
|
||||
$data['hsnSalesRegister'] = $this->dahsboard_Model->hsnSalesRegister($month,$year);
|
||||
$data['givenMonth'] = $month ;
|
||||
$data['givenYear'] = $year ;
|
||||
|
||||
}
|
||||
|
||||
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||
|
||||
$this->loadviews("Report_HSNSalesRegister", $this->global, $data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function hsnCreditNoteRegister(){
|
||||
|
||||
|
||||
$this->global['pageTitle'] = 'Summary- HSN Credit Note Register Report';
|
||||
$data = [];
|
||||
|
||||
if ($this->request->getPost('month')) {
|
||||
$month = $this->request->getPost('month') ;
|
||||
$year = $this->request->getPost('financialyear');
|
||||
$data['hsnCreditNoteRegister'] = $this->dahsboard_Model->hsnCreditNoteRegister($month,$year);
|
||||
$data['givenMonth'] = $month ;
|
||||
$data['givenYear'] = $year ;
|
||||
|
||||
}
|
||||
|
||||
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||
|
||||
$this->loadviews("Report_HSNCreditNoteRegister", $this->global, $data, NULL);
|
||||
|
||||
}
|
||||
|
||||
public function hsnSummaryRegister(){
|
||||
|
||||
|
||||
$this->global['pageTitle'] = 'Summary- HSN Summary Register Report';
|
||||
$data = [];
|
||||
|
||||
if ($this->request->getPost('month')) {
|
||||
$month = $this->request->getPost('month') ;
|
||||
$year = $this->request->getPost('financialyear');
|
||||
$data['hsnSummaryRegister'] = $this->dahsboard_Model->hsnSummaryRegister($month,$year);
|
||||
$data['givenMonth'] = $month ;
|
||||
$data['givenYear'] = $year ;
|
||||
|
||||
}
|
||||
|
||||
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||
|
||||
$this->loadviews("Report_HSNSummaryRegister", $this->global, $data, NULL);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -3236,6 +3236,182 @@ function daybeforetotal($yesterday){
|
||||
|
||||
}
|
||||
|
||||
function hsnSalesRegister($month,$year){
|
||||
|
||||
$monthNum = date('m', strtotime($month));
|
||||
$startDate = $year . "-" . $monthNum . "-01";
|
||||
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||
|
||||
$sql = "SELECT
|
||||
in_itms.hsn_or_sac as hsnOrSac,
|
||||
SUM(in_itms.item_quantity) as quantity,
|
||||
SUM(in_itms_amts.item_subtotal) as totalTaxableAmount,
|
||||
SUM(in_itms_amts.item_cgst_amt) as cgst,
|
||||
SUM(in_itms_amts.item_sgst_amt) as sgst,
|
||||
SUM(in_itms_amts.item_igst_amt) as igst,
|
||||
SUM(in_itms_amts.item_total) as netInvoiceAmount,
|
||||
in_tr.tax_rate_percent as rateOfTax
|
||||
|
||||
FROM ip_invoice_items in_itms
|
||||
|
||||
join ip_invoice_item_amounts in_itms_amts
|
||||
ON in_itms_amts.item_id = in_itms.item_id
|
||||
|
||||
join ip_tax_rates in_tr
|
||||
ON ( in_tr.tax_rate_id = in_itms.Sgst_item_tax_rate_id OR in_tr.tax_rate_id = in_itms.Igst_item_tax_rate_id)
|
||||
|
||||
WHERE in_itms.item_date_added >= '$startDate'
|
||||
AND in_itms.item_date_added <= '$endDate'
|
||||
AND in_itms.hsn_or_sac <> 0
|
||||
|
||||
group by in_itms.hsn_or_sac
|
||||
order by in_itms.hsn_or_sac asc ;
|
||||
";
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
$result = $query->getResultArray();
|
||||
|
||||
log_message('debug', 'HSN Sales Register Query: ' . $this->db->getLastQuery());
|
||||
|
||||
|
||||
return $result;
|
||||
|
||||
}
|
||||
|
||||
function hsnCreditNoteRegister($month,$year){
|
||||
|
||||
$monthNum = date('m', strtotime($month));
|
||||
$startDate = $year . "-" . $monthNum . "-01";
|
||||
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||
|
||||
$sql = "SELECT
|
||||
salesRegister.hsnOrSac AS hsnOrSac,
|
||||
SUM(in_cn.item_quantity) AS quantity,
|
||||
SUM(in_cn.item_total_price) AS totalTaxableAmount,
|
||||
SUM((in_cn.item_total_price * in_cn_itms.tax_percentage / 100) / 2) AS cgst,
|
||||
SUM((in_cn.item_total_price * in_cn_itms.tax_percentage / 100) / 2) AS sgst,
|
||||
0 AS igst,
|
||||
SUM(in_cn.item_total) AS netInvoiceAmount,
|
||||
(in_cn_itms.tax_percentage /2) AS rateOfTax
|
||||
|
||||
FROM ip_credit_notes_items in_cn_itms
|
||||
JOIN ip_credit_notes in_cn
|
||||
ON in_cn.creditnote_id = in_cn_itms.creditnote_id
|
||||
RIGHT JOIN (
|
||||
SELECT
|
||||
Distinct in_itms.hsn_or_sac as hsnOrSac
|
||||
FROM ip_invoice_items in_itms
|
||||
WHERE in_itms.item_date_added >= '$startDate' AND in_itms.item_date_added <= '$endDate'
|
||||
AND in_itms.hsn_or_sac <> 0
|
||||
order by in_itms.hsn_or_sac asc
|
||||
) AS salesRegister
|
||||
ON( salesRegister.hsnOrSac = in_cn_itms.hsn_or_sac
|
||||
AND DATE(in_cn_itms.created_at) >= '$startDate' AND DATE(in_cn_itms.created_at) <= '$endDate')
|
||||
GROUP BY salesRegister.hsnOrSac, in_cn_itms.tax_percentage
|
||||
order by salesRegister.hsnOrSac asc
|
||||
|
||||
";
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
$result = $query->getResultArray();
|
||||
|
||||
log_message('debug', 'hsnCreditNoteRegister: '. $this->db->getLastQuery());
|
||||
|
||||
|
||||
return $result;
|
||||
|
||||
}
|
||||
|
||||
function hsnSummaryRegister($month,$year){
|
||||
|
||||
$monthNum = date('m', strtotime($month));
|
||||
$startDate = $year . "-" . $monthNum . "-01";
|
||||
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||
|
||||
$sql = "SELECT
|
||||
salesRegister.hsnOrSac AS hsnOrSac,
|
||||
(salesRegister.quantity - IFNULL(creditNoteRegister.quantity, 0)) AS quantity,
|
||||
(salesRegister.totalTaxableAmount - IFNULL(creditNoteRegister.totalTaxableAmount, 0)) AS totalTaxableAmount,
|
||||
(salesRegister.cgst - IFNULL(creditNoteRegister.cgst, 0)) AS cgst,
|
||||
(salesRegister.sgst - IFNULL(creditNoteRegister.sgst, 0)) AS sgst,
|
||||
(salesRegister.igst - IFNULL(creditNoteRegister.igst, 0)) AS igst,
|
||||
(salesRegister.netInvoiceAmount - IFNULL(creditNoteRegister.netInvoiceAmount, 0)) AS netInvoiceAmount,
|
||||
salesRegister.rateOfTax AS rateOfTax
|
||||
|
||||
FROM
|
||||
|
||||
(
|
||||
SELECT
|
||||
in_itms.hsn_or_sac as hsnOrSac,
|
||||
SUM(in_itms.item_quantity) as quantity,
|
||||
SUM(in_itms_amts.item_subtotal) as totalTaxableAmount,
|
||||
SUM(in_itms_amts.item_cgst_amt) as cgst,
|
||||
SUM(in_itms_amts.item_sgst_amt) as sgst,
|
||||
SUM(in_itms_amts.item_igst_amt) as igst,
|
||||
SUM(in_itms_amts.item_total) as netInvoiceAmount,
|
||||
in_tr.tax_rate_percent as rateOfTax
|
||||
|
||||
FROM ip_invoice_items in_itms
|
||||
|
||||
join ip_invoice_item_amounts in_itms_amts ON in_itms_amts.item_id = in_itms.item_id
|
||||
|
||||
join ip_tax_rates in_tr ON ( in_tr.tax_rate_id = in_itms.Sgst_item_tax_rate_id OR in_tr.tax_rate_id = in_itms.Igst_item_tax_rate_id)
|
||||
|
||||
WHERE in_itms.item_date_added >= '$startDate' AND in_itms.item_date_added <= '$endDate'
|
||||
AND in_itms.hsn_or_sac <> 0
|
||||
group by in_itms.hsn_or_sac
|
||||
order by in_itms.hsn_or_sac asc
|
||||
)
|
||||
AS salesRegister
|
||||
|
||||
LEFT JOIN (
|
||||
SELECT
|
||||
salesRegister.hsnOrSac AS hsnOrSac,
|
||||
SUM(in_cn.item_quantity) AS quantity,
|
||||
SUM(in_cn.item_total_price) AS totalTaxableAmount,
|
||||
SUM((in_cn.item_total_price * in_cn_itms.tax_percentage / 100) / 2) AS cgst,
|
||||
SUM((in_cn.item_total_price * in_cn_itms.tax_percentage / 100) / 2) AS sgst,
|
||||
0 AS igst,
|
||||
SUM(in_cn.item_total) AS netInvoiceAmount,
|
||||
(in_cn_itms.tax_percentage /2) AS rateOfTax
|
||||
|
||||
FROM ip_credit_notes_items in_cn_itms
|
||||
JOIN ip_credit_notes in_cn
|
||||
ON in_cn.creditnote_id = in_cn_itms.creditnote_id
|
||||
RIGHT JOIN (
|
||||
SELECT
|
||||
Distinct in_itms.hsn_or_sac as hsnOrSac
|
||||
FROM ip_invoice_items in_itms
|
||||
WHERE in_itms.item_date_added >= '$startDate' AND in_itms.item_date_added <= '$endDate'
|
||||
AND in_itms.hsn_or_sac <> 0
|
||||
order by in_itms.hsn_or_sac asc
|
||||
) AS salesRegister
|
||||
ON salesRegister.hsnOrSac = in_cn_itms.hsn_or_sac
|
||||
AND DATE(in_cn_itms.created_at) >= '$startDate' AND DATE(in_cn_itms.created_at) <= '$endDate'
|
||||
GROUP BY salesRegister.hsnOrSac, in_cn_itms.tax_percentage
|
||||
order by salesRegister.hsnOrSac asc
|
||||
)
|
||||
AS creditNoteRegister
|
||||
|
||||
ON salesRegister.hsnOrSac = creditNoteRegister.hsnOrSac
|
||||
|
||||
order by salesRegister.hsnOrSac asc
|
||||
|
||||
";
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
$result = $query->getResultArray();
|
||||
|
||||
log_message('debug', 'hsnSummaryRegister: '. $this->db->getLastQuery());
|
||||
|
||||
|
||||
return $result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
234
app/Views/Report_HSNCreditNoteRegister.php
Normal file
234
app/Views/Report_HSNCreditNoteRegister.php
Normal file
@ -0,0 +1,234 @@
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.dataTables_filter input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
/* width: 50%; */
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
/* float: right; */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<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);">Purchase</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> HSN - Credit Note Report </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action="<?php echo base_url('hsnCreditNoteRegister'); ?>">
|
||||
|
||||
<div class="row form-group has-feedback">
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="financialyear">
|
||||
Year
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="financialyear" name="financialyear" required>
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
|
||||
foreach ($finyear as $fy): {; ?>
|
||||
|
||||
<option
|
||||
<?php echo (isset($givenYear) && $fy == $givenYear) ? "selected" : ""; ?>
|
||||
|
||||
value="<?php echo $fy; ?>">
|
||||
|
||||
<?php echo $fy; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php }
|
||||
endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="month">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control select2" id="month" name="month" required>
|
||||
|
||||
<?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>
|
||||
|
||||
<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('hsnCreditNoteRegister') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
<table id="cc" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
<!-- <table class="table table-bordered table-hover" id="asset_list_table" style="background-color:#fff;font-size:12px;"> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>HSN NO</th>
|
||||
<th>Quantity</th>
|
||||
<th>Total Taxable Amount</th>
|
||||
<th>CGST</th>
|
||||
<th>SGST</th>
|
||||
<th>IGST</th>
|
||||
<th>Net Invoice Amount</th>
|
||||
<th>Rate Of Tax</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php if(!empty($hsnCreditNoteRegister)){ ?>
|
||||
|
||||
<?php foreach($hsnCreditNoteRegister as $index => $hcn) { ?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $hcn['hsnOrSac']; ?></td>
|
||||
<td><?php echo $hcn['quantity']; ?></td>
|
||||
<td><?php echo $hcn['totalTaxableAmount']; ?></td>
|
||||
<td><?php echo $hcn['cgst']== 0 ? " " : $hcn['cgst']; ?></td>
|
||||
<td><?php echo $hcn['sgst']== 0 ? " " : $hcn['sgst']; ?></td>
|
||||
<td><?php echo $hcn['igst']== 0 ? " " : $hcn['igst']; ?></td>
|
||||
<td><?php echo $hcn['netInvoiceAmount']; ?></td>
|
||||
<td><?php echo $hcn['rateOfTax']; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- container -->
|
||||
</div> <!-- content -->
|
||||
</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>
|
||||
231
app/Views/Report_HSNSalesRegister.php
Normal file
231
app/Views/Report_HSNSalesRegister.php
Normal file
@ -0,0 +1,231 @@
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.dataTables_filter input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
/* width: 50%; */
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
/* float: right; */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<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);">Purchase</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> HSN - Sales Register Report </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action="<?php echo base_url('hsnSalesRegister'); ?>">
|
||||
|
||||
<div class="row form-group has-feedback">
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="financialyear">
|
||||
Year
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="financialyear" name="financialyear" required>
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
|
||||
foreach ($finyear as $fy): {; ?>
|
||||
|
||||
<option
|
||||
<?php echo (isset($givenYear) && $fy == $givenYear) ? "selected" : ""; ?>
|
||||
|
||||
value="<?php echo $fy; ?>">
|
||||
|
||||
<?php echo $fy; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php }
|
||||
endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="month">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control select2" id="month" name="month" required>
|
||||
|
||||
<?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>
|
||||
|
||||
<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('hsnSalesRegister') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<table id="cc" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
<!-- <table class="table table-bordered table-hover" id="asset_list_table" style="background-color:#fff;font-size:12px;"> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>HSN NO</th>
|
||||
<th>Quantity</th>
|
||||
<th>Total Taxable Amount</th>
|
||||
<th>CGST</th>
|
||||
<th>SGST</th>
|
||||
<th>IGST</th>
|
||||
<th>Net Invoice Amount</th>
|
||||
<th>Rate Of Tax</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php if(!empty($hsnSalesRegister)){ ?>
|
||||
|
||||
<?php foreach($hsnSalesRegister as $index => $hs) { ?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $hs['hsnOrSac']; ?></td>
|
||||
<td><?php echo $hs['quantity']; ?></td>
|
||||
<td><?php echo $hs['totalTaxableAmount']; ?></td>
|
||||
<td><?php echo $hs['cgst']== 0 ? " " : $hs['cgst']; ?></td>
|
||||
<td><?php echo $hs['sgst']== 0 ? " " : $hs['sgst']; ?></td>
|
||||
<td><?php echo $hs['igst']== 0 ? " " : $hs['igst']; ?></td>
|
||||
<td><?php echo $hs['netInvoiceAmount']; ?></td>
|
||||
<td><?php echo $hs['rateOfTax']; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- container -->
|
||||
</div> <!-- content -->
|
||||
</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>
|
||||
234
app/Views/Report_HSNSummaryRegister.php
Normal file
234
app/Views/Report_HSNSummaryRegister.php
Normal file
@ -0,0 +1,234 @@
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.dataTables_filter input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
/* width: 50%; */
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
/* float: right; */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<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);">Purchase</a></li>
|
||||
<li class="breadcrumb-item active">
|
||||
<h4 class="page-title"><b> HSN Summary Register Report - Monthly </b></h4>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
|
||||
<form method="post" action="<?php echo base_url('hsnSummaryRegister'); ?>">
|
||||
|
||||
<div class="row form-group has-feedback">
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="financialyear">
|
||||
Year
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="financialyear" name="financialyear" required>
|
||||
<option value="">Select Year</option>
|
||||
<?php
|
||||
|
||||
foreach ($finyear as $fy): {; ?>
|
||||
|
||||
<option
|
||||
<?php echo (isset($givenYear) && $fy == $givenYear) ? "selected" : ""; ?>
|
||||
|
||||
value="<?php echo $fy; ?>">
|
||||
|
||||
<?php echo $fy; ?>
|
||||
|
||||
</option>
|
||||
|
||||
|
||||
<?php }
|
||||
endforeach; ?>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="month">
|
||||
<?php echo 'Month'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control select2" id="month" name="month" required>
|
||||
|
||||
<?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>
|
||||
|
||||
<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('hsnSummaryRegister') ?>';">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
<table id="cc" class="table table-bordered table-hover wrap" style="background-color:#fff;width: 100% !important;">
|
||||
|
||||
<!-- <table class="table table-bordered table-hover" id="asset_list_table" style="background-color:#fff;font-size:12px;"> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>HSN NO</th>
|
||||
<th>Quantity</th>
|
||||
<th>Total Taxable Amount</th>
|
||||
<th>CGST</th>
|
||||
<th>SGST</th>
|
||||
<th>IGST</th>
|
||||
<th>Net Invoice Amount</th>
|
||||
<th>Rate Of Tax</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php if(!empty($hsnSummaryRegister)){ ?>
|
||||
|
||||
<?php foreach($hsnSummaryRegister as $index => $hsm) { ?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $hsm['hsnOrSac']; ?></td>
|
||||
<td><?php echo $hsm['quantity']; ?></td>
|
||||
<td><?php echo $hsm['totalTaxableAmount']; ?></td>
|
||||
<td><?php echo $hsm['cgst']== 0 ? " " : $hsm['cgst']; ?></td>
|
||||
<td><?php echo $hsm['sgst']== 0 ? " " : $hsm['sgst']; ?></td>
|
||||
<td><?php echo $hsm['igst']== 0 ? " " : $hsm['igst']; ?></td>
|
||||
<td><?php echo $hsm['netInvoiceAmount']; ?></td>
|
||||
<td><?php echo $hsm['rateOfTax']; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- container -->
|
||||
</div> <!-- content -->
|
||||
</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>
|
||||
@ -16,98 +16,102 @@
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-search-plus"> Requisition </span></h4>
|
||||
<a href="<?php echo base_url(); ?>reportpending" target="_blank"><p class="uk-text uk-margin-remove">Pending</p></a>
|
||||
<a href="<?php echo base_url(); ?>releasedpo" target="_blank"><p class="uk-text uk-margin-remove">Order Value Released</p></a>
|
||||
<a href="<?php echo base_url(); ?>openOrder" target="_blank"><p class="uk-text uk-margin-remove">Open Orders - Pending</p></a>
|
||||
<a href="<?php echo base_url(); ?>TotalOrder" target="_blank"><p class="uk-text uk-margin-remove">Total Orders</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-shopping-cart"> Purchase </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase" target="_blank"><p class="uk-text uk-margin-remove">Purchase</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_year_wise" target="_blank"><p class="uk-text uk-margin-remove">Year Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_pending_purchase" target="_blank"><p class="uk-text uk-margin-remove">Pending Purchase</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_supplier" target="_blank"><p class="uk-text uk-margin-remove">Purchase - Supplier Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate" target="_blank"><p class="uk-text uk-margin-remove">Purchase - Consolidate</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-layer-group"> Material Master </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Supplier" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Supplier Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Item" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Item Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_ReceiptValue" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Receipt Value</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-truck"> Inward</span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase_inward" target="_blank" >Inward Details<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase_attach" target="_blank" >Inward Summary<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_year_wise_inward" target="_blank" >Year Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_supplier_inward" target="_blank" >Inward-Supplier Wise<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate_inward" target="_blank" >Consolidate Report-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_cumulative_inward" target="_blank" >Cumulative Report-Inward<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate_category" target="_blank" >Consolidate Report - Category Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-money-bill-alt"> Finance Reports </span></h4>
|
||||
<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 class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-search-plus"> Requisition </span></h4>
|
||||
<a href="<?php echo base_url(); ?>reportpending" target="_blank"><p class="uk-text uk-margin-remove">Pending</p></a>
|
||||
<a href="<?php echo base_url(); ?>releasedpo" target="_blank"><p class="uk-text uk-margin-remove">Order Value Released</p></a>
|
||||
<a href="<?php echo base_url(); ?>openOrder" target="_blank"><p class="uk-text uk-margin-remove">Open Orders - Pending</p></a>
|
||||
<a href="<?php echo base_url(); ?>TotalOrder" target="_blank"><p class="uk-text uk-margin-remove">Total Orders</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-shopping-cart"> Purchase </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase" target="_blank"><p class="uk-text uk-margin-remove">Purchase</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_year_wise" target="_blank"><p class="uk-text uk-margin-remove">Year Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_pending_purchase" target="_blank"><p class="uk-text uk-margin-remove">Pending Purchase</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_supplier" target="_blank"><p class="uk-text uk-margin-remove">Purchase - Supplier Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate" target="_blank"><p class="uk-text uk-margin-remove">Purchase - Consolidate</p></a>
|
||||
<a href="<?php echo base_url(); ?>hsnSalesRegister" target="_blank"><p class="uk-text uk-margin-remove">HSN - Sales Register</p></a>
|
||||
<a href="<?php echo base_url(); ?>hsnCreditNoteRegister" target="_blank"><p class="uk-text uk-margin-remove">HSN - Credit Register</p></a>
|
||||
<a href="<?php echo base_url(); ?>hsnSummaryRegister" target="_blank"><p class="uk-text uk-margin-remove">HSN - Summary Register</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-layer-group"> Material Master </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Supplier" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Supplier Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Item" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Item Wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_ReceiptValue" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Receipt Value</p></a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-truck"> Inward</span></h4>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase_inward" target="_blank" >Inward Details<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase_attach" target="_blank" >Inward Summary<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_year_wise_inward" target="_blank" >Year Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_supplier_inward" target="_blank" >Inward-Supplier Wise<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate_inward" target="_blank" >Consolidate Report-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_cumulative_inward" target="_blank" >Cumulative Report-Inward<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate_category" target="_blank" >Consolidate Report - Category Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-money-bill-alt"> Finance Reports </span></h4>
|
||||
<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">
|
||||
<h4><span class="fa fa-rupee-sign"> Cashbook </span></h4>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Reports</p>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Cumulative Reports</p>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Cumulative Month Reports</p>
|
||||
<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> -->
|
||||
<!--
|
||||
currently not used in Ria..!!
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-rupee-sign"> Cashbook </span></h4>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Reports</p>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Cumulative Reports</p>
|
||||
<p class="uk-text uk-margin-remove">Cashbook Cumulative Month Reports</p>
|
||||
<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>
|
||||
<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 class="col-md-3">
|
||||
<h4><span class="fa fa-mail-bulk "> GST Reports </span></h4>
|
||||
<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>
|
||||
<a href="<?php echo base_url(); ?>sales_invoice" target="_blank"><p class="uk-text uk-margin-remove">Invoice Report</p></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-newspaper"> Sales Reports </span></h4>
|
||||
<a href="<?php echo base_url(); ?>sales_invoice" target="_blank"><p class="uk-text uk-margin-remove">Invoice Report</p></a>
|
||||
<hr>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-calendar"> Attendance </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Empperform" target="_blank"><p class="uk-text uk-margin-remove">Employee Performance</p></a>
|
||||
<a href="<?php echo base_url(); ?>leavereports" target="_blank"><p class="uk-text uk-margin-remove">Leave Report</p></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fa fa-calendar"> Attendance </span></h4>
|
||||
<a href="<?php echo base_url(); ?>Empperform" target="_blank"><p class="uk-text uk-margin-remove">Employee Performance</p></a>
|
||||
<a href="<?php echo base_url(); ?>leavereports" target="_blank"><p class="uk-text uk-margin-remove">Leave Report</p></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fas fa-cubes"> Stock Summary </span></h4>
|
||||
<!-- <a href="<?php echo base_url(); ?>smrySilicaSandReport" target="_blank"><p class="uk-text uk-margin-remove">Silica Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryWasteCoreSandReport" target="_blank"><p class="uk-text uk-margin-remove">Waste Core Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryDustQtyReport" target="_blank"><p class="uk-text uk-margin-remove">Dust Qty Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryCoatedSandReport" target="_blank"><p class="uk-text uk-margin-remove">Coated Sand </p></a> -->
|
||||
<a href="<?php echo base_url(); ?>smryPackingMaterialReport" target="_blank"><p class="uk-text uk-margin-remove">Packing material(Bags)</p></a>
|
||||
<!-- <a href="<?php echo base_url(); ?>smryDieselReport" target="_blank"><p class="uk-text uk-margin-remove">Diesel machine</p></a>
|
||||
<a href="<?php echo base_url(); ?>smryGasReport" target="_blank"><p class="uk-text uk-margin-remove">Gas Cylinder </p></a> -->
|
||||
<a href="<?php echo base_url(); ?>smryResinReport" target="_blank"><p class="uk-text uk-margin-remove">Resin And Chemicals</p></a>
|
||||
<hr>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3">
|
||||
<h4><span class="fas fa-cubes"> Stock Summary </span></h4>
|
||||
<!-- <a href="<?php echo base_url(); ?>smrySilicaSandReport" target="_blank"><p class="uk-text uk-margin-remove">Silica Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryWasteCoreSandReport" target="_blank"><p class="uk-text uk-margin-remove">Waste Core Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryDustQtyReport" target="_blank"><p class="uk-text uk-margin-remove">Dust Qty Sand </p></a>
|
||||
<a href="<?php echo base_url(); ?>smryCoatedSandReport" target="_blank"><p class="uk-text uk-margin-remove">Coated Sand </p></a> -->
|
||||
<a href="<?php echo base_url(); ?>smryPackingMaterialReport" target="_blank"><p class="uk-text uk-margin-remove">Packing material(Bags)</p></a>
|
||||
<!-- <a href="<?php echo base_url(); ?>smryDieselReport" target="_blank"><p class="uk-text uk-margin-remove">Diesel machine</p></a>
|
||||
<a href="<?php echo base_url(); ?>smryGasReport" target="_blank"><p class="uk-text uk-margin-remove">Gas Cylinder </p></a> -->
|
||||
<a href="<?php echo base_url(); ?>smryResinReport" target="_blank"><p class="uk-text uk-margin-remove">Resin And Chemicals</p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- end card body-->
|
||||
</div> <!-- end card -->
|
||||
</div><!-- end col-->
|
||||
|
||||
@ -117,12 +117,12 @@
|
||||
<div class="card-body">
|
||||
<h4 class="header-title">Stock Dashboard</h4>
|
||||
|
||||
<div align="center">
|
||||
<a class="btn btn-success px-3" href="<?php echo base_url(); ?>sales_dashboard?stock=gas">Gas</a>
|
||||
<a class="btn btn-warning px-3" href="<?php echo base_url(); ?>sales_dashboard?stock=diesel">Diesel</a>
|
||||
<a class="btn btn-danger px-3" href="<?php echo base_url(); ?>sales_dashboard?stock=power">Power</a>
|
||||
<a class="btn btn-primary px-3" href="<?php echo base_url(); ?>sales_dashboard?stock=resin">Resin</a>
|
||||
<a class="btn btn-secondary px-3" href="<?php echo base_url(); ?>sales_dashboard?stock=bag">Bag</a>
|
||||
<div align="left">
|
||||
<a class="btn btn-success btn-sm px-2" href="<?php echo base_url(); ?>sales_dashboard?stock=gas">Gas</a>
|
||||
<a class="btn btn-primary btn-sm px-2" href="<?php echo base_url(); ?>sales_dashboard?stock=diesel">Diesel</a>
|
||||
<a class="btn btn-danger btn-sm px-2" href="<?php echo base_url(); ?>sales_dashboard?stock=power">Power</a>
|
||||
<a class="btn btn-primary btn-sm px-2" href="<?php echo base_url(); ?>sales_dashboard?stock=resin">Resin</a>
|
||||
<a class="btn btn-secondary btn-sm px-2" href="<?php echo base_url(); ?>sales_dashboard?stock=bag">Bag</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user