96 lines
2.6 KiB
PHP
Executable File
96 lines
2.6 KiB
PHP
Executable File
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use App\Controllers\BaseController;
|
|
|
|
use CodeIgniter\Validation\Exceptions\ValidationException;
|
|
|
|
use App\Models\Assetdetails_model;
|
|
use App\Models\Batchcard_model;
|
|
use App\Models\Cashbook_model;
|
|
use App\Models\Companydetails_model;
|
|
use App\Models\Config_model;
|
|
use App\Models\Costcenter_model;
|
|
use App\Models\Dashboard_Model;
|
|
use App\Models\Department_model;
|
|
use App\Models\Employeedetails_model;
|
|
use App\Models\Emppaydate_model;
|
|
use App\Models\Inwardgateregister_model;
|
|
use App\Models\Login_model;
|
|
use App\Models\Monthlypay_model;
|
|
use App\Models\Mrir_model;
|
|
use App\Models\Payroll_model;
|
|
use App\Models\Purchaseorder_model;
|
|
use App\Models\Quality_model;
|
|
use App\Models\Rawmaterialdetails_model;
|
|
use App\Models\Requistion_model;
|
|
use App\Models\Store_model;
|
|
use App\Models\Storerequistion_model;
|
|
use App\Models\Supplier_model;
|
|
use App\Models\User_model;
|
|
use App\Models\Zohobook_api_model;
|
|
|
|
|
|
/**
|
|
* Module : Store
|
|
* Storerequisition Class to control all Storerequisition related operations.
|
|
* @author : Venba
|
|
* @version : 1.1
|
|
* @since : 15 Feb 2016
|
|
* @example : Revised at 15th april 2024
|
|
*/
|
|
class Storerequisition extends BaseController
|
|
{
|
|
protected $session;
|
|
protected $monthlypay_model;
|
|
/**
|
|
* This is default constructor of the class
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->monthlypay_model = new Monthlypay_model();
|
|
$this->session = session();
|
|
helper('form'); //$this->load->library('form_validation');
|
|
// $this->load->library('pagination');
|
|
|
|
$this->isLoggedIn();
|
|
}
|
|
/**
|
|
* This function used to load the first screen of the user
|
|
*/
|
|
public function index()
|
|
{
|
|
//$this->global['pageTitle'] = $this->CompanyName.' : storesrequisitionslip';
|
|
|
|
//$this->loadviews('storesrequisitionslip',$this->global);
|
|
}
|
|
|
|
function addstorerequisitionslip()
|
|
{
|
|
$this->global['pageTitle'] = 'Add Store Requisition';
|
|
|
|
$this->loadviews('addstorerequisitionslip', $this->global);
|
|
}
|
|
function storerequisitionlist()
|
|
{
|
|
$this->global['pageTitle'] = 'Store Requisition List';
|
|
|
|
$this->loadviews('storerequisitionlist', $this->global);
|
|
}
|
|
function storerequisitionlisting()
|
|
{
|
|
$this->global['pageTitle'] = 'Store Requisition Listing';
|
|
|
|
$this->loadviews('storerequisitionlisting', $this->global);
|
|
}
|
|
function approvalstorerequisition()
|
|
{
|
|
$this->global['pageTitle'] = 'Approval Store Requisition';
|
|
|
|
$this->loadviews('approvalstorerequisitionslip', $this->global);
|
|
}
|
|
|
|
}
|