stock changes 28-04-2025
This commit is contained in:
parent
ff3a85de2a
commit
8cee582ff0
@ -459,6 +459,16 @@ $routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'Report_Material_inward_Registe
|
|||||||
$routes->match(['GET', 'POST', 'PUT', 'DELETE'], 'DeliveryPerformance', 'User::deliver_perform');
|
$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'], 'Empperform', 'Report::per');
|
||||||
|
|
||||||
|
//stock reports
|
||||||
|
$routes->match(['GET', 'POST'],'smrySilicaSandReport','Report::smrySilicaSandReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryWasteCoreSandReport','Report::smryWasteCoreSandReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryDustQtyReport','Report::smryDustQtyReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryCoatedSandReport','Report::smryCoatedSandReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryPackingMaterialReport','Report::smryPackingMaterialReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryDieselReport','Report::smryDieselReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryGasReport','Report::smryGasReport');
|
||||||
|
$routes->match(['GET', 'POST'],'smryResinReport','Report::smryResinReport');
|
||||||
|
|
||||||
$routes->get('quality', 'Quality::index');
|
$routes->get('quality', 'Quality::index');
|
||||||
$routes->get('qualityreportlist', 'Quality::reportList');
|
$routes->get('qualityreportlist', 'Quality::reportList');
|
||||||
$routes->get('qualityreportlistinward', 'Quality::reportListInward');
|
$routes->get('qualityreportlistinward', 'Quality::reportListInward');
|
||||||
|
|||||||
@ -1626,4 +1626,148 @@ class Report extends BaseController
|
|||||||
|
|
||||||
$this->loadviews("cashbook_cumulative_month_report", $this->global, $data, NULL);
|
$this->loadviews("cashbook_cumulative_month_report", $this->global, $data, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//stock reports section
|
||||||
|
|
||||||
|
|
||||||
|
public function smrySilicaSandReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary-Silica Sand Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
|
||||||
|
$data['smrySilicaSandReport'] = $this->dahsboard_Model->smrySilicaSandReport($month,$year);
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_smrySilicaSandReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryWasteCoreSandReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary-Waste Core Sand Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryWasteCoreSandReport'] = $this->dahsboard_Model->smryWasteCoreSandReport($month,$year);
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryWasteCoreSandReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryDustQtyReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary-Dust Qty Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryDustQtyReport'] = $this->dahsboard_Model->smryDustQtyReport($month,$year);
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryDustQtyReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryCoatedSandReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary-Coated Sand Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryCoatedSandReport'] = $this->dahsboard_Model->smryCoatedSandReport($month,$year);
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryCoatedSandReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryPackingMaterialReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary- Packing Material Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryPackingMaterialReport'] = $this->dahsboard_Model->smryPackingMaterialReport($month,$year);
|
||||||
|
$data['givenMonth'] = $month;
|
||||||
|
$data['givenYear'] = $year;
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryPackingMaterialReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryDieselReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary-Diesel Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryDieselReport'] = $this->dahsboard_Model->smryDieselReport($month,$year);
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryDieselReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryGasReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary- Gas Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryGasReport'] = $this->dahsboard_Model->smryGasReport($month,$year);
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryGasReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function smryResinReport(){
|
||||||
|
$this->global['pageTitle'] = 'Summary- Resin Report';
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
if ($this->request->getPost('month')) {
|
||||||
|
$month = $this->request->getPost('month') ;
|
||||||
|
$year = $this->request->getPost('financialyear');
|
||||||
|
$data['smryResinReport'] = $this->dahsboard_Model->smryResinReport($month,$year);
|
||||||
|
$data['givenMonth'] = $month;
|
||||||
|
$data['givenYear'] = $year;
|
||||||
|
|
||||||
|
}
|
||||||
|
$data['finyear'] = $this->dahsboard_Model->stockFinancialYear();
|
||||||
|
|
||||||
|
$this->loadviews("Report_smryResinReport", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,10 +2,27 @@
|
|||||||
|
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
|
|
||||||
|
use App\Models\Rawmaterialdetails_model;
|
||||||
|
|
||||||
|
use App\Models\Inwardgateregister_model;
|
||||||
|
|
||||||
use CodeIgniter\Model;
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
class Dashboard_model extends Model
|
class Dashboard_model extends Model
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
protected $rawMaterialDetails;
|
||||||
|
|
||||||
|
protected $inwardgateregister;
|
||||||
|
|
||||||
|
public function __construct(){
|
||||||
|
parent::__construct();
|
||||||
|
$this->rawMaterialDetails = new Rawmaterialdetails_model();
|
||||||
|
$this->inwardgateregister = new Inwardgateregister_model();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function getUserCount()
|
function getUserCount()
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -3046,4 +3063,168 @@ function daybeforetotal($yesterday){
|
|||||||
$query = $this->db->query($sql);
|
$query = $this->db->query($sql);
|
||||||
return $query->getResult();
|
return $query->getResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function stockFinancialYear(){
|
||||||
|
|
||||||
|
$financialYear = ['2025','2026'];
|
||||||
|
return $financialYear;
|
||||||
|
}
|
||||||
|
|
||||||
|
function smrySilicaSandReport($month,$year){
|
||||||
|
|
||||||
|
$monthNum = date('m', strtotime($month));
|
||||||
|
$startDate = $year . "-" . $monthNum . "-01";
|
||||||
|
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$materialCodes = $this->rawMaterialDetails->getAllSilicaRawMaterialCode();
|
||||||
|
|
||||||
|
$supplierWiseSilicaSand = $this->inwardgateregister->findIgrDetailsForSandReport($materialCodes, $startDate, "noRemark");
|
||||||
|
|
||||||
|
dd($supplierWiseSilicaSand);
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($this->db->getLastQuery());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function smryWasteCoreSandReport($month,$year){
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($this->db->getLastQuery());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function smryDustQtyReport($month,$year){
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($this->db->getLastQuery());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function smryCoatedSandReport($month,$year){
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($this->db->getLastQuery());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function smryPackingMaterialReport($month, $year) {
|
||||||
|
|
||||||
|
$monthNum = date('m', strtotime($month));
|
||||||
|
$startDate = $year . "-" . $monthNum . "-01";
|
||||||
|
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||||
|
|
||||||
|
$sql = "SELECT
|
||||||
|
GROUP_CONCAT(DISTINCT ts.SupplierName) as supplierName,
|
||||||
|
tmm.MaterialName,
|
||||||
|
tbg.customer,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) as opening,
|
||||||
|
SUM(receipt) as purchase,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) + SUM(receipt) as total,
|
||||||
|
SUM(used) as used,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) + SUM(receipt) - SUM(used) as closing
|
||||||
|
FROM t_bagstockdetails tbg
|
||||||
|
INNER JOIN t_materialmaster tmm ON tmm.MaterialCode = tbg.materialCode
|
||||||
|
INNER JOIN t_igr_details tigrd ON tigrd.MaterialCode = tbg.materialCode AND Date(tigrd.CreatedDate) >= '$startDate' AND Date(tigrd.CreatedDate) <= '$endDate'
|
||||||
|
INNER JOIN t_igr_master tigrm ON tigrd.IGRNO = tigrm.IGRNO
|
||||||
|
INNER JOIN t_purchaseorder_master tpom ON tpom.PONO = tigrm.PONO
|
||||||
|
INNER JOIN t_supplierdetailsn ts ON ts.SupplierID = tpom.SupplierID
|
||||||
|
WHERE date >= '$startDate' AND date <= '$endDate'
|
||||||
|
GROUP BY tbg.materialCode, tmm.MaterialName, tbg.customer";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
$result = $query->getResultArray();
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function smryDieselReport($month,$year){
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($this->db->getLastQuery());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function smryGasReport($month,$year){
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->getResult();
|
||||||
|
|
||||||
|
dd($result);
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function smryResinReport($month,$year){
|
||||||
|
$monthNum = date('m', strtotime($month));
|
||||||
|
$startDate = $year . "-" . $monthNum . "-01";
|
||||||
|
$endDate = $year . "-" . $monthNum . "-" . date('t', strtotime($startDate));
|
||||||
|
|
||||||
|
$sql = "SELECT
|
||||||
|
GROUP_CONCAT(DISTINCT ts.SupplierName) as supplierName,
|
||||||
|
tmm.MaterialName,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) as opening,
|
||||||
|
SUM(receipt) as purchase,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) + SUM(receipt) as total,
|
||||||
|
SUM(used) as used,
|
||||||
|
SUM(CASE WHEN date = '$startDate' THEN opening ELSE 0 END) + SUM(receipt) - SUM(used) as closing
|
||||||
|
FROM t_resinStockDetails tbg
|
||||||
|
INNER JOIN t_materialmaster tmm ON tmm.MaterialCode = tbg.materialCode
|
||||||
|
INNER JOIN t_igr_details tigrd ON tigrd.MaterialCode = tbg.materialCode AND Date(tigrd.CreatedDate) >= '$startDate' AND Date(tigrd.CreatedDate) <= '$endDate'
|
||||||
|
INNER JOIN t_igr_master tigrm ON tigrd.IGRNO = tigrm.IGRNO
|
||||||
|
INNER JOIN t_purchaseorder_master tpom ON tpom.PONO = tigrm.PONO
|
||||||
|
INNER JOIN t_supplierdetailsn ts ON ts.SupplierID = tpom.SupplierID
|
||||||
|
WHERE tbg.date >= '$startDate' AND tbg.date <= '$endDate'
|
||||||
|
GROUP BY tbg.materialCode, tmm.MaterialName, tbg.customer";
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
$result = $query->getResultArray();
|
||||||
|
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1204,7 +1204,9 @@ class Inwardgateregister_model extends Model
|
|||||||
public function findIgrDetailsForIncomingSilicaSand($materialCodes, $month, $remark)
|
public function findIgrDetailsForIncomingSilicaSand($materialCodes, $month, $remark)
|
||||||
{
|
{
|
||||||
|
|
||||||
$month = new \DateTime($month . "-01"); // Create DateTime for the first day of the month
|
// dd($month); //2025-03
|
||||||
|
|
||||||
|
$date = new \DateTime($month . "-01"); // Create DateTime for the first day of the month
|
||||||
|
|
||||||
|
|
||||||
$builder = $this->db->table('t_igr_details');
|
$builder = $this->db->table('t_igr_details');
|
||||||
@ -1231,8 +1233,8 @@ class Inwardgateregister_model extends Model
|
|||||||
$builder->join('t_purchaseorder_master poMaster', 'poMaster.PONO = igrMast.PONO', 'left');
|
$builder->join('t_purchaseorder_master poMaster', 'poMaster.PONO = igrMast.PONO', 'left');
|
||||||
$builder->join('t_supplierdetailsn supplierDetails', 'supplierDetails.SupplierID = poMaster.SupplierID', 'left');
|
$builder->join('t_supplierdetailsn supplierDetails', 'supplierDetails.SupplierID = poMaster.SupplierID', 'left');
|
||||||
|
|
||||||
$builder->where('Date(t_igr_details.CreatedDate) >=', $month->format('Y-m-01 00:00:00'));
|
$builder->where('Date(t_igr_details.CreatedDate) >=', $date->format('Y-m-01 00:00:00'));
|
||||||
$builder->where('Date(t_igr_details.CreatedDate) <=', $month->format('Y-m-t 23:59:59'));
|
$builder->where('Date(t_igr_details.CreatedDate) <=', $date->format('Y-m-t 23:59:59'));
|
||||||
$builder->whereIn('t_igr_details.MaterialCode', $materialCodes);
|
$builder->whereIn('t_igr_details.MaterialCode', $materialCodes);
|
||||||
$builder->where('t_igr_details.QuantityAsPerInvoice <>', 0);
|
$builder->where('t_igr_details.QuantityAsPerInvoice <>', 0);
|
||||||
|
|
||||||
@ -1252,6 +1254,56 @@ class Inwardgateregister_model extends Model
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function findIgrDetailsForSandReport($materialCodes, $date, $remark)
|
||||||
|
{
|
||||||
|
|
||||||
|
$date = new \DateTime('2025-02-01');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$builder = $this->db->table('t_igr_details');
|
||||||
|
|
||||||
|
|
||||||
|
$builder->select(
|
||||||
|
'
|
||||||
|
supplierDetails.SupplierName,
|
||||||
|
cd.ConfigValue as sandType,
|
||||||
|
FORMAT(SUM(t_igr_details.QuantityAsPerInvoice), 2) as Qty,
|
||||||
|
FORMAT(SUM(issd.sieveLossQty), 2) as SieveLossQty,
|
||||||
|
FORMAT(SUM(issd.salableQty), 2) as salableQty
|
||||||
|
'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$builder->join('t_igr_master igrMast', 'igrMast.IGRNO = t_igr_details.IGRNO');
|
||||||
|
$builder->join('t_incomingsilicasanddetails issd', 'issd.igrNo_fk = t_igr_details.IGRNO AND issd.materialCode = t_igr_details.MaterialCode', 'left');
|
||||||
|
$builder->join('t_materialmaster materialMaster', 'materialMaster.MaterialCode = t_igr_details.MaterialCode');
|
||||||
|
$builder->join('t_configdetails cd', 'cd.key = materialMaster.Category', 'left');
|
||||||
|
$builder->join('t_purchaseorder_master poMaster', 'poMaster.PONO = igrMast.PONO', 'left');
|
||||||
|
$builder->join('t_supplierdetailsn supplierDetails', 'supplierDetails.SupplierID = poMaster.SupplierID', 'left');
|
||||||
|
|
||||||
|
$builder->where('Date(t_igr_details.CreatedDate) >=', $date->format('Y-m-01 00:00:00'));
|
||||||
|
$builder->where('Date(t_igr_details.CreatedDate) <=', $date->format('Y-m-t 23:59:59'));
|
||||||
|
$builder->whereIn('t_igr_details.MaterialCode', $materialCodes);
|
||||||
|
$builder->where('t_igr_details.QuantityAsPerInvoice <>', 0);
|
||||||
|
|
||||||
|
// Conditional WHERE clause for remark
|
||||||
|
if ($remark != "noRemark") {
|
||||||
|
$builder->where('issd.remark', $remark);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$builder->groupBy('supplierDetails.SupplierName');
|
||||||
|
|
||||||
|
$builder->orderBy('t_igr_details.CreatedDate', 'asc ');
|
||||||
|
|
||||||
|
$query = $builder->get();
|
||||||
|
|
||||||
|
return $query->getResultArray();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function getHistoryDetailsforEmail($igr)
|
public function getHistoryDetailsforEmail($igr)
|
||||||
{
|
{
|
||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
|
|||||||
201
app/Views/Report_smryCoatedSandReport.php
Normal file
201
app/Views/Report_smryCoatedSandReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b>Coated Sand 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('smryCoatedSandReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryCoatedSandReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
201
app/Views/Report_smryDieselReport.php
Normal file
201
app/Views/Report_smryDieselReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Diesel 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('smryDieselReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryDieselReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
201
app/Views/Report_smryDustQtyReport.php
Normal file
201
app/Views/Report_smryDustQtyReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Dust Quantity 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('smryDustQtyReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryDustQtyReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
201
app/Views/Report_smryGasReport.php
Normal file
201
app/Views/Report_smryGasReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Gas 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('smryGasReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryGasReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
225
app/Views/Report_smryPackingMaterialReport.php
Normal file
225
app/Views/Report_smryPackingMaterialReport.php
Normal file
@ -0,0 +1,225 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Packing Material(Bags) 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('smryPackingMaterialReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryPackingMaterialReport') ?>';">
|
||||||
|
<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>SupplierName</th>
|
||||||
|
<th>MaterialName</th>
|
||||||
|
<th>Customer</th>
|
||||||
|
<th>Opening Qty(No's)</th>
|
||||||
|
<th>Purchase Qty(No's)</th>
|
||||||
|
<th>Total Qty(No's)</th>
|
||||||
|
<th>Used Qty(No's)</th>
|
||||||
|
<th>Closing Qty(No's)</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php if(!empty($smryPackingMaterialReport)){
|
||||||
|
foreach($smryPackingMaterialReport as $report) {?>
|
||||||
|
<tr>
|
||||||
|
<td><?= $report['supplierName'] ?></td>
|
||||||
|
<td><?= $report['MaterialName'] ?></td>
|
||||||
|
<td><?= $report['customer'] ?></td>
|
||||||
|
<td><?= $report['opening'] ?></td>
|
||||||
|
<td><?= $report['purchase'] ?></td>
|
||||||
|
<td><?= $report['total'] ?></td>
|
||||||
|
<td><?= $report['used'] ?></td>
|
||||||
|
<td><?= $report['closing'] ?></td>
|
||||||
|
</tr>
|
||||||
|
<?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>
|
||||||
220
app/Views/Report_smryResinReport.php
Normal file
220
app/Views/Report_smryResinReport.php
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Resin 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('smryResinReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryResinReport') ?>';">
|
||||||
|
<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>SupplierName</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Opening Qty(Kgs)</th>
|
||||||
|
<th>Purchase Qty(Kgs)</th>
|
||||||
|
<th>Total Qty(Kgs)</th>
|
||||||
|
<th>Used Qty(Kgs)</th>
|
||||||
|
<th>Closing Qty(Kgs)</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php if(!empty($smryResinReport)){
|
||||||
|
foreach($smryResinReport as $report) {?>
|
||||||
|
<tr>
|
||||||
|
<td><?= $report['supplierName'] ?></td>
|
||||||
|
<td><?= $report['MaterialName'] ?></td>
|
||||||
|
<td><?= $report['opening'] ?></td>
|
||||||
|
<td><?= $report['purchase'] ?></td>
|
||||||
|
<td><?= $report['total'] ?></td>
|
||||||
|
<td><?= $report['used'] ?></td>
|
||||||
|
<td><?= $report['closing'] ?></td>
|
||||||
|
</tr>
|
||||||
|
<?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>
|
||||||
201
app/Views/Report_smrySilicaSandReport.php
Normal file
201
app/Views/Report_smrySilicaSandReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Silica Sand 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('smrySilicaSandReport'); ?>">
|
||||||
|
|
||||||
|
<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('smrySilicaSandReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
201
app/Views/Report_smryWasteCoreSandReport.php
Normal file
201
app/Views/Report_smryWasteCoreSandReport.php
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<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);">Stock Summary</a></li>
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
<h4 class="page-title"><b> Waste Core Sand 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('smryWasteCoreSandReport'); ?>">
|
||||||
|
|
||||||
|
<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('smryWasteCoreSandReport') ?>';">
|
||||||
|
<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>S.No</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</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>
|
||||||
@ -139,7 +139,7 @@
|
|||||||
$cdate = date('d-m-Y', strtotime($record->Created_date));
|
$cdate = date('d-m-Y', strtotime($record->Created_date));
|
||||||
} ?>
|
} ?>
|
||||||
<td>
|
<td>
|
||||||
<a class="tooltip-trigger a_tag_link" href="<?php echo base_url() . 'employeedetails/ViewEmployee/?EmpID=' . $record->EmpID; ?>" title="<?php echo $record->EmpID; ?> - Click here to view Employee Details"><?php echo $record->EmpID ?> </a></u>
|
<a class="tooltip-trigger a_tag_link edit-btn" href="<?php echo base_url() . 'employeedetails/ViewEmployee/?EmpID=' . $record->EmpID; ?>" title="<?php echo $record->EmpID; ?> - Click here to view Employee Details"><?php echo $record->EmpID ?> </a></u>
|
||||||
|
|
||||||
|
|
||||||
<a href="<?php echo base_url() . 'employeedetails/downloadEmployeeDetails/?EmpID=' . $record->EmpID; ?>" class="tooltip-trigger" title="<?php echo $record->EmpID; ?> - Click here to Download Employee Details">
|
<a href="<?php echo base_url() . 'employeedetails/downloadEmployeeDetails/?EmpID=' . $record->EmpID; ?>" class="tooltip-trigger" title="<?php echo $record->EmpID; ?> - Click here to Download Employee Details">
|
||||||
@ -238,6 +238,17 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#datatable').on('click', '.edit-btn', function () {
|
||||||
|
const pageInfo = table.page.info(); // Now this works
|
||||||
|
sessionStorage.setItem("datatablePage", pageInfo.page);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Restore page
|
||||||
|
let startPage = sessionStorage.getItem("datatablePage");
|
||||||
|
if (startPage !== null) {
|
||||||
|
table.page(parseInt(startPage)).draw('page');
|
||||||
|
sessionStorage.removeItem("datatablePage");
|
||||||
|
}
|
||||||
|
|
||||||
// Handle form submission
|
// Handle form submission
|
||||||
$("#DateRangeFilter").submit(function(e) {
|
$("#DateRangeFilter").submit(function(e) {
|
||||||
|
|||||||
@ -92,6 +92,22 @@
|
|||||||
<a href="<?php echo base_url(); ?>leavereports" target="_blank"><p class="uk-text uk-margin-remove">Leave Report</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>
|
</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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div> <!-- end card body-->
|
</div> <!-- end card body-->
|
||||||
</div> <!-- end card -->
|
</div> <!-- end card -->
|
||||||
</div><!-- end col-->
|
</div><!-- end col-->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user