ALL
This commit is contained in:
commit
e2ec75f3f6
7
.htaccess
Normal file
7
.htaccess
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
DirectoryIndex index.php
|
||||||
|
RewriteEngine on
|
||||||
|
|
||||||
|
RewriteCond $1 !^(index\.php|(.*)\.swf|forums|img|css|downloads|jquery|js|grocery_curd|scss|robots\.txt|favicon\.ico)
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*)$ ./index.php?$1 [L,QSA]
|
||||||
13
.project
Normal file
13
.project
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>trunk</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>com.aptana.projects.webnature</nature>
|
||||||
|
<nature>com.aptana.editor.php.phpNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
**Employee Account :**
|
||||||
|
|
||||||
|
email : venbatechnologies@gmail.com
|
||||||
|
|
||||||
|
password : resicovenba
|
||||||
|
|
||||||
|
To clone this use "git clone https://saravanakumar_kandasami@bitbucket.org/venbainformationtechnology/siddharth_application.git (your own link)"
|
||||||
1
application/.htaccess
Normal file
1
application/.htaccess
Normal file
@ -0,0 +1 @@
|
|||||||
|
Deny from all
|
||||||
1
application/cache/.htaccess
vendored
Normal file
1
application/cache/.htaccess
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Deny from all
|
||||||
10
application/cache/index.html
vendored
Normal file
10
application/cache/index.html
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
116
application/config/autoload.php
Normal file
116
application/config/autoload.php
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| AUTO-LOADER
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file specifies which systems should be loaded by default.
|
||||||
|
|
|
||||||
|
| In order to keep the framework as light-weight as possible only the
|
||||||
|
| absolute minimal resources are loaded by default. For example,
|
||||||
|
| the database is not connected to automatically since no assumption
|
||||||
|
| is made regarding whether you intend to use it. This file lets
|
||||||
|
| you globally define which systems you would like loaded with every
|
||||||
|
| request.
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Instructions
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These are the things you can load automatically:
|
||||||
|
|
|
||||||
|
| 1. Packages
|
||||||
|
| 2. Libraries
|
||||||
|
| 3. Helper files
|
||||||
|
| 4. Custom config files
|
||||||
|
| 5. Language files
|
||||||
|
| 6. Models
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Packges
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['packages'] = array();
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Libraries
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| These are the classes located in the system/libraries folder
|
||||||
|
| or in your application/libraries folder.
|
||||||
|
|
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['libraries'] = array('database', 'session');
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Helper Files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['helper'] = array('url', 'file');
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['helper'] = array('url', 'file','cias_helper');
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Config files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['config'] = array('config1', 'config2');
|
||||||
|
|
|
||||||
|
| NOTE: This item is intended for use ONLY if you have created custom
|
||||||
|
| config files. Otherwise, leave it blank.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['config'] = array();
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Language files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['language'] = array('lang1', 'lang2');
|
||||||
|
|
|
||||||
|
| NOTE: Do not include the "_lang" part of your file. For example
|
||||||
|
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['language'] = array();
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Models
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['model'] = array('model1', 'model2');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$autoload['model'] = array();
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file autoload.php */
|
||||||
|
/* Location: ./application/config/autoload.php */
|
||||||
366
application/config/config.php
Normal file
366
application/config/config.php
Normal file
@ -0,0 +1,366 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Base Site URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| URL to your CodeIgniter root. Typically this will be your base URL,
|
||||||
|
| WITH a trailing slash:
|
||||||
|
|
|
||||||
|
| http://example.com/
|
||||||
|
|
|
||||||
|
| If this is not set then CodeIgniter will try to guess the protocol, domain
|
||||||
|
| and path to your installation. However, you should always configure this
|
||||||
|
| explicitly and never rely on auto-guessing, especially in production
|
||||||
|
| environments.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$base = "http://".$_SERVER['HTTP_HOST'];
|
||||||
|
$base .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
|
||||||
|
$config['base_url'] = $base;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Index File
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Typically this will be your index.php file, unless you've renamed it to
|
||||||
|
| something else. If you are using mod_rewrite to remove the page set this
|
||||||
|
| variable so that it is blank.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['index_page'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| URI PROTOCOL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This item determines which server global should be used to retrieve the
|
||||||
|
| URI string. The default setting of 'AUTO' works for most servers.
|
||||||
|
| If your links do not seem to work, try one of the other delicious flavors:
|
||||||
|
|
|
||||||
|
| 'AUTO' Default - auto detects
|
||||||
|
| 'PATH_INFO' Uses the PATH_INFO
|
||||||
|
| 'QUERY_STRING' Uses the QUERY_STRING
|
||||||
|
| 'REQUEST_URI' Uses the REQUEST_URI
|
||||||
|
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['uri_protocol'] = 'AUTO';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| URL suffix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
||||||
|
| For more information please see the user guide:
|
||||||
|
|
|
||||||
|
| http://codeigniter.com/user_guide/general/urls.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
$config['url_suffix'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Language
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This determines which set of language files should be used. Make sure
|
||||||
|
| there is an available translation if you intend to use something other
|
||||||
|
| than english.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['language'] = 'english';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Character Set
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This determines which character set is used by default in various methods
|
||||||
|
| that require a character set to be provided.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['charset'] = 'UTF-8';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable/Disable System Hooks
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you would like to use the 'hooks' feature you must enable it by
|
||||||
|
| setting this variable to TRUE (boolean). See the user guide for details.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['enable_hooks'] = FALSE;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Class Extension Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This item allows you to set the filename/classname prefix when extending
|
||||||
|
| native libraries. For more information please see the user guide:
|
||||||
|
|
|
||||||
|
| http://codeigniter.com/user_guide/general/core_classes.html
|
||||||
|
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['subclass_prefix'] = 'MY_';
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Allowed URL Characters
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This lets you specify with a regular expression which characters are permitted
|
||||||
|
| within your URLs. When someone tries to submit a URL with disallowed
|
||||||
|
| characters they will get a warning message.
|
||||||
|
|
|
||||||
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
||||||
|
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
||||||
|
|
|
||||||
|
| Leave blank to allow all characters -- but only if you are insane.
|
||||||
|
|
|
||||||
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable Query Strings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
|
||||||
|
| example.com/who/what/where/
|
||||||
|
|
|
||||||
|
| By default CodeIgniter enables access to the $_GET array. If for some
|
||||||
|
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
||||||
|
|
|
||||||
|
| You can optionally enable standard query string based URLs:
|
||||||
|
| example.com?who=me&what=something&where=here
|
||||||
|
|
|
||||||
|
| Options are: TRUE or FALSE (boolean)
|
||||||
|
|
|
||||||
|
| The other items let you set the query string 'words' that will
|
||||||
|
| invoke your controllers and its functions:
|
||||||
|
| example.com/index.php?c=controller&m=function
|
||||||
|
|
|
||||||
|
| Please note that some of the helpers won't work as expected when
|
||||||
|
| this feature is enabled, since CodeIgniter is designed primarily to
|
||||||
|
| use segment based URLs.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['allow_get_array'] = TRUE;
|
||||||
|
$config['enable_query_strings'] = FALSE;
|
||||||
|
$config['controller_trigger'] = 'c';
|
||||||
|
$config['function_trigger'] = 'm';
|
||||||
|
$config['directory_trigger'] = 'd'; // experimental not currently in use
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Error Logging Threshold
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you have enabled error logging, you can set an error threshold to
|
||||||
|
| determine what gets logged. Threshold options are:
|
||||||
|
| You can enable error logging by setting a threshold over zero. The
|
||||||
|
| threshold determines what gets logged. Threshold options are:
|
||||||
|
|
|
||||||
|
| 0 = Disables logging, Error logging TURNED OFF
|
||||||
|
| 1 = Error Messages (including PHP errors)
|
||||||
|
| 2 = Debug Messages
|
||||||
|
| 3 = Informational Messages
|
||||||
|
| 4 = All Messages
|
||||||
|
|
|
||||||
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
|
||||||
|
| your log files will fill up very fast.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_threshold'] = 1;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Error Logging Directory Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
|
| application/logs/ folder. Use a full server path with trailing slash.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_path'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Date Format for Logs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Each item that is logged has an associated date. You can use PHP date
|
||||||
|
| codes to set your own date formatting
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_date_format'] = 'Y-m-d H:i:s';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Directory Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
|
| system/cache/ folder. Use a full server path with trailing slash.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['cache_path'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Encryption Key
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you use the Encryption class or the Session class you
|
||||||
|
| MUST set an encryption key. See the user guide for info.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['encryption_key'] = 'asjkrue*$djasfl134213';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Variables
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 'sess_cookie_name' = the name you want for the cookie
|
||||||
|
| 'sess_expiration' = the number of SECONDS you want the session to last.
|
||||||
|
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
|
||||||
|
| 'sess_expire_on_close' = Whether to cause the session to expire automatically
|
||||||
|
| when the browser window is closed
|
||||||
|
| 'sess_encrypt_cookie' = Whether to encrypt the cookie
|
||||||
|
| 'sess_use_database' = Whether to save the session data to a database
|
||||||
|
| 'sess_table_name' = The name of the session database table
|
||||||
|
| 'sess_match_ip' = Whether to match the user's IP address when reading the session data
|
||||||
|
| 'sess_match_useragent' = Whether to match the User Agent when reading the session data
|
||||||
|
| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['sess_cookie_name'] = 'ci_session';
|
||||||
|
$config['sess_expiration'] = 7200;
|
||||||
|
$config['sess_expire_on_close'] = FALSE;
|
||||||
|
$config['sess_encrypt_cookie'] = FALSE;
|
||||||
|
$config['sess_use_database'] = FALSE;
|
||||||
|
$config['sess_table_name'] = 'ci_sessions';
|
||||||
|
$config['sess_match_ip'] = FALSE;
|
||||||
|
$config['sess_match_useragent'] = TRUE;
|
||||||
|
$config['sess_time_to_update'] = 300;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cookie Related Variables
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
|
||||||
|
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
|
||||||
|
| 'cookie_path' = Typically will be a forward slash
|
||||||
|
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['cookie_prefix'] = "";
|
||||||
|
$config['cookie_domain'] = "";
|
||||||
|
$config['cookie_path'] = "/";
|
||||||
|
$config['cookie_secure'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global XSS Filtering
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Determines whether the XSS filter is always active when GET, POST or
|
||||||
|
| COOKIE data is encountered
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['global_xss_filtering'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cross Site Request Forgery
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
|
||||||
|
| checked on a submitted form. If you are accepting user data, it is strongly
|
||||||
|
| recommended CSRF protection be enabled.
|
||||||
|
|
|
||||||
|
| 'csrf_token_name' = The token name
|
||||||
|
| 'csrf_cookie_name' = The cookie name
|
||||||
|
| 'csrf_expire' = The number in seconds the token should expire.
|
||||||
|
*/
|
||||||
|
$config['csrf_protection'] = FALSE;
|
||||||
|
$config['csrf_token_name'] = 'csrf_test_name';
|
||||||
|
$config['csrf_cookie_name'] = 'csrf_cookie_name';
|
||||||
|
$config['csrf_expire'] = 7200;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Output Compression
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Enables Gzip output compression for faster page loads. When enabled,
|
||||||
|
| the output class will test whether your server supports Gzip.
|
||||||
|
| Even if it does, however, not all browsers support compression
|
||||||
|
| so enable only if you are reasonably sure your visitors can handle it.
|
||||||
|
|
|
||||||
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
||||||
|
| means you are prematurely outputting something to your browser. It could
|
||||||
|
| even be a line of whitespace at the end of one of your scripts. For
|
||||||
|
| compression to work, nothing can be sent before the output buffer is called
|
||||||
|
| by the output class. Do not 'echo' any values with compression enabled.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['compress_output'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Master Time Reference
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Options are 'local' or 'gmt'. This pref tells the system whether to use
|
||||||
|
| your server's local time as the master 'now' reference, or convert it to
|
||||||
|
| GMT. See the 'date helper' page of the user guide for information
|
||||||
|
| regarding date handling.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['time_reference'] = 'local';
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Rewrite PHP Short Tags
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If your PHP installation does not have short tag support enabled CI
|
||||||
|
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
||||||
|
| in your view files. Options are TRUE or FALSE (boolean)
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['rewrite_short_tags'] = FALSE;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Reverse Proxy IPs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If your server is behind a reverse proxy, you must whitelist the proxy IP
|
||||||
|
| addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
|
||||||
|
| header in order to properly identify the visitor's IP address.
|
||||||
|
| Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['proxy_ips'] = '';
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file config.php */
|
||||||
|
/* Location: ./application/config/config.php */
|
||||||
312
application/config/constants.php
Normal file
312
application/config/constants.php
Normal file
@ -0,0 +1,312 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File and Directory Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These prefs are used when checking and setting modes when working
|
||||||
|
| with the file system. The defaults are fine on servers with proper
|
||||||
|
| security, but you may wish (or even need) to change the values in
|
||||||
|
| certain environments (Apache running a separate process for each
|
||||||
|
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
|
||||||
|
| always be used to set the mode correctly.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
define('FILE_READ_MODE', 0644);
|
||||||
|
define('FILE_WRITE_MODE', 0666);
|
||||||
|
define('DIR_READ_MODE', 0755);
|
||||||
|
define('DIR_WRITE_MODE', 0777);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File Stream Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These modes are used when working with fopen()/popen()
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
define('FOPEN_READ', 'rb');
|
||||||
|
define('FOPEN_READ_WRITE', 'r+b');
|
||||||
|
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
||||||
|
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
|
||||||
|
define('FOPEN_WRITE_CREATE', 'ab');
|
||||||
|
define('FOPEN_READ_WRITE_CREATE', 'a+b');
|
||||||
|
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
|
||||||
|
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
|
||||||
|
|
||||||
|
/**** USER DEFINED CONSTANTS **********/
|
||||||
|
|
||||||
|
define('ROLE_ADMIN', '1');
|
||||||
|
define('ROLE_MANAGER', '2');
|
||||||
|
define('ROLE_EMPLOYEE', '3');
|
||||||
|
/*define('ROLE_PRODUCTION', '4');
|
||||||
|
define('ROLE_QUALITY', '5');
|
||||||
|
define('ROLE_SECURITY', '6');
|
||||||
|
define('ROLE_SALES', '7');
|
||||||
|
define('ROLE_ACCOUNTS', '8');*/
|
||||||
|
|
||||||
|
|
||||||
|
/***** USER DESIGNATION ******/
|
||||||
|
define('SECURITY', 'SECURITY');
|
||||||
|
|
||||||
|
define('SEGMENT', 2);
|
||||||
|
|
||||||
|
/************** Requistion Status code */
|
||||||
|
define('REQ_DRAFT', 'ST001');
|
||||||
|
define('REQ_PENDING_APPROVAL', 'ST002');
|
||||||
|
define('REQITEM_NEW', 'ST003');
|
||||||
|
define('REQ_APPROVED', 'ST004');
|
||||||
|
define('REQ_PO_CREATED' , 'ST005');
|
||||||
|
define('REQ_REJECTED', 'ST006');
|
||||||
|
define('REQ_CLOSED', 'ST007');
|
||||||
|
define('REQ_ONHOLD', 'ST008');
|
||||||
|
define('REQITEM_ONHOLD', 'ST009');
|
||||||
|
define('REQITEM_PARTIALLY_DELIVERED', 'ST010');
|
||||||
|
define('REQITEM_DELIVERED', 'ST011');
|
||||||
|
define('REQ_DELETED', 'ST013');
|
||||||
|
define('REQITEM_POCREATED', 'ST022');
|
||||||
|
define('REQITEM_PARTIALLY_PO_CREATED', 'ST023');
|
||||||
|
define('REQITEM_Emergency_PO_CREATED', 'ST024');
|
||||||
|
define('POLINEITEM_IGR_CREATED', 'ST040');
|
||||||
|
define('REQ_READYFORDELIVERY', 'ST049');
|
||||||
|
define('REQ_DELIVERED', 'ST050');
|
||||||
|
/*IGR Status */
|
||||||
|
define('IGR_CREATED', 'ST027');
|
||||||
|
define('IGR_CLOSED', 'ST028');
|
||||||
|
define('IGR_CANCELLED', 'ST029');
|
||||||
|
define('POLINEITEM_IGRPARTIAL_CREATED', 'ST042');
|
||||||
|
/*IGR Status*/
|
||||||
|
|
||||||
|
/*MRIR Status */
|
||||||
|
define('MRIR_CREATED', 'ST041');
|
||||||
|
define('MRIR_APPROVED', 'ST044');
|
||||||
|
define('MRIR_REJECTED', 'ST045');
|
||||||
|
define('PARTIAL_MRIRAPPROVED', 'ST054');
|
||||||
|
|
||||||
|
define('REQUISTSTATUS', '0');
|
||||||
|
define('REQUISTITEMSTATUS', '1');
|
||||||
|
|
||||||
|
/* Purchase Order Status */
|
||||||
|
|
||||||
|
define('PO_DRAFT', 'ST014');
|
||||||
|
define('PO_CREATED', 'ST015');
|
||||||
|
define('PO_INPROGRESS', 'ST016');
|
||||||
|
define('PO_DISPATCHED', 'ST017');
|
||||||
|
define('PO_DELIVERED', 'ST018');
|
||||||
|
define('PO_CANCELLED', 'ST019');
|
||||||
|
define('PO_ONHOLD', 'ST020');
|
||||||
|
define('PO_CLOSED', 'ST021');
|
||||||
|
define('PO_AMENDED', 'ST030');
|
||||||
|
define('PO_RELEASED', 'ST026');
|
||||||
|
define('PO_AWAITING_RELEASE', 'ST025');
|
||||||
|
define('PO_APPROVED', 'ST025');
|
||||||
|
define('PO_APPROVER_ONHOLD', 'ST051');
|
||||||
|
define('PO_RELEASER_ONHOLD', 'ST052');
|
||||||
|
/*store Status*/
|
||||||
|
|
||||||
|
define('STORE_DRAFT', 'ST043');
|
||||||
|
define('STORE_CREATED', 'ST015');
|
||||||
|
|
||||||
|
/*store requisition*/
|
||||||
|
define('STORE REQUISTION STATUS', '6');
|
||||||
|
define('STORE_OPEN', 'ST034');
|
||||||
|
define('STORE_PENDINGAPPROVAL', 'ST035');
|
||||||
|
define('STORE_APPROVAL', 'ST036');
|
||||||
|
define('STORE_ISSUSED', 'ST037');
|
||||||
|
define('STORE_PARTIALLYISSUSED', 'ST055');
|
||||||
|
define('STORE_ONHOLD', 'ST038');
|
||||||
|
define('STORE_REJECT', 'ST039');
|
||||||
|
|
||||||
|
/* Work status code */
|
||||||
|
|
||||||
|
define('SERVICE_COMPLETED', 'ST046');
|
||||||
|
define('PO_SERVICE_COMPLETED', 'ST053');
|
||||||
|
|
||||||
|
/* Department Code */
|
||||||
|
define('ADMIN', 'DEP01');
|
||||||
|
define('QUALITY', 'DEP02');
|
||||||
|
define('STORE', 'DEP03');
|
||||||
|
define('SALES', 'DEP04');
|
||||||
|
define('PRODUCTION', 'DEP05');
|
||||||
|
define('DELIVERY', 'DEP06');
|
||||||
|
define('TRP', 'DEP07');
|
||||||
|
define('COATING', 'DEP08');
|
||||||
|
define('MAINTENANANCE', 'DEP09');
|
||||||
|
define('FINANCE', 'DEP10');
|
||||||
|
define('PURCHASE', 'DEP11');
|
||||||
|
define('MANAGEMENT', 'DEP12');
|
||||||
|
define('HR', 'DEP13');
|
||||||
|
/* PO Type */
|
||||||
|
define('REVENUE', 'REVENUE');
|
||||||
|
define('SERVICE', 'SERVICE');
|
||||||
|
define('IMPORT', 'IMPORT');
|
||||||
|
define('CAPITAL', 'CAPITAL');
|
||||||
|
|
||||||
|
// Tax Type
|
||||||
|
define('PERCENTAGE', 'PERCENTAGE');
|
||||||
|
define('LUMPSUM', 'LUMP SUM');
|
||||||
|
define('NILTYPE', 'NIL');
|
||||||
|
|
||||||
|
// Freight Type
|
||||||
|
define('PERUOM', 'PER UOM');
|
||||||
|
define('PERTRIP', 'PER TRIP');
|
||||||
|
|
||||||
|
|
||||||
|
/* Formula for Tax calculation */
|
||||||
|
/* Discount*/
|
||||||
|
define('DIS_PERCENTAGE', '((Discountval/100) * basicValue)');
|
||||||
|
define('DIS_LUMPSUM', 'Discountval');
|
||||||
|
// Packaging
|
||||||
|
define('PACKAGING_PERCENTAGE_BYDISCOUNTVALUE', '((Packagingvalue/100) * (basicValue-AfterDiscount))');
|
||||||
|
define('PACKAGING_PERCENTAGE_BYBASICVALUE', '(Packagingvalue/100) * basicValue');
|
||||||
|
define('PACKAGING_LUMPSUM_BYDISCOUNTVALUE', 'Packagingvalue');
|
||||||
|
define('PACKAGING_LUMPSUM_BYBASICVALUE', 'Packagingvalue');
|
||||||
|
//Excise
|
||||||
|
define('EXCISE_ONBASICVALUE', '((ExciseDuty/100) * basicValue)');
|
||||||
|
define('EXCISE_ONBASIC_DISCOUNT', '((ExciseDuty/100) * (basicValue-AfterDiscount))');
|
||||||
|
define('EXCISE_ONBASIC_DISCOUNT_PACKAGING', '((ExciseDuty/100) * ((basicValue-AfterDiscount)+ AfterPackaging))');
|
||||||
|
define('EXCISE_ONBASIC_PACKAGING', '((ExciseDuty/100) * (basicValue + AfterPackaging))');
|
||||||
|
|
||||||
|
|
||||||
|
//Vat
|
||||||
|
define('VAT_ONBASICVALUE', '((vatValue/100) * basicValue)');
|
||||||
|
//define('VAT_ONEXICSEVALUE', '((vatValue/100) * (basicValue+ExciseDuty))');
|
||||||
|
define('VAT_ONEXICSEVALUE', '(((basicValue - discountValue) + (packageValue + ExciseDuty)) * (vatValue/100))');
|
||||||
|
|
||||||
|
//CST
|
||||||
|
define('CST_ONBASICVALUE', '((CSTValue/100) * basicValue)');
|
||||||
|
//define('CST_ONEXICSEVALUE', '((CSTValue/100) * (basicValue+ExciseDuty))');
|
||||||
|
define('CST_ONEXICSEVALUE', '(((basicValue - discountValue) + (packageValue + ExciseDuty)) * (CSTValue/100))');
|
||||||
|
//GST
|
||||||
|
define('GSTTAX', '((GSTValue/100) * basicValue)');
|
||||||
|
//Other Tax
|
||||||
|
define('OTHERTAX', '((OtherTaxValue/100) * basicValue)');
|
||||||
|
//Freight Tax
|
||||||
|
define('FREIGHT_PERCENTAGE', '((FreightValue/100) * basicValue)');
|
||||||
|
define('FREIGHT_PERCENTAGE_AFTER', '((FreightValue/100) * (basicValue-AfterDiscount))');
|
||||||
|
define('FREIGHT_LUMPSUM', 'FreightValue');
|
||||||
|
define('FREIGHT_PERUOM', 'FreightValue * Quantity');
|
||||||
|
define('FREIGHT_PERTRIP', 'FreightValue');
|
||||||
|
|
||||||
|
/* SERVICE PO VARIABLES */
|
||||||
|
define('SERVICETAX_SERVICETAX_14PERCENT', '((14/100) * basicValue)');
|
||||||
|
define('SERVICETAX_EDUCESS_2PERCENT', '((2/100) * ServiceTaxAmount)');
|
||||||
|
define('SERVICETAX_HIGHEREDUCESS_1PERCENT', '((1/100) * ServiceTaxAmount)');
|
||||||
|
define('SERVICETAX_KRISHIKALYAN', '(((.5)/100) * basicValue)');
|
||||||
|
define('SERVICETAX_SWACHHBHARAT', '(((.5)/100) * basicValue)');
|
||||||
|
|
||||||
|
/*IMPORT PO CALCULATIONS*/
|
||||||
|
|
||||||
|
|
||||||
|
define('LOADING_CHARGE', '(txtlanding*txtbasicprice/100)');
|
||||||
|
define('HIGHSEAS_SALES', '(totalhighsess*highsesspercentage/100)');
|
||||||
|
define('CUSTOM_DUTY', '(sumcustom*txtcustompercentage)/100');
|
||||||
|
define('EXCISE_DUTY', '(txtexcisesum*txtpercentage)/100');
|
||||||
|
define('EXCISE_ED', '(txtexcise*txtexcisepercentage)/100');
|
||||||
|
define('EXCISE_SH', '(excisetxt*exciseshcess)/100');
|
||||||
|
define('CUSTOM_ED', '(totalval*txtedcesspercentage)/100');
|
||||||
|
define('CUSTOM_SH', '(totcustomsh*txtshpercentage)/100');
|
||||||
|
define('ADDTNL_EXCISEDUTY', '(totaddtnlexcise*addtnpercentage)/100');
|
||||||
|
define('GROSS_EXP', '(txtgrossdutypayable-txtmodvat)');
|
||||||
|
define('AVL_MODVAT', 'txtexciseduty1+txtexciseedcess+txtexciseshcess+txtaddtnlexcise');
|
||||||
|
define('GROSS_DUTY', 'landingcha+highsesssalless+customcha+excisecha+exciseedcha+exciseshcha+customed+customsh+txtaddtnexciseduty');
|
||||||
|
define('PURCHASE_RATE', 'txtbasicinrprice/quantity');
|
||||||
|
define('CUSTOMDUTY_EXP', 'txtgrossexp/quantity');
|
||||||
|
define('RMC_CAL', 'txtpurchaserate+txtcustomdutyexp');
|
||||||
|
define('CALCULATE_TOTAL', '(txtrmc*quantity)+basicprice');
|
||||||
|
/* Capital Po Calculations */
|
||||||
|
define('Capital_Landing_Charge', 'basicPrice*(landCharge/100)');
|
||||||
|
define('Capital_Highseas_Charge', '((highSeas/100) * (basicPrice+afterLandingCharge))');
|
||||||
|
define('Capital_Customduty_Charge', '((Customduty/100) * (basicPrice+afterLandingCharge+afterHighseas))');
|
||||||
|
define('Capital_Excise_Charge', '((Excise/100) * (basicPrice+afterLandingCharge+afterHighseas+afterCustomduty))');
|
||||||
|
define('Capital_ExciseEDcess_Charge', '(ExciseEDcessCharge/100) * ExciseDuty');
|
||||||
|
define('Capital_ExciseSHcess_Charge', '(ExciseSHcessCharge/100) * ExciseDuty');
|
||||||
|
define('Capital_CustomEDcess_Charge', '((CustomEDcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))');
|
||||||
|
define('Capital_CustomSHcess_Charge', '((CustomSHcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))');
|
||||||
|
define('Capital_AdditionalExciseduty_Charge', '((AdditionalExciseduty/100) * (basicPrices+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess))');
|
||||||
|
|
||||||
|
define('Capital_Grossdutypayable_Charge', '(AfterAdditionalExciseduty+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess)');
|
||||||
|
define('Capital_ModvatCharge_Charge', '(AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterAdditionalExciseduty)');
|
||||||
|
|
||||||
|
define('Capital_Grossexpenses_Charge', '(Grossdutypayable-AvailableModvat)');
|
||||||
|
define('Capital_purchaserate_Charge', '(AfterBasicPriceTax/PurQuantity)');
|
||||||
|
define('Capital_CustomDutyExpenses_Charge', '(Grossexpenses/PurQuantity)');
|
||||||
|
define('Capital_RMCIncludingCustomers_Charge', '(purchaserate+CustomDutyExpenses)');
|
||||||
|
/* calculate cgst sgst igst calculations for service tax*/
|
||||||
|
define('SERVICETAX_CGST', '((Cgst/100) * basicValue)');
|
||||||
|
define('SERVICETAX_SGST', '((Sgst/100) * basicValue)');
|
||||||
|
|
||||||
|
define('SERVICETAX_IGST', '((Igst/100) * basicValue)');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*New import Calculation*/
|
||||||
|
define('LOADING_CHARGE1', '(txtlanding*txtbasicprice/100)');
|
||||||
|
define('HIGHSEAS_SALES1', '(totalhighsess*highsesspercentage/100)');
|
||||||
|
define('CUSTOM_DUTY1', '(accessible*txtcustompercentage)/100');
|
||||||
|
define('EXCISE_DUTY1', '(txtexcisesum*txtpercentage)/100');
|
||||||
|
define('EXCISE_ED1', '(txtexcise*txtexcisepercentage)/100');
|
||||||
|
define('EXCISE_SH1', '(excisetxt*exciseshcess)/100');
|
||||||
|
define('CUSTOM_ED1', '(txtcustomduty1*txtedcesspercentage)/100');
|
||||||
|
define('CUSTOM_SH1', '(customch*txtshpercentage)/100');
|
||||||
|
define('ADDTNL_EXCISEDUTY1', '(totaddtnlexcise*addtnpercentage)/100');
|
||||||
|
define('GROSS_EXP1', '(txtgrossdutypayable-txtmodvat)');
|
||||||
|
define('AVL_MODVAT1', 'txtexciseduty1+txtexciseedcess+txtexciseshcess+txtaddtnlexcise');
|
||||||
|
define('GROSS_DUTY1', 'custom+customsh+customed+afterigst');
|
||||||
|
define('PURCHASE_RATE1', '(dutyimpact)/quantity');
|
||||||
|
define('CUSTOMDUTY_EXP1', 'txtgrossexp/quantity');
|
||||||
|
define('RMC_CAL1', 'txtpurchaserate+txtcustomdutyexp');
|
||||||
|
define('CALCULATE_TOTAL1', '(txtrmc*quantity)+basicprice');
|
||||||
|
|
||||||
|
define('IGST', '(tot*igstpercentage)/100');
|
||||||
|
define('SUBTOTAL', '((assessble)+(custom)+(customsh)+(customed))');
|
||||||
|
|
||||||
|
define('ASSESSBLE', '(result+txtbasicprice)');
|
||||||
|
define('DUTYIMPACT', '(totduty-igst)');
|
||||||
|
define('MATBYQTY', '(basicqtyval)/qty');
|
||||||
|
define('CLEARINGQTY', '(clearing/qty)');
|
||||||
|
define('NETTPERUOM', '(basicres+clear+customdutyexp)');
|
||||||
|
|
||||||
|
|
||||||
|
/*Capital Calculation*/
|
||||||
|
|
||||||
|
define('Capital_Landing_Charge1', 'basicPrice*(landCharge/100)');
|
||||||
|
|
||||||
|
define('Capital_Highseas_Charge1', '((highSeas/100) * (basicPrice+afterLandingCharge))');
|
||||||
|
|
||||||
|
define('Capital_Customduty_Charge1', '((Customduty/100) *accessible)');
|
||||||
|
|
||||||
|
define('Capital_Excise_Charge1', '((Excise/100) * (basicPrice+afterLandingCharge+afterHighseas+afterCustomduty))');
|
||||||
|
|
||||||
|
define('Capital_ExciseEDcess_Charge1', '(ExciseEDcessCharge/100) * ExciseDuty');
|
||||||
|
|
||||||
|
define('Capital_ExciseSHcess_Charge1', '(ExciseSHcessCharge/100) * ExciseDuty');
|
||||||
|
|
||||||
|
define('Capital_CustomEDcess_Charge1', '((CustomEDcess* AfterCustomduty)/100)');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
define('Capital_CustomSHcess_Charge1', '((CustomSHcess/100) * AfterCustomduty)');
|
||||||
|
|
||||||
|
define('Capital_AdditionalExciseduty_Charge1', '((AdditionalExciseduty/100) * (basicPrices+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess))');
|
||||||
|
|
||||||
|
|
||||||
|
define('Capital_Grossdutypayable_Charge1', '(AfterAdditionalExciseduty+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess)');
|
||||||
|
|
||||||
|
define('Capital_ModvatCharge_Charge1', '(AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterAdditionalExciseduty)');
|
||||||
|
|
||||||
|
|
||||||
|
define('Capital_Grossexpenses_Charge1', '(Grossdutypayable-AvailableModvat)');
|
||||||
|
define('Capital_purchaserate_Charge1', '(AfterBasicPriceTax/PurQuantity)');
|
||||||
|
define('Capital_CustomDutyExpenses_Charge1', '(Grossexpenses/PurQuantity)');
|
||||||
|
define('Capital_RMCIncludingCustomers_Charge1', '(purchaserate+CustomDutyExpenses)');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file constants.php */
|
||||||
|
/* Location: ./application/config/constants.php */
|
||||||
237
application/config/constants.php~
Normal file
237
application/config/constants.php~
Normal file
@ -0,0 +1,237 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File and Directory Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These prefs are used when checking and setting modes when working
|
||||||
|
| with the file system. The defaults are fine on servers with proper
|
||||||
|
| security, but you may wish (or even need) to change the values in
|
||||||
|
| certain environments (Apache running a separate process for each
|
||||||
|
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
|
||||||
|
| always be used to set the mode correctly.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
define('FILE_READ_MODE', 0644);
|
||||||
|
define('FILE_WRITE_MODE', 0666);
|
||||||
|
define('DIR_READ_MODE', 0755);
|
||||||
|
define('DIR_WRITE_MODE', 0777);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File Stream Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These modes are used when working with fopen()/popen()
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
define('FOPEN_READ', 'rb');
|
||||||
|
define('FOPEN_READ_WRITE', 'r+b');
|
||||||
|
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
||||||
|
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
|
||||||
|
define('FOPEN_WRITE_CREATE', 'ab');
|
||||||
|
define('FOPEN_READ_WRITE_CREATE', 'a+b');
|
||||||
|
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
|
||||||
|
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
|
||||||
|
|
||||||
|
/**** USER DEFINED CONSTANTS **********/
|
||||||
|
|
||||||
|
define('ROLE_ADMIN', '1');
|
||||||
|
define('ROLE_MANAGER', '2');
|
||||||
|
define('ROLE_EMPLOYEE', '3');
|
||||||
|
/*define('ROLE_PRODUCTION', '4');
|
||||||
|
define('ROLE_QUALITY', '5');
|
||||||
|
define('ROLE_SECURITY', '6');
|
||||||
|
define('ROLE_SALES', '7');
|
||||||
|
define('ROLE_ACCOUNTS', '8');*/
|
||||||
|
|
||||||
|
|
||||||
|
/***** USER DESIGNATION ******/
|
||||||
|
define('SECURITY', 'SECURITY');
|
||||||
|
|
||||||
|
define('SEGMENT', 2);
|
||||||
|
|
||||||
|
/************** Requistion Status code */
|
||||||
|
define('REQ_DRAFT', 'ST001');
|
||||||
|
define('REQ_PENDING_APPROVAL', 'ST002');
|
||||||
|
define('REQITEM_NEW', 'ST003');
|
||||||
|
define('REQ_APPROVED', 'ST004');
|
||||||
|
define('REQ_PO_CREATED' , 'ST005');
|
||||||
|
define('REQ_REJECTED', 'ST006');
|
||||||
|
define('REQ_CLOSED', 'ST007');
|
||||||
|
define('REQ_ONHOLD', 'ST008');
|
||||||
|
define('REQITEM_ONHOLD', 'ST009');
|
||||||
|
define('REQITEM_PARTIALLY_DELIVERED', 'ST010');
|
||||||
|
define('REQITEM_DELIVERED', 'ST011');
|
||||||
|
define('REQ_DELETED', 'ST013');
|
||||||
|
define('REQITEM_POCREATED', 'ST022');
|
||||||
|
define('REQITEM_PARTIALLY_PO_CREATED', 'ST023');
|
||||||
|
define('REQITEM_Emergency_PO_CREATED', 'ST024');
|
||||||
|
define('POLINEITEM_IGR_CREATED', 'ST040');
|
||||||
|
|
||||||
|
/*IGR Status */
|
||||||
|
define('IGR_CREATED', 'ST027');
|
||||||
|
define('IGR_CLOSED', 'ST028');
|
||||||
|
define('IGR_CANCELLED', 'ST029');
|
||||||
|
define('POLINEITEM_IGRPARTIAL_CREATED', 'ST042');
|
||||||
|
/*IGR Status*/
|
||||||
|
|
||||||
|
/*MRIR Status */
|
||||||
|
define('MRIR_CREATED', 'ST041');
|
||||||
|
define('MRIR_APPROVED', 'ST044');
|
||||||
|
define('MRIR_REJECTED', 'ST045');
|
||||||
|
|
||||||
|
define('REQUISTSTATUS', '0');
|
||||||
|
define('REQUISTITEMSTATUS', '1');
|
||||||
|
|
||||||
|
/* Purchase Order Status */
|
||||||
|
|
||||||
|
define('PO_DRAFT', 'ST014');
|
||||||
|
define('PO_CREATED', 'ST015');
|
||||||
|
define('PO_INPROGRESS', 'ST016');
|
||||||
|
define('PO_DISPATCHED', 'ST017');
|
||||||
|
define('PO_DELIVERED', 'ST018');
|
||||||
|
define('PO_CANCELLED', 'ST019');
|
||||||
|
define('PO_ONHOLD', 'ST020');
|
||||||
|
define('PO_CLOSED', 'ST021');
|
||||||
|
define('PO_AMENDED', 'ST030');
|
||||||
|
define('PO_RELEASED', 'ST026');
|
||||||
|
define('PO_AWAITING_RELEASE', 'ST025');
|
||||||
|
define('PO_APPROVED', 'ST025');
|
||||||
|
|
||||||
|
/*store Status*/
|
||||||
|
|
||||||
|
define('STORE_DRAFT', 'ST043');
|
||||||
|
define('STORE_CREATED', 'ST015');
|
||||||
|
|
||||||
|
/*store requisition*/
|
||||||
|
define('STORE REQUISTION STATUS', '6');
|
||||||
|
define('STORE_OPEN', 'ST034');
|
||||||
|
define('STORE_PENDINGAPPROVAL', 'ST035');
|
||||||
|
define('STORE_APPROVAL', 'ST036');
|
||||||
|
define('STORE_ISSUSED', 'ST037');
|
||||||
|
define('STORE_ONHOLD', 'ST038');
|
||||||
|
define('STORE_REJECT', 'ST039');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Department Code */
|
||||||
|
define('ADMIN', 'DEP01');
|
||||||
|
define('QUALITY', 'DEP02');
|
||||||
|
define('STORE', 'DEP03');
|
||||||
|
define('SALES', 'DEP04');
|
||||||
|
define('PRODUCTION', 'DEP05');
|
||||||
|
define('DELIVERY', 'DEP06');
|
||||||
|
define('TRP', 'DEP07');
|
||||||
|
define('COATING', 'DEP08');
|
||||||
|
define('MAINTENANANCE', 'DEP09');
|
||||||
|
define('FINANCE', 'DEP10');
|
||||||
|
define('PURCHASE', 'DEP11');
|
||||||
|
define('MANAGEMENT', 'DEP12');
|
||||||
|
/* PO Type */
|
||||||
|
define('REVENUE', 'REVENUE');
|
||||||
|
define('SERVICE', 'SERVICE');
|
||||||
|
define('IMPORT', 'IMPORT');
|
||||||
|
define('CAPITAL', 'CAPITAL');
|
||||||
|
|
||||||
|
// Tax Type
|
||||||
|
define('PERCENTAGE', 'PERCENTAGE');
|
||||||
|
define('LUMPSUM', 'LUMP SUM');
|
||||||
|
define('NILTYPE', 'NIL');
|
||||||
|
|
||||||
|
// Freight Type
|
||||||
|
define('PERUOM', 'PER UOM');
|
||||||
|
define('PERTRIP', 'PER TRIP');
|
||||||
|
|
||||||
|
|
||||||
|
/* Formula for Tax calculation */
|
||||||
|
/* Discount*/
|
||||||
|
define('DIS_PERCENTAGE', '((Discountval/100) * basicValue)');
|
||||||
|
define('DIS_LUMPSUM', 'Discountval');
|
||||||
|
// Packaging
|
||||||
|
define('PACKAGING_PERCENTAGE_BYDISCOUNTVALUE', '((Packagingvalue/100) * (basicValue-AfterDiscount))');
|
||||||
|
define('PACKAGING_PERCENTAGE_BYBASICVALUE', '(Packagingvalue/100) * basicValue');
|
||||||
|
define('PACKAGING_LUMPSUM_BYDISCOUNTVALUE', 'Packagingvalue');
|
||||||
|
define('PACKAGING_LUMPSUM_BYBASICVALUE', 'Packagingvalue');
|
||||||
|
//Excise
|
||||||
|
define('EXCISE_ONBASICVALUE', '((ExciseDuty/100) * basicValue)');
|
||||||
|
define('EXCISE_ONBASIC_DISCOUNT', '((ExciseDuty/100) * (basicValue-AfterDiscount))');
|
||||||
|
define('EXCISE_ONBASIC_DISCOUNT_PACKAGING', '((ExciseDuty/100) * ((basicValue-AfterDiscount)+ AfterPackaging))');
|
||||||
|
define('EXCISE_ONBASIC_PACKAGING', '((ExciseDuty/100) * (basicValue + AfterPackaging))');
|
||||||
|
|
||||||
|
|
||||||
|
//Vat
|
||||||
|
define('VAT_ONBASICVALUE', '((vatValue/100) * basicValue)');
|
||||||
|
//define('VAT_ONEXICSEVALUE', '((vatValue/100) * (basicValue+ExciseDuty))');
|
||||||
|
define('VAT_ONEXICSEVALUE', '(((basicValue - discountValue) + (packageValue + ExciseDuty)) * (vatValue/100))');
|
||||||
|
|
||||||
|
//CST
|
||||||
|
define('CST_ONBASICVALUE', '((CSTValue/100) * basicValue)');
|
||||||
|
//define('CST_ONEXICSEVALUE', '((CSTValue/100) * (basicValue+ExciseDuty))');
|
||||||
|
define('CST_ONEXICSEVALUE', '(((basicValue - discountValue) + (packageValue + ExciseDuty)) * (CSTValue/100))');
|
||||||
|
//GST
|
||||||
|
define('GSTTAX', '((GSTValue/100) * basicValue)');
|
||||||
|
//Other Tax
|
||||||
|
define('OTHERTAX', '((OtherTaxValue/100) * basicValue)');
|
||||||
|
//Freight Tax
|
||||||
|
define('FREIGHT_PERCENTAGE', '((FreightValue/100) * basicValue)');
|
||||||
|
define('FREIGHT_LUMPSUM', 'FreightValue');
|
||||||
|
define('FREIGHT_PERUOM', 'FreightValue * Quantity');
|
||||||
|
define('FREIGHT_PERTRIP', 'FreightValue');
|
||||||
|
|
||||||
|
/* SERVICE PO VARIABLES */
|
||||||
|
define('SERVICETAX_SERVICETAX_14PERCENT', '((14/100) * basicValue)');
|
||||||
|
define('SERVICETAX_EDUCESS_2PERCENT', '((2/100) * ServiceTaxAmount)');
|
||||||
|
define('SERVICETAX_HIGHEREDUCESS_1PERCENT', '((1/100) * ServiceTaxAmount)');
|
||||||
|
define('SERVICETAX_KRISHIKALYAN', '(((.5)/100) * basicValue)');
|
||||||
|
define('SERVICETAX_SWACHHBHARAT', '(((.5)/100) * basicValue)');
|
||||||
|
|
||||||
|
/*IMPORT PO CALCULATIONS*/
|
||||||
|
|
||||||
|
|
||||||
|
define('LOADING_CHARGE', '(txtlanding*txtbasicprice/100)');
|
||||||
|
define('HIGHSEAS_SALES', '(totalhighsess*highsesspercentage/100)');
|
||||||
|
define('CUSTOM_DUTY', '(sumcustom*txtcustompercentage)/100');
|
||||||
|
define('EXCISE_DUTY', '(txtexcisesum*txtpercentage)/100');
|
||||||
|
define('EXCISE_ED', '(txtexcise*txtexcisepercentage)/100');
|
||||||
|
define('EXCISE_SH', '(excisetxt*exciseshcess)/100');
|
||||||
|
define('CUSTOM_ED', '(totalval*txtedcesspercentage)/100');
|
||||||
|
define('CUSTOM_SH', '(totcustomsh*txtshpercentage)/100');
|
||||||
|
define('ADDTNL_EXCISEDUTY', '(totaddtnlexcise*addtnpercentage)/100');
|
||||||
|
define('GROSS_EXP', '(txtgrossdutypayable-txtmodvat)');
|
||||||
|
define('AVL_MODVAT', 'txtexciseduty1+txtexciseedcess+txtexciseshcess+txtaddtnlexcise');
|
||||||
|
define('GROSS_DUTY', 'landingcha+highsesssalless+customcha+excisecha+exciseedcha+exciseshcha+customed+customsh+txtaddtnexciseduty');
|
||||||
|
define('PURCHASE_RATE', 'txtbasicinrprice/quantity');
|
||||||
|
define('CUSTOMDUTY_EXP', 'txtgrossexp/quantity');
|
||||||
|
define('RMC_CAL', 'txtpurchaserate+txtcustomdutyexp');
|
||||||
|
define('CALCULATE_TOTAL', '(txtrmc*quantity)+basicprice');
|
||||||
|
/* Capital Po Calculations */
|
||||||
|
define('Capital_Landing_Charge', 'basicPrice*(landCharge/100)');
|
||||||
|
define('Capital_Highseas_Charge', '((highSeas/100) * (basicPrice+afterLandingCharge))');
|
||||||
|
define('Capital_Customduty_Charge', '((Customduty/100) * (basicPrice+afterLandingCharge+afterHighseas))');
|
||||||
|
define('Capital_Excise_Charge', '((Excise/100) * (basicPrice+afterLandingCharge+afterHighseas+afterCustomduty))');
|
||||||
|
define('Capital_ExciseEDcess_Charge', '(ExciseEDcessCharge/100) * ExciseDuty');
|
||||||
|
define('Capital_ExciseSHcess_Charge', '(ExciseSHcessCharge/100) * ExciseDuty');
|
||||||
|
define('Capital_CustomEDcess_Charge', '((CustomEDcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))');
|
||||||
|
define('Capital_CustomSHcess_Charge', '((CustomSHcess/100) * (afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess))');
|
||||||
|
define('Capital_AdditionalExciseduty_Charge', '((AdditionalExciseduty/100) * (basicPrices+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess))');
|
||||||
|
|
||||||
|
define('Capital_Grossdutypayable_Charge', '(AfterAdditionalExciseduty+afterLandingCharge+AfterHighseas+AfterCustomduty+AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterCustomEDcess+AfterCustomSHcess)');
|
||||||
|
define('Capital_ModvatCharge_Charge', '(AfterExcisedutyTax+AfterExcisedutyEDcess+AfterExcisedutySHcess+AfterAdditionalExciseduty)');
|
||||||
|
|
||||||
|
define('Capital_Grossexpenses_Charge', '(Grossdutypayable-AvailableModvat)');
|
||||||
|
define('Capital_purchaserate_Charge', '(AfterBasicPriceTax/PurQuantity)');
|
||||||
|
define('Capital_CustomDutyExpenses_Charge', '(Grossexpenses/PurQuantity)');
|
||||||
|
define('Capital_RMCIncludingCustomers_Charge', '(purchaserate+CustomDutyExpenses)');
|
||||||
|
/* calculate cgst sgst igst calculations for service tax*/
|
||||||
|
define('SERVICETAX_CGST', '((Cgst/100) * basicValue)');
|
||||||
|
define('SERVICETAX_SGST', '((Sgst/100) * basicValue)');
|
||||||
|
|
||||||
|
define('SERVICETAX_IGST', '((Igst/100) * basicValue)');
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file constants.php */
|
||||||
|
/* Location: ./application/config/constants.php */
|
||||||
68
application/config/database.php
Normal file
68
application/config/database.php
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| DATABASE CONNECTIVITY SETTINGS
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file will contain the settings needed to access your database.
|
||||||
|
|
|
||||||
|
| For complete instructions please consult the 'Database Connection'
|
||||||
|
| page of the User Guide.
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| EXPLANATION OF VARIABLES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| ['hostname'] The hostname of your database server.
|
||||||
|
| ['username'] The username used to connect to the database
|
||||||
|
| ['password'] The password used to connect to the database
|
||||||
|
| ['database'] The name of the database you want to connect to
|
||||||
|
| ['dbdriver'] The database type. ie: mysql. Currently supported:
|
||||||
|
mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
|
||||||
|
| ['dbprefix'] You can add an optional prefix, which will be added
|
||||||
|
| to the table name when using the Active Record class
|
||||||
|
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|
||||||
|
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|
||||||
|
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
|
||||||
|
| ['cachedir'] The path to the folder where cache files should be stored
|
||||||
|
| ['char_set'] The character set used in communicating with the database
|
||||||
|
| ['dbcollat'] The character collation used in communicating with the database
|
||||||
|
| NOTE: For MySQL and MySQLi databases, this setting is only used
|
||||||
|
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|
||||||
|
| (and in table creation queries made with DB Forge).
|
||||||
|
| There is an incompatibility in PHP with mysql_real_escape_string() which
|
||||||
|
| can make your site vulnerable to SQL injection if you are using a
|
||||||
|
| multi-byte character set and are running versions lower than these.
|
||||||
|
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|
||||||
|
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
|
||||||
|
| ['autoinit'] Whether or not to automatically initialize the database.
|
||||||
|
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
|
||||||
|
| - good for ensuring strict SQL while developing
|
||||||
|
|
|
||||||
|
| The $active_group variable lets you choose which connection group to
|
||||||
|
| make active. By default there is only one group (the 'default' group).
|
||||||
|
|
|
||||||
|
| The $active_record variables lets you determine whether or not to load
|
||||||
|
| the active record class
|
||||||
|
*/
|
||||||
|
|
||||||
|
$active_group = 'default';
|
||||||
|
$active_record = TRUE;
|
||||||
|
|
||||||
|
$db['default']['hostname'] = 'resicoindustries.com';
|
||||||
|
$db['default']['username'] = 'resicoin_RIADev';
|
||||||
|
$db['default']['password'] = 'resico1234';
|
||||||
|
$db['default']['database'] = 'resicoin_RIADev';
|
||||||
|
$db['default']['dbdriver'] = 'mysqli';
|
||||||
|
$db['default']['dbprefix'] = '';
|
||||||
|
$db['default']['pconnect'] = TRUE;
|
||||||
|
$db['default']['db_debug'] = TRUE;
|
||||||
|
$db['default']['cache_on'] = FALSE;
|
||||||
|
$db['default']['cachedir'] = '';
|
||||||
|
$db['default']['char_set'] = 'utf8';
|
||||||
|
$db['default']['dbcollat'] = 'utf8_general_ci';
|
||||||
|
$db['default']['swap_pre'] = '';
|
||||||
|
$db['default']['autoinit'] = TRUE;
|
||||||
|
$db['default']['stricton'] = FALSE;
|
||||||
|
|
||||||
|
/* End of file database.php */
|
||||||
|
/* Location: ./application/config/database.php */
|
||||||
15
application/config/doctypes.php
Normal file
15
application/config/doctypes.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
$_doctypes = array(
|
||||||
|
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
||||||
|
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
||||||
|
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
||||||
|
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
||||||
|
'html5' => '<!DOCTYPE html>',
|
||||||
|
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
||||||
|
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
||||||
|
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'
|
||||||
|
);
|
||||||
|
|
||||||
|
/* End of file doctypes.php */
|
||||||
|
/* Location: ./application/config/doctypes.php */
|
||||||
64
application/config/foreign_chars.php
Normal file
64
application/config/foreign_chars.php
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Foreign Characters
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of foreign characters for transliteration
|
||||||
|
| conversion used by the Text helper
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$foreign_characters = array(
|
||||||
|
'/ä|æ|ǽ/' => 'ae',
|
||||||
|
'/ö|œ/' => 'oe',
|
||||||
|
'/ü/' => 'ue',
|
||||||
|
'/Ä/' => 'Ae',
|
||||||
|
'/Ü/' => 'Ue',
|
||||||
|
'/Ö/' => 'Oe',
|
||||||
|
'/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A',
|
||||||
|
'/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a',
|
||||||
|
'/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
|
||||||
|
'/ç|ć|ĉ|ċ|č/' => 'c',
|
||||||
|
'/Ð|Ď|Đ/' => 'D',
|
||||||
|
'/ð|ď|đ/' => 'd',
|
||||||
|
'/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E',
|
||||||
|
'/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e',
|
||||||
|
'/Ĝ|Ğ|Ġ|Ģ/' => 'G',
|
||||||
|
'/ĝ|ğ|ġ|ģ/' => 'g',
|
||||||
|
'/Ĥ|Ħ/' => 'H',
|
||||||
|
'/ĥ|ħ/' => 'h',
|
||||||
|
'/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I',
|
||||||
|
'/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i',
|
||||||
|
'/Ĵ/' => 'J',
|
||||||
|
'/ĵ/' => 'j',
|
||||||
|
'/Ķ/' => 'K',
|
||||||
|
'/ķ/' => 'k',
|
||||||
|
'/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L',
|
||||||
|
'/ĺ|ļ|ľ|ŀ|ł/' => 'l',
|
||||||
|
'/Ñ|Ń|Ņ|Ň/' => 'N',
|
||||||
|
'/ñ|ń|ņ|ň|ʼn/' => 'n',
|
||||||
|
'/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O',
|
||||||
|
'/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o',
|
||||||
|
'/Ŕ|Ŗ|Ř/' => 'R',
|
||||||
|
'/ŕ|ŗ|ř/' => 'r',
|
||||||
|
'/Ś|Ŝ|Ş|Š/' => 'S',
|
||||||
|
'/ś|ŝ|ş|š|ſ/' => 's',
|
||||||
|
'/Ţ|Ť|Ŧ/' => 'T',
|
||||||
|
'/ţ|ť|ŧ/' => 't',
|
||||||
|
'/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U',
|
||||||
|
'/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u',
|
||||||
|
'/Ý|Ÿ|Ŷ/' => 'Y',
|
||||||
|
'/ý|ÿ|ŷ/' => 'y',
|
||||||
|
'/Ŵ/' => 'W',
|
||||||
|
'/ŵ/' => 'w',
|
||||||
|
'/Ź|Ż|Ž/' => 'Z',
|
||||||
|
'/ź|ż|ž/' => 'z',
|
||||||
|
'/Æ|Ǽ/' => 'AE',
|
||||||
|
'/ß/'=> 'ss',
|
||||||
|
'/IJ/' => 'IJ',
|
||||||
|
'/ij/' => 'ij',
|
||||||
|
'/Œ/' => 'OE',
|
||||||
|
'/ƒ/' => 'f'
|
||||||
|
);
|
||||||
|
|
||||||
|
/* End of file foreign_chars.php */
|
||||||
|
/* Location: ./application/config/foreign_chars.php */
|
||||||
39
application/config/grocery_crud.php
Normal file
39
application/config/grocery_crud.php
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
// For view all the languages go to the folder assets/grocery_crud/languages/
|
||||||
|
$config['grocery_crud_default_language'] = 'english';
|
||||||
|
|
||||||
|
// There are only three choices: "uk-date" (dd/mm/yyyy), "us-date" (mm/dd/yyyy) or "sql-date" (yyyy-mm-dd)
|
||||||
|
$config['grocery_crud_date_format'] = 'uk-date';
|
||||||
|
|
||||||
|
// The default per page when a user firstly see a list page
|
||||||
|
$config['grocery_crud_default_per_page'] = 10;
|
||||||
|
|
||||||
|
$config['grocery_crud_file_upload_allow_file_types'] = 'gif|jpeg|jpg|png|tiff|doc|docx|txt|odt|xls|xlsx|pdf|ppt|pptx|pps|ppsx|mp3|m4a|ogg|wav|mp4|m4v|mov|wmv|flv|avi|mpg|ogv|3gp|3g2';
|
||||||
|
$config['grocery_crud_file_upload_max_file_size'] = '20MB'; //ex. '10MB' (Mega Bytes), '1067KB' (Kilo Bytes), '5000B' (Bytes)
|
||||||
|
|
||||||
|
// You can choose 'ckeditor','tinymce' or 'markitup'
|
||||||
|
$config['grocery_crud_default_text_editor'] = 'ckeditor';
|
||||||
|
// You can choose 'minimal' or 'full'
|
||||||
|
$config['grocery_crud_text_editor_type'] = 'full';
|
||||||
|
|
||||||
|
// The character limiter at the list page, zero(0) value if you don't want character limiter at your list page
|
||||||
|
$config['grocery_crud_character_limiter'] = 30;
|
||||||
|
|
||||||
|
// All the forms are opening with dialog forms without refreshing the page once again.
|
||||||
|
// IMPORTANT: PLease be aware that this functionality is still in BETA phase and it is
|
||||||
|
// not suggested to use this in production mode
|
||||||
|
$config['grocery_crud_dialog_forms'] = false;
|
||||||
|
|
||||||
|
// Having some options at the list paging. This is the default one that all the websites are using.
|
||||||
|
// Make sure that the number of grocery_crud_default_per_page variable is included to this array.
|
||||||
|
$config['grocery_crud_paging_options'] = array('10','25','50','100');
|
||||||
|
|
||||||
|
// Default theme for grocery CRUD
|
||||||
|
$config['grocery_crud_default_theme'] = 'flexigrid';
|
||||||
|
|
||||||
|
// The environment is important so we can have specific configurations for specific environments
|
||||||
|
$config['grocery_crud_environment'] = 'production';
|
||||||
|
|
||||||
|
// Turn XSS clean into true in case you are exposing your CRUD into public. Please be aware that this is
|
||||||
|
// stripping all the HTML and do not just trim the extra javascript
|
||||||
|
$config['grocery_crud_xss_clean'] = false;
|
||||||
16
application/config/hooks.php
Normal file
16
application/config/hooks.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Hooks
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you define "hooks" to extend CI without hacking the core
|
||||||
|
| files. Please see the user guide for info:
|
||||||
|
|
|
||||||
|
| http://codeigniter.com/user_guide/general/hooks.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file hooks.php */
|
||||||
|
/* Location: ./application/config/hooks.php */
|
||||||
10
application/config/index.html
Normal file
10
application/config/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
41
application/config/migration.php
Normal file
41
application/config/migration.php
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable/Disable Migrations
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Migrations are disabled by default but should be enabled
|
||||||
|
| whenever you intend to do a schema migration.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_enabled'] = FALSE;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migrations version
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is used to set migration version that the file system should be on.
|
||||||
|
| If you run $this->migration->latest() this is the version that schema will
|
||||||
|
| be upgraded / downgraded to.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_version'] = 0;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migrations Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Path to your migrations folder.
|
||||||
|
| Typically, it will be within your application path.
|
||||||
|
| Also, writing permission is required within the migrations path.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_path'] = APPPATH . 'migrations/';
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file migration.php */
|
||||||
|
/* Location: ./application/config/migration.php */
|
||||||
106
application/config/mimes.php
Normal file
106
application/config/mimes.php
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| MIME TYPES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of mime types. It is used by the
|
||||||
|
| Upload class to help identify allowed file types.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$mimes = array( 'hqx' => 'application/mac-binhex40',
|
||||||
|
'cpt' => 'application/mac-compactpro',
|
||||||
|
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
|
||||||
|
'bin' => 'application/macbinary',
|
||||||
|
'dms' => 'application/octet-stream',
|
||||||
|
'lha' => 'application/octet-stream',
|
||||||
|
'lzh' => 'application/octet-stream',
|
||||||
|
'exe' => array('application/octet-stream', 'application/x-msdownload'),
|
||||||
|
'class' => 'application/octet-stream',
|
||||||
|
'psd' => 'application/x-photoshop',
|
||||||
|
'so' => 'application/octet-stream',
|
||||||
|
'sea' => 'application/octet-stream',
|
||||||
|
'dll' => 'application/octet-stream',
|
||||||
|
'oda' => 'application/oda',
|
||||||
|
'pdf' => array('application/pdf', 'application/x-download'),
|
||||||
|
'ai' => 'application/postscript',
|
||||||
|
'eps' => 'application/postscript',
|
||||||
|
'ps' => 'application/postscript',
|
||||||
|
'smi' => 'application/smil',
|
||||||
|
'smil' => 'application/smil',
|
||||||
|
'mif' => 'application/vnd.mif',
|
||||||
|
'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'),
|
||||||
|
'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint'),
|
||||||
|
'wbxml' => 'application/wbxml',
|
||||||
|
'wmlc' => 'application/wmlc',
|
||||||
|
'dcr' => 'application/x-director',
|
||||||
|
'dir' => 'application/x-director',
|
||||||
|
'dxr' => 'application/x-director',
|
||||||
|
'dvi' => 'application/x-dvi',
|
||||||
|
'gtar' => 'application/x-gtar',
|
||||||
|
'gz' => 'application/x-gzip',
|
||||||
|
'php' => 'application/x-httpd-php',
|
||||||
|
'php4' => 'application/x-httpd-php',
|
||||||
|
'php3' => 'application/x-httpd-php',
|
||||||
|
'phtml' => 'application/x-httpd-php',
|
||||||
|
'phps' => 'application/x-httpd-php-source',
|
||||||
|
'js' => 'application/x-javascript',
|
||||||
|
'swf' => 'application/x-shockwave-flash',
|
||||||
|
'sit' => 'application/x-stuffit',
|
||||||
|
'tar' => 'application/x-tar',
|
||||||
|
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
|
||||||
|
'xhtml' => 'application/xhtml+xml',
|
||||||
|
'xht' => 'application/xhtml+xml',
|
||||||
|
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'),
|
||||||
|
'mid' => 'audio/midi',
|
||||||
|
'midi' => 'audio/midi',
|
||||||
|
'mpga' => 'audio/mpeg',
|
||||||
|
'mp2' => 'audio/mpeg',
|
||||||
|
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
|
||||||
|
'aif' => 'audio/x-aiff',
|
||||||
|
'aiff' => 'audio/x-aiff',
|
||||||
|
'aifc' => 'audio/x-aiff',
|
||||||
|
'ram' => 'audio/x-pn-realaudio',
|
||||||
|
'rm' => 'audio/x-pn-realaudio',
|
||||||
|
'rpm' => 'audio/x-pn-realaudio-plugin',
|
||||||
|
'ra' => 'audio/x-realaudio',
|
||||||
|
'rv' => 'video/vnd.rn-realvideo',
|
||||||
|
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
|
||||||
|
'bmp' => array('image/bmp', 'image/x-windows-bmp'),
|
||||||
|
'gif' => 'image/gif',
|
||||||
|
'jpeg' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'jpg' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'jpe' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'png' => array('image/png', 'image/x-png'),
|
||||||
|
'tiff' => 'image/tiff',
|
||||||
|
'tif' => 'image/tiff',
|
||||||
|
'css' => 'text/css',
|
||||||
|
'html' => 'text/html',
|
||||||
|
'htm' => 'text/html',
|
||||||
|
'shtml' => 'text/html',
|
||||||
|
'txt' => 'text/plain',
|
||||||
|
'text' => 'text/plain',
|
||||||
|
'log' => array('text/plain', 'text/x-log'),
|
||||||
|
'rtx' => 'text/richtext',
|
||||||
|
'rtf' => 'text/rtf',
|
||||||
|
'xml' => 'text/xml',
|
||||||
|
'xsl' => 'text/xml',
|
||||||
|
'mpeg' => 'video/mpeg',
|
||||||
|
'mpg' => 'video/mpeg',
|
||||||
|
'mpe' => 'video/mpeg',
|
||||||
|
'qt' => 'video/quicktime',
|
||||||
|
'mov' => 'video/quicktime',
|
||||||
|
'avi' => 'video/x-msvideo',
|
||||||
|
'movie' => 'video/x-sgi-movie',
|
||||||
|
'doc' => 'application/msword',
|
||||||
|
'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip'),
|
||||||
|
'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip'),
|
||||||
|
'word' => array('application/msword', 'application/octet-stream'),
|
||||||
|
'xl' => 'application/excel',
|
||||||
|
'eml' => 'message/rfc822',
|
||||||
|
'json' => array('application/json', 'text/json')
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file mimes.php */
|
||||||
|
/* Location: ./application/config/mimes.php */
|
||||||
17
application/config/profiler.php
Normal file
17
application/config/profiler.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Profiler Sections
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you determine whether or not various sections of Profiler
|
||||||
|
| data are displayed when the Profiler is enabled.
|
||||||
|
| Please see the user guide for info:
|
||||||
|
|
|
||||||
|
| http://codeigniter.com/user_guide/general/profiling.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file profiler.php */
|
||||||
|
/* Location: ./application/config/profiler.php */
|
||||||
246
application/config/routes.php
Normal file
246
application/config/routes.php
Normal file
@ -0,0 +1,246 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| URI ROUTING
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you re-map URI requests to specific controller functions.
|
||||||
|
|
|
||||||
|
| Typically there is a one-to-one relationship between a URL string
|
||||||
|
| and its corresponding controller class/method. The segments in a
|
||||||
|
| URL normally follow this pattern:
|
||||||
|
|
|
||||||
|
| example.com/class/method/id/
|
||||||
|
|
|
||||||
|
| In some instances, however, you may want to remap this relationship
|
||||||
|
| so that a different class/function is called than the one
|
||||||
|
| corresponding to the URL.
|
||||||
|
|
|
||||||
|
| Please see the user guide for complete details:
|
||||||
|
|
|
||||||
|
| http://codeigniter.com/user_guide/general/routing.html
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| RESERVED ROUTES
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| There area two reserved routes:
|
||||||
|
|
|
||||||
|
| $route['default_controller'] = 'welcome';
|
||||||
|
|
|
||||||
|
| This route indicates which controller class should be loaded if the
|
||||||
|
| URI contains no data. In the above example, the "welcome" class
|
||||||
|
| would be loaded.
|
||||||
|
|
|
||||||
|
| $route['404_override'] = 'errors/page_missing';
|
||||||
|
|
|
||||||
|
| This route will tell the Router what URI segments to use if those provided
|
||||||
|
| in the URL cannot be matched to a valid route.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$route['default_controller'] = "login";
|
||||||
|
$route['404_override'] = 'error';
|
||||||
|
|
||||||
|
|
||||||
|
/*********** Siddharth DEFINED ROUTES *******************/
|
||||||
|
|
||||||
|
$route['loginMe'] = 'login/loginMe';
|
||||||
|
$route['dashboard'] = 'user';
|
||||||
|
$route['logout'] = 'user/logout';
|
||||||
|
|
||||||
|
//<-----------Application listing Routes------------>
|
||||||
|
|
||||||
|
$route['userListing'] = 'user/userListing';
|
||||||
|
$route['userListing/(:num)'] = "user/userListing/$1";
|
||||||
|
//$route['purchaseorderListing'] = 'purchaseorder/purchaseorderListing';
|
||||||
|
//$route['purchaseorderListing/(:num)'] = "purchaseorder/purchaseorderListing/$1";
|
||||||
|
$route['supplierListing'] = 'supplier/supplierListing';
|
||||||
|
$route['supplierListing/(:num)'] = "supplier/supplierListing/$1";
|
||||||
|
|
||||||
|
$route['rawmaterialListing'] = 'rawmaterialdetails/rawmaterialListing';
|
||||||
|
$route['rawmaterialListing/(:num)'] = "rawmaterialdetails/rawmaterialListing/$1";
|
||||||
|
|
||||||
|
$route['costListing'] = 'CostCenter/costListing';
|
||||||
|
$route['costListing/(:num)'] = "CostCenter/costListing/$1";
|
||||||
|
|
||||||
|
$route['assetListing'] = 'assetdetails/assetListing';
|
||||||
|
$route['assetListing/(:num)'] = "assetdetails/assetListing/$1";
|
||||||
|
|
||||||
|
$route['employeeListing'] = 'employeedetails/employeeListing';
|
||||||
|
$route['employeeListing/(:num)'] = "employeedetails/employeeListing/$1";
|
||||||
|
|
||||||
|
$route['monthlyListings'] = 'monthlypay/monthlyListing';
|
||||||
|
$route['monthlyListings/(:num)'] = "monthlypay/monthlyListing/$1";
|
||||||
|
|
||||||
|
$route['emppayListings'] = 'emppaydate/emppayListing';
|
||||||
|
$route['emppayListings/(:num)'] = 'emppaydate/emppayListing/$1';
|
||||||
|
|
||||||
|
$route['attendance'] = 'monthlypay/attendanceLoad';
|
||||||
|
$route['publicholidays'] = 'monthlypay/loadPublicholidays';
|
||||||
|
$route['loanreports'] = 'payslip/loadLoanReport';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//<-----------Application Add Routes------------>
|
||||||
|
$route['addNew'] = "user/addNew";
|
||||||
|
$route['addNewUser'] = "user/addNewUser";
|
||||||
|
|
||||||
|
$route['addPO'] = "purchaseorder/addPO";
|
||||||
|
$route['addNewPO'] = "purchaseorder/addNewPO";
|
||||||
|
|
||||||
|
$route['addsupplier'] = "supplier/addsupplier";
|
||||||
|
$route['addNewsupplier'] = "supplier/addNewsupplier";
|
||||||
|
|
||||||
|
$route['addcost'] = "CostCenter/addCost";
|
||||||
|
$route['addNewcost'] = "CostCenter/addNewCost";
|
||||||
|
|
||||||
|
$route['addasset'] = "assetdetails/addasset";
|
||||||
|
$route['addNewasset'] = "assetdetails/addNewasset";
|
||||||
|
|
||||||
|
$route['addemployee'] = "employeedetails/addemployee";
|
||||||
|
$route['addNewemployee'] = "employeedetils/addNewemployee";
|
||||||
|
|
||||||
|
$route['addRawmaterial'] = "rawmaterialdetails/addRawMaterial";
|
||||||
|
$route['addNewRawmaterial'] = "rawmaterialdetails/addNewRawMaterial";
|
||||||
|
|
||||||
|
//<-----------Application Edit Routes------------>
|
||||||
|
|
||||||
|
$route['editOld'] = "user/editOld";
|
||||||
|
$route['editOld/(:num)'] = "user/editOld/$1";
|
||||||
|
$route['editUser'] = "user/editUser";
|
||||||
|
$route['editOldPO'] = "purchaseorder/editOldPO";
|
||||||
|
$route['editOldPO/(:num)'] = "purchaseorder/editOldPO/$1";
|
||||||
|
//$route['editPO'] = "purchaseorder/editPO";
|
||||||
|
$route['editOldsupplier'] = "supplier/editOldsupplier";
|
||||||
|
$route['editOldsupplier/(:num)'] = "supplier/editOldsupplier/$1";
|
||||||
|
$route['editsupplier'] = "supplier/editsupplier";
|
||||||
|
|
||||||
|
$route['editOldcost'] = "CostCenter/editOldcost";
|
||||||
|
$route['editOldcost/(:num)'] = "CostCenter/editOldcost/$1";
|
||||||
|
$route['editcost'] = "CostCenter/editcost";
|
||||||
|
|
||||||
|
$route['editOldasset'] = "assetdetails/editOldasset";
|
||||||
|
$route['editOldasset/(:num)'] = "assetdetails/editOldasset/$1";
|
||||||
|
$route['editasset'] = "assetdetails/editasset";
|
||||||
|
|
||||||
|
$route['editOldemployee'] = "employeedetails/editOldemployee";
|
||||||
|
$route['editOldemployee/(:num)'] = "employeedetails/editOldemployee/$1";
|
||||||
|
$route['editemployee'] = "employeedetils/editemployee";
|
||||||
|
|
||||||
|
$route['editOldRawmaterial/(:num)'] = "rawmaterialdetails/editOldRawmaterial/$1";
|
||||||
|
$route['editOldRawmaterial'] = "rawmaterialdetails/editOldRawmaterial";
|
||||||
|
$route['editrawmaterial'] = "rawmaterialdetails/editemployee";
|
||||||
|
|
||||||
|
//<-----------Application Delete Routes------------>
|
||||||
|
|
||||||
|
$route['deleteUser'] = "user/deleteUser";
|
||||||
|
$route['deletecost'] = "CostCenter/deletecost";
|
||||||
|
|
||||||
|
|
||||||
|
//<-----------Application User Change Password Routes------------>
|
||||||
|
$route['loadChangePass'] = "user/loadChangePass";
|
||||||
|
$route['changePassword'] = "user/changePassword";
|
||||||
|
|
||||||
|
|
||||||
|
//<-----------Application Page Not Found Routes------------>
|
||||||
|
$route['pageNotFound'] = "user/pageNotFound";
|
||||||
|
|
||||||
|
//<-----------Application Email & ForgetPassword Routes------------>
|
||||||
|
|
||||||
|
$route['checkEmailExists'] = "user/checkEmailExists";
|
||||||
|
|
||||||
|
$route['forgotPassword'] = "login/forgotPassword";
|
||||||
|
$route['monthlypay'] = "payslip/monthlyInputs";
|
||||||
|
$route['ExcelUpload2'] = "payslip/viewUpload2";
|
||||||
|
$route['FileUpload'] = "payslip/uploadExcel";
|
||||||
|
$route['FileUpload2'] = "payslip/uploadExcel2";
|
||||||
|
$route['PrintPdf'] = "payslip/PrintPdf";
|
||||||
|
$route['ViewPay'] = "payslip/viewGenerator";
|
||||||
|
$route['updatepayroll'] = "payslip/updatepayroll";
|
||||||
|
$route['BankReport'] = "payslip/loadBankreportScreen";
|
||||||
|
$route['PaysilpListing'] = "payslip/payslipLisiting";
|
||||||
|
|
||||||
|
|
||||||
|
//<-----------Application Requistion Flow Routes------------>
|
||||||
|
$route['Requisition'] = "requisitionform/requisitionlisting";
|
||||||
|
$route['RequisitionForm'] = "requisitionform/requisition";
|
||||||
|
$route['ApproveRequisition'] = "requisitionform/requisitionlistApproval";
|
||||||
|
$route['EditRequisition'] = "requisitionform/EditRequistionForm";
|
||||||
|
//<-----------PO Flow------------>
|
||||||
|
$route['CreatePO'] = "purchaseorder/requisition";
|
||||||
|
$route['purchaseOrder'] = "purchaseorder/CreatePurchaseOrder";
|
||||||
|
$route['purchaseorderListing'] = "purchaseorder/PurchaseOrderList";
|
||||||
|
$route['EditPO'] = "purchaseorder/EditPurchaseOrder";
|
||||||
|
$route['EditAmendPO'] = "amendmentpurchaseorder/EditAmendPurchaseOrder";
|
||||||
|
$route['EmergencyPO'] = "emergencypurchaseorder/CreateEmergencyPO";
|
||||||
|
$route['AdvanceRequest'] = "purchaseorder/advancerequest";
|
||||||
|
$route['PORelease'] = "purchaseorder/porelease";
|
||||||
|
$route['ViewPO'] = "purchaseorder/viewfullpurchaseorder";
|
||||||
|
$route['POApproval'] = "purchaseorder/poapproval";
|
||||||
|
|
||||||
|
|
||||||
|
//<!-- Store Requisition Flow ---------------->
|
||||||
|
$route['storerequisition']="storerequisitionlist/addstore";
|
||||||
|
$route['approvalstorerequisitionslip']="storerequisitionlist/SearchRequistLists";
|
||||||
|
$route['storerequisitionlisting']="storerequisitionlist/addstorerequisitionlist";
|
||||||
|
$route['EditStoreRequisition'] = "storerequisitionlist/EditStoreRequistion";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//<-------------IGR page----------------->
|
||||||
|
$route['Addigr'] = "inwardgateregister/addinwardgateregister";
|
||||||
|
|
||||||
|
$route['ViewigrDetails'] = "inwardgateregister/viewIGRDetails";
|
||||||
|
|
||||||
|
$route['ViewMRIRBilling'] = "MRIRcontroller/viewmrirforbilling";
|
||||||
|
|
||||||
|
//<-------------MRIR page----------------->
|
||||||
|
$route['EditMRIR'] = "MRIRcontroller/editmaterialinspectionreport";
|
||||||
|
$route['ViewMRIR'] = "MRIRcontroller/viewmaterialinspectionreport";
|
||||||
|
$route['Viewigr'] = "MRIRcontroller/viewinwardgateregister";
|
||||||
|
$route['Distribution'] = "MRIRcontroller/viewmMaterialDistributionList";
|
||||||
|
//<-------------Store page----------------->
|
||||||
|
$route['Stock'] = "storestatus/storeavailability";
|
||||||
|
$route['UpdatePOStatus'] = "servicepurchaseorder/UpdateServicePOStatus";
|
||||||
|
$route['ServicePOBilling'] = "servicepurchaseorder/viewServicePOReportForBilling";
|
||||||
|
|
||||||
|
|
||||||
|
//<-------------Reports page----------------->
|
||||||
|
$route['reportpending'] = "report/pending_report";
|
||||||
|
$route['releasedpo'] = "report/releasedPO";
|
||||||
|
$route['openOrder'] = "report/openorderPO";
|
||||||
|
$route['TotalOrder'] = "report/TotalOrd";
|
||||||
|
$route['Report_costcenter'] = "report/ccr";
|
||||||
|
$route['Report_Material_Supplier'] = "report/MM_Supplier";
|
||||||
|
$route['Report_Material_Item'] = "report/MM_Item";
|
||||||
|
$route['Report_Material_ReceiptValue'] = "report/MM_ReceiptValue";
|
||||||
|
|
||||||
|
|
||||||
|
// Company Information
|
||||||
|
$route['companyview'] = 'companycontroller/companyview';
|
||||||
|
$route['Updatecompany']='companycontroller/Updatecompany';
|
||||||
|
|
||||||
|
|
||||||
|
// Config Master
|
||||||
|
$route['addconfig'] = "configurationctrl/addconfig";
|
||||||
|
$route['addNewconfig'] = "configurationctrl/addNewconfig";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$route['configlisting']='configurationctrl/configlisting';
|
||||||
|
$route['configedit']='configurationctrl/configedit';
|
||||||
|
|
||||||
|
// Department Master
|
||||||
|
|
||||||
|
$route['departmentListing'] = 'department/departmentListing';
|
||||||
|
$route['departmentListing/(:num)'] = "department/departmentListing/$1";
|
||||||
|
|
||||||
|
$route['adddepartment'] = "department/adddepartment";
|
||||||
|
$route['addNewdepartment'] = "department/addNewdepartment";
|
||||||
|
|
||||||
|
$route['editOlddepartment'] = "department/viewdepartment";
|
||||||
|
$route['editOlddepartment/(:num)'] = "department/viewdepartment/$1";
|
||||||
|
$route['editdepartment'] = "department/editdepartment";
|
||||||
|
/* End of file routes.php */
|
||||||
|
/* Location: ./application/config/routes.php */
|
||||||
66
application/config/smileys.php
Normal file
66
application/config/smileys.php
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| SMILEYS
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of smileys for use with the emoticon helper.
|
||||||
|
| Individual images can be used to replace multiple simileys. For example:
|
||||||
|
| :-) and :) use the same image replacement.
|
||||||
|
|
|
||||||
|
| Please see user guide for more info:
|
||||||
|
| http://codeigniter.com/user_guide/helpers/smiley_helper.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$smileys = array(
|
||||||
|
|
||||||
|
// smiley image name width height alt
|
||||||
|
|
||||||
|
':-)' => array('grin.gif', '19', '19', 'grin'),
|
||||||
|
':lol:' => array('lol.gif', '19', '19', 'LOL'),
|
||||||
|
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
|
||||||
|
':)' => array('smile.gif', '19', '19', 'smile'),
|
||||||
|
';-)' => array('wink.gif', '19', '19', 'wink'),
|
||||||
|
';)' => array('wink.gif', '19', '19', 'wink'),
|
||||||
|
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
|
||||||
|
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
|
||||||
|
':-S' => array('confused.gif', '19', '19', 'confused'),
|
||||||
|
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
|
||||||
|
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
|
||||||
|
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
|
||||||
|
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
|
||||||
|
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
|
||||||
|
':P' => array('raspberry.gif', '19', '19', 'raspberry'),
|
||||||
|
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
|
||||||
|
':long:' => array('longface.gif', '19', '19', 'long face'),
|
||||||
|
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
|
||||||
|
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
|
||||||
|
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
|
||||||
|
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
|
||||||
|
':down:' => array('downer.gif', '19', '19', 'downer'),
|
||||||
|
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
|
||||||
|
':sick:' => array('sick.gif', '19', '19', 'sick'),
|
||||||
|
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
|
||||||
|
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
|
||||||
|
'>:(' => array('mad.gif', '19', '19', 'mad'),
|
||||||
|
':mad:' => array('mad.gif', '19', '19', 'mad'),
|
||||||
|
'>:-(' => array('angry.gif', '19', '19', 'angry'),
|
||||||
|
':angry:' => array('angry.gif', '19', '19', 'angry'),
|
||||||
|
':zip:' => array('zip.gif', '19', '19', 'zipper'),
|
||||||
|
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
|
||||||
|
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
|
||||||
|
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
|
||||||
|
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
|
||||||
|
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
|
||||||
|
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
|
||||||
|
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
|
||||||
|
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
|
||||||
|
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||||
|
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||||
|
':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),
|
||||||
|
':question:' => array('question.gif', '19', '19', 'question') // no comma after last item
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
/* End of file smileys.php */
|
||||||
|
/* Location: ./application/config/smileys.php */
|
||||||
178
application/config/user_agents.php
Normal file
178
application/config/user_agents.php
Normal file
@ -0,0 +1,178 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| USER AGENT TYPES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains four arrays of user agent data. It is used by the
|
||||||
|
| User Agent Class to help identify browser, platform, robot, and
|
||||||
|
| mobile device data. The array keys are used to identify the device
|
||||||
|
| and the array values are used to set the actual name of the item.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$platforms = array (
|
||||||
|
'windows nt 6.0' => 'Windows Longhorn',
|
||||||
|
'windows nt 5.2' => 'Windows 2003',
|
||||||
|
'windows nt 5.0' => 'Windows 2000',
|
||||||
|
'windows nt 5.1' => 'Windows XP',
|
||||||
|
'windows nt 4.0' => 'Windows NT 4.0',
|
||||||
|
'winnt4.0' => 'Windows NT 4.0',
|
||||||
|
'winnt 4.0' => 'Windows NT',
|
||||||
|
'winnt' => 'Windows NT',
|
||||||
|
'windows 98' => 'Windows 98',
|
||||||
|
'win98' => 'Windows 98',
|
||||||
|
'windows 95' => 'Windows 95',
|
||||||
|
'win95' => 'Windows 95',
|
||||||
|
'windows' => 'Unknown Windows OS',
|
||||||
|
'os x' => 'Mac OS X',
|
||||||
|
'ppc mac' => 'Power PC Mac',
|
||||||
|
'freebsd' => 'FreeBSD',
|
||||||
|
'ppc' => 'Macintosh',
|
||||||
|
'linux' => 'Linux',
|
||||||
|
'debian' => 'Debian',
|
||||||
|
'sunos' => 'Sun Solaris',
|
||||||
|
'beos' => 'BeOS',
|
||||||
|
'apachebench' => 'ApacheBench',
|
||||||
|
'aix' => 'AIX',
|
||||||
|
'irix' => 'Irix',
|
||||||
|
'osf' => 'DEC OSF',
|
||||||
|
'hp-ux' => 'HP-UX',
|
||||||
|
'netbsd' => 'NetBSD',
|
||||||
|
'bsdi' => 'BSDi',
|
||||||
|
'openbsd' => 'OpenBSD',
|
||||||
|
'gnu' => 'GNU/Linux',
|
||||||
|
'unix' => 'Unknown Unix OS'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// The order of this array should NOT be changed. Many browsers return
|
||||||
|
// multiple browser types so we want to identify the sub-type first.
|
||||||
|
$browsers = array(
|
||||||
|
'Flock' => 'Flock',
|
||||||
|
'Chrome' => 'Chrome',
|
||||||
|
'Opera' => 'Opera',
|
||||||
|
'MSIE' => 'Internet Explorer',
|
||||||
|
'Internet Explorer' => 'Internet Explorer',
|
||||||
|
'Shiira' => 'Shiira',
|
||||||
|
'Firefox' => 'Firefox',
|
||||||
|
'Chimera' => 'Chimera',
|
||||||
|
'Phoenix' => 'Phoenix',
|
||||||
|
'Firebird' => 'Firebird',
|
||||||
|
'Camino' => 'Camino',
|
||||||
|
'Netscape' => 'Netscape',
|
||||||
|
'OmniWeb' => 'OmniWeb',
|
||||||
|
'Safari' => 'Safari',
|
||||||
|
'Mozilla' => 'Mozilla',
|
||||||
|
'Konqueror' => 'Konqueror',
|
||||||
|
'icab' => 'iCab',
|
||||||
|
'Lynx' => 'Lynx',
|
||||||
|
'Links' => 'Links',
|
||||||
|
'hotjava' => 'HotJava',
|
||||||
|
'amaya' => 'Amaya',
|
||||||
|
'IBrowse' => 'IBrowse'
|
||||||
|
);
|
||||||
|
|
||||||
|
$mobiles = array(
|
||||||
|
// legacy array, old values commented out
|
||||||
|
'mobileexplorer' => 'Mobile Explorer',
|
||||||
|
// 'openwave' => 'Open Wave',
|
||||||
|
// 'opera mini' => 'Opera Mini',
|
||||||
|
// 'operamini' => 'Opera Mini',
|
||||||
|
// 'elaine' => 'Palm',
|
||||||
|
'palmsource' => 'Palm',
|
||||||
|
// 'digital paths' => 'Palm',
|
||||||
|
// 'avantgo' => 'Avantgo',
|
||||||
|
// 'xiino' => 'Xiino',
|
||||||
|
'palmscape' => 'Palmscape',
|
||||||
|
// 'nokia' => 'Nokia',
|
||||||
|
// 'ericsson' => 'Ericsson',
|
||||||
|
// 'blackberry' => 'BlackBerry',
|
||||||
|
// 'motorola' => 'Motorola'
|
||||||
|
|
||||||
|
// Phones and Manufacturers
|
||||||
|
'motorola' => "Motorola",
|
||||||
|
'nokia' => "Nokia",
|
||||||
|
'palm' => "Palm",
|
||||||
|
'iphone' => "Apple iPhone",
|
||||||
|
'ipad' => "iPad",
|
||||||
|
'ipod' => "Apple iPod Touch",
|
||||||
|
'sony' => "Sony Ericsson",
|
||||||
|
'ericsson' => "Sony Ericsson",
|
||||||
|
'blackberry' => "BlackBerry",
|
||||||
|
'cocoon' => "O2 Cocoon",
|
||||||
|
'blazer' => "Treo",
|
||||||
|
'lg' => "LG",
|
||||||
|
'amoi' => "Amoi",
|
||||||
|
'xda' => "XDA",
|
||||||
|
'mda' => "MDA",
|
||||||
|
'vario' => "Vario",
|
||||||
|
'htc' => "HTC",
|
||||||
|
'samsung' => "Samsung",
|
||||||
|
'sharp' => "Sharp",
|
||||||
|
'sie-' => "Siemens",
|
||||||
|
'alcatel' => "Alcatel",
|
||||||
|
'benq' => "BenQ",
|
||||||
|
'ipaq' => "HP iPaq",
|
||||||
|
'mot-' => "Motorola",
|
||||||
|
'playstation portable' => "PlayStation Portable",
|
||||||
|
'hiptop' => "Danger Hiptop",
|
||||||
|
'nec-' => "NEC",
|
||||||
|
'panasonic' => "Panasonic",
|
||||||
|
'philips' => "Philips",
|
||||||
|
'sagem' => "Sagem",
|
||||||
|
'sanyo' => "Sanyo",
|
||||||
|
'spv' => "SPV",
|
||||||
|
'zte' => "ZTE",
|
||||||
|
'sendo' => "Sendo",
|
||||||
|
|
||||||
|
// Operating Systems
|
||||||
|
'symbian' => "Symbian",
|
||||||
|
'SymbianOS' => "SymbianOS",
|
||||||
|
'elaine' => "Palm",
|
||||||
|
'palm' => "Palm",
|
||||||
|
'series60' => "Symbian S60",
|
||||||
|
'windows ce' => "Windows CE",
|
||||||
|
|
||||||
|
// Browsers
|
||||||
|
'obigo' => "Obigo",
|
||||||
|
'netfront' => "Netfront Browser",
|
||||||
|
'openwave' => "Openwave Browser",
|
||||||
|
'mobilexplorer' => "Mobile Explorer",
|
||||||
|
'operamini' => "Opera Mini",
|
||||||
|
'opera mini' => "Opera Mini",
|
||||||
|
|
||||||
|
// Other
|
||||||
|
'digital paths' => "Digital Paths",
|
||||||
|
'avantgo' => "AvantGo",
|
||||||
|
'xiino' => "Xiino",
|
||||||
|
'novarra' => "Novarra Transcoder",
|
||||||
|
'vodafone' => "Vodafone",
|
||||||
|
'docomo' => "NTT DoCoMo",
|
||||||
|
'o2' => "O2",
|
||||||
|
|
||||||
|
// Fallback
|
||||||
|
'mobile' => "Generic Mobile",
|
||||||
|
'wireless' => "Generic Mobile",
|
||||||
|
'j2me' => "Generic Mobile",
|
||||||
|
'midp' => "Generic Mobile",
|
||||||
|
'cldc' => "Generic Mobile",
|
||||||
|
'up.link' => "Generic Mobile",
|
||||||
|
'up.browser' => "Generic Mobile",
|
||||||
|
'smartphone' => "Generic Mobile",
|
||||||
|
'cellphone' => "Generic Mobile"
|
||||||
|
);
|
||||||
|
|
||||||
|
// There are hundreds of bots but these are the most common.
|
||||||
|
$robots = array(
|
||||||
|
'googlebot' => 'Googlebot',
|
||||||
|
'msnbot' => 'MSNBot',
|
||||||
|
'slurp' => 'Inktomi Slurp',
|
||||||
|
'yahoo' => 'Yahoo',
|
||||||
|
'askjeeves' => 'AskJeeves',
|
||||||
|
'fastcrawler' => 'FastCrawler',
|
||||||
|
'infoseek' => 'InfoSeek Robot 1.0',
|
||||||
|
'lycos' => 'Lycos'
|
||||||
|
);
|
||||||
|
|
||||||
|
/* End of file user_agents.php */
|
||||||
|
/* Location: ./application/config/user_agents.php */
|
||||||
266
application/controllers/Controller.php
Normal file
266
application/controllers/Controller.php
Normal file
@ -0,0 +1,266 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Controller extends CI_Controller {
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->database();
|
||||||
|
$this->load->helper('url');
|
||||||
|
|
||||||
|
$this->load->library('grocery_CRUD');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* This function used to show the main page of the screen */
|
||||||
|
public function _controller_output($output = null)
|
||||||
|
{
|
||||||
|
$this->load->view('AssetDetails',(array)$output);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function home($ouput =null)
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->config->load('grocery_crud');
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_PurchaseOrderDetails');
|
||||||
|
$crud->required_fields('PONO');
|
||||||
|
$crud->columns('PONO','POType','PODate','SpecialOrder','UserID');
|
||||||
|
|
||||||
|
$crud->unset_add();
|
||||||
|
$crud->unset_read();
|
||||||
|
$crud->unset_edit();
|
||||||
|
$crud->unset_delete();
|
||||||
|
$crud->unset_export();
|
||||||
|
$crud->unset_print();
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function offices()
|
||||||
|
{
|
||||||
|
$output = $this->grocery_crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->_controller_output((object)array('output' => '' , 'js_files' => array() , 'css_files' => array()));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function purchase_order()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_PurchaseOrderDetails');
|
||||||
|
$crud->set_subject('Purchase Order');
|
||||||
|
$crud->required_fields('PONO');
|
||||||
|
$crud->columns('PONO','POType','PODate','SpecialOrder','UserID', 'RequesterEmail','RequesterPh','RequestedDate','BudgetManager','BudgetManagerDepartment','PurchasingCategory','PurchasingJustification','OrderValue','DiscountType','DiscountValue','PackagingType','PackagingValue','ExciseDuty','Vat','Freight','CreatedOn','Create_By');
|
||||||
|
/* These functions to hide add , view(read) ,edit , delete in form */
|
||||||
|
$crud->unset_add();
|
||||||
|
$crud->unset_read();
|
||||||
|
$crud->unset_edit();
|
||||||
|
$crud->unset_delete();
|
||||||
|
$crud->unset_export();
|
||||||
|
$crud->unset_print();
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
if($crud->getState() != 'list') {
|
||||||
|
$this->_controller_output($output);
|
||||||
|
} else {
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public function purchase_order2()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_PurchaseOrderDetails');
|
||||||
|
$crud->set_subject('Purchase Order');
|
||||||
|
$crud->required_fields('PONO');
|
||||||
|
$crud->columns('PONO','POType','PODate','SpecialOrder','UserID', 'RequesterEmail','RequesterPh','RequestedDate','BudgetManager','BudgetManagerDepartment','PurchasingCategory','PurchasingJustification','OrderValue','DiscountType','DiscountValue','PackagingType','PackagingValue','ExciseDuty','Vat','Freight','CreatedOn','Create_By');
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
}
|
||||||
|
catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function Purchase_Order_Line_Item()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_PurchaseOrderLineItem');
|
||||||
|
$crud->set_subject('Purchase Order Line Item');
|
||||||
|
$crud->required_fields('POLine');
|
||||||
|
$crud->columns('POLineNo','PONO','Material_ID','UOM','Quantity','UnitPrice','ModifiedOn');
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
if($crud->getState() != 'list') {
|
||||||
|
//$this->_controller_output($output);
|
||||||
|
$this->load->view('Mainpage.php',(array)$output);
|
||||||
|
} else {
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public function Supplier_Details()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_SupplierDetails');
|
||||||
|
$crud->set_subject('Supplier Details');
|
||||||
|
$crud->required_fields('Supplierid');
|
||||||
|
$crud->columns('SupplierID','SupplierName','Address','Contactnumber','AlternateContactNumber','EmailAddress','TIN','PAN');
|
||||||
|
/* These functions to hide add , view(read) ,edit , delete in form */
|
||||||
|
$crud->unset_add();
|
||||||
|
$crud->unset_read();
|
||||||
|
$crud->unset_edit();
|
||||||
|
$crud->unset_delete();
|
||||||
|
$crud->unset_export();
|
||||||
|
$crud->unset_print();
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
/* if else should be use , if we are using the same function in many screen*/
|
||||||
|
if($crud->getState() != 'list') {
|
||||||
|
$this->_controller_output($output);
|
||||||
|
} else {
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function Supplier_Details2()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_SupplierDetails');
|
||||||
|
$crud->set_subject('Supplier Details');
|
||||||
|
$crud->required_fields('Supplierid');
|
||||||
|
$crud->columns('SupplierID','SupplierName','Address','Contactnumber','AlternateContactNumber','EmailAddress','TIN','PAN');
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public function RawMaterial()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_RawMaterialDetails');
|
||||||
|
$crud->set_subject('RawMaterialDetails');
|
||||||
|
$crud->required_fields('Metarial_ID');
|
||||||
|
$crud->columns('Metarial_ID','Material_Name','Material_Type','SuplierID','Create_date');
|
||||||
|
|
||||||
|
/* These functions to hide add , view(read) ,edit , delete in form */
|
||||||
|
$crud->unset_add();
|
||||||
|
$crud->unset_read();
|
||||||
|
$crud->unset_edit();
|
||||||
|
$crud->unset_delete();
|
||||||
|
$crud->unset_export();
|
||||||
|
$crud->unset_print();
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
if($crud->getState() != 'list') {
|
||||||
|
$this->_controller_output($output);
|
||||||
|
} else {
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public function RawMaterial2()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_RawMaterialDetails');
|
||||||
|
$crud->set_subject('RawMaterialDetails');
|
||||||
|
$crud->required_fields('Metarial_ID');
|
||||||
|
$crud->columns('Metarial_ID','Material_Name','Material_Type','SuplierID','Create_date');
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To call AssetDetail details */
|
||||||
|
public function AssetDetails()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_AssetDetails');
|
||||||
|
$crud->set_subject('AssetDetails');
|
||||||
|
$crud->required_fields('Asset_Code');
|
||||||
|
$crud->columns('Asset_Code','Asset_Name','Description','Department','Location','AssetOwner','SupplierName','DateOfPurchase','DateOfCommissioning','SupportVendor','SupportFrom','SupportTo','Created_date');
|
||||||
|
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
// $this->load->view('AssetDetails.php',(array)$output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
570
application/controllers/CostCenter.php
Normal file
570
application/controllers/CostCenter.php
Normal file
@ -0,0 +1,570 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Cost Center (Cost Center Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class CostCenter extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('costcenter_model');
|
||||||
|
//$this->load->library('session');
|
||||||
|
$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'] = 'Siddharth : Cost';
|
||||||
|
|
||||||
|
$this->loadViews("costListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Cost list
|
||||||
|
*/
|
||||||
|
function CostListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->costcenter_model->CostListing();
|
||||||
|
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Cost List';
|
||||||
|
|
||||||
|
$this->loadViews("costListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new cost Center */
|
||||||
|
function addCostCenter()
|
||||||
|
{
|
||||||
|
|
||||||
|
$data['Department'] = $this->costcenter_model->getDepartment();
|
||||||
|
|
||||||
|
$data['BudgetType'] = $this->costcenter_model->getConfigValue('C004');
|
||||||
|
|
||||||
|
$data['Approver'] = $this->costcenter_model->getApproverName();
|
||||||
|
|
||||||
|
$data['FiscalYear'] = $this->costcenter_model->getFiscalYear();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add Cost Center';
|
||||||
|
|
||||||
|
$this->loadViews("addCostCenter", $this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function Dep_SelectedDepartment($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if(strlen($SelectedDepartment) <= 0 )
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Dep_SelectedDepartment', 'Please Select Department.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to add new Cost to the system
|
||||||
|
*/
|
||||||
|
function addNewcost()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('CostCode','CostCode','trim|required');
|
||||||
|
$this->form_validation->set_rules('CostName','CostName','trim|required');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addCostCenter();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CostCode = strtoupper(trim($this->input->post('CostCode')));
|
||||||
|
$CostName = strtoupper(trim($this->input->post('CostName')));
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$SelectedDepartment = $this->input->post('txtSelectedDepartment');
|
||||||
|
//echo $SelectedDepartment;
|
||||||
|
$ApproverName = $this->input->post('ApprovedBy');
|
||||||
|
$comma_separated = explode(':', $SelectedDepartment);
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$CodeExists = $this->costcenter_model->checkCostDetailsExists( $CostCode);
|
||||||
|
|
||||||
|
if(count($CodeExists) == 0)
|
||||||
|
{
|
||||||
|
$Cost = array('CostCenterCode'=>$CostCode, 'CostCenterName'=>$CostName,'ApprovedBy'=>$ApproverName,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
|
||||||
|
$this->costcenter_model->addNewcost($Cost);
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($j = 0; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$DeptCode = $comma_separated[$j];
|
||||||
|
|
||||||
|
$this->costcenter_model->DeleteDepartment( $DeptCode,$CostCode);
|
||||||
|
|
||||||
|
$Dept = array('CostCenterCode'=>$CostCode, 'DEPCode'=>$DeptCode,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
|
||||||
|
$this->costcenter_model->addCostCenterDepartment($Dept);
|
||||||
|
|
||||||
|
}
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$BudgetType = $this->input->post('BudgetType'.$i);
|
||||||
|
$BudgetYear = $this->input->post('BudgetYear'.$i);
|
||||||
|
$BudgetAmount = $this->input->post('BudgetAmount'.$i);
|
||||||
|
$Remarks = $this->input->post('Remarks'.$i);
|
||||||
|
$this->costcenter_model->DeleteBudget( $BudgetType,$BudgetYear,$CostCode);
|
||||||
|
|
||||||
|
$Budget = array('CostCenterCode'=>$CostCode, 'BudgetType'=>$BudgetType,'BudgetYear'=>$BudgetYear,'BudgetAmount'=>$BudgetAmount,'Remarks'=>$Remarks,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
|
||||||
|
$this->costcenter_model->addBudget($Budget);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Print_r('Successfully Created Cost details');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used load user edit information
|
||||||
|
* @param number $userId : Optional : This is user id
|
||||||
|
*/
|
||||||
|
function editOldcost($CostCode = NULL)
|
||||||
|
{
|
||||||
|
|
||||||
|
if($CostCode == '')
|
||||||
|
{
|
||||||
|
$CostCenterID = $_GET['CostCode'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$CostCenterID = $CostCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['CostMaster'] = $this->costcenter_model->GetCostCenterMaster($CostCenterID);
|
||||||
|
$data['CostDepts'] = $this->costcenter_model->GetCostCenterDepartment($CostCenterID);
|
||||||
|
$data['CostBudget'] = $this->costcenter_model->GetCostCenterBudget($CostCenterID);
|
||||||
|
$data['DeptList'] = $this->costcenter_model->GetDepartmentNotinCostCenter($CostCenterID);
|
||||||
|
$data['BudType'] = $this->costcenter_model->GetBudgetTypeNotinCostCenter($CostCenterID,'C004');
|
||||||
|
$data['BudYear'] = $this->costcenter_model->GetBudgetYear($CostCenterID);
|
||||||
|
$data['FiscalYear'] = $this->costcenter_model->getFiscalYear();
|
||||||
|
//print_r(count($data['BudType']));
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Cost';
|
||||||
|
|
||||||
|
$this->loadViews("editOldcost", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function GetBudgetForYear()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$id = $this->input->post('id');
|
||||||
|
$BudYear = $_GET['BudYear'];
|
||||||
|
$CostCenterID = $_GET['CostCode'];
|
||||||
|
$result = $this->costcenter_model->GetCostCenterBudgetByYear($CostCenterID, $BudYear);
|
||||||
|
$BudList = $this->costcenter_model->GetCostBudgetTypeByYear($CostCenterID,'C004', $BudYear);
|
||||||
|
|
||||||
|
$HTML="";
|
||||||
|
$HTML2="";
|
||||||
|
$index = 0;
|
||||||
|
// $HTML2 = $BudList[0]['ConfigValue'];
|
||||||
|
//if($BudList->num_rows() > 0){
|
||||||
|
for ($j = 0; $j < count($BudList); $j++)
|
||||||
|
{
|
||||||
|
$ConfigValue = $BudList[$j]['ConfigValue'];
|
||||||
|
$HTML2.="<option value='".$ConfigValue."'>".$ConfigValue."</option>";
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$index = $index + 1;
|
||||||
|
$BudgetType = $result[$i]['BudgetType'];
|
||||||
|
$BudgetYear = $result[$i]['BudgetYear'];
|
||||||
|
$BudgetAmount = $result[$i]['BudgetAmount'];
|
||||||
|
$Remarks = $result[$i]['Remarks'];
|
||||||
|
$HTML.="<tr id='".$index."'>
|
||||||
|
<td align='left'>". $BudgetType."</td>
|
||||||
|
<input type='hidden' name='BudgetType".$index."' id='BudgetType".$index."' value='". $BudgetType."'/>
|
||||||
|
<input type='hidden' name='BudgetYear".$index."' id='BudgetYear".$index."' value='". $BudgetYear."'/>
|
||||||
|
<input type='hidden' name='BudgetAmount".$index."' id='BudgetAmount".$index."' value='". $BudgetAmount."'/>
|
||||||
|
<input type='hidden' name='Remarks".$index."' id='Remarks".$index."' value='". $Remarks."'/>
|
||||||
|
|
||||||
|
<td align='left'>".$BudgetYear."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$BudgetAmount."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$Remarks."</td>
|
||||||
|
<td>
|
||||||
|
<a data-target='#Edit' data-id=".$index." data-userid=".$index." data-toggle='modal' href='#Edit'><i class='fa fa-pencil' data-toggle='tooltip' title='Click here to view/Edit the ".$BudgetType." Budget details'></i> </a> </td></tr>
|
||||||
|
";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
$HTML.="<input type='hidden' name='txtRowCount' id='txtRowCount' value='".$index ."'/>";
|
||||||
|
die(json_encode(array('Html' => $HTML,'BudYear' => $HTML2)));
|
||||||
|
// echo $HTML2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to edit the user information
|
||||||
|
*/
|
||||||
|
function editcost()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('CostCode','CostCode','trim|required');
|
||||||
|
$this->form_validation->set_rules('CostName','CostName','trim|required');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addCostCenter();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CostCode = strtoupper(trim($this->input->post('CostCode')));
|
||||||
|
$CostName = strtoupper(trim($this->input->post('CostName')));
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$SelectedDepartment = $this->input->post('txtSelectedDepartment');
|
||||||
|
//echo $SelectedDepartment;
|
||||||
|
//die();
|
||||||
|
|
||||||
|
$ApproverName = $this->input->post('ApprovedBy');
|
||||||
|
$comma_separated = "";
|
||||||
|
//print_r(strlen($SelectedDepartment));
|
||||||
|
if(strlen($SelectedDepartment)>0)
|
||||||
|
{
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $SelectedDepartment);
|
||||||
|
}
|
||||||
|
|
||||||
|
//die();
|
||||||
|
//echo count($comma_separated);
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$CodeExists = $this->costcenter_model->checkCostDetailsExists($CostCode);
|
||||||
|
//print_r(count($CodeExists));
|
||||||
|
if(count($CodeExists) > 0)
|
||||||
|
{
|
||||||
|
$Cost = array( 'CostCenterName'=>$CostName,'ApprovedBy'=>$ApproverName,'UpdatedBy'=>$updatedBy,'UpdatedDate'=>$updateddt);
|
||||||
|
$this->costcenter_model->EditCost($Cost,$CostCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(count($comma_separated)>= 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
for ($j = 0; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
// $DeptCode = $comma_separated[$j];
|
||||||
|
|
||||||
|
// $this->costcenter_model->DeleteDepartment( $DeptCode,$CostCode);
|
||||||
|
|
||||||
|
//$Dept = array('CostCenterCode'=>$CostCode, 'DEPCode'=>$DeptCode,'CreatedBy'=>$updatedBy,'createdDate'=>$updateddt,'UpdatedBy'=>$updatedBy,'UpdatedDate'=>$updateddt);
|
||||||
|
|
||||||
|
//print_r($Dept);
|
||||||
|
//$this->costcenter_model->addCostCenterDepartment($Dept);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$BudgetType = $this->input->post('BudgetType'.$i);
|
||||||
|
$BudgetYear = $this->input->post('BudgetYear'.$i);
|
||||||
|
$BudgetAmount = $this->input->post('BudgetAmount'.$i);
|
||||||
|
$Remarks = $this->input->post('Remarks'.$i);
|
||||||
|
// $this->costcenter_model->DeleteBudget($BudgetType,$BudgetYear,$CostCode);
|
||||||
|
|
||||||
|
$Budget = array('CostCenterCode'=>$CostCode, 'BudgetType'=>$BudgetType,'BudgetYear'=>$BudgetYear,'BudgetAmount'=>$BudgetAmount,'Remarks'=>$Remarks,'CreatedBy'=>$updatedBy,'createdDate'=>$updateddt,'UpdatedBy'=>$updatedBy,'UpdatedDate'=>$updateddt);
|
||||||
|
$ExistYearBudget = $this->costcenter_model->CheckExistBudget($BudgetType,$BudgetYear,$CostCode);
|
||||||
|
|
||||||
|
// print_r($Budget);
|
||||||
|
if($ExistYearBudget){
|
||||||
|
$this->costcenter_model->updateBudget($Budget,$BudgetType,$BudgetYear,$CostCode);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$this->costcenter_model->addBudget($Budget);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo('Successfully Updated Cost details');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function DeleteCostDepartment()
|
||||||
|
{
|
||||||
|
// echo "dasf";
|
||||||
|
// die();
|
||||||
|
$CostCode = strtoupper(trim($this->input->post('CostCode')));
|
||||||
|
$CostName = strtoupper(trim($this->input->post('CostName')));
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$SelectedDepartment = $this->input->post('txtSelectedDepartment');
|
||||||
|
$this->costcenter_model->DeleteDepartment($SelectedDepartment,$CostCode);
|
||||||
|
echo ("Department Removed Successfully");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function AddCostDepartment()
|
||||||
|
{
|
||||||
|
$CostCode = strtoupper(trim($this->input->post('CostCode')));
|
||||||
|
$CostName = strtoupper(trim($this->input->post('CostName')));
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$SelectedDepartment = $this->input->post('txtSelectedDepartment');
|
||||||
|
// $updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$Dept = array('CostCenterCode'=>$CostCode, 'DEPCode'=>$SelectedDepartment,'CreatedBy'=>$updatedBy,'createdDate'=>$updateddt,'UpdatedBy'=>$updatedBy,'UpdatedDate'=>$updateddt);
|
||||||
|
$this->costcenter_model->addCostCenterDepartment($Dept);
|
||||||
|
echo ("Department Added Successfully");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// function AddCostDepartment()
|
||||||
|
// {
|
||||||
|
// // echo "343";
|
||||||
|
// // die();
|
||||||
|
// $CostCode = strtoupper(trim($this->input->post('CostCode')));
|
||||||
|
// $CostName = strtoupper(trim($this->input->post('CostName')));
|
||||||
|
// $updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
// $SelectedDepartment = $this->input->post('txtSelectedDepartment');
|
||||||
|
// //echo $SelectedDepartment;
|
||||||
|
// //die();
|
||||||
|
|
||||||
|
// $ApproverName = $this->input->post('ApprovedBy');
|
||||||
|
// $comma_separated = "";
|
||||||
|
// //print_r(strlen($SelectedDepartment));
|
||||||
|
// if(strlen($SelectedDepartment)>0)
|
||||||
|
// {
|
||||||
|
|
||||||
|
// $comma_separated = explode(':', $SelectedDepartment);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// //die();
|
||||||
|
// //echo count($comma_separated);
|
||||||
|
// $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
// $updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|
||||||
|
// if(count($comma_separated)>= 1)
|
||||||
|
// {
|
||||||
|
|
||||||
|
|
||||||
|
// for ($j = 0; $j < count($comma_separated); $j++)
|
||||||
|
// {
|
||||||
|
// $DeptCode = $comma_separated[$j];
|
||||||
|
|
||||||
|
// $this->costcenter_model->DeleteDepartment( $DeptCode,$CostCode);
|
||||||
|
|
||||||
|
// $Dept = array('CostCenterCode'=>$CostCode, 'DEPCode'=>$DeptCode,'CreatedBy'=>$updatedBy,'createdDate'=>$updateddt,'UpdatedBy'=>$updatedBy,'UpdatedDate'=>$updateddt);
|
||||||
|
|
||||||
|
// //print_r($Dept);
|
||||||
|
// $this->costcenter_model->addCostCenterDepartment($Dept);
|
||||||
|
|
||||||
|
// }
|
||||||
|
// echo "Updated";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
function viewcost($CostCenterID = NULL)
|
||||||
|
{
|
||||||
|
|
||||||
|
if($CostCenterID == null)
|
||||||
|
{
|
||||||
|
redirect('costListing');
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['Cost'] = $this->costcenter_model->getuserinfo($CostCenterID);
|
||||||
|
//$data['users'] = $this->purchaseorder_model->getusers();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : View Cost';
|
||||||
|
|
||||||
|
$this->loadViews("viewcost", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to delete the user using userId
|
||||||
|
* @return boolean $result : TRUE / FALSE
|
||||||
|
*/
|
||||||
|
function deletecost()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
echo(json_encode(array('status'=>'access')));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CostCenterID = $this->input->Costst('CostCentreID');
|
||||||
|
$cost = array('CreateDate'=>date('Y-m-d H:i:sa'));
|
||||||
|
|
||||||
|
$result = $this->costcenter_model->deletecost($Cost, $CostCenterID);
|
||||||
|
|
||||||
|
if ($result > 0) { echo(json_encode(array('status'=>TRUE))); }
|
||||||
|
else { echo(json_encode(array('status'=>FALSE))); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function export_cost(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->mergeCells('G3:M3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->getStyle('G3')->getAlignment()->applyFromArray(
|
||||||
|
array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,)
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Cost Master');
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G3', 'SIDDHARTH INDUSTRIES Cost Master');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B5', 'S.No');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C5', 'CostCenterCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D5', 'CostCenterName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E5', 'CAPITAL');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F5', 'REVENUE');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G5', 'IMPORT');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H5', 'SERVICE');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I5', 'BudgetYear');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J5', 'DepartmentName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K5', 'IsActive');
|
||||||
|
//$this->excel->getActiveSheet()->setCellValue('K5', 'Remarks');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L5', 'CreatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M5', 'UpdatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N5', 'IsApproved');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O5', 'ApprovedBy');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setSize(14);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->costcenter_model->export_excel();
|
||||||
|
// print_r($exportData);die();
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 6;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B'. $i,$s);
|
||||||
|
//$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['AssetCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['CostCenterCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['CostCenterName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['capital']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['revenue']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['import']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['service']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['BudgetYear']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['DepartmentName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['IsActive']);
|
||||||
|
//$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['Remarks']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['Updated_By']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['IsApproved']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['firstname']);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'Cost_Master' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
383
application/controllers/MRIRcontroller.php
Normal file
383
application/controllers/MRIRcontroller.php
Normal file
@ -0,0 +1,383 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Inward Gate Register Controller (security)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Saravana kumar
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 10 Jun 2017
|
||||||
|
*/
|
||||||
|
class MRIRcontroller extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : View material inspection report';
|
||||||
|
|
||||||
|
$this->loadViews("viewmaterialinspectionreport", $this->global,NULL , NULL);
|
||||||
|
}
|
||||||
|
/* For Entry MRIR Screen*/
|
||||||
|
function materialinspectionreport($mrir='',$IGRNO='')
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Material Inspection Report';
|
||||||
|
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
|
||||||
|
$data['IGRNOonly'] = $this->mrir_model->getIGRNOonly();
|
||||||
|
|
||||||
|
$this->loadViews("materialinspectionreport", $this->global,$data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function MrirDetailsPrintPdf()
|
||||||
|
{
|
||||||
|
$MrirNo = $_GET['MRIRNO'];
|
||||||
|
// echo $MrirNo;
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : MRIR Pdf ';
|
||||||
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
||||||
|
//print_r($data['CompanyDetails']);
|
||||||
|
$data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo);
|
||||||
|
|
||||||
|
//$data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo);
|
||||||
|
//print_r($data['MRIRDetails']);
|
||||||
|
$this->load->View("Mrirprintpdf",$data, NULL);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Get output html
|
||||||
|
$php = $this->output->get_output();
|
||||||
|
|
||||||
|
// Load library
|
||||||
|
$this->load->library('dompdf_gen');
|
||||||
|
|
||||||
|
// Convert to PDF
|
||||||
|
$this->dompdf->load_html($php);
|
||||||
|
$this->dompdf->render();
|
||||||
|
$data['Attachment'] = FALSE;
|
||||||
|
$this->dompdf->stream("MrirDetails.pdf",$data,$php);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function viewmrirforbilling()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Billing ';
|
||||||
|
$data['Billing'] = $this->mrir_model->view_mrir_Billing();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("viewmrirforbilling", $this->global,$data , NULL);
|
||||||
|
}
|
||||||
|
public function viewmMaterialDistributionList()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Distribution list ';
|
||||||
|
|
||||||
|
$data['Distribution'] = $this->mrir_model->ViewDistributionList();
|
||||||
|
$data['status'] = $this->mrir_model->getStatus();
|
||||||
|
|
||||||
|
$this->loadViews("MaterialIssueList", $this->global,$data , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*FOR Displaying IGR Values (view folder- IGR view page (button link)) */
|
||||||
|
function igrdatavalues()
|
||||||
|
{
|
||||||
|
|
||||||
|
$IgrNo= $_GET['IGRNO'];
|
||||||
|
|
||||||
|
$data['IGRDetails'] = $this->mrir_model->get_IGR($IgrNo);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : IGR Details ';
|
||||||
|
|
||||||
|
$this->loadViews("materialinspectionreport", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
function viewinwardgateregister()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : View Inward Gate Register';
|
||||||
|
|
||||||
|
$data['IGR']= $this->mrir_model->ViewigrListing();
|
||||||
|
|
||||||
|
$this->loadViews("viewinwardgateregister",$this->global,$data,NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For View MRIR Screen (view folder - view page)*/
|
||||||
|
function viewmaterialinspectionreport()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
|
||||||
|
$data['viewmrirdatas'] = $this->mrir_model-> view_mrir();
|
||||||
|
//old name:mrirdatas2
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : View Material Inspection Report';
|
||||||
|
//print_r( $data);
|
||||||
|
$this->loadViews("viewmaterialinspectionreport", $this->global,$data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* FOR Edit MRIR Screen (View folder - edit page)*/
|
||||||
|
function editmaterialinspectionreport()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
|
||||||
|
$MrirNo = $_GET['MRIRNO'];
|
||||||
|
|
||||||
|
$data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo);//get_MRIR_Values($MrirNo);
|
||||||
|
//print_r($data['MRIRDetails']);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Material Inspection Report';
|
||||||
|
|
||||||
|
$this->loadViews("Editmaterialinspectionreport", $this->global,$data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* NEW Values TO Stored in DB (for insert operation) */
|
||||||
|
function stored_db()//old name : displaying_values()
|
||||||
|
{
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
|
||||||
|
$RowCount = $this->input->post('RowCount');
|
||||||
|
$igrno = $this->input->post('IGRNO');
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Remark = $this->input->post('Remark');
|
||||||
|
|
||||||
|
|
||||||
|
//this array to store the value in master table..
|
||||||
|
$mrirmastervalues = array('MRIRStatus'=>MRIR_CREATED,'IGRNO'=>$igrno,'PONO'=>$PONO,'CreatedBy'=>$CreatedBy,'Createdon'=>$createddt);
|
||||||
|
|
||||||
|
$mrirmaster = $this->mrir_model->master_mrir($mrirmastervalues);
|
||||||
|
$IGRDetails = array('IGRStatus'=>MRIR_CREATED,'UpdateBY'=>$CreatedBy,'UpdatedOn'=>$createddt);
|
||||||
|
|
||||||
|
$this->mrir_model->UpdateIGRStatus($IGRDetails,$igrno);
|
||||||
|
|
||||||
|
|
||||||
|
$MRIRNO = '';
|
||||||
|
|
||||||
|
|
||||||
|
if(count($mrirmaster)>0)
|
||||||
|
|
||||||
|
{
|
||||||
|
foreach ($mrirmaster as $key ) {
|
||||||
|
|
||||||
|
$MRIRNO=$key->MRIRNo; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = trim($this->input->post('MaterialCode'.$i));
|
||||||
|
$ActualQuantityReceived = trim($this->input->post('ActualQuantity'.$i));
|
||||||
|
$QuantityAsPerInvoice = trim($this->input->post('ReceivedQuantity'.$i));
|
||||||
|
$Remarked = trim($this->input->post('Remark'.$i));
|
||||||
|
$StoreIncharge = $this->session->userdata('userId');
|
||||||
|
|
||||||
|
//this array to store the value in child table..
|
||||||
|
$mrirdetailvalues = array('MRIRNO'=>$MRIRNO,'MaterialCode'=>$MaterialCode,'ActualQuantityReceived'=>$ActualQuantityReceived,'StoreInchargeID'=>$StoreIncharge,'Remarks'=>$Remarked);
|
||||||
|
|
||||||
|
//print_r($mrirdetailvalues);
|
||||||
|
//die();
|
||||||
|
|
||||||
|
$mrirdetails = $this->mrir_model->detail_mrir($mrirdetailvalues);
|
||||||
|
|
||||||
|
}
|
||||||
|
echo "successfully created : ".$MRIRNO;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Values To Stored in DB (for update operation) */
|
||||||
|
function updated_db()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('mrir_model');
|
||||||
|
|
||||||
|
$mrir_no = $this->input->post('MRIRNO');
|
||||||
|
$RowCount = $this->input->post('RowCount');
|
||||||
|
$Status = $this->input->post('status');
|
||||||
|
$UPdateby=$this->session->userdata('userId');
|
||||||
|
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$UPdateon = $date->format('Y-m-d H:i:s');
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
//this array to store the updated value in master table..
|
||||||
|
|
||||||
|
$strStatus = '';
|
||||||
|
|
||||||
|
$strStatus = '';
|
||||||
|
|
||||||
|
$ISRejected = 0;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$ActualQty=trim($this->input->post('ActualQuantityReceived'.$i));
|
||||||
|
$acceptquantity=trim($this->input->post('QuantityAccepted'.$i));
|
||||||
|
$rejectquantity=trim($this->input->post('QuantityRejected'.$i));
|
||||||
|
$MaterialCode = trim($this->input->post('MaterialCode'.$i));
|
||||||
|
$Lineitm = trim($this->input->post('Lineitm'.$i));
|
||||||
|
|
||||||
|
|
||||||
|
if($acceptquantity != 0 )
|
||||||
|
{
|
||||||
|
|
||||||
|
$ISRejected = 1;
|
||||||
|
$strStatus = MRIR_APPROVED;
|
||||||
|
$avlQty = 0;
|
||||||
|
$getAvailableqty = $this->mrir_model->getItemQuantityFromStock(trim($MaterialCode));
|
||||||
|
|
||||||
|
if(count($getAvailableqty)>0)
|
||||||
|
{
|
||||||
|
$avlQty = $getAvailableqty[0]['Quantity'];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$updatStock = array('Quantity'=>($acceptquantity+$avlQty),'Status'=>'0','UpdatedOn'=>$UPdateon,'UpdatedBy'=>$UPdateby,'Remarks'=>'Stock added for '. $this->input->post('MRIRNO'));
|
||||||
|
|
||||||
|
$this->mrir_model->UpdateStock($updatStock,trim($MaterialCode));
|
||||||
|
|
||||||
|
}
|
||||||
|
elseif($rejectquantity !=0 && $acceptquantity == 0)
|
||||||
|
{
|
||||||
|
$strStatus = MRIR_REJECTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$remark=$this->input->post('Remark'.$i);
|
||||||
|
|
||||||
|
$updateby=$this->session->userdata('userId');
|
||||||
|
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateon = $date->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
if(strlen($acceptquantity)<=0 && $acceptquantity == 0)
|
||||||
|
{
|
||||||
|
$rejectquantity = $ActualQty;
|
||||||
|
|
||||||
|
}
|
||||||
|
//this array to store the update value in child table..
|
||||||
|
$updatedetailvalues = array('UpdateBy'=>$updateby,'UpdatedOn'=>$updateon,'QuantityAccepted'=>$acceptquantity,'QuantityRejected'=>$rejectquantity,'Remarks'=>$remark,'MRIRStatus'=>$strStatus);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$updatedetails = $this->mrir_model->update_mrirdetail($updatedetailvalues,$Lineitm);
|
||||||
|
|
||||||
|
$POLineItem = array('Status'=>$strStatus,'UpdateBY'=>$updateby,'UpdatedOn'=>$updateon );
|
||||||
|
|
||||||
|
$this->mrir_model->UpdatePOLineItem($POLineItem,$PONO,$MaterialCode);
|
||||||
|
|
||||||
|
}
|
||||||
|
$PoMrirStatus='';
|
||||||
|
|
||||||
|
if($ISRejected==1){
|
||||||
|
$PoMrirStatus = MRIR_APPROVED;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$PoMrirStatus = MRIR_REJECTED;
|
||||||
|
}
|
||||||
|
$updatemastervalues = array('MRIRStatus'=>$PoMrirStatus,'UpdateBY'=>$UPdateby,'UpdatedOn'=>$UPdateon);
|
||||||
|
|
||||||
|
$updatemaster = $this->mrir_model->update_mrirmaster($updatemastervalues,$mrir_no);
|
||||||
|
|
||||||
|
$this->mrir_model->UpdatePOMaster($PONO,$PoMrirStatus,$UPdateby);
|
||||||
|
|
||||||
|
echo "successfully updated :".$mrir_no;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/*in view screen we display values for modal (viewmaterialinspectionreport.php)*/
|
||||||
|
function displaying_MRIRvalues()
|
||||||
|
{
|
||||||
|
$mrir = $this->input->post("mrirno");
|
||||||
|
$result=$this->mrir_model->get_MRIRs($mrir);
|
||||||
|
$obj=json_encode($result);
|
||||||
|
echo $obj;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function displaying_IGRvalues()
|
||||||
|
{
|
||||||
|
|
||||||
|
$igr= $this->input->post("igrno");
|
||||||
|
$result=$this->mrir_model->get_IGRs($igr);
|
||||||
|
$obj = json_encode($result);
|
||||||
|
echo $obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
function UpdateReqItemStatus()
|
||||||
|
{
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
$Values = $this->input->post('id');
|
||||||
|
$StatusCode = trim($Values[0]);
|
||||||
|
$MaterialCode = trim($Values[1]);
|
||||||
|
$ReqNumber = trim($Values[2]);
|
||||||
|
$Remarks = trim($Values[3]);
|
||||||
|
$ReqQuantity=trim($Values[4]);
|
||||||
|
$AceptedQty=trim($Values[5]);
|
||||||
|
|
||||||
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$getAvailableqty = $this->mrir_model->getItemQuantityFromStock($MaterialCode);
|
||||||
|
|
||||||
|
|
||||||
|
$avlQty = 0;
|
||||||
|
|
||||||
|
if(count($getAvailableqty)>0)
|
||||||
|
{
|
||||||
|
$avlQty = $getAvailableqty[0]['Quantity'];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$BalanceQty=0;
|
||||||
|
if($avlQty>0 && $avlQty >= $AceptedQty)
|
||||||
|
{
|
||||||
|
$BalanceQty= $avlQty - $AceptedQty;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$ReqDetails = array('Status'=>$StatusCode,'remarks'=>$Remarks,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDt,'DeliveredQuantity'=>$ReqQuantity);
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateRequistionLineItem($ReqDetails,$ReqNumber,$MaterialCode);
|
||||||
|
|
||||||
|
$StoreDetails=array('Remarks'=>'Stock Dedeucted for '.$ReqNumber.' from '.$avlQty,'Quantity'=>$BalanceQty);
|
||||||
|
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateAvlQty($StoreDetails,$MaterialCode);
|
||||||
|
|
||||||
|
|
||||||
|
echo "Material Issued Successfully for the Requistion: ".$ReqNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
1680
application/controllers/amendmentpurchaseorder.php
Normal file
1680
application/controllers/amendmentpurchaseorder.php
Normal file
File diff suppressed because it is too large
Load Diff
561
application/controllers/assetdetails.php
Normal file
561
application/controllers/assetdetails.php
Normal file
@ -0,0 +1,561 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : purchaseorder (PurchaseorderController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class assetdetails extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('assetdetails_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Asset Details';
|
||||||
|
|
||||||
|
$this->loadViews("assetListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Supplier list
|
||||||
|
*/
|
||||||
|
function assetListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('assetdetails_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->assetdetails_model->assetListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Asset List';
|
||||||
|
//print_r($data);die();
|
||||||
|
$this->loadViews("assetListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new supplier */
|
||||||
|
function addasset()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$data['AssetStatus'] = $this->assetdetails_model->getConfigValue('C015');
|
||||||
|
$data['po'] = $this->assetdetails_model->getPO();
|
||||||
|
|
||||||
|
//print_r($data);die();
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add Asset';
|
||||||
|
|
||||||
|
$this->loadViews("addasset", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getpodetails()
|
||||||
|
{
|
||||||
|
$PO= $this->input->post('PONO');
|
||||||
|
|
||||||
|
$data = $this->assetdetails_model->getpodetails($PO);
|
||||||
|
//print_r($data);die();
|
||||||
|
|
||||||
|
$HTML = "<option value='0'>SelectMaterialCode</option>";
|
||||||
|
if(count($data) > 0)
|
||||||
|
{
|
||||||
|
for ($j = 0; $j < count($data); $j++)
|
||||||
|
{
|
||||||
|
$Code = $data[$j]->LineItemNo;
|
||||||
|
$Name = $data[$j]->MaterialCode;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$HTML .="<option value='".$Code."'>".$Code."-".$Name."</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//echo $HTML;
|
||||||
|
die(json_encode(array($HTML)));
|
||||||
|
//echo json_encode($data);
|
||||||
|
//die();
|
||||||
|
}
|
||||||
|
|
||||||
|
function getline()
|
||||||
|
{
|
||||||
|
$line = $this->input->post('line');
|
||||||
|
|
||||||
|
|
||||||
|
$type = $this->assetdetails_model->gettyp($line);
|
||||||
|
|
||||||
|
$data='';
|
||||||
|
if(!empty($type)){
|
||||||
|
|
||||||
|
foreach($type as $item){
|
||||||
|
|
||||||
|
$data = $item->POType;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if($data=='SERVICE'){
|
||||||
|
$ser= $this->assetdetails_model->getlineitemser($line);
|
||||||
|
}
|
||||||
|
elseif($data=='REVENUE'){
|
||||||
|
$ser = $this->assetdetails_model->getlineitemre($line);
|
||||||
|
}
|
||||||
|
elseif($data=='IMPORT'){
|
||||||
|
$ser = $this->assetdetails_model->getlineitemimport($line);
|
||||||
|
}
|
||||||
|
elseif($data=='CAPITAL'){
|
||||||
|
$ser = $this->assetdetails_model->getlineitemcap($line);
|
||||||
|
}
|
||||||
|
//print_r($ser);die();
|
||||||
|
|
||||||
|
|
||||||
|
//print_r($data);die();
|
||||||
|
//$data = $this->getDateformat($data);
|
||||||
|
echo json_encode($ser);
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
// function getlin(){
|
||||||
|
// $line = $this->input->post('line');
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
/* Validation for Department Dropdown
|
||||||
|
*/
|
||||||
|
function Department_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Department_validate', 'Please Select Department.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Validation for Supplier Dropdown
|
||||||
|
*/
|
||||||
|
function Supplier_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Supplier_validate', 'Please Select Supplier.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation for Supplier Dropdown
|
||||||
|
*/
|
||||||
|
function Asset_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Asset_validate', 'Please Select Asset Status.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to add new user to the system
|
||||||
|
*/
|
||||||
|
function addNewasset()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('AssetName','AssetName','trim|required');
|
||||||
|
//$this->form_validation->set_rules('Description','Description','trim|required');
|
||||||
|
$this->form_validation->set_rules('Department','Department','trim|callback_Department_validate');
|
||||||
|
$this->form_validation->set_rules('Location','Location','trim|required');
|
||||||
|
$this->form_validation->set_rules('User','User','trim|required');
|
||||||
|
$this->form_validation->set_rules('SupplierName','SupplierName','trim|callback_Supplier_validate');
|
||||||
|
$this->form_validation->set_rules('DateOfCommission','DateOfCommission','trim|required');
|
||||||
|
$this->form_validation->set_rules('Assetvalue','Assetvalue','trim|required');
|
||||||
|
$this->form_validation->set_rules('AssetStatus','AssetStatus','trim|callback_Asset_validate');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addasset();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$AssetName = strtoupper($this->input->post('AssetName'));
|
||||||
|
$Description = $this->input->post('Description');
|
||||||
|
$Department = $this->input->post('AssetDept');
|
||||||
|
$Location = $this->input->post('Location');
|
||||||
|
$User = $this->input->post('User');
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$DateOfCommission = $this->input->post('DateOfCommission');
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
$DateOfPurchase = $this->input->post('DateOfPurchase');
|
||||||
|
if($DateOfPurchase != '')
|
||||||
|
{
|
||||||
|
$DOpurchase = $this->getDateformat($DateOfPurchase);
|
||||||
|
}
|
||||||
|
$AssetValue = $this->input->post('Assetvalue');
|
||||||
|
|
||||||
|
if($DateOfCommission != '')
|
||||||
|
{
|
||||||
|
$DOCommission= $this->getDateformat($DateOfCommission);
|
||||||
|
//$DOCommission= $this->getDateformat($DateOfCommission);
|
||||||
|
}
|
||||||
|
$AssetStatus = $this->input->post('AssetStatus');
|
||||||
|
$Remarks = $this->input->post('Remarks');
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
$lineitem = $this->input->post('lineitem');
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode');
|
||||||
|
$Quantity = $this->input->post('Quantity');
|
||||||
|
|
||||||
|
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$asset = array();
|
||||||
|
|
||||||
|
|
||||||
|
$asset = array('AssetName'=>$AssetName, 'Description'=>$Description,'DEPCode'=>$Department,'Location'=>$Location,'UserName'=>$User,'SupplierCode'=>$SupplierName,'DateOfPurchase'=>$DOpurchase,'DateOfCommison'=>$DOCommission,'AssetValue'=>$AssetValue,'AssetStatus'=>$AssetStatus,'IsActive'=>$IsActive,'Remarks'=>$Remarks,'CreatedBy'=>$CreatedBy,'PONO'=>$PONO,'POLineItem'=>$lineitem,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity);
|
||||||
|
$result = $this->assetdetails_model->addNewasset($asset);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
// $this->session->set_flashdata('success', 'New Asset created successfully');
|
||||||
|
echo "<script>alert('Asset Created successfully!');</script>";
|
||||||
|
redirect('assetListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Asset Not Created!');</script>";
|
||||||
|
redirect('assetListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used load user edit information
|
||||||
|
* @param number $userId : Optional : This is user id
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*function ech(){
|
||||||
|
|
||||||
|
echo $this->input->post('Asset_Code');
|
||||||
|
}*/
|
||||||
|
|
||||||
|
function editOldasset($AssetCode = '',$PO='')
|
||||||
|
{
|
||||||
|
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$AssetStatus = $this->input->post('AssetStatus');
|
||||||
|
$Department = $this->input->post('Department');
|
||||||
|
|
||||||
|
if($AssetCode == '')
|
||||||
|
{
|
||||||
|
$AssetID = $_GET['AssetID'];
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$AssetID = $AssetCode;
|
||||||
|
}
|
||||||
|
//echo $AssetID;
|
||||||
|
|
||||||
|
$data['assetList'] = $this->assetdetails_model->getAssetDetails($AssetID);
|
||||||
|
// $data['SupplierList'] = $this->assetdetails_model->getSupplierName($SupplierName);
|
||||||
|
// $data['DepartmentList'] = $this->assetdetails_model->getDepartment($Department);
|
||||||
|
$data['AssetStatusList'] = $this->assetdetails_model->getConfigValue('C015');
|
||||||
|
$data['PO'] = $this->assetdetails_model->getPO($PO);
|
||||||
|
//print_r($data);die();
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Asset';
|
||||||
|
|
||||||
|
$this->loadViews("editOldasset", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to edit the user information
|
||||||
|
*/
|
||||||
|
function editasset()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$Asset_Code = $this->input->post('AssetCode');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('AssetName','AssetName','trim|required');
|
||||||
|
$this->form_validation->set_rules('Description','Description','trim|required');
|
||||||
|
$this->form_validation->set_rules('Department','Department','trim|callback_Department_validate');
|
||||||
|
$this->form_validation->set_rules('Location','Location','trim|required');
|
||||||
|
$this->form_validation->set_rules('User','User','trim|required');
|
||||||
|
$this->form_validation->set_rules('SupplierName','SupplierName','trim|callback_Supplier_validate');
|
||||||
|
$this->form_validation->set_rules('DateOfCommission','DateOfCommission','trim|required');
|
||||||
|
$this->form_validation->set_rules('Assetvalue','Assetvalue','trim|required');
|
||||||
|
$this->form_validation->set_rules('AssetStatus','AssetStatus','trim|callback_Asset_validate');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->editOldasset($Asset_Code);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Asset_Code = $this->input->post('AssetCode');
|
||||||
|
$AssetName = strtoupper( $this->input->post('AssetName'));
|
||||||
|
$Description = $this->input->post('Description');
|
||||||
|
$Department = $this->input->post('AssetDept');
|
||||||
|
$Location = $this->input->post('Location');
|
||||||
|
$User = $this->input->post('User');
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$DateOfPurchase = $this->input->post('DateOfPurchase');
|
||||||
|
if($DateOfPurchase != '')
|
||||||
|
{
|
||||||
|
$DOpurchase = $this->getDateformat($DateOfPurchase);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$DateOfCommission = $this->input->post('DateOfCommission');
|
||||||
|
$UpdatedBy = $this->session->userdata('userId');
|
||||||
|
$Assetvalue = $this->input->post('Assetvalue');
|
||||||
|
|
||||||
|
if($DateOfCommission != '')
|
||||||
|
{
|
||||||
|
|
||||||
|
$DOCommission= $this->getDateformat($DateOfCommission);
|
||||||
|
//$DOCommission= $this->dateformat($DateOfCommission);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$AssetStatus = $this->input->post('AssetStatus');
|
||||||
|
$Remarks = $this->input->post('Remarks');
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
$lineitem = $this->input->post('lineitem');
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode');
|
||||||
|
$Quantity = $this->input->post('Quantity');
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$asset = array();
|
||||||
|
|
||||||
|
|
||||||
|
$asset = array('AssetName'=>$AssetName, 'Description'=>$Description,'DEPCode'=>$Department,'Location'=>$Location,'UserName'=>$User,'SupplierCode'=>$SupplierName,'DateOfPurchase'=>$DOpurchase,'DateOfCommison'=>$DOCommission,'AssetValue'=>$Assetvalue,'AssetStatus'=>$AssetStatus,'IsActive'=>$IsActive,'Remarks'=>$Remarks,'UpdatedBy'=>$UpdatedBy,'PONO'=>$PONO,'POLineItem'=>$lineitem,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity);
|
||||||
|
|
||||||
|
$result = $this->assetdetails_model->editasset($asset, $Asset_Code);
|
||||||
|
|
||||||
|
if($result == true)
|
||||||
|
{echo "<script>alert('Asset updated successfully!');</script>";
|
||||||
|
redirect('assetListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{echo "<script>alert('Asset Not updated !');</script>";
|
||||||
|
redirect('assetListing','refresh');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
//this function used to dateformat to store in db
|
||||||
|
function dateformat($DateValue)
|
||||||
|
{
|
||||||
|
$date = DateTime::createFromFormat('d/m/Y', $DateValue);//we should give the date as per DatePicker format.
|
||||||
|
|
||||||
|
//if the date picker format is mismatched means it display as invalid date so that we can use this "IF" Conditions (i.e) If the above format returns false then the date is not formatted correctly
|
||||||
|
if ($date === false) {
|
||||||
|
return false;
|
||||||
|
//return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$retDate = $date->format('Y-m-d'); //in this line using the parsed date., we can create a new formatting for storing value to datebase ("we choosing date value based on datepicker")
|
||||||
|
// echo "<script>alert($retDate);</script>";
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function export_asset(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->mergeCells('G3:M3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->getStyle('G3')->getAlignment()->applyFromArray(
|
||||||
|
array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,)
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Asset Details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G3', 'SIDDHARTH INDUSTRIES Asset Details');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C5', 'AssetCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D5', 'AssetName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E5', 'AssetDescription');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F5', 'DepartmentName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G5', 'Location');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H5', 'PONO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I5', 'POLineItem');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J5', 'MaterialName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K5', 'Quanity');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L5', 'UserName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M5', 'SupplierName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N5', 'DateOfPurchase');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O5', 'DateOfCommison');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P5', 'AssetValue');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q5', 'AssetStatus');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R5', 'IsActive');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S5', 'Remarks');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T5', 'CreatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U5', 'UpdatedBy');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setSize(14);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G3')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->assetdetails_model->export_excel();
|
||||||
|
//print_r($exportData);die();
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 6;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['AssetCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data[ 'AssetName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data[ 'Description']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data[ 'DEPCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data[ 'Location']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data[ 'PONO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data[ 'POLineItem']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data[ 'MaterialName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data[ 'Quantity']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data[ 'UserName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data[ 'SupplierName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data[ 'DateOfPurchase']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data[ 'DateOfCommison']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P'. $i,$data[ 'AssetValue']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q'. $i,$data[ 'AssetStatus']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R'. $i,$data[ 'IsActive']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S'. $i,$data[ 'Remarks']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T'. $i,$data[ 'firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U'. $i,$data[ 'Updated_By']);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'Asset_details' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
51
application/controllers/c_test.php
Normal file
51
application/controllers/c_test.php
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
class C_test extends BaseController {
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
//$this->load->library('grocery_CRUD');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function create_pdf() {
|
||||||
|
// Load all views as normal
|
||||||
|
|
||||||
|
|
||||||
|
$PONO = $_GET['PO'];
|
||||||
|
|
||||||
|
$data['PODetail'] = $this->purchaseorder_model->getPurchaseOrder($PONO);
|
||||||
|
$data['POLineItem'] = $this->purchaseorder_model->getPOLineItem($PONO);
|
||||||
|
//$this->global['pageTitle'] = 'Purchase Order Report';
|
||||||
|
|
||||||
|
// Add header to pdf
|
||||||
|
$this->load->view('includes/pdfheader');
|
||||||
|
|
||||||
|
// Load the pdf page with multiviews
|
||||||
|
$this->load->View("create_pdf", $data, NULL);
|
||||||
|
|
||||||
|
// Add header to pdf
|
||||||
|
$this->load->view('includes/pdffooter');
|
||||||
|
|
||||||
|
// Get output html
|
||||||
|
$php = $this->output->get_output();
|
||||||
|
|
||||||
|
// Load library
|
||||||
|
$this->load->library('dompdf_gen');
|
||||||
|
|
||||||
|
// Convert to PDF
|
||||||
|
$this->dompdf->load_html($php);
|
||||||
|
$this->dompdf->render();
|
||||||
|
$data['Attachment'] = FALSE;
|
||||||
|
$this->dompdf->stream("PurchaseOrderreport.pdf",$data,$php);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
324
application/controllers/companycontroller.php
Normal file
324
application/controllers/companycontroller.php
Normal file
@ -0,0 +1,324 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Employee (Employee Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 07 Apr 2017
|
||||||
|
*/
|
||||||
|
class companycontroller extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('companydetailsmodel');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Company Details';
|
||||||
|
|
||||||
|
//$this->loadViews("companyadd", $this->global, NULL , NULL);
|
||||||
|
|
||||||
|
//$this->loadViews("Updatecompany", $this->global,NULL,NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function companyview()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Company Details';
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->companydetailsmodel->companylisting();
|
||||||
|
$data['payment'] = $this->companydetailsmodel->getPaymentTerms();
|
||||||
|
$data['filenames']=$this->companydetailsmodel->filelist();
|
||||||
|
$data['bankdetails']=$this->companydetailsmodel->getBankDetails();
|
||||||
|
//$data['filetype']=$this->companydetailsmodel->getfilename();
|
||||||
|
$data['filetype']=$this->companydetailsmodel->getfilename();
|
||||||
|
$this->loadViews("companyview", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* this function used to add and update the bank details*/
|
||||||
|
public function bankdtl()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$bankname = $this->input->post('id1');
|
||||||
|
//$ifsccode = $this->input->post('id2');
|
||||||
|
//$bankaddress = $this->input->post('id3');
|
||||||
|
//$isactive = $this->input->post('');
|
||||||
|
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$tablevalue = json_decode($id,true);
|
||||||
|
|
||||||
|
foreach($tablevalue as $tv)
|
||||||
|
{
|
||||||
|
$bankname = $tv['BankName'];
|
||||||
|
$ifsccode = $tv['IFSC'];
|
||||||
|
$bankaddress = $tv['BankAddress'];
|
||||||
|
$bankstate = $tv['IsActive'];
|
||||||
|
if($bankstate == 'Yes')
|
||||||
|
{
|
||||||
|
$isactive = 1;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$isactive = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
$Bank = array('Bank_name'=>$bankname,'IFSC'=>$ifsccode,'Address'=>$bankaddress,'Is_Active'=>$isactive);
|
||||||
|
$result = $this->companydetailsmodel->BankDetails($Bank);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//$Bank = array('Bank_name'=>$bankname,'IFSC'=>$ifsccode,'Address'=>$bankaddress);
|
||||||
|
//$result = $this->companydetailsmodel->AddBankDetails($Bank);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function companyadd(){
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Company Details';
|
||||||
|
$this->loadViews("companyadd", $this->global, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function add()
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
if(!empty($_FILES['photo']['name']))
|
||||||
|
{
|
||||||
|
$config['upload_path'] = 'uploads/images/';
|
||||||
|
$config['allowed_types'] = 'jpg|jpeg|png|gif';
|
||||||
|
$config['file_name'] = $_FILES['photo']['name'];
|
||||||
|
|
||||||
|
//Load upload library and initialize configuration
|
||||||
|
$this->load->library('upload',$config);
|
||||||
|
$this->upload->initialize($config);
|
||||||
|
if($this->upload->do_upload('photo'))
|
||||||
|
{
|
||||||
|
$uploadData = $this->upload->data();
|
||||||
|
$picture = $uploadData['file_name'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$error = array('error' => $this->upload->display_errors());
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $picture ;
|
||||||
|
}
|
||||||
|
function editimage($ModifyPictureName)
|
||||||
|
{
|
||||||
|
//$picture = $ModifyPictureName;
|
||||||
|
if(!empty($_FILES['photo']['name']))
|
||||||
|
{
|
||||||
|
$config['upload_path'] = 'uploads/images/';
|
||||||
|
$config['allowed_types'] = 'jpg|jpeg|png|gif';
|
||||||
|
$config['file_name'] = $_FILES['photo']['name'];
|
||||||
|
|
||||||
|
//Load upload library and initialize configuration
|
||||||
|
$this->load->library('upload',$config);
|
||||||
|
$this->upload->initialize($config);
|
||||||
|
if($this->upload->do_upload('photo'))
|
||||||
|
{
|
||||||
|
$uploadData = $this->upload->data();
|
||||||
|
$picture = $uploadData['file_name'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$error = array('error' => $this->upload->display_errors());
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $picture ;
|
||||||
|
}
|
||||||
|
function addfile()
|
||||||
|
{
|
||||||
|
$file = '';
|
||||||
|
//Check whether user upload picture
|
||||||
|
if(!empty($_FILES['images']['name']))
|
||||||
|
{
|
||||||
|
|
||||||
|
$config['upload_path'] = 'uploads/files/';
|
||||||
|
$config['allowed_types'] = 'docx|pdf|doc|png|jpg';
|
||||||
|
$config['file_name'] = $_FILES['images']['name'];
|
||||||
|
|
||||||
|
//Load upload library and initialize configuration
|
||||||
|
$this->load->library('upload',$config);
|
||||||
|
$this->upload->initialize($config);
|
||||||
|
|
||||||
|
if($this->upload->do_upload('images'))
|
||||||
|
{
|
||||||
|
$uploadData = $this->upload->data();
|
||||||
|
$file = $uploadData['file_name'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$error = array('error' => $this->upload->display_errors());
|
||||||
|
$file = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$file = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $file ;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function checkPanValidate()
|
||||||
|
{
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
$query = $this->supplier_model->checkPAN($PanNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidate', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function deletefile()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ID = $this->input->post('id');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
$userInfo = array('isDeleted'=>1);
|
||||||
|
$result = $this->companydetailsmodel->deletefile($ID, $userInfo);
|
||||||
|
echo 'Succssfully change the user status to InActive';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function UpdateCompany()
|
||||||
|
{
|
||||||
|
//die();
|
||||||
|
// $data['payment'] = $this->companydetailsmodel->getpayment();
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$PictureName = $this->input->post('Image');
|
||||||
|
$ModifyPictureName = $this->input->post('ModifyImage');
|
||||||
|
if ($PictureName != '')
|
||||||
|
{ //echo 'Exists';
|
||||||
|
if(strlen($ModifyPictureName) == 0)
|
||||||
|
{
|
||||||
|
//echo 'Exists But Not replace';
|
||||||
|
$Picture = $PictureName;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Exists But Replace';
|
||||||
|
//$Picture = $this->editimage($ModifyPictureName);
|
||||||
|
$Picture = $this->add($ModifyPictureName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Not Exists';
|
||||||
|
$Picture = $this->add();
|
||||||
|
}
|
||||||
|
$file =$this->addfile();
|
||||||
|
$CompID = $this->input->post('CompanyID');
|
||||||
|
$CompanyName = $this->input->post('CompanyName');
|
||||||
|
$Address = $this->input->post('Address');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$AlternateContactNumber = $this->input->post('AlternateContactNumber');
|
||||||
|
$EmailAddress = $this->input->post('EmailAddress');
|
||||||
|
$Exiseregistration = $this->input->post('Exiseregistration1');
|
||||||
|
$TIN = $this->input->post('TIN');
|
||||||
|
$PAN = $this->input->post('PAN');
|
||||||
|
$GSTNO = $this->input->post('GSTNO');
|
||||||
|
$GSTRange = $this->input->post('GSTRange');
|
||||||
|
$CollectrateAddress = $this->input->post('CollectrateAddress');
|
||||||
|
$UANumber = $this->input->post('UANumber');
|
||||||
|
$PaymentId = $this->input->post('paymentid');
|
||||||
|
//$Payment = $this->input->post('PaymentTerms');
|
||||||
|
//$PaymentDays = $this->input->post('PaymentDays');
|
||||||
|
//$PayableAT = $this->input->post('PayableAT');
|
||||||
|
$createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$updatedby = $this->session->userdata ( 'userId' );
|
||||||
|
$date = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $date->format('Y-m-d H:i:s');
|
||||||
|
//$UpdatedBY = $this->session->userdata ( 'Userid' );
|
||||||
|
//$companywebsite = $this->input->post('companywebsite');
|
||||||
|
//$ceoname = $this->input->post('ceoname');
|
||||||
|
//$mdname = $this->input->post('mdname');
|
||||||
|
//$companystartedon = $this->input->post('companystartedon');
|
||||||
|
//$partnerdetails = $this->input->post ('partnerdetails');
|
||||||
|
$companywebsite = $this->input->post('companywebsite');
|
||||||
|
//$ProfilePic = $this->input->post ('ProfilePic');
|
||||||
|
//$files = $this->input->post('files');
|
||||||
|
$filedescription1= $this->input->post('filedescription');
|
||||||
|
//$files = $this->input->post('filename');
|
||||||
|
//$financialstart=$this->input->post('financialstart');
|
||||||
|
//$financialend=$this->input->post('financialend');
|
||||||
|
$date = new DateTime($this->input->post('financialstart'));
|
||||||
|
$financialstart = $date->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$date2 = new DateTime($this->input->post('financialend'));
|
||||||
|
$financialend = $date2->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$ID= $this->input->post('ID');
|
||||||
|
//$createdDate=$this->input->post('createdDate');
|
||||||
|
|
||||||
|
//$Company = array('CompID'=>$CompID,'CompanyName'=>$CompanyName,'Address'=>$Address,'ContactNumber'=>$ContactNumber,'AlternateContactNumber'=>$AlternateContactNumber,'EmailAddress'=>$EmailAddress,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNO'=>$GSTNO,'GSTRange'=>$GSTRange,'UANumber'=>$UANumber,'PaymentTerms'=>$Payment ,'PaymentDays'=>$PaymentDays ,'PayableAT'=>$PayableAT ,'Createdby'=>$createdby,'ProfilePic'=>$Picture,'Exiseregistration'=>$Exiseregistration,'CollectrateAddress'=>$CollectrateAddress,'FiscalYearStartOn'=>$financialstart,'FiscalYearEndsOn'=> $financialend);
|
||||||
|
$Company = array('CompID'=>$CompID,'CompanyName'=>$CompanyName,'Address'=>$Address,'ContactNumber'=>$ContactNumber,'AlternateContactNumber'=>$AlternateContactNumber,'EmailAddress'=>$EmailAddress,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNO'=>$GSTNO,'GSTRange'=>$GSTRange,'UANumber'=>$UANumber,'Createdby'=>$createdby,'ProfilePic'=>$Picture,'Exiseregistration'=>$Exiseregistration,'CollectrateAddress'=>$CollectrateAddress,'FiscalYearStartOn'=>$financialstart,'FiscalYearEndsOn'=> $financialend,'paymentID'=>$PaymentId,'companyWebsite'=>$companywebsite,'UpdatedBY'=>$updatedby,'Updatedon'=>$updateddt);
|
||||||
|
|
||||||
|
if(!empty($file))
|
||||||
|
{
|
||||||
|
$myfile = array('CompID'=>$CompID,'filename'=>$file,'ID'=>$ID,'filedescription'=>$filedescription1,'createdDate'=>$createddt);
|
||||||
|
|
||||||
|
$result2 = $this->companydetailsmodel->filedetails($myfile);
|
||||||
|
}
|
||||||
|
$result = $this->companydetailsmodel->Updatecompany($Company,$CompID);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
echo "<script>alert('You Have Successfully updated the company Record!');</script>";
|
||||||
|
redirect('companyview','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// redirect('companyview');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
173
application/controllers/configurationctrl.php
Normal file
173
application/controllers/configurationctrl.php
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Supplier Controller (supplier)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Surendar
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 26 July 2017
|
||||||
|
*/
|
||||||
|
class configurationctrl extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->model('configmodel');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("configlisting", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function configlisting()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('configmodel');
|
||||||
|
|
||||||
|
$searchText = $this->input->post('searchText');
|
||||||
|
$data['searchText'] = $searchText;
|
||||||
|
|
||||||
|
|
||||||
|
//$count = $this->configmodel->departmentListingCount($searchText);
|
||||||
|
|
||||||
|
//$returns = $this->paginationCompress ( "configlisting/", $count, 20 );
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->configmodel->configlisting();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : config Listing';
|
||||||
|
|
||||||
|
$this->loadViews("configlisting", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
function addconfig()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'siddharth : AddNew Department';
|
||||||
|
$this->loadViews("addconfig", $this->global,NULL, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function addNewconfig()
|
||||||
|
{
|
||||||
|
// $Configid = $this->input->post('Configid');
|
||||||
|
$ConfigName = $this->input->post('configurationname');
|
||||||
|
$Rowcount = $this->input->post('txtRowCount');
|
||||||
|
$Comments = $this->input->post('Comments');
|
||||||
|
$Createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('IsActive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
//$config = array('Config_ID'=>$Configid,'ConfigName'=>$ConfigName, 'Comments'=>$Comments);
|
||||||
|
$config = array('ConfigName'=>$ConfigName, 'Comments'=>$Comments);
|
||||||
|
$result = $this->configmodel->addconfigmaster($config);
|
||||||
|
//print_r($result);
|
||||||
|
|
||||||
|
//echo $id;die();
|
||||||
|
if(count($config)>0)
|
||||||
|
{
|
||||||
|
$id=$result[0]['Config_ID'];
|
||||||
|
for($i=1;$i<=$Rowcount;$i++)
|
||||||
|
{
|
||||||
|
$ConfigValue = $this->input->post('ConfigValue'.$i);
|
||||||
|
$configvalue = array('Config_ID'=>$id,'ConfigValue'=>$ConfigValue);
|
||||||
|
$result = $this->configmodel->addconfigdetails($configvalue);
|
||||||
|
|
||||||
|
}}//if closed
|
||||||
|
//echo "successfully created:".$ConfigID;
|
||||||
|
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
redirect('configurationctrl/configlisting','refresh');
|
||||||
|
echo "<script>alert('New Supplier Created successfully!');</script>";
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('configurationctrl/configlisting','refresh');
|
||||||
|
echo "<script>alert('department Record Not Created!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function editOldconfig($ConfigID = '')
|
||||||
|
{
|
||||||
|
$ConfigID = $_GET['ConfigID'];
|
||||||
|
$data['master'] = $this->configmodel->GetConfigCenterMaster($ConfigID);
|
||||||
|
$data['child'] = $this->configmodel->GetConfigCenterDetails($ConfigID);
|
||||||
|
|
||||||
|
$index = 1;
|
||||||
|
// $index = $index + 1;
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Cost';
|
||||||
|
$this->loadViews("editconfig", $this->global, $data,NULL);
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
|
function configedit()
|
||||||
|
{
|
||||||
|
|
||||||
|
$Configid = $this->input->post('Configid');
|
||||||
|
$ConfigName = $this->input->post('ConfigName');
|
||||||
|
$Comments = $this->input->post('Remarks');
|
||||||
|
$Rowcount = $this->input->post('txtRowCount');
|
||||||
|
//echo $Rowcount;die();
|
||||||
|
//$ConfigValue = $this->input->post('ConfigValue');
|
||||||
|
|
||||||
|
$config = array('Config_ID'=>$Configid,'ConfigName'=>$ConfigName, 'Comments'=>$Comments);
|
||||||
|
//print_r($config);die();
|
||||||
|
$result = $this->configmodel->updateconfig($config,$Configid);
|
||||||
|
|
||||||
|
// if(count($config)>0)
|
||||||
|
// {
|
||||||
|
for($i=1;$i<=$Rowcount;$i++)
|
||||||
|
{
|
||||||
|
// echo $i;
|
||||||
|
$Key = $this->input->post('DbKey'.$i);
|
||||||
|
$conid = $this->input->post('configID'.$i);
|
||||||
|
$ConfigValue = $this->input->post('configVal'.$i);
|
||||||
|
|
||||||
|
//print_r($Key);die();
|
||||||
|
// echo $conid . "-" . $ConfigValue;
|
||||||
|
$configval = array('ConfigValue'=>$ConfigValue);
|
||||||
|
// print_r($configval);die();
|
||||||
|
$result = $this->configmodel->updateconfigvalue($configval,$Key);
|
||||||
|
|
||||||
|
}
|
||||||
|
//}
|
||||||
|
//$print_r($result);die();
|
||||||
|
if($result == True)
|
||||||
|
{
|
||||||
|
redirect('configlisting','refresh');
|
||||||
|
echo "<script>alert('Supplier department successfully!');</script>";
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('configlisting','refresh');
|
||||||
|
echo "<script>alert('department Record Not updated!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
260
application/controllers/department.php
Normal file
260
application/controllers/department.php
Normal file
@ -0,0 +1,260 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Supplier Controller (supplier)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 12 Apr 2017
|
||||||
|
*/
|
||||||
|
class department extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('department_model');
|
||||||
|
// $this->load->library('form_validation');
|
||||||
|
// $this->load->library('pagination');
|
||||||
|
$this->load->library('Excel');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Department Details';
|
||||||
|
|
||||||
|
$this->loadViews("departmentListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Department list
|
||||||
|
*/
|
||||||
|
function departmentListing()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->load->model('department_model');
|
||||||
|
|
||||||
|
//$searchText = $this->input->post('searchText');
|
||||||
|
//$data['searchText'] = $searchText;
|
||||||
|
//$count = $this->department_model->departmentListing($searchText);
|
||||||
|
//$returns = $this->paginationCompress ( "departmentListing/", $count, 20 );
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->department_model->departmentListing();//$searchText, $returns["page"], $returns["segment"]);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : Department Listing';
|
||||||
|
|
||||||
|
$this->loadViews("departmentListing", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new supplier */
|
||||||
|
function adddepartment()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$data['payment'] = $this->department_model->getpayment();
|
||||||
|
//$data['depcode'] = $this->department_model->getdepcode();
|
||||||
|
$data['depcode'] = $this->department_model->getdepcode();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : AddNew Department';
|
||||||
|
|
||||||
|
$this->loadViews("adddepartment", $this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function addNewdepartment()
|
||||||
|
{
|
||||||
|
|
||||||
|
$DepartmentName = $this->input->post('DepartmentName');
|
||||||
|
$DEPCode = $this->input->post('DEPCode');
|
||||||
|
$HeadDept = $this->input->post('HeadDept');
|
||||||
|
$Createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('IsActive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
$department = array('DepartmentName'=>$DepartmentName, 'DEPCode'=>$DEPCode, 'HeadDept'=>$HeadDept,'Createdby'=>$Createdby,'IsActive'=>$IsActive);
|
||||||
|
$result = $this->department_model->addNewdepartment($department);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Department Created successfully!');</script>";
|
||||||
|
redirect('departmentListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Department Record Not Created!');</script>";
|
||||||
|
redirect('departmentListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to edit the department information
|
||||||
|
*/
|
||||||
|
function editdepartment()
|
||||||
|
{
|
||||||
|
|
||||||
|
$DepartmentName = $this->input->post('DepartmentName');
|
||||||
|
$DEPCode = $this->input->post('DEPCode');
|
||||||
|
$HeadDept = $this->input->post('HeadDept');
|
||||||
|
$Createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('IsActive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$department = array('DepartmentName'=>$DepartmentName, 'DEPCode'=>$DEPCode,'HeadDept'=>$HeadDept,'IsActive'=>$IsActive);
|
||||||
|
|
||||||
|
$result = $this->department_model->Updatedepartment($department, $DEPCode);
|
||||||
|
|
||||||
|
if($result == True)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Department Record Successfully Updated!');</script>";
|
||||||
|
redirect('departmentListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Department Record Not Updated!');</script>";
|
||||||
|
redirect('departmentListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function viewdepartment($SID = '')
|
||||||
|
{
|
||||||
|
//print_r('hello');die();
|
||||||
|
|
||||||
|
if($SID == '')
|
||||||
|
{
|
||||||
|
$DepartmentID = $_GET['SID'];
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$DepartmentID = $SID;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$data['department'] = $this->department_model->getDeptInfo($DepartmentID);
|
||||||
|
$data['depcode'] = $this->department_model->getdepcode();
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Department';
|
||||||
|
$this->loadViews("editdepartment", $this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/** this function can be use for excel report **/
|
||||||
|
|
||||||
|
function export_departmentdetails(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0);
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Department Details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A1', 'Department ID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B1', 'Department Name');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C1', 'Head Deptment ID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D1', 'Is Active');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E1', 'Created By');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F1', 'Created Date');
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->department_model->export_excel();
|
||||||
|
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 2;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A' . $i,$data['DEPCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B' . $i,$data['DepartmentName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['HeadDept']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['CreatedDt']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['IsActive']);
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'departmentdetails' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
1142
application/controllers/emergencypurchaseorder.php
Normal file
1142
application/controllers/emergencypurchaseorder.php
Normal file
File diff suppressed because it is too large
Load Diff
1110
application/controllers/emergencypurchaseorder.php~
Normal file
1110
application/controllers/emergencypurchaseorder.php~
Normal file
File diff suppressed because it is too large
Load Diff
965
application/controllers/employeedetails.php
Normal file
965
application/controllers/employeedetails.php
Normal file
@ -0,0 +1,965 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Employee (Employee Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 07 Apr 2017
|
||||||
|
*/
|
||||||
|
class employeedetails extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Employee Details';
|
||||||
|
|
||||||
|
$this->loadViews("employeeListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Employee details
|
||||||
|
*/
|
||||||
|
function employeeListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->employeedetails_model->employeeListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Employee Listing';
|
||||||
|
|
||||||
|
$this->loadViews("employeeListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for Gender status Dropdown
|
||||||
|
*/
|
||||||
|
function Gender_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Gender_validate', 'Please Select Gender.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for Martial status Dropdown
|
||||||
|
*/
|
||||||
|
function Martial_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Martial_validate', 'Please Select Martial status.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for BloodGroup Dropdown
|
||||||
|
*/
|
||||||
|
function Blood_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Blood_validate', 'Please Select Blood Group.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for Qualification Dropdown
|
||||||
|
*/
|
||||||
|
function select_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('select_validate', 'Please Select Educational Qualification.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for Department Dropdown
|
||||||
|
*/
|
||||||
|
function Dep_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Dep_validate', 'Please Select Department.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Validation for Desigination Dropdown
|
||||||
|
*/
|
||||||
|
function Des_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Des_validate', 'Please Select Desigination.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not */
|
||||||
|
function Pan_validate()
|
||||||
|
{
|
||||||
|
// alert('validation pan');
|
||||||
|
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
|
||||||
|
$query = $this->employeedetails_model->checkPANExists($PanNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidate', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not */
|
||||||
|
function Aadhar_validate()
|
||||||
|
{
|
||||||
|
|
||||||
|
$AadharNo = $this->input->post('aadharno');
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkAadharExists($AadharNo);
|
||||||
|
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkAadharValidate', 'The Entered Aadhar Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to save the new Employee form in the database
|
||||||
|
*/
|
||||||
|
|
||||||
|
function AddNewEmployee()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('ContactNumber', 'ContactNumber', 'trim|required|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('emailid', 'emailid', 'trim|required|valid_email');
|
||||||
|
$this->form_validation->set_rules('gender', 'gender', 'callback_Gender_validate');
|
||||||
|
$this->form_validation->set_rules('MartialStatus', 'MartialStatus', 'callback_Martial_validate');
|
||||||
|
$this->form_validation->set_rules('bloodgroup', 'bloodgroup', 'callback_Blood_validate');
|
||||||
|
$this->form_validation->set_rules('emergencycontactnumber', 'emergencycontactnumber', 'trim|required|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('desigination', 'Desigination', 'callback_Des_validate');
|
||||||
|
$this->form_validation->set_rules('departmentname', 'departmentname', 'callback_Dep_validate');
|
||||||
|
$this->form_validation->set_rules('eduqualifaction', 'eduqualifaction', 'callback_select_validate');
|
||||||
|
$this->form_validation->set_rules('referrercontno', 'referrercontno', 'trim|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('aadharno', 'aadharno', 'trim|min_length[14]|max_length[14]');
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('passportno', 'passportno', 'trim|min_length[9]|max_length[9]');
|
||||||
|
$this->form_validation->set_rules('accountno', 'accountno', 'trim|min_length[10]|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('pfno', 'pfno', 'trim|min_length[22]|max_length[22]');
|
||||||
|
$this->form_validation->set_rules('esino', 'esino', 'trim|min_length[10]|max_length[10]');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addemployee();
|
||||||
|
//echo 'Validate method called';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Validate not method called';
|
||||||
|
$Picture = $this->add();
|
||||||
|
$Profile = $this->input->post('photo');
|
||||||
|
$FirstName = $this->input->post('FirstName');
|
||||||
|
$LastName = $this->input->post('LastName');
|
||||||
|
$FatherName = $this->input->post('FatherName');
|
||||||
|
$DateofBirth = $this->input->post('DateofBirth');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$EmailId = $this->input->post('emailid');
|
||||||
|
$comEmailId = $this->input->post('comemailid');
|
||||||
|
$Gender = $this->input->post('gender');
|
||||||
|
$MartialStatus = $this->input->post('MartialStatus');
|
||||||
|
$BloodGroup = $this->input->post('bloodgroup');
|
||||||
|
$CurrentAddress = $this->input->post('currentaddress');
|
||||||
|
$permanentaddress = $this->input->post('permanentaddress');
|
||||||
|
$emergencycontactname = $this->input->post('emergencycontactname');
|
||||||
|
$emergencycontactnumber = $this->input->post('emergencycontactnumber');
|
||||||
|
$desigination = $this->input->post('desigination');
|
||||||
|
$departmentCode = $this->input->post('departmentname');
|
||||||
|
$dateofjoining = $this->input->post('dateofjoining');
|
||||||
|
$pre_experience = $this->input->post('Previousexperience');
|
||||||
|
|
||||||
|
if($pre_experience == '')
|
||||||
|
{
|
||||||
|
$Previousexperience = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Previousexperience = $pre_experience;
|
||||||
|
}
|
||||||
|
|
||||||
|
$eduqualifaction = $this->input->post('eduqualifaction');
|
||||||
|
$addqualification = $this->input->post('addqualification');
|
||||||
|
$referredby = $this->input->post('referredby');
|
||||||
|
$referrercontno = $this->input->post('referrercontno');
|
||||||
|
$accountno = $this->input->post('accountno');
|
||||||
|
$ifsccode = $this->input->post('ifsccode');
|
||||||
|
$bankbranchname = $this->input->post('bankbranchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$aadharno = $this->input->post('aadharno');
|
||||||
|
$panno = strtoupper($this->input->post('panno'));
|
||||||
|
$passportno = strtoupper($this->input->post('passportno'));
|
||||||
|
$ValidTill = $this->input->post('ValidTill');
|
||||||
|
$addinfo = $this->input->post('addinfo');
|
||||||
|
$IsActive = '1';
|
||||||
|
$driverlicense = strtoupper($this->input->post ( 'driverlicense' ));
|
||||||
|
$licenseExpiryDate = $this->input->post ( 'licenseExpiryDate' );
|
||||||
|
$VoterID = strtoupper($this->input->post ( 'voterID' ));
|
||||||
|
$PFno = $this->input->post('pfno');
|
||||||
|
$ESIno = $this->input->post('esino');
|
||||||
|
$Nominee = $this->input->post('nomineename');
|
||||||
|
$createdby = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
if($licenseExpiryDate != '')
|
||||||
|
{
|
||||||
|
//$License_ExpiryDate = $this->dateformat($licenseExpiryDate);
|
||||||
|
$License_ExpiryDate = $this->getDateformat($licenseExpiryDate);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$License_ExpiryDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$DOB = $this->getDateformat($DateofBirth);
|
||||||
|
$DOJ = $this->getDateformat($dateofjoining);
|
||||||
|
|
||||||
|
if($ValidTill != '')
|
||||||
|
{
|
||||||
|
|
||||||
|
$Valid = $this->getDateformat($ValidTill);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Valid = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
//echo $DOB;
|
||||||
|
$Employee = array('FirstName'=>$FirstName, 'LastName'=>$LastName,'FatherName'=>$FatherName,
|
||||||
|
'Gender'=>$Gender,'DateofBirth'=>$DOB,'ContactNumber'=>$ContactNumber,'EmailId'=>$EmailId,
|
||||||
|
'BloodGroup'=>$BloodGroup,'MartialStatus'=>$MartialStatus,'DateofJoining'=>$DOJ,
|
||||||
|
'PreviousYearsOfExp'=>$Previousexperience,'Designation'=>$desigination,
|
||||||
|
'Departmentcode'=>$departmentCode,'PresentAddress'=>$CurrentAddress,
|
||||||
|
'PermanentAddress'=>$permanentaddress,'EmergencyContactName'=>$emergencycontactname,
|
||||||
|
'EmergencyContactNumber'=>$emergencycontactnumber,'Edu_Qualification'=>$eduqualifaction,
|
||||||
|
'Additional_Qualification'=>$addqualification,'AadharNo'=>$aadharno,'PANNo'=>$panno,
|
||||||
|
'BankAccountNo'=>$accountno,'IFSCCode'=>$ifsccode,'BankBranchName'=>$bankbranchname,
|
||||||
|
'BankAddress'=>$bankaddress,'PassportNo'=>$passportno,'Passport_Valid_till'=>$Valid,
|
||||||
|
'IsActive'=>$IsActive,'ProfilePic'=>$Picture,'Reference_Name'=>$referredby,
|
||||||
|
'Reference_ContactNumber'=>$referrercontno,'Remarks'=>$addinfo,'CreatedBy'=>$createdby,
|
||||||
|
'personalEmailId'=>$comEmailId,'DriverLicense'=>$driverlicense,
|
||||||
|
'LicenseValidtill'=>$License_ExpiryDate,'VoterID'=>$VoterID,'PFNO'=>$PFno,'ESI'=>$ESIno,
|
||||||
|
'NomineeDetails'=>$Nominee);
|
||||||
|
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
//print_r($Employee);die();
|
||||||
|
$result = $this->employeedetails_model->addNewemployee($Employee);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
// $this->session->set_flashdata('Success', 'New Employee created successfully!');
|
||||||
|
|
||||||
|
echo "<script>alert('New Employee Created successfully!');</script>";redirect('employeeListing','refresh');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->session->set_flashdata('Error', 'New Employee details not saved');
|
||||||
|
|
||||||
|
echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
//this function used to dateformat to store in db
|
||||||
|
function dateformat($DateValue)
|
||||||
|
{
|
||||||
|
$date = DateTime::createFromFormat('d-m-Y', $DateValue);//we should give the date as per DatePicker format.
|
||||||
|
|
||||||
|
//if the date picker format is mismatched means it display as invalid date so that we can use this "IF" Conditions (i.e) If the above format returns false then the date is not formatted correctly
|
||||||
|
if ($date === false) {
|
||||||
|
return false;
|
||||||
|
//return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$retDate = $date->format('Y-m-d'); //in this line using the parsed date., we can create a new formatting for storing value to datebase ("we choosing date value based on datepicker")
|
||||||
|
// echo "<script>alert($retDate);</script>";
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new Employee form with dropdown values */
|
||||||
|
function addemployee()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$GenderConfigID = 'C013';
|
||||||
|
$MartialConfigID = 'C012';
|
||||||
|
$QualificationConfigID = 'C014';
|
||||||
|
$DesignationConfigID = 'C010';
|
||||||
|
$BloodGroupConfigID = 'C011';
|
||||||
|
|
||||||
|
$data['Gender'] = $this->employeedetails_model->getConfigValue($GenderConfigID);
|
||||||
|
$data['Martial'] = $this->employeedetails_model->getConfigValue($MartialConfigID);
|
||||||
|
$data['bankdetails']=$this->employeedetails_model->getBankDetails();
|
||||||
|
$data['Qualification'] = $this->employeedetails_model->getConfigValue($QualificationConfigID);
|
||||||
|
$data['Designation'] = $this->employeedetails_model->getConfigValue($DesignationConfigID);
|
||||||
|
$data['BloodGroup'] = $this->employeedetails_model->getConfigValue($BloodGroupConfigID);
|
||||||
|
|
||||||
|
$data['Department'] = $this->employeedetails_model->getDepartment();
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Add New Employee';
|
||||||
|
$this->loadViews("addemployee", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to check whether the Employee is existing in the database or not */
|
||||||
|
function CheckEmail()
|
||||||
|
{
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
//print_r($id);
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkMailExists($id );
|
||||||
|
$query = $query[0]['EmailId'];
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
function checkPAN()
|
||||||
|
{
|
||||||
|
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
//print_r($id);
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkPANExists($id );
|
||||||
|
$query = $query[0]['PANNo'];
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkAadharNo()
|
||||||
|
{
|
||||||
|
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
//print_r($id);
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkAadharExists($id );
|
||||||
|
$query = $query[0]['AadharNo'];
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not for the selected Supplier */
|
||||||
|
function Pan_validate_emp() {
|
||||||
|
//print_r($PanNo);
|
||||||
|
|
||||||
|
$Empid = $this->input->post('employeeid');
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkPANExists($PanNo,$Empid);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Pan_validate_emp', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// To Check the Aadhar Number is exists in the database or not for the selected Employee
|
||||||
|
function Aadhar_validate_emp() {
|
||||||
|
$Empid = $this->input->post('employeeid');
|
||||||
|
$AadharNo = $this->input->post('aadharno');
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$query = $this->employeedetails_model->checkAadharExists($AadharNo,$Empid);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Aadhar_validate_emp', 'The Entered Aadhar Number is exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function add()
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
if(!empty($_FILES['photo']['name']))
|
||||||
|
{
|
||||||
|
$config['upload_path'] = 'uploads/images/';
|
||||||
|
$config['allowed_types'] = 'jpg|jpeg|png|gif';
|
||||||
|
$config['file_name'] = $_FILES['photo']['name'];
|
||||||
|
|
||||||
|
//Load upload library and initialize configuration
|
||||||
|
$this->load->library('upload',$config);
|
||||||
|
$this->upload->initialize($config);
|
||||||
|
if($this->upload->do_upload('photo'))
|
||||||
|
{
|
||||||
|
$uploadData = $this->upload->data();
|
||||||
|
$picture = $uploadData['file_name'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$error = array('error' => $this->upload->display_errors());
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $picture ;
|
||||||
|
}
|
||||||
|
|
||||||
|
function ViewEmployee($EmpNO='')
|
||||||
|
{
|
||||||
|
|
||||||
|
if($EmpNO == '')
|
||||||
|
{
|
||||||
|
$EmpID = $_GET['EmpID'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$EmpID = $EmpNO; }
|
||||||
|
|
||||||
|
$GenderConfigID = 'C013';
|
||||||
|
$MartialConfigID = 'C012';
|
||||||
|
$QualificationConfigID = 'C014';
|
||||||
|
$DesignationConfigID = 'C010';
|
||||||
|
$BloodGroupConfigID = 'C011';
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
//print_r('hai');
|
||||||
|
$data['GenderList'] = $this->employeedetails_model->getConfigValue($GenderConfigID);
|
||||||
|
$data['MartialList'] = $this->employeedetails_model->getConfigValue($MartialConfigID);
|
||||||
|
$data['QualificationList'] = $this->employeedetails_model->getConfigValue($QualificationConfigID);
|
||||||
|
$data['DesignationList'] = $this->employeedetails_model->getConfigValue($DesignationConfigID);
|
||||||
|
$data['BloodGroupList'] = $this->employeedetails_model->getConfigValue($BloodGroupConfigID);
|
||||||
|
$data['bankdetails']=$this->employeedetails_model->getBankDetails();
|
||||||
|
$data['DepartmentList'] = $this->employeedetails_model->getDepartment();
|
||||||
|
$data['EmpDetails'] = $this->employeedetails_model->viewemployee($EmpID);
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : View Employee';
|
||||||
|
|
||||||
|
$this->loadViews("editEmployee", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
/* To Check the email exists in the database or not for the employee*/
|
||||||
|
function checkMailEmp()
|
||||||
|
{
|
||||||
|
|
||||||
|
$Empid = $this->input->post('employeeid');
|
||||||
|
$EmailId = $this->input->post('emailid');
|
||||||
|
|
||||||
|
$query = $this->employeedetails_model->checkMailExists($EmailId, $Empid);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkMailEmp', 'The Entered Email id is exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Update the employee details*/
|
||||||
|
function UpdateEmployee()
|
||||||
|
{
|
||||||
|
|
||||||
|
$EmpId = $this->input->post('employeeid');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
//$mail = $this->this->.post('emailid');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('ContactNumber', 'ContactNumber', 'trim|required|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('emailid', 'emailid', 'trim|required|valid_email|callback_checkMailEmp');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('gender', 'gender', 'callback_Gender_validate');
|
||||||
|
$this->form_validation->set_rules('MartialStatus', 'MartialStatus', 'callback_Martial_validate');
|
||||||
|
$this->form_validation->set_rules('bloodgroup', 'bloodgroup', 'callback_Blood_validate');
|
||||||
|
$this->form_validation->set_rules('emergencycontactnumber', 'emergencycontactnumber', 'trim|required|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('desigination', 'Desigination', 'callback_Des_validate');
|
||||||
|
$this->form_validation->set_rules('departmentname', 'departmentname', 'callback_Dep_validate');
|
||||||
|
$this->form_validation->set_rules('eduqualifaction', 'eduqualifaction', 'callback_select_validate');
|
||||||
|
$this->form_validation->set_rules('referrercontno', 'referrercontno', 'trim|min_length[10]|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('aadharno', 'aadharno ','trim|max_length[14]');
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]');
|
||||||
|
$this->form_validation->set_rules('passportno', 'passportno', 'trim|min_length[9]|max_length[9]');
|
||||||
|
$this->form_validation->set_rules('accountno', 'accountno', 'trim|min_length[10]|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('pfno', 'pfno', 'trim|min_length[22]|max_length[22]');
|
||||||
|
$this->form_validation->set_rules('esino', 'esino', 'trim|min_length[10]|max_length[10]');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->ViewEmployee($EmpId);
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
$EmpId = $this->input->post('employeeid');
|
||||||
|
$PictureName = $this->input->post('Image');
|
||||||
|
$ModifyPictureName = $this->input->post('ModifyImage');
|
||||||
|
|
||||||
|
if ($PictureName != '')
|
||||||
|
{
|
||||||
|
//echo 'Exists';
|
||||||
|
//$Picture = $PictureName;
|
||||||
|
if(strlen($ModifyPictureName) == 0)
|
||||||
|
{
|
||||||
|
//echo 'Exists But Not replace';
|
||||||
|
$Picture = $PictureName;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Exists But Replace';
|
||||||
|
//$Picture = $ModifyPictureName;
|
||||||
|
//$Picture = $this->editimage($ModifyPictureName);
|
||||||
|
$Picture = $this->add($ModifyPictureName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Not Exists';
|
||||||
|
$Picture = $this->add();
|
||||||
|
}
|
||||||
|
//echo $Picture;
|
||||||
|
|
||||||
|
$FirstName = $this->input->post('FirstName');
|
||||||
|
$LastName = $this->input->post('LastName');
|
||||||
|
$FatherName = $this->input->post('FatherName');
|
||||||
|
$DateofBirth = $this->input->post('DateofBirth');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$EmailId = $this->input->post('emailid');
|
||||||
|
$comEmailId = $this->input->post('comemailid');
|
||||||
|
$Gender = $this->input->post('gender');
|
||||||
|
$MartialStatus = $this->input->post('MartialStatus');
|
||||||
|
$BloodGroup = $this->input->post('bloodgroup');
|
||||||
|
$CurrentAddress = $this->input->post('currentaddress');
|
||||||
|
$permanentaddress = $this->input->post('permanentaddress');
|
||||||
|
$emergencycontactname = $this->input->post('emergencycontactname');
|
||||||
|
$emergencycontactnumber = $this->input->post('emergencycontactnumber');
|
||||||
|
$desigination = $this->input->post('desigination');
|
||||||
|
$departmentCode = $this->input->post('departmentname');
|
||||||
|
$dateofjoining = $this->input->post('dateofjoining');
|
||||||
|
//$Previousexperience = $this->input->post('Previousexperience');
|
||||||
|
$pre_experience = $this->input->post('Previousexperience');
|
||||||
|
|
||||||
|
if($pre_experience == '')
|
||||||
|
{
|
||||||
|
$Previousexperience = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Previousexperience = $pre_experience;
|
||||||
|
}
|
||||||
|
$eduqualifaction = $this->input->post('eduqualifaction');
|
||||||
|
$addqualification = $this->input->post('addqualification');
|
||||||
|
$referredby = $this->input->post('referredby');
|
||||||
|
$referrercontno = $this->input->post('referrercontno');
|
||||||
|
$accountno = $this->input->post('accountno');
|
||||||
|
$ifsccode = $this->input->post('ifsccode');
|
||||||
|
$bankbranchname = $this->input->post('bankbranchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$aadharno = $this->input->post('aadharno');
|
||||||
|
$panno = strtoupper($this->input->post('panno'));
|
||||||
|
$passportno = strtoupper($this->input->post('passportno'));
|
||||||
|
$ValidTill = $this->input->post('ValidTill');
|
||||||
|
$addinfo = $this->input->post('addinfo');
|
||||||
|
$driverlicense = strtoupper($this->input->post ( 'Driverlicense' ));
|
||||||
|
$licenseExpiryDate = $this->input->post ( 'LicenseExpiryDate' );
|
||||||
|
$VoterID = strtoupper($this->input->post ( 'VoterID' ));
|
||||||
|
$pfno = strtoupper($this->input->post('pfno'));
|
||||||
|
//$uano = $this->input->post('uano');
|
||||||
|
$esino = $this->input->post('esino');
|
||||||
|
$Nominee = $this->input->post('nomineename');
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
// echo 'chkvalue'. $chked ;
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
// echo 'chkvalue'. $IsActive ;
|
||||||
|
$UpdatedBY = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
//$licenseExpiryDate = $this->getDateformat($licenseExpiryDate);
|
||||||
|
$DOB = $this->dateformat($DateofBirth);
|
||||||
|
$DOJ = $this->dateformat($dateofjoining);
|
||||||
|
if($ValidTill != '')
|
||||||
|
{
|
||||||
|
$Valid = $this->dateformat($ValidTill);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Valid = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if($licenseExpiryDate != '')
|
||||||
|
{
|
||||||
|
$License_ExpiryDate = $this->dateformat($licenseExpiryDate);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$License_ExpiryDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
//echo $DOB;
|
||||||
|
$Employee = array('FirstName'=>$FirstName, 'LastName'=>$LastName,'FatherName'=>$FatherName,'Gender'=>$Gender,
|
||||||
|
'DateofBirth'=>$DOB,'ContactNumber'=>$ContactNumber,'EmailId'=>$EmailId,
|
||||||
|
'BloodGroup'=>$BloodGroup,'MartialStatus'=>$MartialStatus,'DateofJoining'=>$DOJ,
|
||||||
|
'PreviousYearsOfExp'=>$Previousexperience,'Designation'=>$desigination,
|
||||||
|
'Departmentcode'=>$departmentCode,'PresentAddress'=>$CurrentAddress,
|
||||||
|
'PermanentAddress'=>$permanentaddress,'EmergencyContactName'=>$emergencycontactname,
|
||||||
|
'EmergencyContactNumber'=>$emergencycontactnumber,'Edu_Qualification'=>$eduqualifaction,
|
||||||
|
'Additional_Qualification'=>$addqualification,'AadharNo'=>$aadharno,'PANNo'=>$panno,
|
||||||
|
'BankAccountNo'=>$accountno,'IFSCCode'=>$ifsccode,'BankBranchName'=>$bankbranchname,
|
||||||
|
'BankAddress'=>$bankaddress,'PassportNo'=>$passportno,'Passport_Valid_till'=>$Valid,
|
||||||
|
'IsActive'=>$IsActive,'ProfilePic'=>$Picture,'Reference_Name'=>$referredby,
|
||||||
|
'Reference_ContactNumber'=>$referrercontno,'Remarks'=>$addinfo,'UpdatedBY'=>$UpdatedBY,
|
||||||
|
'personalEmailId'=>$comEmailId,'DriverLicense'=>$driverlicense,'LicenseValidtill'=>$License_ExpiryDate,
|
||||||
|
'VoterID'=>$VoterID,'PFNO'=>$pfno,'ESI'=>$esino,'NomineeDetails'=>$Nominee);
|
||||||
|
//print_r($Employee);die();
|
||||||
|
$result = $this->employeedetails_model->UpdateEmployee($Employee,$EmpId);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
// $this->session->set_flashdata('Success', $EmpId.'Employee Updated successfully!');
|
||||||
|
|
||||||
|
echo "<script>alert('You Have Successfully updated the Employee Record!');</script>";redirect('employeeListing','refresh');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->session->set_flashdata('Error', $EmpId.'Employee details not saved');
|
||||||
|
|
||||||
|
echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
// redirect('employeeListing');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/** this function can be use for excel report **/
|
||||||
|
|
||||||
|
function export_employee(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->mergeCells('L3:S3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->getStyle('L3')->getAlignment()->applyFromArray(array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,));
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Employee details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L3', 'SIDDHARTH INDUSTRIES Employee Details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A5', 'EmpID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B5', 'FirstName-LastName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C5', 'FatherName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D5', 'Gender');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E5', 'Date of Birth');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F5', 'ContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G5', 'EmailId');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H5', 'BloodGroup');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I5', 'MartialStatus');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J5', 'DateofJoining');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K5', 'PreviousYearsOfExp');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L5', 'Designation');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M5', 'DepartmentName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N5', 'PresentAddress');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O5', 'PermanentAddress');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P5', 'EmergencyContactName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q5', 'EmergencyContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R5', 'Edu_Qualification');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S5', 'Additional_Qualification');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T5', 'Reference_Name');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U5', 'Reference_ContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('V5', 'BankStatemant');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('W5', 'AadharNo');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('X5', 'PANNo');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Y5', 'PassportNo');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Z5', 'Passport_Valid_till');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AA5', 'Voter ID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AB5', 'Driving License');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AC5', 'Driving License Expiry Date');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AD5', 'Official Email ID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AE5', 'IsActive');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AF5', 'PFNO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AG5', 'ESI');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AH5', 'Nominee Details');
|
||||||
|
// $this->excel->getActiveSheet()->setCellValue('AI5', 'PF_Balance');
|
||||||
|
// $this->excel->getActiveSheet()->setCellValue('AJ5', 'PF_Bal_On');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AI5', 'Remarks');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AJ5', 'CreatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AK5', 'UpdatedBY');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L3')->getFont()->setSize(14);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L3')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('X5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Z5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Z5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AA5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AA5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AB5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AB5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AC5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AC5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AD5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AD5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AE5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AE5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AF5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AF5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AG5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AG5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AH5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AH5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AI5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AI5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AJ5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AJ5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AK5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AK5')->getFont()->setBold(true);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setSize(12);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('AL5')->getFont()->setBold(true);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('AM5')->getFont()->setSize(12);
|
||||||
|
// $this->excel->getActiveSheet()->getStyle('AM5')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->employeedetails_model->export_excel();
|
||||||
|
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 6;
|
||||||
|
$s = 1;
|
||||||
|
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A'. $i,$data['EmpID']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B'. $i,$data['FirstName'].'-'.$data['LastName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C'. $i,$data['FatherName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D'. $i,$data['Gender']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E'. $i,$data['DateofBirth']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F'. $i,$data['ContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G'. $i,$data['EmailId']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H'. $i,$data['BloodGroup']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I'. $i,$data['MartialStatus']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J'. $i,$data['DateofJoining']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K'. $i,$data['PreviousYearsOfExp']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L'. $i,$data['Designation']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M'. $i,$data['DepartmentName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N'. $i,$data['PresentAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O'. $i,$data['PermanentAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P'. $i,$data['EmergencyContactName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q'. $i,$data['EmergencyContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R'. $i,$data['Edu_Qualification']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S'. $i,$data['Additional_Qualification']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T'. $i,$data['Reference_Name']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U'. $i,$data['Reference_ContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('V'. $i,$data['BankAccountNo'].'-'.$data['IFSCCode'].'-'.$data['BankBranchName'].$data['BankAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('W'. $i,$data['AadharNo']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('X'. $i,$data['PANNo']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Y'. $i,$data['PassportNo']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Z'. $i,$data['Passport_Valid_till']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AA'. $i,$data['VoterID']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AB'. $i,$data['DriverLicense']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AC'. $i,$data['LicenseValidtill']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AD'. $i,$data['personalEmailId']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AE'. $i,$data['IsActive']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AF'. $i,$data['PFNO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AG'. $i,$data['ESI']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AH'. $i,$data['NomineeDetails']);
|
||||||
|
// $this->excel->getActiveSheet()->setCellValue('AI'. $i,$data['PF_Balance']);
|
||||||
|
// $this->excel->getActiveSheet()->setCellValue('AJ'. $i,$data['PF_Bal_On']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AI'. $i,$data['Remarks']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AJ'. $i,$data['CreatedByName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AK'. $i,$data['UpdatedByName']);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'Employee_Details' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
347
application/controllers/emppaydate.php
Normal file
347
application/controllers/emppaydate.php
Normal file
@ -0,0 +1,347 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Cost Center (Cost Center Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class emppaydate extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('emppaydate_model');
|
||||||
|
$this->load->library('session');
|
||||||
|
$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'] = 'Siddharth : Employee Pay Details';
|
||||||
|
|
||||||
|
$this->loadViews("emppayListing", $this->global);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the payment list for a employee.
|
||||||
|
*/
|
||||||
|
function emppayListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->model('emppaydate_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->emppaydate_model->emppayListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Employee Pay List';
|
||||||
|
|
||||||
|
$this->loadViews("emppayListing", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new payment for an employee.
|
||||||
|
*/
|
||||||
|
function addemppaydate()
|
||||||
|
{
|
||||||
|
$q="addemppaydate";
|
||||||
|
$this->load->model('payroll_model');
|
||||||
|
|
||||||
|
$result['empdetails'] = $this->payroll_model->getEmpID($q);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Add Employee Pay';
|
||||||
|
|
||||||
|
$this->loadViews("addemppaydate", $this->global,$result);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function addNewemppay()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$EmpID = $this->input->post('EmpID');
|
||||||
|
$this->form_validation->set_rules('EmpID','EmpID','trim|required');
|
||||||
|
$this->form_validation->set_rules('HRA_Rate','HRA_Rate','trim|required');
|
||||||
|
$this->form_validation->set_rules('HRA_Amount','HRA_Amount','trim|required');
|
||||||
|
$this->form_validation->set_rules('Basic_Pay','Basic_Pay','trim|required');
|
||||||
|
$this->form_validation->set_rules('Total_salary','Total_salary','trim|required');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('Allowances','Allowances','trim|required');
|
||||||
|
$this->form_validation->set_rules('PF_Rate','PF_Rate','trim|required');
|
||||||
|
$this->form_validation->set_rules('ESI_Rate','ESI_Rate','trim|required');
|
||||||
|
$this->form_validation->set_rules('Food_Allowances','Food_Allowances','trim|required');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE || $EmpID == -1)
|
||||||
|
{
|
||||||
|
$this->addemppaydate();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$EmpID = $this->input->post('EmpID');
|
||||||
|
$Total_Salary=$this->input->post('Total_salary');
|
||||||
|
$Basic_Pay=$this->input->post('Basic_Pay');
|
||||||
|
$HRA_Rate=$this->input->post('HRA_Rate');
|
||||||
|
$HRA_Amount=$this->input->post('HRA_Amount');
|
||||||
|
|
||||||
|
$Allowances=$this->input->post('Allowances');
|
||||||
|
$PF_Rate=$this->input->post('PF_Rate');
|
||||||
|
$ESI_Rate=$this->input->post('ESI_Rate');
|
||||||
|
$Food_Allowances=$this->input->post('Food_Allowances');
|
||||||
|
|
||||||
|
$Loan_Amount=$this->input->post('Loan_Amount');
|
||||||
|
$Load_Issued_date=$this->input->post('loan_issued_date');
|
||||||
|
if(!empty($Load_Issued_date)){
|
||||||
|
$Load_Issued_date=$Load_Issued_date=date('Y-m-d',strtotime($Load_Issued_date));
|
||||||
|
}else{$Load_Issued_date=null;}
|
||||||
|
$Due_Amount=$this->input->post('monthly_due');
|
||||||
|
$Due_Started=$this->input->post('due_started');
|
||||||
|
if(!empty($Due_Started)){
|
||||||
|
$Due_Started=$Due_Started=date('Y-m-d',strtotime($Due_Started));
|
||||||
|
}else{$Due_Started=null;}
|
||||||
|
|
||||||
|
|
||||||
|
$No_Of_Dues=$this->input->post('no_of_due');
|
||||||
|
$Paid_due=$this->input->post('paid_due');
|
||||||
|
$Remaining_Due=$this->input->post('remaining_due');
|
||||||
|
$Paid_Amount=$this->input->post('Paid_Amount');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('is_Active');
|
||||||
|
$IsActive = '1';
|
||||||
|
|
||||||
|
$emppay = array('EmpID'=>$EmpID,'TotalSalary'=>$Total_Salary,'Basic_Pay'=>$Basic_Pay,'HRA_Rate'=>$HRA_Rate,'HRA_Amount'=>$HRA_Amount,'Allowances'=>$Allowances, 'PF_Rate'=>$PF_Rate, 'ESI_Rate'=>$ESI_Rate ,'Food_Allowances'=>$Food_Allowances,'Created_By'=>$CreateBy);
|
||||||
|
$loandetails = array('EmpID'=>$EmpID,'Loan_Amount'=>$Loan_Amount,'Loan_Issued_Date'=>$Load_Issued_date,'Monthly_Due'=>$Due_Amount,'Due_Start_Date'=>$Due_Started,'No_of_Dues'=>$No_Of_Dues,'Paid_Due'=>$Paid_due,'Remaining_Due'=>$Remaining_Due,'Paid_Amount'=>$Paid_Amount,'is_Active'=>1,'Created_By'=>$CreateBy);
|
||||||
|
|
||||||
|
|
||||||
|
$result = $this->emppaydate_model->addNewemppay($emppay);
|
||||||
|
if($Loan_Amount != 0)
|
||||||
|
{
|
||||||
|
$result2 = $this->emppaydate_model->addLoanInfo($loandetails,'add');
|
||||||
|
if($result2 > 0)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Loan Information Saved successfully!');</script>";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Something Went Wrong..! Loan Information Not Saved. Try later..!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('Employee Pay List Created successfully!');</script>";
|
||||||
|
redirect('emppaydate/emppayListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Employee Pay List Not Created!');</script>";
|
||||||
|
redirect('emppaydate/emppayListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used for editing purpose and it has oldest values only.
|
||||||
|
*/
|
||||||
|
function editOldemppay($paydataid="")
|
||||||
|
{
|
||||||
|
|
||||||
|
$data['emppay'] = $this->emppaydate_model->getUserInfo($paydataid);
|
||||||
|
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Employee Pay Monthly Details ';
|
||||||
|
|
||||||
|
$this->loadViews("editOldemppay", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used for stored new values after editing.
|
||||||
|
*/
|
||||||
|
function editemppay()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$Pay_Data_ID= $this->input->post('Pay_Data_ID');
|
||||||
|
|
||||||
|
//$this->form_validation->set_rules('Pay_Data_ID','Pay_Data_ID','trim|required');
|
||||||
|
$this->form_validation->set_rules('EmpID','EmpID','trim|required');
|
||||||
|
$this->form_validation->set_rules('Total_Salary','Total_Salary','trim|required');
|
||||||
|
$this->form_validation->set_rules('Basic_Pay','Basic_Pay','trim|required');
|
||||||
|
$this->form_validation->set_rules('HRA_Rate','HRA_Rate','trim|required');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('Allowances','Allowances','trim|required');
|
||||||
|
$this->form_validation->set_rules('PF_Rate','PF_Rate','trim|required');
|
||||||
|
$this->form_validation->set_rules('ESI_Rate','ESI_Rate','trim|required');
|
||||||
|
$this->form_validation->set_rules('Food_Allowances','Food_Allowances','trim|required');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->editOldemppay($Pay_Data_ID);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$Pay_Data_ID=$this->input->post('Pay_Data_ID');
|
||||||
|
$EmpID = $this->input->post('EmpID');
|
||||||
|
$TotalSalary=$this->input->post('Total_Salary');
|
||||||
|
$Basic_Pay=$this->input->post('Basic_Pay');
|
||||||
|
$HRA_Rate=$this->input->post('HRA_Rate');
|
||||||
|
$HRA_Amount=$this->input->post('HRA_Amount');
|
||||||
|
|
||||||
|
$Allowances=$this->input->post('Allowances');
|
||||||
|
$PF_Rate=$this->input->post('PF_Rate');
|
||||||
|
$ESI_Rate=$this->input->post('ESI_Rate');
|
||||||
|
$loan_ID =$this->input->post('loanid');
|
||||||
|
$Loan_Amount=$this->input->post('Loan_Amount');
|
||||||
|
$Load_Issued_date=$this->input->post('loan_issued_date');
|
||||||
|
if(!empty($Load_Issued_date)){$Load_Issued_date=date('Y-m-d',strtotime($Load_Issued_date));}
|
||||||
|
else{$Load_Issued_date=null;}
|
||||||
|
|
||||||
|
|
||||||
|
$Due_Amount=$this->input->post('monthly_due');
|
||||||
|
$Due_Started=$this->input->post('due_started');
|
||||||
|
if(!empty($Due_Started)){$Due_Started=date('Y-m-d',strtotime($Due_Started));}
|
||||||
|
else{$Due_Started=null;}
|
||||||
|
|
||||||
|
|
||||||
|
//echo $Load_Issued_date. "-" . $Due_Started;die();
|
||||||
|
$No_Of_Dues=$this->input->post('no_of_due');
|
||||||
|
$Paid_due=$this->input->post('paid_due');
|
||||||
|
$Remaining_Due=$this->input->post('remaining_due');
|
||||||
|
$Paid_Amount=$this->input->post('Paid_Amount');
|
||||||
|
$is_Active=$this->input->post('is_Active');
|
||||||
|
$Last_Mod_By=$this->session->userdata('userId');
|
||||||
|
$Last_Mod_Time=date('d-m-Y h:i:sa');
|
||||||
|
$Food_Allowances=$this->input->post('Food_Allowances');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$emppay = array('Pay_Data_ID'=>$Pay_Data_ID,'EmpID'=>$EmpID,'TotalSalary'=>$TotalSalary,'Basic_Pay'=>$Basic_Pay,'HRA_Rate'=>$HRA_Rate,'HRA_Amount'=>$HRA_Amount,'Allowances'=>$Allowances, 'PF_Rate'=>$PF_Rate, 'ESI_Rate'=>$ESI_Rate ,'Food_Allowances'=>$Food_Allowances,'Last_Mod_By'=>$Last_Mod_By);
|
||||||
|
$loandetails = array('Loan_ID'=>$loan_ID,'EmpID'=>$EmpID,'Loan_Amount'=>$Loan_Amount,'Loan_Issued_Date'=>$Load_Issued_date,'Monthly_Due'=>$Due_Amount,'Due_Start_Date'=>$Due_Started,'No_of_Dues'=>$No_Of_Dues,'Paid_Due'=>$Paid_due,'Remaining_Due'=>$Remaining_Due,'Paid_Amount'=>$Paid_Amount,'is_Active'=>1,'Last_Mod_By'=>$Last_Mod_By);
|
||||||
|
|
||||||
|
|
||||||
|
if($Loan_Amount != 0 and $loan_ID !='')
|
||||||
|
{
|
||||||
|
$result2 = $this->emppaydate_model->addLoanInfo($loandetails,'update');
|
||||||
|
if($result2 > 0)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Loan Information Saved successfully!');</script>";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Something Went Wrong..! Loan Information Not Saved. Try later..!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if($Loan_Amount != 0 and $loan_ID == '')
|
||||||
|
{
|
||||||
|
$loandetails = array('EmpID'=>$EmpID,'Loan_Amount'=>$Loan_Amount,'Loan_Issued_Date'=>$Load_Issued_date,'Monthly_Due'=>$Due_Amount,'Due_Start_Date'=>$Due_Started,'No_of_Dues'=>$No_Of_Dues,'Paid_Due'=>$Paid_due,'Remaining_Due'=>$Remaining_Due,'Paid_Amount'=>$Paid_Amount,'is_Active'=>1,'Created_By'=>$Last_Mod_By);
|
||||||
|
$result2 = $this->emppaydate_model->addLoanInfo($loandetails,'add');
|
||||||
|
if($result2 > 0)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Loan Information Saved successfully!');</script>";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Something Went Wrong..! Loan Information Not Saved. Try later..!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$result = $this->emppaydate_model->editemppay($emppay);
|
||||||
|
|
||||||
|
|
||||||
|
if($result == true)
|
||||||
|
{
|
||||||
|
echo "<script>alert('Employee Status Updated Sucessfully..!');</script>";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "<script>alert('Update Failed..!')</script>";
|
||||||
|
$this->session->set_flashdata('error', 'updation failed');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
redirect('emppaydate/emppayListing');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function deleteEmpPay()
|
||||||
|
{
|
||||||
|
$EmpID = $this->input->post('id');
|
||||||
|
//echo $EmpID;
|
||||||
|
$result = $this->emppaydate_model->deleteEmployeePay($EmpID);
|
||||||
|
if($result == 1)
|
||||||
|
{
|
||||||
|
echo "Deleted Sucessfully..!";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "Something Went wrong. Try Later..!";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val,new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
46
application/controllers/error.php
Normal file
46
application/controllers/error.php
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Login (LoginController)
|
||||||
|
* Login class to control to authenticate user credentials and starts user's session.
|
||||||
|
* @author : Kishor Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 November 2016
|
||||||
|
*/
|
||||||
|
class Error extends CI_Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Index Page for this controller.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to check the user is logged in or not
|
||||||
|
*/
|
||||||
|
function isLoggedIn()
|
||||||
|
{
|
||||||
|
$isLoggedIn = $this->session->userdata('isLoggedIn');
|
||||||
|
|
||||||
|
if(!isset($isLoggedIn) || $isLoggedIn != TRUE)
|
||||||
|
{
|
||||||
|
$this->load->view('login');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('pageNotFound');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
10
application/controllers/index.html
Normal file
10
application/controllers/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
211
application/controllers/inwardgateregister.php
Normal file
211
application/controllers/inwardgateregister.php
Normal file
@ -0,0 +1,211 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Inward Gate Register Controller (security)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Saravana kumar
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 8 Jun 2017
|
||||||
|
*/
|
||||||
|
class inwardgateregister extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('inwardgateregister_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Inward Gate Register';
|
||||||
|
|
||||||
|
$this->loadViews("viewinwardgateregister", $this->global,NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function viewIGRDetails()
|
||||||
|
{
|
||||||
|
$this->load->model('inwardgateregister_model');
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Inward Gate Register Details';
|
||||||
|
$data['IGR']= $this->inwardgateregister_model->igrListing();
|
||||||
|
|
||||||
|
$this->loadViews("viewIGRDetails",$this->global,$data,NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
function addinwardgateregister()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('inwardgateregister_model');
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Add Inward Gate Register';
|
||||||
|
|
||||||
|
|
||||||
|
$data['PO_NO'] = $this->inwardgateregister_model->getpurchaseorder();
|
||||||
|
//print_r($data['PO_NO']);
|
||||||
|
|
||||||
|
$this->loadViews("inwardgateregister", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val,new DateTimeZone('Asia/Kolkata'));
|
||||||
|
// print_r($date);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
function IGRITEM()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$PO = $this->input->post('id');
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
$this->inwardgateregister_model->UpdatePOMaster($PO,$CreatedBy);
|
||||||
|
$data = $this->inwardgateregister_model->viewpurchaseorder($PO);
|
||||||
|
|
||||||
|
echo json_encode($data);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
function addNewigr()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
|
||||||
|
$DeliveryChellanOrInvoiceNo = $this->input->post('InvoiceNo');
|
||||||
|
|
||||||
|
$DeliveryChellan = $this->input->post('InvoiceDate');
|
||||||
|
$DeliveryChellanDate = $this->getDateformat($DeliveryChellan);
|
||||||
|
|
||||||
|
$VehicleNo = $this->input->post('VehicleNo');
|
||||||
|
$CourierNo = $this->input->post('CourierNo');
|
||||||
|
|
||||||
|
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
//$Remarks = $this->input->post('Remarks');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
//echo $RowCount;
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$IGRStatus = IGR_CREATED;
|
||||||
|
|
||||||
|
|
||||||
|
//echo $RowCount;
|
||||||
|
|
||||||
|
$igr = array();
|
||||||
|
|
||||||
|
$igr = array('PONO'=>$PONO,'VehicleNo'=>$VehicleNo,'DeliveryChellanOrInvoiceNo'=>$DeliveryChellanOrInvoiceNo,'DeliveryChellanDate'=>$DeliveryChellanDate,'CourierNo'=>$CourierNo,'IGRStatus'=>$IGRStatus,'CreatedBy'=>$CreatedBy,'CreatedDate' =>$createddt);
|
||||||
|
|
||||||
|
|
||||||
|
$igrM = $this->inwardgateregister_model->addigrM($igr);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$IGRNO = '';
|
||||||
|
if(count($igrM)>0)
|
||||||
|
{
|
||||||
|
foreach ($igrM as $key ) {
|
||||||
|
$IGRNO=$key->IGRNO;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//echo $IGRNO;
|
||||||
|
|
||||||
|
$IGRItemStatus = REQITEM_NEW;
|
||||||
|
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = trim($this->input->post('MaterialCode'.$i));
|
||||||
|
|
||||||
|
$QuantityAsPerInvoice = trim($this->input->post('txtQuantityAsPerInvoice'.$i));
|
||||||
|
|
||||||
|
$OrderedQuantity = trim($this->input->post('OrderedQuantity'.$i));
|
||||||
|
|
||||||
|
$ReceivedQty = trim($this->input->post('txtReceivedQuantity'.$i));
|
||||||
|
|
||||||
|
$PendingQty = $this->input->post('txtPendingQty'.$i);
|
||||||
|
//echo $QuantityAsPerInvoice;
|
||||||
|
//echo $PendingQty.'ReceivedQty'.$ReceivedQty;
|
||||||
|
//echo ' ';
|
||||||
|
|
||||||
|
if(strlen($QuantityAsPerInvoice)>0 && $QuantityAsPerInvoice != '0')
|
||||||
|
{
|
||||||
|
$Remarks = $this->input->post('txtRemarks'.$i);
|
||||||
|
$ItemStatus = '';
|
||||||
|
//if($QuantityAsPerInvoice == $OrderedQuantity)
|
||||||
|
|
||||||
|
if($PendingQty == 0.00 )
|
||||||
|
|
||||||
|
{
|
||||||
|
$ItemStatus = IGR_CREATED;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ItemStatus = POLINEITEM_IGRPARTIAL_CREATED;
|
||||||
|
}
|
||||||
|
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
|
||||||
|
|
||||||
|
$igrDetails = array('IGRNO'=>$IGRNO,'MaterialCode'=>$MaterialCode,'QuantityAsPerInvoice'=>$QuantityAsPerInvoice,'Remarks'=>$Remarks,'IGRItemStatus'=>$IGRItemStatus,'CreatedBy'=>$CreatedBy,'CreatedDate'=>$createddt);
|
||||||
|
|
||||||
|
$igrD = $this->inwardgateregister_model->addigrD($igrDetails);
|
||||||
|
|
||||||
|
$Recqty = $this->inwardgateregister_model->getPOLineItemReceivedQty($PONO,$MaterialCode);
|
||||||
|
$ReceivedQuantity = 0.00;
|
||||||
|
if(count($Recqty)>0)
|
||||||
|
{
|
||||||
|
foreach ($Recqty as $key ) {
|
||||||
|
$ReceivedQuantity=$key->ReceivedQuantity;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$totalReceivedqty = $ReceivedQuantity + $QuantityAsPerInvoice;
|
||||||
|
|
||||||
|
//echo '';
|
||||||
|
|
||||||
|
$POLineItem = array('ReceivedQuantity'=>$totalReceivedqty,'Status'=>$ItemStatus,'UpdateBY'=>$CreatedBy,'UpdatedOn'=>$createddt );
|
||||||
|
|
||||||
|
$this->inwardgateregister_model->UpdatePOLineItem($POLineItem,$PONO,$MaterialCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
$this->inwardgateregister_model->UpdatePOMaster($PONO,$CreatedBy);
|
||||||
|
|
||||||
|
echo 'Successfully Created IGR Number:'. $IGRNO;
|
||||||
|
}
|
||||||
|
|
||||||
|
function ViewIGR()
|
||||||
|
{
|
||||||
|
|
||||||
|
$IGRNO= $this->input->post('id');
|
||||||
|
//print_r($IGRNO);
|
||||||
|
$data = $this->inwardgateregister_model->viewigr($IGRNO);
|
||||||
|
// print_r( $data);
|
||||||
|
|
||||||
|
echo json_encode($data);
|
||||||
|
|
||||||
|
}
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
269
application/controllers/login.php
Normal file
269
application/controllers/login.php
Normal file
@ -0,0 +1,269 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Login (LoginController)
|
||||||
|
* Login class to control to authenticate user credentials and starts user's session.
|
||||||
|
* @author : Kishor Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 November 2016
|
||||||
|
*/
|
||||||
|
class Login extends CI_Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('login_model');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Index Page for this controller.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to check the user is logged in or not
|
||||||
|
*/
|
||||||
|
function isLoggedIn()
|
||||||
|
{
|
||||||
|
$isLoggedIn = $this->session->userdata('isLoggedIn');
|
||||||
|
|
||||||
|
if(!isset($isLoggedIn) || $isLoggedIn != TRUE)
|
||||||
|
{
|
||||||
|
// echo 'inside controller';
|
||||||
|
$this->load->view('login');
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('/dashboard');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to logged in user
|
||||||
|
*/
|
||||||
|
public function loginMe()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('email', 'Email', 'required|valid_email|max_length[128]|xss_clean|trim');
|
||||||
|
$this->form_validation->set_rules('password', 'Password', 'required|max_length[32]|');
|
||||||
|
$designation='';
|
||||||
|
$role='';
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->index();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$email = $this->input->post('email');
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
|
||||||
|
$result = $this->login_model->loginMe($email, $password);
|
||||||
|
print_r($result);
|
||||||
|
if(count($result) > 0)
|
||||||
|
{
|
||||||
|
foreach ($result as $res)
|
||||||
|
{
|
||||||
|
$sessionArray = array('userId'=>$res->userId,
|
||||||
|
'role'=>$res->roleId,
|
||||||
|
'roleText'=>$res->role,
|
||||||
|
'name'=>$res->FirstName,
|
||||||
|
'Designation'=>$res->Designation,
|
||||||
|
'DEPCode'=>$res->DEPCode,
|
||||||
|
'HeadDept'=>$res->HeadDept,
|
||||||
|
'DepartmentName'=>$res->DepartmentName,
|
||||||
|
'EmpID' => $res->EmpID,
|
||||||
|
'isLoggedIn' => TRUE
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_userdata($sessionArray);
|
||||||
|
|
||||||
|
$role=$res->roleId;
|
||||||
|
$designation=$res->Designation;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
if ($role == ROLE_EMPLOYEE && $designation == SECURITY)
|
||||||
|
{
|
||||||
|
redirect('/Addigr');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('/dashboard');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('error', 'Email or password mismatch');
|
||||||
|
redirect('login');
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load forgot password view
|
||||||
|
*/
|
||||||
|
function forgotPassword()
|
||||||
|
{
|
||||||
|
$this->load->view('forgotPassword');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to generate reset password request link
|
||||||
|
*/
|
||||||
|
function resetPasswordUser()
|
||||||
|
{
|
||||||
|
$status = '';
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('login_email','Email','trim|required|valid_email|xss_clean');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->forgetPasswordUser();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$email = $this->input->post('login_email');
|
||||||
|
|
||||||
|
if($this->user_model->checkEmailExist($email))
|
||||||
|
{
|
||||||
|
$encoded_email = urlencode($email);
|
||||||
|
|
||||||
|
$this->load->helper('string');
|
||||||
|
$data['email'] = $email;
|
||||||
|
$data['activation_id'] = random_string('alnum',15);
|
||||||
|
$data['created_dtm'] = date('Y-m-d H:i:s');
|
||||||
|
$data['agent'] = $this->getBrowserAgent();
|
||||||
|
$data['client_ip'] = $this->input->ip_address();
|
||||||
|
|
||||||
|
$save = $this->user_model->resetPasswordUser($data);
|
||||||
|
|
||||||
|
if($save)
|
||||||
|
{
|
||||||
|
$config['protocol'] = 'sendmail';
|
||||||
|
$config['mailpath'] = '/usr/sbin/sendmail';
|
||||||
|
$config['charset'] = 'UTF-8';
|
||||||
|
$config['wordwrap'] = TRUE;
|
||||||
|
$config['mailtype'] = 'html';
|
||||||
|
|
||||||
|
$this->load->library('email', $config);
|
||||||
|
|
||||||
|
$data1['reset_link'] = base_url() . "resetPasswordConfirmUser/" . $data['activation_id'] . "/" . $encoded_email;
|
||||||
|
$data1['info'] = $this->user_model->getCustomerInfoByEmail($email);
|
||||||
|
|
||||||
|
$this->email->from(ADMIN_EMAIL_ID, WEBSITE);
|
||||||
|
$this->email->to($email);
|
||||||
|
$this->email->subject(RESET_PASSWORD_EMAIL_SUBJECT);
|
||||||
|
$this->email->message($this->load->view('email', $data1, TRUE));
|
||||||
|
|
||||||
|
if ($this->email->send())
|
||||||
|
{
|
||||||
|
$status = 'send';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$status = 'notsend';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$status = 'unable';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$status = 'invalid';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo json_encode(array('status'=>$status));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This function used to reset the password
|
||||||
|
function resetPasswordConfirmUser()
|
||||||
|
{
|
||||||
|
|
||||||
|
// Get email and activation code from URL values at index 3-4
|
||||||
|
$email = urldecode($this->uri->segment(3));
|
||||||
|
$activation_id = $this->uri->segment(2);
|
||||||
|
|
||||||
|
// Check activation id in database
|
||||||
|
$is_correct = $this->user_model->checkActivationDetails($email, $activation_id);
|
||||||
|
|
||||||
|
$data['email'] = $email;
|
||||||
|
$data['activation_code'] = $activation_id;
|
||||||
|
|
||||||
|
if ($is_correct == 1)
|
||||||
|
{
|
||||||
|
$this->load->view('includes/header');
|
||||||
|
$this->load->view('new_password', $data);
|
||||||
|
$this->load->view('includes/footer');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('user');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This function used to create new password
|
||||||
|
function createPasswordUser()
|
||||||
|
{
|
||||||
|
$status = '';
|
||||||
|
$message = '';
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('password','New Password','required|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('cpassword','New Re-Password','trim|required|matches[password]|max_length[20]');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
echo json_encode(array('status' => 'validation', 'message' => 'Please validate the fields'));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
$cpassword = $this->input->post('cpassword');
|
||||||
|
$email = $this->input->post('email');
|
||||||
|
$activation_id = $this->input->post('activation_id');
|
||||||
|
|
||||||
|
// Check activation id in database
|
||||||
|
$is_correct = $this->user_model->checkActivationDetails($email, $activation_id);
|
||||||
|
|
||||||
|
if(($is_correct == 1) && ($password == $cpassword))
|
||||||
|
{
|
||||||
|
$data = array('email_id'=>$email, 'password'=>$password);
|
||||||
|
|
||||||
|
$this->user_model->createPasswordUser($data);
|
||||||
|
|
||||||
|
$status = 'success';
|
||||||
|
$message = 'Password changed successfully';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$status = 'error';
|
||||||
|
$message = 'Password changed failed';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo json_encode(array('status'=>$status, 'message'=>$message));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
388
application/controllers/monthlypay.php
Normal file
388
application/controllers/monthlypay.php
Normal file
@ -0,0 +1,388 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Cost Center (Cost Center Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class monthlypay extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('monthlypay_model');
|
||||||
|
$this->load->library('session');
|
||||||
|
$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'] = 'Siddharth : Monthly Pay Details';
|
||||||
|
|
||||||
|
$this->loadviews('monthlyListing',$this->global);
|
||||||
|
}
|
||||||
|
|
||||||
|
function loadPublicholidays()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$data['days'] = $this-> monthlypay_model->getPublicHoldays();
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Public Holidays';
|
||||||
|
|
||||||
|
$this->loadviews('publicholidays',$this->global,$data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
function deletePublicHoliday()
|
||||||
|
{
|
||||||
|
$d = $this->input->post('param1');
|
||||||
|
$res = $this->monthlypay_model->deleteHoliday($d);
|
||||||
|
if($res == 1){
|
||||||
|
echo "Deleted Successfully..!";
|
||||||
|
}else{echo "Something Wrong, Try Later...!";}
|
||||||
|
}
|
||||||
|
|
||||||
|
function savePublicHolidays()
|
||||||
|
{
|
||||||
|
$jsondata = $this->input->post('param1');
|
||||||
|
$phpdata = json_decode($jsondata);
|
||||||
|
$total =0;
|
||||||
|
|
||||||
|
foreach($phpdata as $d)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$hname = $d->Holiday_Name;
|
||||||
|
$hdate = date_format(date_create($d->Date),'Y-m-d');
|
||||||
|
|
||||||
|
$tostore = array('H_Name'=>$hname,'H_Date'=>$hdate);
|
||||||
|
$isExist = $this->monthlypay_model->checkHoliday($hdate);
|
||||||
|
|
||||||
|
if($isExist[0]['count'] == 0)
|
||||||
|
{
|
||||||
|
$count = $this->monthlypay_model->saveHolidays($tostore,'i');
|
||||||
|
$total = $total + $count;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$count = $this->monthlypay_model->saveHolidays($tostore,'u');
|
||||||
|
$total = $total + $count;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo $total . "-Holiday(s) Saved Successfully..!";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function attendanceLoad()
|
||||||
|
{
|
||||||
|
$month['month'] = '';
|
||||||
|
$monthdays = 0;
|
||||||
|
$begin = 0;
|
||||||
|
$end =0;
|
||||||
|
|
||||||
|
if($this->input->post('month'))
|
||||||
|
{
|
||||||
|
|
||||||
|
$current = $this->input->post('month');
|
||||||
|
$month = substr($current,0,3);
|
||||||
|
$year = substr($current,4);
|
||||||
|
$month=date_parse($month);
|
||||||
|
$current = $year."-".$month['month'].'-01';
|
||||||
|
$monthdays =cal_days_in_month(CAL_GREGORIAN,$month['month'],$year);
|
||||||
|
$begin = new DateTime($year.'-'.$month['month'].'-01');
|
||||||
|
$end = new DateTime($year.'-'.$month['month'].'-'.$monthdays);
|
||||||
|
|
||||||
|
}
|
||||||
|
if(empty($current))
|
||||||
|
{
|
||||||
|
// echo "fresh";
|
||||||
|
$current = date("Y-m");
|
||||||
|
$year = date("Y");
|
||||||
|
$month = date("m");
|
||||||
|
$current = $current."-01";
|
||||||
|
$monthdays =cal_days_in_month(CAL_GREGORIAN,$month,$year);
|
||||||
|
$begin = new DateTime($year.'-'.$month.'-01');
|
||||||
|
$end = new DateTime($year.'-'.$month.'-'.$monthdays);
|
||||||
|
}
|
||||||
|
$sundayarray =array();
|
||||||
|
while ($begin <= $end)
|
||||||
|
{
|
||||||
|
if($begin->format("D") == "Sun")
|
||||||
|
{
|
||||||
|
array_push($sundayarray,$begin->format("d"));
|
||||||
|
}
|
||||||
|
$begin->modify('+1 day');
|
||||||
|
}
|
||||||
|
$noofsundays = count($sundayarray);
|
||||||
|
|
||||||
|
$publicholidaysarray = $this-> monthlypay_model->getPublicHoldays($current);
|
||||||
|
$string ="attendance";
|
||||||
|
$data['noofsundays']=$noofsundays;
|
||||||
|
$data['noofpublicholidays']=count($publicholidaysarray);
|
||||||
|
$data['publicholidaysarray']=$publicholidaysarray;
|
||||||
|
$data['sundayarray']=$sundayarray;
|
||||||
|
$data['monthdays']=$monthdays;
|
||||||
|
$data['datefordropdown'] = $current;
|
||||||
|
$data['attendance'] = $this-> monthlypay_model->monthlyAttendance($current);
|
||||||
|
$data['emppay'] = $this-> monthlypay_model->getEmpPayDetails($current,$string);
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Monthly Attendance';
|
||||||
|
$this->loadViews("attendance", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
function saveAttendance()
|
||||||
|
{
|
||||||
|
|
||||||
|
$total = 0;
|
||||||
|
$jsondata = $this->input->post('param1');
|
||||||
|
$phpdata = json_decode($jsondata,true);
|
||||||
|
$date = $this->input->post('param2');
|
||||||
|
$NoofDays = $this->input->post('param3');
|
||||||
|
$Month_Year = date('Y-m-d',strtotime($date));
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
// echo 'from COn' . $date;
|
||||||
|
// print_r($phpdata);die();[Paid Leave
|
||||||
|
// echo count($phpdata);
|
||||||
|
//echo $NoofDays.'sdjksjh';
|
||||||
|
$EmpID ='temp';
|
||||||
|
foreach($phpdata as $data)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$EmpID = $data['Employee ID'];
|
||||||
|
$W1H = $data['1W'];$W1OT = $data['1OT']; $W2H = $data['2W'];$W2OT = $data['2OT'];$W3H = $data['3W'];$W3OT = $data['3OT'];$W4H = $data['4W'];$W4OT = $data['4OT'];
|
||||||
|
$W5H = $data['5W'];$W5OT = $data['5OT']; $W6H = $data['6W'];$W6OT = $data['6OT']; $W7H = $data['7W'];$W7OT = $data['7OT']; $W8H = $data['8W'];$W8OT = $data['8OT'];
|
||||||
|
$W9H = $data['9W'];$W9OT = $data['9OT']; $W10H = $data['10W'];$W10OT = $data['10OT']; $W11H = $data['11W'];$W11OT = $data['11OT']; $W12H = $data['12W'];$W12OT = $data['12OT'];
|
||||||
|
$W13H = $data['13W'];$W13OT = $data['13OT']; $W14H = $data['14W'];$W14OT = $data['14OT']; $W15H = $data['15W'];$W15OT = $data['15OT']; $W16H = $data['16W'];$W16OT = $data['16OT'];
|
||||||
|
$W17H = $data['17W'];$W17OT = $data['17OT']; $W18H = $data['18W'];$W18OT = $data['18OT']; $W19H = $data['19W'];$W19OT = $data['19OT']; $W20H = $data['20W'];$W20OT = $data['20OT'];
|
||||||
|
$W21H = $data['21W'];$W21OT = $data['21OT']; $W22H = $data['22W'];$W22OT = $data['22OT']; $W23H = $data['23W'];$W23OT = $data['23OT']; $W24H = $data['24W'];$W24OT = $data['24OT'];
|
||||||
|
$W25H = $data['25W'];$W25OT = $data['25OT']; $W26H = $data['26W'];$W26OT = $data['26OT']; $W27H = $data['27W'];$W27OT = $data['27OT']; $W28H = $data['28W'];$W28OT = $data['28OT'];
|
||||||
|
if(!empty($data['29W'])){$W29H = $data['29W'];}else{$W29H=null;} if(!empty($data['29OT'])){$W29OT = $data['29OT'];}else{$W29OT=null;} if(!empty($data['30W'])){$W30H = $data['30W'];}else{$W30H=null;}
|
||||||
|
if(!empty($data['30OT'])){$W30OT = $data['30OT'];}else{$W30OT=null;} if(!empty($data['31W'])){$W31H = $data['31W'];}else{$W31H=null;}if(!empty($data['31OT'])){$W31OT = $data['31OT'];}else{$W31OT=null;}
|
||||||
|
$totalworkinghrs = $data['Total Hrs'];$totalothrs = $data['OT Hrs'];$paidleave = $data['Paid Leave'];$daysworked = $data['Days Worked'];$absent = $data['Absent'];
|
||||||
|
|
||||||
|
$monthattendance = array('Month_Year'=>$Month_Year,'NoofDays'=>$NoofDays,'EmpID'=>$EmpID,'WH1'=>$W1H,'OT1'=>$W1OT,'WH2'=>$W2H,'OT2'=>$W2OT,'WH3'=>$W3H,'OT3'=>$W3OT,
|
||||||
|
'WH4'=>$W4H,'OT4'=>$W4OT,'WH5'=>$W5H,'OT5'=>$W5OT,'WH6'=>$W6H,'OT6'=>$W6OT,'WH7'=>$W7H,'OT7'=>$W7OT,'WH8'=>$W8H,'OT8'=>$W8OT,'WH9'=>$W9H,'OT9'=>$W9OT,'WH10'=>$W10H,'OT10'=>$W10OT,
|
||||||
|
'WH11'=>$W11H,'OT11'=>$W11OT,'WH12'=>$W12H,'OT12'=>$W12OT,'WH13'=>$W13H,'OT13'=>$W13OT,'WH14'=>$W14H,'OT14'=>$W14OT,'WH15'=>$W15H,'OT15'=>$W15OT,'WH16'=>$W16H,'OT16'=>$W16OT,
|
||||||
|
'WH17'=>$W17H,'OT17'=>$W17OT,'WH18'=>$W18H,'OT18'=>$W18OT,'WH19'=>$W19H,'OT19'=>$W19OT,'WH20'=>$W20H,'OT20'=>$W20OT,'WH21'=>$W21H,'OT21'=>$W21OT,'WH22'=>$W22H,'OT22'=>$W22OT,
|
||||||
|
'WH23'=>$W23H,'OT23'=>$W23OT,'WH24'=>$W24H,'OT24'=>$W24OT,'WH25'=>$W25H,'OT25'=>$W25OT,'WH26'=>$W26H,'OT26'=>$W26OT,'WH27'=>$W27H,'OT27'=>$W27OT,'WH28'=>$W28H,'OT28'=>$W28OT,
|
||||||
|
'WH29'=>$W29H,'OT29'=>$W29OT,'WH30'=>$W30H,'OT30'=>$W30OT,'WH31'=>$W31H,'OT31'=>$W31OT,'Total_WHrs'=>$totalworkinghrs,'Total_OTHrs'=>$totalothrs,'Paid_Leave'=>$paidleave,
|
||||||
|
'Days_Worked'=>$daysworked,'Absent'=>$absent,'Created_by'=>$CreateBy);
|
||||||
|
|
||||||
|
|
||||||
|
$res = $this->monthlypay_model->saveAttendance($monthattendance,$Month_Year,$EmpID);
|
||||||
|
// echo $res;
|
||||||
|
$total = $total + $res;
|
||||||
|
// die();
|
||||||
|
}
|
||||||
|
echo $total . "-Employee(s) Attendance saved Successfully..!";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
function monthlyListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->model('monthlypay_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->monthlypay_model->monthlyListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Monthly Pay List';
|
||||||
|
|
||||||
|
$this->loadViews("monthlyListing", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the filtering monthly list
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new monthlypay
|
||||||
|
*/
|
||||||
|
function addmonthly()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//$data['emp_id'] = $this->monthlypay_model->getmonthlypay();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add Monthly Pay';
|
||||||
|
|
||||||
|
$this->loadviews('addMontly',$this->global, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function addNewmonthly()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('Month_Year','month_year','trim|required');
|
||||||
|
$this->form_validation->set_rules('EmpID','emp_id','trim|required');
|
||||||
|
$this->form_validation->set_rules('LOP_days','LOP_days','trim|required');
|
||||||
|
$this->form_validation->set_rules('OT_Hrs_Worked','OT_Hrs_Worked','trim|required');
|
||||||
|
$this->form_validation->set_rules('Loan_Recovered','Loan_Recovered','trim|required');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('Incentives','Incentives','trim|required');
|
||||||
|
$this->form_validation->set_rules('Other_Deductions','Other_Deductions','trim|required');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addmonthly();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$month_year = $this->input->post('month_year');
|
||||||
|
$emp_id = $this->input->post('emp_id');
|
||||||
|
$LOP_days = $this->input->post('LOP_days');
|
||||||
|
$OT_Hrs_Worked = $this->input->post('OT_Hrs_Worked');
|
||||||
|
$Loan_Recovered = $this->input->post('Loan_Recovered');
|
||||||
|
|
||||||
|
$Incentives = $this->input->post('Incentives');
|
||||||
|
$Other_Deductions = $this->input->post('Other_Deductions');
|
||||||
|
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$monthlypayExists = $this->monthlypay_model->checkmonthlypayExists( $monthlypay);
|
||||||
|
|
||||||
|
if(count($CodeExists) == 0)
|
||||||
|
{
|
||||||
|
$montlypay = array('month_year'=>$month_year, 'emp_id'=>$emp_id,'LOP_days'=>$LOP_days,'OT_Hrs_Worked'=>$OT_Hrs_Worked,'Loan_Recovered'=>$Loan_Recovered,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
|
||||||
|
$this->monthlypay_model->addNewmonthly($monthlypay);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Print_r('Successfully Created Monthly pay details');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used for editing purpose and it has oldest values.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function editOldmonthly($EmpID='',$month_year='')
|
||||||
|
{
|
||||||
|
/*if($employeeid == null)
|
||||||
|
{
|
||||||
|
|
||||||
|
redirect('monthlypay/monthlyListing');
|
||||||
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['monthly'] = $this->monthlypay_model->getUserInfo($EmpID,$month_year);
|
||||||
|
//$data['monthly_pay_inputs'] = $this->monthlylisting_model->getUserInfo($employeeid);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Monthly Listing';
|
||||||
|
|
||||||
|
$this->loadViews("editOldmonthly", $this->global, $data,NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used for stored new values after editing.
|
||||||
|
*/
|
||||||
|
function editmonthly()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$EmpID= $this->input->post('EmpID');
|
||||||
|
$month_year = $this->input->post('Month_Year');
|
||||||
|
$this->form_validation->set_rules('Month_Year','month_year','trim|required');
|
||||||
|
$this->form_validation->set_rules('EmpID','EmpID','trim|required');
|
||||||
|
$this->form_validation->set_rules('LOP_Days','LOP_Days','trim|required');
|
||||||
|
$this->form_validation->set_rules('OT_Hrs_Worked','OT_Hrs_Worked','trim|required');
|
||||||
|
$this->form_validation->set_rules('Loan_Recovered','Loan_Recovered','trim|required');
|
||||||
|
//$this->form_validation->set_rules('Loan_Balance','Loan_Balance','trim|required');
|
||||||
|
$this->form_validation->set_rules('Incentives','Incentives','trim|required');
|
||||||
|
$this->form_validation->set_rules('Other_Deductions','Other_Deductions','trim|required');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->editOldmonthly($EmpID,$month_year);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$month_year = $this->input->post('Month_Year');
|
||||||
|
$EmpID = $this->input->post('EmpID');
|
||||||
|
$LOP_Days =$this->input->post('LOP_Days');
|
||||||
|
$OT_Hrs_Worked = $this->input->post('OT_Hrs_Worked');
|
||||||
|
$Loan_Recovered = $this->input->post('Loan_Recovered');
|
||||||
|
|
||||||
|
$Incentives = $this->input->post('Incentives');
|
||||||
|
$Other_Deductions = $this->input->post('Other_Deductions');
|
||||||
|
$LastModBy = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$LastModTime = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$monthdata = array();
|
||||||
|
|
||||||
|
|
||||||
|
$monthdata = array('Month_Year'=>$month_year,'EmpID'=>$EmpID,'LOP_Days'=>$LOP_Days,'OT_Hrs_Worked'=>$OT_Hrs_Worked,'Loan_Recovered'=>$Loan_Recovered,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'Last_Mod_By'=>$LastModBy,'Last_Mod_Time'=>$LastModTime);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$result = $this->monthlypay_model->editmonth($monthdata,$EmpID);
|
||||||
|
|
||||||
|
|
||||||
|
if($result == true)
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('success', 'updated successfully');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('error', 'updation failed');
|
||||||
|
}
|
||||||
|
//echo success;
|
||||||
|
|
||||||
|
redirect('monthlyListings');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
161
application/controllers/pages.php
Normal file
161
application/controllers/pages.php
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
class pages extends BaseController {
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
// $this->load->database();
|
||||||
|
// $this->load->helper('url');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
$this->load->library('grocery_CRUD');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* This function used to show the main page of the screen */
|
||||||
|
public function _controller_output($output = null)
|
||||||
|
{ $this->load->view('includes/header');
|
||||||
|
$this->load->view('Mainpage',(array)$output);
|
||||||
|
$this->load->view('includes/footer');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->_controller_output((object)array('output' => '' , 'js_files' => array() , 'css_files' => array()));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function SupplierDetails()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_SupplierDetailsN');
|
||||||
|
$crud->set_subject('Supplier Details');
|
||||||
|
$crud->required_fields('SupplierName','Address','Contactnumber','AlternateContactNumber','EmailAddress','TIN','PAN');
|
||||||
|
$crud->columns('SupplierID','SupplierName','Address','Contactnumber','AlternateContactNumber','EmailAddress','TIN','PAN','CreatedDate');
|
||||||
|
$crud->field_type('CreatedDate','hidden', date("Y-m-d H:i:s"));
|
||||||
|
$crud->field_type('SupplierID','hidden');
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function RawMaterial()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->load->model('Grocery_crud_model');
|
||||||
|
//$data['SupplierName'] = $this->Grocery_crud_model->getSupplierName();
|
||||||
|
//$data['users'] = $this->purchaseorder_model->getusers();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add New PO';
|
||||||
|
|
||||||
|
$this->loadViews("Mainpage", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_RawMaterialDetailsN');
|
||||||
|
$crud->set_subject('RawMaterialDetails');
|
||||||
|
$crud->required_fields('MaterialName','MaterialType','SupplierID');
|
||||||
|
$crud->columns('MaterialCode','MaterialName','MaterialType','SupplierID','CreatedDate');
|
||||||
|
$crud->field_type('CreatedDate','hidden', date("Y-m-d H:i:s"));
|
||||||
|
$crud->field_type('MaterialCode','hidden');
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function AssetDetails()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->load->model('Grocery_crud_model');
|
||||||
|
//$data['SupplierName'] = $this->Grocery_crud_model->getSupplierName();
|
||||||
|
//$data['users'] = $this->purchaseorder_model->getusers();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add New PO';
|
||||||
|
|
||||||
|
$this->loadViews("Mainpage", $this->global, NULL);
|
||||||
|
}
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
$now = new DateTime();
|
||||||
|
echo $now->format('Y-m-d H:i:s');
|
||||||
|
echo $now->getTimestamp();
|
||||||
|
$crud->set_table('T_AssetDetails');
|
||||||
|
$crud->set_subject('AssetDetails');
|
||||||
|
$crud->required_fields('Asset_Name','Description','Department','Location','AssetOwner','SupplierName','DateOfPurchase','DateOfCommission','SupportVendor','SupportFrom','SupportTo','CreatedDate');
|
||||||
|
$crud->columns('Asset_Code','Asset_Name','Description','Department','Location','AssetOwner','SupplierName','DateOfPurchase','DateOfCommission','SupportVendor','SupportFrom','SupportTo','CreatedDate');
|
||||||
|
$crud->field_type('CreatedDate','hidden', date("Y-m-d H:i:s"));
|
||||||
|
$crud->field_type('Asset_Code','hidden');
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
// $this->load->view('AssetDetails.php',(array)$output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
public function CostDetails()
|
||||||
|
{
|
||||||
|
try{
|
||||||
|
$crud = new grocery_CRUD();
|
||||||
|
|
||||||
|
|
||||||
|
$crud->set_table('T_CostCentre');
|
||||||
|
$crud->set_subject('CostDetails');
|
||||||
|
$crud->required_fields('CostName','Description');
|
||||||
|
$crud->columns('CostCentreID','CostName','Description','CreatedDate');
|
||||||
|
$crud->field_type('CostCentreID','hidden');
|
||||||
|
$crud->field_type('CreatedDate','hidden', date("Y-m-d H:i:s"));
|
||||||
|
$output = $crud->render();
|
||||||
|
|
||||||
|
|
||||||
|
$this->_controller_output($output);
|
||||||
|
// $this->load->view('AssetDetails.php',(array)$output);
|
||||||
|
|
||||||
|
}catch(Exception $e){
|
||||||
|
show_error($e->getMessage().' --- '.$e->getTraceAsString());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
1187
application/controllers/payslip.php
Normal file
1187
application/controllers/payslip.php
Normal file
File diff suppressed because it is too large
Load Diff
3142
application/controllers/purchaseorder.php
Normal file
3142
application/controllers/purchaseorder.php
Normal file
File diff suppressed because it is too large
Load Diff
2805
application/controllers/purchaseorder.php~
Normal file
2805
application/controllers/purchaseorder.php~
Normal file
File diff suppressed because it is too large
Load Diff
455
application/controllers/rawmaterialdetails.php
Normal file
455
application/controllers/rawmaterialdetails.php
Normal file
@ -0,0 +1,455 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : RawMaterial (PurchaseorderController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 12 Apr 2017
|
||||||
|
*/
|
||||||
|
class rawmaterialdetails extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('rawmaterialdetails_model');
|
||||||
|
$this->load->library('pagination');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->library('Excel');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : RawMaterialDetails';
|
||||||
|
|
||||||
|
$this->loadViews("rawmaterialListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the RawMaterialDetails list
|
||||||
|
*/
|
||||||
|
function rawmaterialListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('rawmaterialdetails_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->rawmaterialdetails_model->rawmaterialListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : RawMaterial Listing';
|
||||||
|
|
||||||
|
$this->loadViews("rawmaterialListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new cost */
|
||||||
|
function addRawMaterial()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('rawmaterialdetails_model');
|
||||||
|
$data['material'] = $this->rawmaterialdetails_model->getmaterialType();
|
||||||
|
$data['materialcategory'] = $this->rawmaterialdetails_model->getmaterialCategory();
|
||||||
|
$data['UOM'] = $this->rawmaterialdetails_model->getUOM();
|
||||||
|
$data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode();
|
||||||
|
$data['costcentercode'] =$this->rawmaterialdetails_model->getcostcentercode();
|
||||||
|
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
|
||||||
|
$this->global['pageTitle'] = 'siddharth : AddNew RawMaterial';
|
||||||
|
$this->loadViews("addRawMaterial", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation for Material Type Dropdown */
|
||||||
|
function MaterialType_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
//'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('MaterialType_validate', 'Please Select Material Type.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation for Material Type Dropdown */
|
||||||
|
function UOM_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '-1')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('UOM_validate', 'Please Select UOM.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation for Material Category Dropdown */
|
||||||
|
function materialcategory_validate($selectValue)
|
||||||
|
{
|
||||||
|
|
||||||
|
if($selectValue == '0')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('materialcategory_validate', 'Please Select Material Category.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function addNewRawMaterial()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('MaterialName','Material Name','trim|required|');
|
||||||
|
$this->form_validation->set_rules('MaterialType','MaterialType','trim|callback_MaterialType_validate');
|
||||||
|
$this->form_validation->set_rules('MaterialCategory','MaterialCategory','trim|callback_materialcategory_validate');
|
||||||
|
$this->form_validation->set_rules('UOM','UOM','trim|callback_UOM_validate');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addRawMaterial();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$MaterialName = $this->input->post('MaterialName');//print_r($MaterialName);
|
||||||
|
$MaterialType = $this->input->post('MaterialType');
|
||||||
|
$UOM = $this->input->post('UOM');
|
||||||
|
$MaterialCategory = $this->input->post('MaterialCategory');
|
||||||
|
$Remarks = $this->input->post('remarks');
|
||||||
|
$asset = $this->input->post('Assetcode');//print_r($AssetCode);
|
||||||
|
$costcentercode = $this->input->post('Costcenter');//print_r($CostCenterCode);
|
||||||
|
$ConversionFactor = $this->input->post('conversionfactor');
|
||||||
|
$cfuom = $this->input->post('conversionfactorUOM');//print_r( $ConversionFactorUOM);
|
||||||
|
$HSN = $this->input->post('HSNcode');//print_r($HSNcode);
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
if($asset == '0')
|
||||||
|
{
|
||||||
|
$AssetCode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$AssetCode = $asset;
|
||||||
|
}
|
||||||
|
if($costcentercode == '0')
|
||||||
|
{
|
||||||
|
$CostCenterCode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CostCenterCode = $costcentercode;
|
||||||
|
}
|
||||||
|
if($cfuom == '0')
|
||||||
|
{
|
||||||
|
$ConversionFactorUOM = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ConversionFactorUOM = $cfuom;
|
||||||
|
}
|
||||||
|
if($HSN == '')
|
||||||
|
{
|
||||||
|
$HSNcode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$HSNcode = $HSN;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
$RawMaterial = array('MaterialName'=>$MaterialName, 'MaterialType'=>$MaterialType, 'UOM'=>$UOM,'Category'=>$MaterialCategory, 'CreatedBy'=>$CreatedBy,'IsActive' => $IsActive,'assetcode'=>$AssetCode,'CostCenterCode'=>$CostCenterCode,'ConversionFactorUnit'=>$ConversionFactor,'ConversionFactorUOM'=>$ConversionFactorUOM,'Remarks'=>$Remarks,'HSNCODE'=>$HSNcode);
|
||||||
|
//print_r($RawMaterial);die();
|
||||||
|
$result = $this->rawmaterialdetails_model->addNewRawMaterial($RawMaterial);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
echo "<script>alert('RawMaterial Created successfully!');</script>";redirect('rawmaterialListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('RawMaterial Not Created!');</script>";
|
||||||
|
redirect('rawmaterialListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function viewRawmaterial($RID= '')
|
||||||
|
{
|
||||||
|
$MaterialType = '';
|
||||||
|
$UOM = '';
|
||||||
|
$MaterialCategory = '';
|
||||||
|
|
||||||
|
|
||||||
|
if($RID == '')
|
||||||
|
{
|
||||||
|
$RawMaterialID = $_GET['RID'];
|
||||||
|
$MaterialType = $_GET['MType'];
|
||||||
|
$UOM = $_GET['UOM'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$RawMaterialID = $RID;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['materialDetails'] = $this->rawmaterialdetails_model->getMaterialDetails($RawMaterialID);
|
||||||
|
$data['materialType'] = $this->rawmaterialdetails_model->getmaterialType($MaterialType );
|
||||||
|
$data['materialCategory'] = $this->rawmaterialdetails_model->getmaterialCategory($MaterialCategory);
|
||||||
|
$data['UOMList'] = $this->rawmaterialdetails_model->getUOM($UOM);
|
||||||
|
$data['costcentercode'] =$this->rawmaterialdetails_model->getCostCenterCode();
|
||||||
|
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
|
||||||
|
$data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode();
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Material Master';
|
||||||
|
$this->loadViews("editOldRawmaterial", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to edit the user information
|
||||||
|
*/
|
||||||
|
function editRawmaterial()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$RawmaterialID = $this->input->post('MaterialCode');
|
||||||
|
$this->form_validation->set_rules('MaterialName','Material Name','trim|required|');
|
||||||
|
$this->form_validation->set_rules('MaterialType','MaterialType','trim');
|
||||||
|
$this->form_validation->set_rules('UOM','UOM','trim');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->viewRawmaterial($RawmaterialID);
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode');
|
||||||
|
$MaterialName = $this->input->post('MaterialName');
|
||||||
|
$MaterialType = $this->input->post('MaterialType');
|
||||||
|
$MaterialCategory =$this->input->post('MaterialCategory');
|
||||||
|
$UOM = $this->input->post('UOM');
|
||||||
|
$rmcode = $this->input->post('RMcode');
|
||||||
|
$Remarks = $this->input->post('remarks');
|
||||||
|
$asset = $this->input->post('Assetcode');
|
||||||
|
$costcentercode = $this->input->post('Costcenter');
|
||||||
|
$ConversionFactor = $this->input->post('conversionfactor');
|
||||||
|
$cfuom = $this->input->post('conversionfactorUOM');
|
||||||
|
$HSN = $this->input->post('HSNcode');
|
||||||
|
$UpdatedBy = $this->session->userdata ('userId');
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
if($asset == '0')
|
||||||
|
{
|
||||||
|
$AssetCode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$AssetCode = $asset;
|
||||||
|
}
|
||||||
|
if($costcentercode == '0')
|
||||||
|
{
|
||||||
|
$CostCenterCode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CostCenterCode = $costcentercode;
|
||||||
|
}
|
||||||
|
if($cfuom == '0')
|
||||||
|
{
|
||||||
|
$ConversionFactorUOM = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ConversionFactorUOM = $cfuom;
|
||||||
|
}
|
||||||
|
if($HSN == '')
|
||||||
|
{
|
||||||
|
$HSNcode = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$HSNcode = $HSN;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
$RawMaterial = array();
|
||||||
|
$RawMaterial = array('MaterialName'=>$MaterialName,'MaterialType'=>$MaterialType,'UpdatedBy'=>$UpdatedBy, 'UOM'=>$UOM,'IsActive' => $IsActive,'Category'=>$MaterialCategory,'ConversionFactorUnit'=>$ConversionFactor,'ConversionFactorUOM'=>$ConversionFactorUOM,'Remarks'=>$Remarks,'assetcode'=>$AssetCode,'CostCenterCode'=>$CostCenterCode,'HSNCODE'=>$HSNcode);//,'RMCode'=>$rmcode);
|
||||||
|
//print_r($RawMaterial);//die();
|
||||||
|
$result = $this->rawmaterialdetails_model->editRawmaterial($RawMaterial, $MaterialCode);
|
||||||
|
|
||||||
|
if($result == true)
|
||||||
|
{
|
||||||
|
echo "<script>alert('RawMaterial Updated successfully!');</script>"; redirect('rawmaterialListing','refresh');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('RawMaterial Record Not updated!');</script>";redirect('rawmaterialListing','refresh');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** this function can be use for excel report **/
|
||||||
|
|
||||||
|
function export_material(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
//$this->excel->setActiveSheetIndex(0)->mergeCells('D3:J3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->mergeCells('F3:M3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->getStyle('F3')->getAlignment()->applyFromArray(array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,));
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Material Master');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F3', 'SIDDHARTH INDUSTRIES Material Master');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C5', 'MaterialCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D5', 'MaterialName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E5', 'MaterialType');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F5', 'UOM');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G5', 'RMCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H5', 'Category');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I5', 'assetcode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J5', 'CostCenterCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K5', 'ConversionFactorUnit');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L5', 'ConversionFactorUOM');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M5', 'HSNCode');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N5', 'Remarks');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O5', 'Created by');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P5', 'Updated By');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q5', 'IsActive');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F3')->getFont()->setSize(14);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F3')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->rawmaterialdetails_model->export_excel();
|
||||||
|
// print_r($exportData);die();
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 6;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['MaterialCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['MaterialName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['MaterialType']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['UOM']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G' . $i,$data['RMCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H' . $i,$data['Category']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I' . $i,$data['assetcode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J' . $i,$data['CostCenterCode']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K' . $i,$data['ConversionFactorUnit']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L' . $i,$data['ConversionFactorUOM']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M' . $i,$data['HSNCODE']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N' . $i,$data['Remarks']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O' . $i,$data['firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P' . $i,$data['Updated_By']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q' . $i,$data['IsActive']);
|
||||||
|
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'MaterialMaster' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
137
application/controllers/report.php
Normal file
137
application/controllers/report.php
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Inward Gate Register Controller (security)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Saravana kumar
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 10 Jun 2017
|
||||||
|
*/
|
||||||
|
class report extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('dahsboard_Model');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
public function pending_report()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Total Pending Requests Reports -';
|
||||||
|
|
||||||
|
$data['pending_list']=$this->dahsboard_Model->req_list();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("report_pendingreqst",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function releasedPO()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Order Value - Released Reports - ';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['rel_po']=$this->dahsboard_Model->report_relpo();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_POreleased",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function openorderPO()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Open Orders - Pending Reports - ';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['open_po']=$this->dahsboard_Model->report_openpending();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_openorder",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function TotalOrd()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Total Orders Reports -';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['Total']=$this->dahsboard_Model->report_total();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function ccr()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Cost Center Reports -';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['ccrpt']=$this->dahsboard_Model->report_ccr();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function MM_Supplier()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Material Master - Supplier Wise Reports -';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['mms']=$this->dahsboard_Model->report_MMSupplier();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_Material_Master_SupplierWise",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function MM_Item()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Material Master - Item Wise Reports-';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['mmi']=$this->dahsboard_Model->report_MMItem();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_Material_Master_ItemWise",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
public function MM_ReceiptValue()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Material Master - Receipt Value Reports-';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['mmr']=$this->dahsboard_Model->report_MMReceiptValue();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadviews("Report_Material_Master_ReceiptValue",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
670
application/controllers/requisitionform.php
Normal file
670
application/controllers/requisitionform.php
Normal file
@ -0,0 +1,670 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : requisitionform (requisitionformController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class requisitionform extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the Requistion
|
||||||
|
*/
|
||||||
|
function requisitionlisting()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Listing';
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
// $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID);
|
||||||
|
$data['Status'] = $this->requistion_model->CheckDraftStatus($userID);
|
||||||
|
|
||||||
|
$data['TotNoOfLine'] =$this->requistion_model->getRequistionList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlisting", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the requisition Form
|
||||||
|
*/
|
||||||
|
|
||||||
|
function requisition()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Raise Requisition';
|
||||||
|
|
||||||
|
$data['RequestType'] = $this->requistion_model->getConfigValue('C020');
|
||||||
|
|
||||||
|
$data['EmpList'] = $this->requistion_model->getAllEmployees();
|
||||||
|
$data['ServiceOption'] = $this->requistion_model->getConfigValue('C022');
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['Emp'] = $this->requistion_model->getEmpIdByUserID($userID);
|
||||||
|
|
||||||
|
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||||
|
|
||||||
|
$this->loadViews("requisitionform", $this->global, $data,null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the Requistion List Approval Screen
|
||||||
|
*/
|
||||||
|
function requisitionlistApproval()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Approval';
|
||||||
|
|
||||||
|
$data['Status']= $this->requistion_model->getStatus();
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['AppList'] = $this->requistion_model->getApproverRequistList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlistapproval", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Edit Requistion Form
|
||||||
|
*/
|
||||||
|
function EditRequistionForm()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Requisition';
|
||||||
|
|
||||||
|
$ReqNo= $_GET['ReqNo'];
|
||||||
|
$ReqType= $_GET['ReqType'];
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['ReqDetails'] = $this->requistion_model->getRequistDetails($ReqNo,'Yes');
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$POType= $this->purchaseorder_model->GetPOType($ReqNo);
|
||||||
|
$ReqPOType = '';
|
||||||
|
if(count($POType) > 0)
|
||||||
|
{
|
||||||
|
for($i=0;$i<count($POType);$i++)
|
||||||
|
{
|
||||||
|
if($POType[$i]['POType'] == $ReqType)
|
||||||
|
{
|
||||||
|
$ReqPOType = '';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqPOType = $POType[$i]['POType'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
//print_r($POType);
|
||||||
|
// echo 'ReqType'.$ReqPOType;
|
||||||
|
$data['ReqPOType'] = $ReqPOType =='' ? $ReqType:$ReqPOType;
|
||||||
|
$data['LineItem'] = $this->requistion_model->getEditRequistItemList($ReqNo);
|
||||||
|
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||||
|
$data['MaterialCode'] = $this->requistion_model->EditMaterialCode($ReqNo, $ReqType);
|
||||||
|
$data['ServiceOption'] = $this->requistion_model->getConfigValue('C022');
|
||||||
|
$this->loadViews("editrequisitionform", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the Requistion Items
|
||||||
|
*/
|
||||||
|
function DeleteRequistionForm()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqList= $this->input->post('id');
|
||||||
|
$ReqNo ='';
|
||||||
|
$MaterialCode = '';
|
||||||
|
if(count($ReqList) > 0)
|
||||||
|
{
|
||||||
|
$ReqNo = $ReqList[0];
|
||||||
|
$MaterialCode = $ReqList[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->requistion_model->DeleteRequistionLineItem( $ReqNo,$MaterialCode);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the Line item".$ReqNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the Requistion Items
|
||||||
|
*/
|
||||||
|
function DeleteReqNo()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqNo= $this->input->post('id');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>REQ_DELETED,'updatedOn'=>$updateddt);
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateRequistion( $Request,$ReqNo);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the ".$ReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function SearchRequistList()
|
||||||
|
{
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
$ReqValue = $this->input->post('SearchDate');
|
||||||
|
|
||||||
|
$Dt = explode("-",$ReqValue);
|
||||||
|
|
||||||
|
$FromDate ='';
|
||||||
|
$ToDate = '';
|
||||||
|
$Status= '';
|
||||||
|
if(count( $Dt)>1)
|
||||||
|
{
|
||||||
|
$FDate = $Dt[0]."-".$Dt[1]."-".$Dt[2];
|
||||||
|
$TDate = $Dt[3]."-".$Dt[4]."-".$Dt[5];
|
||||||
|
$FromDate = $this->getDateformat($FDate);
|
||||||
|
$ToDate = $this->getDateformat($TDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
$St = $this->input->post('RequisitionStatus');
|
||||||
|
|
||||||
|
if($St == "-1")
|
||||||
|
{
|
||||||
|
$Status = '';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Status = $St;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['AppList'] = $this->requistion_model->getApproverRequistList($userID,$Status,$FromDate, $ToDate);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Approval';
|
||||||
|
|
||||||
|
$data['Status']= $this->requistion_model->getStatus();
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlistapproval", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the Employee details based on the EmpID selection
|
||||||
|
*/
|
||||||
|
function GetSelectedEmpDetails()
|
||||||
|
{
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
$EmpID = $this->input->post('id');
|
||||||
|
$empDetails = $this->requistion_model->GetEmployeeDetails( $EmpID );
|
||||||
|
$DeptCode = $empDetails[0]['DEPCode'];
|
||||||
|
$CostList = $this->requistion_model->GetCostCenterByDept( $DeptCode);
|
||||||
|
$HTML = "<option value='-1'>Select Cost center</option>";
|
||||||
|
$BudAmount = "";
|
||||||
|
if(count($CostList) > 0)
|
||||||
|
{
|
||||||
|
for ($j = 0; $j < count($CostList); $j++)
|
||||||
|
{
|
||||||
|
$Code = $CostList[$j]['CostCenterCode'];
|
||||||
|
$Name = $CostList[$j]['CostCenterName'];
|
||||||
|
$HTML .="<option value='".$Code."'>".$Code."-".$Name."</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(count($CostList) == 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
$FYStart = '';
|
||||||
|
$FYEnd = '';
|
||||||
|
$FiscalYear = $this->costcenter_model->getFiscalYear();
|
||||||
|
if(!empty($FiscalYear))
|
||||||
|
{
|
||||||
|
foreach ($FiscalYear as $Fy)
|
||||||
|
{
|
||||||
|
$FYStart =$Fy->StartYear;
|
||||||
|
$FYEnd =$Fy->EndYear;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$FYdt = $FYStart." - ".$FYEnd ;
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
|
||||||
|
$result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
//print_r($result);
|
||||||
|
$AvilBudAmt = '0';
|
||||||
|
if(count($result)>0)
|
||||||
|
{
|
||||||
|
$BudAmount = $result[0]['BudgetAmount'] - $result[0]['Totalvalue'];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
die(json_encode(array('emp' => $empDetails,'Cost' => $HTML,'AvlAmount' => $BudAmount)));
|
||||||
|
}
|
||||||
|
|
||||||
|
function getAvailableBudAmount()
|
||||||
|
{
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
$CostCode= $this->input->post('id');
|
||||||
|
$FYStart = '';
|
||||||
|
$FYEnd = '';
|
||||||
|
$FiscalYear = $this->costcenter_model->getFiscalYear();
|
||||||
|
if(!empty($FiscalYear))
|
||||||
|
{
|
||||||
|
foreach ($FiscalYear as $Fy)
|
||||||
|
{
|
||||||
|
$FYStart =$Fy->StartYear;
|
||||||
|
$FYEnd =$Fy->EndYear;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$FYdt = $FYStart." - ".$FYEnd ;
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
|
||||||
|
$Cost = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
|
||||||
|
|
||||||
|
//$Cost = $this->requistion_model->GetAvailableBudgetAmount( $CostCode,$Year,$ReqType);
|
||||||
|
|
||||||
|
die(json_encode(array('Cost' =>$Cost)));
|
||||||
|
}
|
||||||
|
// To get the Material code based on the Request type
|
||||||
|
function getMaterialCode()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqType= $this->input->post('id');
|
||||||
|
|
||||||
|
$MaterialCode = $this->requistion_model->GetMaterialCode( $ReqType);
|
||||||
|
$MaterialName = "";
|
||||||
|
$UOM = "";
|
||||||
|
$HTML = "<option value='-1'>Select Material Type</option>";
|
||||||
|
|
||||||
|
if(count($MaterialCode) > 0)
|
||||||
|
{
|
||||||
|
for ($j = 0; $j < count($MaterialCode); $j++)
|
||||||
|
{
|
||||||
|
$Code = $MaterialCode[$j]['MaterialCode'];
|
||||||
|
$Name = $MaterialCode[$j]['MaterialName'];
|
||||||
|
$HTML .="<option value='".$Code."'>".$Code."-".$Name."</option>";
|
||||||
|
|
||||||
|
}
|
||||||
|
$MaterialName = $MaterialCode[0]['MaterialName'];
|
||||||
|
$UOM = $MaterialCode[0]['UOM'];
|
||||||
|
}
|
||||||
|
|
||||||
|
die(json_encode(array('Material' =>$HTML,'MaterialName'=>$MaterialName,'UOM'=>$UOM)));
|
||||||
|
}
|
||||||
|
|
||||||
|
// To get the Material value based on the MaterialCode
|
||||||
|
function getMaterialDetails()
|
||||||
|
{
|
||||||
|
|
||||||
|
$Material= $this->input->post('id');
|
||||||
|
|
||||||
|
$MaterialDetails = $this->requistion_model->getRawMaterialList($Material);
|
||||||
|
|
||||||
|
|
||||||
|
die(json_encode(array('MatDetail' =>$MaterialDetails)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
To Insert the Requistion Details to Database
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* This function is used to add new Cost to the system
|
||||||
|
*/
|
||||||
|
function addNewRequistion()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('RequestType','RequestType','trim|required');
|
||||||
|
$this->form_validation->set_rules('EmpID','EmpID','trim|required');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->requisition();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Status= $_GET['ID'];
|
||||||
|
$RequestType = strtoupper(trim($this->input->post('RequestType')));
|
||||||
|
$Requestedby = strtoupper(trim($this->input->post('EmpID')));
|
||||||
|
$RequestedbyDept = $this->session->userdata ( 'DEPCode' );
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
$serviceSchedule = $this->input->post('serviceSchedule');
|
||||||
|
$servicePeriod = $this->input->post('serviceSchedule');
|
||||||
|
// $noOfService = $this->input->post('noOfService');
|
||||||
|
$noOfService = 1;
|
||||||
|
|
||||||
|
$IsExists = $this->requistion_model->RequistionIsExists($Requestedby);
|
||||||
|
// print_r($IsExists);
|
||||||
|
|
||||||
|
if(count( $IsExists) == 0)
|
||||||
|
{
|
||||||
|
//echo 'Not Exists';
|
||||||
|
$Request = array('ReqType'=>$RequestType, 'Requestedby'=>$Requestedby,'ReqDate'=>$createddt,'CostCenterCode'=>$CostCenter,'Status'=>$Status,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod,'RequestedDept'=>$RequestedbyDept);
|
||||||
|
|
||||||
|
//print_r($Request);
|
||||||
|
|
||||||
|
$Req = $this->requistion_model->addRequistion($Request);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Exists';
|
||||||
|
$Request = array('ReqType'=>$RequestType, 'Requestedby'=>$Requestedby,'ReqDate'=>$createddt,'Status'=>$Status,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod,'RequestedDept'=>$RequestedbyDept);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request,$IsExists[0]['ReqNo']);
|
||||||
|
}
|
||||||
|
$ReqNumber = '';
|
||||||
|
if(count($Req)>0)
|
||||||
|
{
|
||||||
|
$ReqNumber = $Req[0]['ReqNo'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqNumber = $IsExists[0]['ReqNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$SkipInsert = False;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('Quantity'.$i);
|
||||||
|
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity);
|
||||||
|
$this->requistion_model->addRequistionDetails($ReqDetails,$ReqNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
if($Status == REQ_DRAFT)
|
||||||
|
{
|
||||||
|
echo 'Successfully Saved the Requistion details.Requistion No is '.$ReqNumber;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo 'Successfully Created the Requistion details.Requistion No is '.$ReqNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
function EditRequistion()
|
||||||
|
{
|
||||||
|
$Status = $this->input->post('txtStatus');
|
||||||
|
$ReqNumber = $this->input->post('txtReqNo');
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$serviceSchedule = $this->input->post('serviceSchedule');
|
||||||
|
$servicePeriod = $this->input->post('serviceSchedule');
|
||||||
|
// $noOfService = $this->input->post('noOfService');
|
||||||
|
$noOfService = 1;
|
||||||
|
if(strlen($Status) > 1)
|
||||||
|
{
|
||||||
|
$Request = array( 'Status'=>$Status,'CreatedDate'=>$updatedDate,'CreatedBy'=>$UpdatedBy,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request, $ReqNumber);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Request = array( 'Status'=>REQ_PENDING_APPROVAL,'updatedOn'=>$updatedDate,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request, $ReqNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
|
||||||
|
/* Table value update and Insert in the table */
|
||||||
|
//echo "RowCOunt:" .$RowCount;
|
||||||
|
$SkipInsert = False;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('Quantity'.$i);
|
||||||
|
$IsExists = $this->requistion_model->LineItemIsExists($ReqNumber,$MaterialCode);
|
||||||
|
if(count( $IsExists) == 0)
|
||||||
|
{
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
$this->requistion_model->addRequistionDetails($ReqDetails,$ReqNumber);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateRequistionLineItem($ReqDetails,$ReqNumber,$MaterialCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
echo 'Successfully updated the Requistion details .Requistion No is '.$ReqNumber;
|
||||||
|
// $this->requisitionlisting();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
/* To Edit the request*/
|
||||||
|
function ViewRequest()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqNo= $this->input->post('id');
|
||||||
|
$result = $this->requistion_model->getRequistItemList($ReqNo);
|
||||||
|
$ReqList = $this->requistion_model->getRequistDetails($ReqNo);
|
||||||
|
$DepNo = $ReqList[0]['DEPCode'];
|
||||||
|
//$CostList = $this->requistion_model->GetCostCenterByDept($DepNo);
|
||||||
|
$HTML="";
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$SNo = $i + 1;
|
||||||
|
$MaterialCode = $result[$i]['MaterialCode'];
|
||||||
|
$MaterialName = $result[$i]['MaterialName'];
|
||||||
|
$UOM = $result[$i]['UOM'];
|
||||||
|
$Quantity = $result[$i]['Quantity'];
|
||||||
|
$Quantity = $result[$i]['Quantity'];
|
||||||
|
$POQTY = $result[$i]['POQTY'];
|
||||||
|
$StatusName= $result[$i]['StatusName'];
|
||||||
|
$HTML.="<tr id='".$i."'>
|
||||||
|
<td align='left'>".$SNo."</td>
|
||||||
|
<td align='left'>". $MaterialCode."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$MaterialName."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$UOM."</td>
|
||||||
|
<td align='left'>".$Quantity."</td>
|
||||||
|
<td align='left'>".$POQTY."</td>
|
||||||
|
<td align='left'>".$StatusName."</td>
|
||||||
|
</tr>";
|
||||||
|
|
||||||
|
//$index = $index + 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
$CostCode = '';
|
||||||
|
$ReqType = '';
|
||||||
|
$FYStart = '';
|
||||||
|
$FYEnd = '';
|
||||||
|
$this->load->model('costcenter_model');
|
||||||
|
$FiscalYear = $this->costcenter_model->getFiscalYear();
|
||||||
|
if(!empty($FiscalYear))
|
||||||
|
{
|
||||||
|
foreach ($FiscalYear as $Fy)
|
||||||
|
{
|
||||||
|
$FYStart =$Fy->StartYear;
|
||||||
|
$FYEnd =$Fy->EndYear;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$FYdt = $FYStart." - ".$FYEnd ;
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
if(count($ReqList)>0)
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqType = $ReqList[0]['ReqType'];
|
||||||
|
|
||||||
|
$CostCode = $ReqList[0]['CostCenterCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$POType= $this->purchaseorder_model->GetPOType($ReqNo);
|
||||||
|
|
||||||
|
$ReqPOType = '';
|
||||||
|
if(count($POType) > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
for($i=0;$i<count($POType);$i++)
|
||||||
|
{
|
||||||
|
if($POType[$i]['POType'] == $ReqType)
|
||||||
|
{
|
||||||
|
$ReqPOType = '';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqPOType = $POType[$i]['POType'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$RequestType='';
|
||||||
|
$RequestType= $ReqPOType =='' ? $ReqType:$ReqPOType;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$AvlBudget = array();
|
||||||
|
|
||||||
|
// if($ReqType== CAPITAL&&$RequestType!=IMPORT )
|
||||||
|
// {
|
||||||
|
// $AvlBudget = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
if($ReqType== CAPITAL&&$RequestType!=IMPORT )
|
||||||
|
{
|
||||||
|
$AvlBudget = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$RequestType);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// else if($ReqType== CAPITAL&&$RequestType==IMPORT)
|
||||||
|
// {
|
||||||
|
|
||||||
|
// $AvlBudget = $this->purchaseorder_model->GetAvailableImportBudgetAmount($CostCode,$FYdt,$RequestType);
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// else if($ReqType== IMPORT)
|
||||||
|
// {
|
||||||
|
// $AvlBudget = $this->purchaseorder_model->GetAvailableImportBudgetAmount($CostCode,$FYdt,$RequestType);
|
||||||
|
// }
|
||||||
|
else
|
||||||
|
|
||||||
|
{
|
||||||
|
$AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
//print_r($result);
|
||||||
|
$AvilBudAmt = '0';
|
||||||
|
if(count($AvlBudget)>0)
|
||||||
|
{
|
||||||
|
$AvilBudAmt = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue'];
|
||||||
|
}
|
||||||
|
//echo $AvilBudAmt;
|
||||||
|
die(json_encode(array('Items' =>$HTML,'Requist'=>$ReqList,'AvilBudAmount'=>number_format($AvilBudAmt,2))));
|
||||||
|
}
|
||||||
|
|
||||||
|
function ApproveRequest()
|
||||||
|
{
|
||||||
|
$Status= Trim($_GET['Status']);
|
||||||
|
|
||||||
|
$ReqNo= $_GET['ReqNo'];
|
||||||
|
$Remarks = trim($this->input->post('id'));
|
||||||
|
$ApprovedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$ApprovedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>$Status,'Comments'=>$Remarks,'ApprovedOn'=>$ApprovedDate,'Approvedby'=>$ApprovedBy);
|
||||||
|
$this->requistion_model->UpdateRequistion($Request,$ReqNo);
|
||||||
|
echo "Successfully Updated the Requistion No: ".$ReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
542
application/controllers/requisitionform.php~
Normal file
542
application/controllers/requisitionform.php~
Normal file
@ -0,0 +1,542 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : requisitionform (requisitionformController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class requisitionform extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the Requistion
|
||||||
|
*/
|
||||||
|
function requisitionlisting()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Listing';
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
// $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID);
|
||||||
|
$data['Status'] = $this->requistion_model->CheckDraftStatus($userID);
|
||||||
|
|
||||||
|
$data['TotNoOfLine'] =$this->requistion_model->getRequistionList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlisting", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the requisition Form
|
||||||
|
*/
|
||||||
|
|
||||||
|
function requisition()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Raise Requisition';
|
||||||
|
|
||||||
|
$data['RequestType'] = $this->requistion_model->getConfigValue('C020');
|
||||||
|
|
||||||
|
$data['EmpList'] = $this->requistion_model->getAllEmployees();
|
||||||
|
$data['ServiceOption'] = $this->requistion_model->getConfigValue('C022');
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['Emp'] = $this->requistion_model->getEmpIdByUserID($userID);
|
||||||
|
|
||||||
|
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||||
|
|
||||||
|
$this->loadViews("requisitionform", $this->global, $data,null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the Requistion List Approval Screen
|
||||||
|
*/
|
||||||
|
function requisitionlistApproval()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Approval';
|
||||||
|
|
||||||
|
$data['Status']= $this->requistion_model->getStatus();
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['AppList'] = $this->requistion_model->getApproverRequistList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlistapproval", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Edit Requistion Form
|
||||||
|
*/
|
||||||
|
function EditRequistionForm()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Requisition';
|
||||||
|
|
||||||
|
$ReqNo= $_GET['ReqNo'];
|
||||||
|
$ReqType= $_GET['ReqType'];
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['ReqDetails'] = $this->requistion_model->getRequistDetails($ReqNo,'Yes');
|
||||||
|
|
||||||
|
|
||||||
|
$data['LineItem'] = $this->requistion_model->getEditRequistItemList($ReqNo);
|
||||||
|
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||||
|
$data['MaterialCode'] = $this->requistion_model->EditMaterialCode($ReqNo, $ReqType);
|
||||||
|
$data['ServiceOption'] = $this->requistion_model->getConfigValue('C022');
|
||||||
|
$this->loadViews("editrequisitionform", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the Requistion Items
|
||||||
|
*/
|
||||||
|
function DeleteRequistionForm()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqList= $this->input->post('id');
|
||||||
|
$ReqNo ='';
|
||||||
|
$MaterialCode = '';
|
||||||
|
if(count($ReqList) > 0)
|
||||||
|
{
|
||||||
|
$ReqNo = $ReqList[0];
|
||||||
|
$MaterialCode = $ReqList[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->requistion_model->DeleteRequistionLineItem( $ReqNo,$MaterialCode);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the Line item".$ReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the Requistion Items
|
||||||
|
*/
|
||||||
|
function DeleteReqNo()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqNo= $this->input->post('id');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>REQ_DELETED,'updatedOn'=>$updateddt);
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateRequistion( $Request,$ReqNo);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the ".$ReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function SearchRequistList()
|
||||||
|
{
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
$ReqValue = $this->input->post('SearchDate');
|
||||||
|
|
||||||
|
$Dt = explode("-",$ReqValue);
|
||||||
|
|
||||||
|
$FromDate ='';
|
||||||
|
$ToDate = '';
|
||||||
|
$Status= '';
|
||||||
|
if(count( $Dt)>1)
|
||||||
|
{
|
||||||
|
$FDate = $Dt[0]."-".$Dt[1]."-".$Dt[2];
|
||||||
|
$TDate = $Dt[3]."-".$Dt[4]."-".$Dt[5];
|
||||||
|
$FromDate = $this->getDateformat($FDate);
|
||||||
|
$ToDate = $this->getDateformat($TDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
$St = $this->input->post('RequisitionStatus');
|
||||||
|
|
||||||
|
if($St == "-1")
|
||||||
|
{
|
||||||
|
$Status = '';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Status = $St;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['AppList'] = $this->requistion_model->getApproverRequistList($userID,$Status,$FromDate, $ToDate);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Requisition Approval';
|
||||||
|
|
||||||
|
$data['Status']= $this->requistion_model->getStatus();
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlistapproval", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the Employee details based on the EmpID selection
|
||||||
|
*/
|
||||||
|
function GetSelectedEmpDetails()
|
||||||
|
{
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
$EmpID = $this->input->post('id');
|
||||||
|
$empDetails = $this->requistion_model->GetEmployeeDetails( $EmpID );
|
||||||
|
$DeptCode = $empDetails[0]['DEPCode'];
|
||||||
|
$CostList = $this->requistion_model->GetCostCenterByDept( $DeptCode);
|
||||||
|
$HTML = "<option value='-1'>Select Cost center</option>";
|
||||||
|
$BudAmount = "";
|
||||||
|
if(count($CostList) > 0)
|
||||||
|
{
|
||||||
|
for ($j = 0; $j < count($CostList); $j++)
|
||||||
|
{
|
||||||
|
$Code = $CostList[$j]['CostCenterCode'];
|
||||||
|
$Name = $CostList[$j]['CostCenterName'];
|
||||||
|
$HTML .="<option value='".$Code."'>".$Code."-".$Name."</option>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(count($CostList) == 1)
|
||||||
|
{
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$Year = $dt->format('Y');
|
||||||
|
$CostCode = $CostList[0]['CostCenterCode'];
|
||||||
|
|
||||||
|
$Cost = $this->requistion_model->GetAvailableBudgetAmount( $CostCode,$Year,$ReqType);
|
||||||
|
if(count($Cost) >0)
|
||||||
|
{
|
||||||
|
$BudAmount = $Cost[0]['BudgetAmount'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
die(json_encode(array('emp' => $empDetails,'Cost' => $HTML,'AvlAmount' => $BudAmount)));
|
||||||
|
}
|
||||||
|
|
||||||
|
function getAvailableBudAmount()
|
||||||
|
{
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
$CostCode= $this->input->post('id');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$Year = $dt->format('Y');
|
||||||
|
|
||||||
|
$Cost = $this->requistion_model->GetAvailableBudgetAmount( $CostCode,$Year,$ReqType);
|
||||||
|
|
||||||
|
die(json_encode(array('Cost' =>$Cost)));
|
||||||
|
}
|
||||||
|
// To get the Material code based on the Request type
|
||||||
|
function getMaterialCode()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqType= $this->input->post('id');
|
||||||
|
|
||||||
|
$MaterialCode = $this->requistion_model->GetMaterialCode( $ReqType);
|
||||||
|
$MaterialName = "";
|
||||||
|
$UOM = "";
|
||||||
|
$HTML = "<option value='-1'>Select Material Type</option>";
|
||||||
|
|
||||||
|
if(count($MaterialCode) > 0)
|
||||||
|
{
|
||||||
|
for ($j = 0; $j < count($MaterialCode); $j++)
|
||||||
|
{
|
||||||
|
$Code = $MaterialCode[$j]['MaterialCode'];
|
||||||
|
$Name = $MaterialCode[$j]['MaterialName'];
|
||||||
|
$HTML .="<option value='".$Code."'>".$Code."-".$Name."</option>";
|
||||||
|
|
||||||
|
}
|
||||||
|
$MaterialName = $MaterialCode[0]['MaterialName'];
|
||||||
|
$UOM = $MaterialCode[0]['UOM'];
|
||||||
|
}
|
||||||
|
|
||||||
|
die(json_encode(array('Material' =>$HTML,'MaterialName'=>$MaterialName,'UOM'=>$UOM)));
|
||||||
|
}
|
||||||
|
|
||||||
|
// To get the Material value based on the MaterialCode
|
||||||
|
function getMaterialDetails()
|
||||||
|
{
|
||||||
|
|
||||||
|
$Material= $this->input->post('id');
|
||||||
|
|
||||||
|
$MaterialDetails = $this->requistion_model->getRawMaterialList($Material);
|
||||||
|
|
||||||
|
|
||||||
|
die(json_encode(array('MatDetail' =>$MaterialDetails)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
To Insert the Requistion Details to Database
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* This function is used to add new Cost to the system
|
||||||
|
*/
|
||||||
|
function addNewRequistion()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('RequestType','RequestType','trim|required');
|
||||||
|
$this->form_validation->set_rules('EmpID','EmpID','trim|required');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->requisition();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Status= $_GET['ID'];
|
||||||
|
$RequestType = strtoupper(trim($this->input->post('RequestType')));
|
||||||
|
$Requestedby = strtoupper(trim($this->input->post('EmpID')));
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
$serviceSchedule = $this->input->post('serviceSchedule');
|
||||||
|
$servicePeriod = $this->input->post('servicePeriod');
|
||||||
|
$noOfService = $this->input->post('noOfService');
|
||||||
|
|
||||||
|
$IsExists = $this->requistion_model->RequistionIsExists($Requestedby);
|
||||||
|
// print_r($IsExists);
|
||||||
|
|
||||||
|
if(count( $IsExists) == 0)
|
||||||
|
{
|
||||||
|
//echo 'Not Exists';
|
||||||
|
$Request = array('ReqType'=>$RequestType, 'Requestedby'=>$Requestedby,'ReqDate'=>$createddt,'CostCenterCode'=>$CostCenter,'Status'=>$Status,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
|
||||||
|
//print_r($Request);
|
||||||
|
|
||||||
|
$Req = $this->requistion_model->addRequistion($Request);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo 'Exists';
|
||||||
|
$Request = array('ReqType'=>$RequestType, 'Requestedby'=>$Requestedby,'ReqDate'=>$createddt,'Status'=>$Status,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request,$IsExists[0]['ReqNo']);
|
||||||
|
}
|
||||||
|
$ReqNumber = '';
|
||||||
|
if(count($Req)>0)
|
||||||
|
{
|
||||||
|
$ReqNumber = $Req[0]['ReqNo'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqNumber = $IsExists[0]['ReqNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$SkipInsert = False;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('Quantity'.$i);
|
||||||
|
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity);
|
||||||
|
$this->requistion_model->addRequistionDetails($ReqDetails);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
if($Status == REQ_DRAFT)
|
||||||
|
{
|
||||||
|
echo 'Successfully Saved the Requistion details';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo 'Successfully Created the Requistion details';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
function EditRequistion()
|
||||||
|
{
|
||||||
|
$Status = $this->input->post('txtStatus');
|
||||||
|
$ReqNumber = $this->input->post('txtReqNo');
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$serviceSchedule = $this->input->post('serviceSchedule');
|
||||||
|
$servicePeriod = $this->input->post('servicePeriod');
|
||||||
|
$noOfService = $this->input->post('noOfService');
|
||||||
|
if(strlen($Status) > 1)
|
||||||
|
{
|
||||||
|
$Request = array( 'Status'=>$Status,'CreatedDate'=>$updatedDate,'CreatedBy'=>$UpdatedBy,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request, $ReqNumber);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Request = array( 'Status'=>REQ_PENDING_APPROVAL,'updatedOn'=>$updatedDate,'CostCenterCode'=>$CostCenter,'Schedule_Type'=>$serviceSchedule,'NumberOfService'=>$noOfService,'Service_Period'=>$servicePeriod);
|
||||||
|
$UpdateReq = $this->requistion_model->UpdateRequistion($Request, $ReqNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
|
||||||
|
/* Table value update and Insert in the table */
|
||||||
|
//echo "RowCOunt:" .$RowCount;
|
||||||
|
$SkipInsert = False;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('Quantity'.$i);
|
||||||
|
$IsExists = $this->requistion_model->LineItemIsExists($ReqNumber,$MaterialCode);
|
||||||
|
if(count( $IsExists) == 0)
|
||||||
|
{
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
$this->requistion_model->addRequistionDetails($ReqDetails);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqDetails = array('ReqNo'=>$ReqNumber, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
$this->requistion_model->UpdateRequistionLineItem($ReqDetails,$ReqNumber,$MaterialCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
echo 'Successfully updated the Requistion details';
|
||||||
|
// $this->requisitionlisting();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
/* To Edit the request*/
|
||||||
|
function ViewRequest()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqNo= $this->input->post('id');
|
||||||
|
$result = $this->requistion_model->getRequistItemList($ReqNo);
|
||||||
|
$ReqList = $this->requistion_model->getRequistDetails($ReqNo);
|
||||||
|
$DepNo = $ReqList[0]['DEPCode'];
|
||||||
|
//$CostList = $this->requistion_model->GetCostCenterByDept($DepNo);
|
||||||
|
$HTML="";
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$SNo = $i + 1;
|
||||||
|
$MaterialCode = $result[$i]['MaterialCode'];
|
||||||
|
$MaterialName = $result[$i]['MaterialName'];
|
||||||
|
$UOM = $result[$i]['UOM'];
|
||||||
|
$Quantity = $result[$i]['Quantity'];
|
||||||
|
$Quantity = $result[$i]['Quantity'];
|
||||||
|
$POQTY = $result[$i]['POQTY'];
|
||||||
|
$StatusName= $result[$i]['StatusName'];
|
||||||
|
$HTML.="<tr id='".$i."'>
|
||||||
|
<td align='left'>".$SNo."</td>
|
||||||
|
<td align='left'>". $MaterialCode."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$MaterialName."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$UOM."</td>
|
||||||
|
<td align='left'>".$Quantity."</td>
|
||||||
|
<td align='left'>".$POQTY."</td>
|
||||||
|
<td align='left'>".$StatusName."</td>
|
||||||
|
</tr>";
|
||||||
|
|
||||||
|
//$index = $index + 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
$CostCode = '';
|
||||||
|
$ReqType = '';
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$Year = $dt->format('Y');
|
||||||
|
if(count($ReqList)>0)
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqType = $ReqList[0]['ReqType'];
|
||||||
|
|
||||||
|
$CostCode = $ReqList[0]['CostCenterCode'];
|
||||||
|
}
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType);
|
||||||
|
//print_r($result);
|
||||||
|
$AvilBudAmt = '0';
|
||||||
|
if(count($AvlBudget)>0)
|
||||||
|
{
|
||||||
|
$AvilBudAmt = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue'];
|
||||||
|
}
|
||||||
|
//echo $AvilBudAmt;
|
||||||
|
die(json_encode(array('Items' =>$HTML,'Requist'=>$ReqList,'AvilBudAmount'=>number_format($AvilBudAmt,2))));
|
||||||
|
}
|
||||||
|
|
||||||
|
function ApproveRequest()
|
||||||
|
{
|
||||||
|
$Status= Trim($_GET['Status']);
|
||||||
|
|
||||||
|
$ReqNo= $_GET['ReqNo'];
|
||||||
|
$Remarks = trim($this->input->post('id'));
|
||||||
|
$ApprovedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$ApprovedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>$Status,'Comments'=>$Remarks,'ApprovedOn'=>$ApprovedDate,'Approvedby'=>$ApprovedBy);
|
||||||
|
$this->requistion_model->UpdateRequistion($Request,$ReqNo);
|
||||||
|
echo "Successfully Updated the Requistion No: ".$ReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
496
application/controllers/servicepurchaseorder.php
Normal file
496
application/controllers/servicepurchaseorder.php
Normal file
@ -0,0 +1,496 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : purchaseorder (PurchaseorderController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class servicepurchaseorder extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
function viewServicePOReportForBilling()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Service Purchase Order for Billing';
|
||||||
|
|
||||||
|
$data["Billing"] = $this->purchaseorder_model->GetServicePOListforBilling();
|
||||||
|
|
||||||
|
//print_r($data["Billing"]);
|
||||||
|
|
||||||
|
$this->loadViews("serviceporeport", $this->global,$data,null);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function UpdateServicePOStatus()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Update Service PO Status';
|
||||||
|
$data['PO'] = $this->purchaseorder_model->GetServicePOListforStatusUpdate();
|
||||||
|
$data['WorkStatus']=$this->purchaseorder_model->getStatus(7);
|
||||||
|
|
||||||
|
$this->loadViews("statusofservicepurchaseorder", $this->global,$data,Null);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getPODetails()
|
||||||
|
{
|
||||||
|
$PONO = $this->input->post('id');
|
||||||
|
$PO=$PONO;
|
||||||
|
$result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PO);
|
||||||
|
$HTML="";
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$SNo = $i + 1;
|
||||||
|
$ReqNo = $result[$i]['ReqNo'];
|
||||||
|
$Reqedby = $result[$i]['FirstName'];
|
||||||
|
$ReqDate = $result[$i]['ReqDate'];
|
||||||
|
$SupplierID = $result[$i]['SupplierName'];
|
||||||
|
$Workstatus = $result[$i]['WorkStatus'];
|
||||||
|
$MaterialCode = $result[$i]['MaterialCode'];
|
||||||
|
$Description = $result[$i]['ServiceMaterialDescription'];
|
||||||
|
$UOM = $result[$i]['UOM'];
|
||||||
|
$Quantity = $result[$i]['Quantity'];
|
||||||
|
$Rate = $result[$i]['Rate'];
|
||||||
|
$rdate = new dateTime($result[$i]['ReqDate']);
|
||||||
|
$ReqDate = $rdate->format('d-m-Y');
|
||||||
|
|
||||||
|
|
||||||
|
$HTML.="<tr id='".$SNo."'>
|
||||||
|
<td align='left'>".$SNo."</td>
|
||||||
|
<td align='left'>". $ReqNo."</td>
|
||||||
|
<td align='left'>".$Reqedby."</td>
|
||||||
|
<td align='left'>".$ReqDate."</td>
|
||||||
|
<td align='left'>".$SupplierID."</td>
|
||||||
|
<td align='left'>".$MaterialCode."</td>
|
||||||
|
<td align='left' >".$Description."</td>
|
||||||
|
<td align='left'>".$UOM."</td>
|
||||||
|
<td align='left'>".$Quantity."</td>
|
||||||
|
<td align='left'>".$Rate."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$Workstatus."</td>
|
||||||
|
</tr>";
|
||||||
|
}
|
||||||
|
|
||||||
|
echo $HTML;
|
||||||
|
}
|
||||||
|
|
||||||
|
function UpdateServiceStatus()
|
||||||
|
{
|
||||||
|
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
|
$WorkStatus = $this->input->post('WorkStatus');
|
||||||
|
|
||||||
|
|
||||||
|
$Remarks = $this->input->post('Remarks');
|
||||||
|
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
if($WorkStatus== SERVICE_COMPLETED ){
|
||||||
|
$POStatus=PO_SERVICE_COMPLETED;
|
||||||
|
$POList = array('UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'ServiceWorkStatusRemarks'=>$Remarks,'ServiceWorkStatus'=>$WorkStatus,'Status'=>$POStatus);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$PO=$PONO;
|
||||||
|
$result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PO);
|
||||||
|
|
||||||
|
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = $result[$i]['MaterialCode'];
|
||||||
|
|
||||||
|
$ReqList = $this->purchaseorder_model->updateReqDetail($PONO,$POStatus,$MaterialCode);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// $ReqList = $this->purchaseorder_model->updateReqDetail($PONO,$POStatus);
|
||||||
|
$this->purchaseorder_model->UpdateReceivedQtyforServicePO($PONO,$updateddt,$updatedBy);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$POList = array('UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'ServiceWorkStatusRemarks'=>$Remarks,'ServiceWorkStatus'=>$WorkStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
||||||
|
|
||||||
|
$this->UpdateServicePOStatus();
|
||||||
|
echo "<script>alert('Successfully Updated the workStatus of the PO ".$PONO."')</script>";
|
||||||
|
}
|
||||||
|
// To get the available Budget Amount
|
||||||
|
function AvilBudgetAmount()
|
||||||
|
{
|
||||||
|
// echo 'Controller called';
|
||||||
|
$this->load->model('costcenter_model');
|
||||||
|
$CostCode = $this->input->post('id');
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
$FYStart = '';
|
||||||
|
$FYEnd = '';
|
||||||
|
$FiscalYear = $this->costcenter_model->getFiscalYear();
|
||||||
|
if(!empty($FiscalYear))
|
||||||
|
{
|
||||||
|
foreach ($FiscalYear as $Fy)
|
||||||
|
{
|
||||||
|
$FYStart =$Fy->StartYear;
|
||||||
|
$FYEnd =$Fy->EndYear;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$FYdt = $FYStart." - ".$FYEnd ;
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$result = array();
|
||||||
|
|
||||||
|
if($ReqType== CAPITAL)
|
||||||
|
{
|
||||||
|
$result = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
}
|
||||||
|
else if($ReqType== IMPORT)
|
||||||
|
{
|
||||||
|
$result = $this->purchaseorder_model->GetAvailableImportBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
}
|
||||||
|
//print_r($result);
|
||||||
|
$AvilBudAmt = '0';
|
||||||
|
if(count($result)>0)
|
||||||
|
{
|
||||||
|
$AvilBudAmt = $result[0]['BudgetAmount'] - $result[0]['Totalvalue'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// echo 'Test';
|
||||||
|
print_r($AvilBudAmt);
|
||||||
|
//die(json_encode(array('Cost' => $AvilBudAmt)));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val,new DateTimeZone('Asia/Kolkata'));
|
||||||
|
// print_r($date);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
//This used to Create Service Purchase Order
|
||||||
|
function addNewServicePurchaseOrder()
|
||||||
|
{
|
||||||
|
|
||||||
|
$POdt =$this->input->post('PODate');
|
||||||
|
$PODate = $this->getDateformat($POdt);
|
||||||
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
|
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||||
|
$dt = $this->input->post('Deliverydt');
|
||||||
|
//$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
if($DeliveryOption==1)
|
||||||
|
{
|
||||||
|
$Deliverydt = '';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
$ModeOfShipment=$this->input->post('addmodeofshipment');
|
||||||
|
$SupplierReference=$this->input->post('addsupplierreference');
|
||||||
|
$SuppliersOfferNo=$this->input->post('addsupplierofferno');
|
||||||
|
$OtherReferences=$this->input->post('addotherreference');
|
||||||
|
$Fincap=$this->input->post('addfincap');
|
||||||
|
$InsuranceOptions=$this->input->post('insuranceStatus');
|
||||||
|
$InsuranceNo=$this->input->post('insuranceNo');
|
||||||
|
$ServiceTypeOptions=$this->input->post('PoTypeOptions');
|
||||||
|
$DescriptionOfPo = $this->input->post('descofpo');
|
||||||
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
|
$OtherPayment=$this->input->post('Otherpayment');
|
||||||
|
|
||||||
|
$POType = $this->input->post('POType');
|
||||||
|
|
||||||
|
$SpcialInstruction = $this->input->post('ScopeOfWork');
|
||||||
|
$TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary');
|
||||||
|
$POStatus = $this->input->post('txtStatus');
|
||||||
|
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$WorkStatus=$this->input->post('workstatus');
|
||||||
|
// PO Master
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus, 'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption, 'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'PaymentTerms'=>$PaymentTerms,'ServiceWorkStatus'=>$WorkStatus,'POType'=>$POType,'PaymentOtherDescription'=>$OtherPayment,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions);
|
||||||
|
|
||||||
|
$POMaster = $this->purchaseorder_model->addPOMaster($POList,$POType,$ServiceTypeOptions);
|
||||||
|
|
||||||
|
$PONO = '';
|
||||||
|
if(count($POMaster)>0)
|
||||||
|
{
|
||||||
|
$PONO = $POMaster[0]['PONO'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// PO Line Items
|
||||||
|
$LineItemStatus = REQITEM_NEW;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$Per = $this->input->post('per'.$i);
|
||||||
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
$Cgst = $this->input->post('Cgst'.$i);
|
||||||
|
$Sgst = $this->input->post('Sgst'.$i);
|
||||||
|
$Igst = $this->input->post('Igst'.$i);
|
||||||
|
$AfterCgst = $this->input->post('AfterCgst'.$i);
|
||||||
|
$AfterSgst = $this->input->post('AfterSgst'.$i);
|
||||||
|
$AfterIgst = $this->input->post('AfterIgst'.$i);
|
||||||
|
$CostCenter = $this->input->post('costCode'.$i);
|
||||||
|
$ServiceFrequency=$this->input->post('Frequency'.$i);
|
||||||
|
$ItemDescription = $this->input->post('ItemDescription'.$i);
|
||||||
|
$OtherAmt = $this->input->post('OtherAmt'.$i);
|
||||||
|
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||||
|
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
|
||||||
|
$RetItemNo = $this->requistion_model->getItemNumber($Reqnumber,$MaterialCode);
|
||||||
|
|
||||||
|
$ItemNo = '';
|
||||||
|
if(count($RetItemNo)>0)
|
||||||
|
{
|
||||||
|
$ItemNo = $RetItemNo[0]['ItemNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter,'ServiceFrequency'=>$ServiceFrequency,'ServiceMaterialDescription'=>$ItemDescription,'Per'=>$Per,'ItemNo'=>$ItemNo);
|
||||||
|
|
||||||
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
|
||||||
|
$LineItemNo = '';
|
||||||
|
|
||||||
|
if(count($POLineItem)>0)
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
|
}
|
||||||
|
//echo $LineItemNo;
|
||||||
|
|
||||||
|
if(trim($POType) == SERVICE )
|
||||||
|
{
|
||||||
|
// echo 'Success';
|
||||||
|
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
echo 'Service Purchase Order Created Successfully!The PO NO Is: '.$PONO;
|
||||||
|
|
||||||
|
}
|
||||||
|
//update service po
|
||||||
|
function UpdateServicePurchaseOrder()
|
||||||
|
{
|
||||||
|
$PONO =$this->input->post('txtPONO');
|
||||||
|
//echo $PONO;
|
||||||
|
$POdt =$this->input->post('PODate');
|
||||||
|
$PODate = $this->getDateformat($POdt);
|
||||||
|
|
||||||
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
|
$DeliveryAddr = $this->input->post('txtDeliveryAddress');
|
||||||
|
$dt = $this->input->post('Deliverydt');
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
if($DeliveryOption==1){
|
||||||
|
$Deliverydt = '';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$ModeOfShipment=$this->input->post('editmodeofshipment');
|
||||||
|
$SupplierReference=$this->input->post('editsupplierreference');
|
||||||
|
$SuppliersOfferNo=$this->input->post('editsupplierofferno');
|
||||||
|
$OtherReferences=$this->input->post('editotherreference');
|
||||||
|
$Fincap=$this->input->post('editfincap');
|
||||||
|
$InsuranceOptions=$this->input->post('insuranceStatus');
|
||||||
|
$InsuranceNo=$this->input->post('insuranceNo');
|
||||||
|
$ServiceTypeOptions=$this->input->post('PoTypeOptions');
|
||||||
|
$DescriptionOfPo = $this->input->post('editdescofpo');
|
||||||
|
|
||||||
|
|
||||||
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
|
$OtherPayment=$this->input->post('Otherpayment');
|
||||||
|
|
||||||
|
$POType = $this->input->post('POType');
|
||||||
|
|
||||||
|
$SpcialInstruction = $this->input->post('ScopeofWork');
|
||||||
|
$TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary');
|
||||||
|
$POStatus = $this->input->post('txtStatus');
|
||||||
|
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$WorkStatus=$this->input->post('workstatus');
|
||||||
|
|
||||||
|
|
||||||
|
// PO Master
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'ServiceWorkStatus'=>$WorkStatus,'PaymentOtherDescription'=>$OtherPayment,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions);
|
||||||
|
|
||||||
|
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
||||||
|
|
||||||
|
$LineItemStatus = REQITEM_NEW;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
$Cgst = $this->input->post('Cgst'.$i);
|
||||||
|
$Sgst = $this->input->post('Sgst'.$i);
|
||||||
|
$Igst = $this->input->post('Igst'.$i);
|
||||||
|
$AfterCgst = $this->input->post('AfterCgst'.$i);
|
||||||
|
$AfterSgst = $this->input->post('AfterSgst'.$i);
|
||||||
|
$AfterIgst = $this->input->post('AfterIgst'.$i);
|
||||||
|
$CostCenter = $this->input->post('costCode'.$i);
|
||||||
|
$ServiceFrequency=$this->input->post('Frequency'.$i);
|
||||||
|
$POLineItemNo = $this->input->post('LineItemNo'.$i);
|
||||||
|
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||||
|
$ItemDescription = $this->input->post('ItemDescription'.$i);
|
||||||
|
$OtherAmt = $this->input->post('OtherAmt'.$i);
|
||||||
|
$Per = $this->input->post('per'.$i);
|
||||||
|
|
||||||
|
$POLineItem = array();
|
||||||
|
$LineItemNo = '';
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
if(strlen($POLineItemNo) == 0)
|
||||||
|
{
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
|
||||||
|
$RetItemNo = $this->requistion_model->getItemNumber($Reqnumber,$MaterialCode);
|
||||||
|
|
||||||
|
$ItemNo = '';
|
||||||
|
if(count($RetItemNo)>0)
|
||||||
|
{
|
||||||
|
$ItemNo = $RetItemNo[0]['ItemNo'];
|
||||||
|
}
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'CostCenterCode'=>$CostCenter,'ServiceFrequency'=>$ServiceFrequency,'ServiceMaterialDescription'=>$ItemDescription,'Per'=>$Per,'ItemNo'=>$ItemNo);
|
||||||
|
|
||||||
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
if(count($POLineItem)>0)
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItemNo;
|
||||||
|
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'CostCenterCode'=>$CostCenter,'ServiceMaterialDescription'=>$ItemDescription,'Per'=>$Per);
|
||||||
|
$POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$POLineItemNo,$POLineItemList);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(trim($POType) == SERVICE )
|
||||||
|
{
|
||||||
|
$isExists = $this->purchaseorder_model->LineItemExists($LineItemNo);
|
||||||
|
|
||||||
|
if(count($isExists) == 0)
|
||||||
|
{
|
||||||
|
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ServiceTaxList1 = array('CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$this->purchaseorder_model->updateServiceTax($LineItemNo,$ServiceTaxList1);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO;
|
||||||
|
}
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
325
application/controllers/servicepurchaseorder.php~
Normal file
325
application/controllers/servicepurchaseorder.php~
Normal file
@ -0,0 +1,325 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : purchaseorder (PurchaseorderController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class servicepurchaseorder extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->model('requistion_model');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// To get the available Budget Amount
|
||||||
|
function AvilBudgetAmount()
|
||||||
|
{
|
||||||
|
// echo 'Controller called';
|
||||||
|
$CostCode = $this->input->post('id');
|
||||||
|
$ReqType = $_GET['ReqType'];
|
||||||
|
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
|
||||||
|
$Year = $dt->format('Y');
|
||||||
|
$this->load->model('purchaseorder_model');
|
||||||
|
$result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType);
|
||||||
|
//print_r($result);
|
||||||
|
$AvilBudAmt = '0';
|
||||||
|
if(count($result)>0)
|
||||||
|
{
|
||||||
|
$AvilBudAmt = $result[0]['BudgetAmount'] - $result[0]['Totalvalue'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// echo 'Test';
|
||||||
|
print_r($AvilBudAmt);
|
||||||
|
//die(json_encode(array('Cost' => $AvilBudAmt)));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val,new DateTimeZone('Asia/Kolkata'));
|
||||||
|
// print_r($date);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
//This used to Create Service Purchase Order
|
||||||
|
function addNewServicePurchaseOrder()
|
||||||
|
{
|
||||||
|
|
||||||
|
$POdt =$this->input->post('PODate');
|
||||||
|
$PODate = $this->getDateformat($POdt);
|
||||||
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
|
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||||
|
$dt = $this->input->post('Deliverydt');
|
||||||
|
//$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
if($DeliveryOption==1)
|
||||||
|
{
|
||||||
|
$Deliverydt = '';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
|
|
||||||
|
|
||||||
|
$POType = $this->input->post('POType');
|
||||||
|
|
||||||
|
$SpcialInstruction = $this->input->post('ScopeOfWork');
|
||||||
|
$TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary');
|
||||||
|
$POStatus = $this->input->post('txtStatus');
|
||||||
|
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$WorkStatus=$this->input->post('workstatus');
|
||||||
|
// PO Master
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus, 'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption, 'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'PaymentTerms'=>$PaymentTerms,'ServiceWorkStatus'=>$WorkStatus,'POType'=>$POType );
|
||||||
|
|
||||||
|
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
|
||||||
|
|
||||||
|
$PONO = '';
|
||||||
|
if(count($POMaster)>0)
|
||||||
|
{
|
||||||
|
$PONO = $POMaster[0]['PONO'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// PO Line Items
|
||||||
|
$LineItemStatus = REQITEM_NEW;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
$Cgst = $this->input->post('Cgst'.$i);
|
||||||
|
$Sgst = $this->input->post('Sgst'.$i);
|
||||||
|
$Igst = $this->input->post('Igst'.$i);
|
||||||
|
$AfterCgst = $this->input->post('AfterCgst'.$i);
|
||||||
|
$AfterSgst = $this->input->post('AfterSgst'.$i);
|
||||||
|
$AfterIgst = $this->input->post('AfterIgst'.$i);
|
||||||
|
$CostCenter = $this->input->post('costCode'.$i);
|
||||||
|
$ServiceFrequency=$this->input->post('Frequency'.$i);
|
||||||
|
$ItemDescription = $this->input->post('ItemDescription'.$i);
|
||||||
|
$OtherAmt = $this->input->post('OtherAmt'.$i);
|
||||||
|
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||||
|
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter,'ServiceFrequency'=>$ServiceFrequency,'ServiceMaterialDescription'=>$ItemDescription);
|
||||||
|
//print_r($POLineItemList);
|
||||||
|
//die();
|
||||||
|
|
||||||
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
|
||||||
|
$LineItemNo = '';
|
||||||
|
|
||||||
|
if(count($POLineItem)>0)
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
|
}
|
||||||
|
//echo $LineItemNo;
|
||||||
|
|
||||||
|
if(trim($POType) == SERVICE )
|
||||||
|
{
|
||||||
|
// echo 'Success';
|
||||||
|
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
echo 'Service Purchase Order Created Successfully!The PO NO Is: '.$PONO;
|
||||||
|
|
||||||
|
}
|
||||||
|
function UpdateServicePurchaseOrder()
|
||||||
|
{
|
||||||
|
$PONO =$this->input->post('txtPONO');
|
||||||
|
//echo $PONO;
|
||||||
|
$POdt =$this->input->post('PODate');
|
||||||
|
$PODate = $this->getDateformat($POdt);
|
||||||
|
|
||||||
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
|
$DeliveryAddr = $this->input->post('txtDeliveryAddress');
|
||||||
|
$dt = $this->input->post('Deliverydt');
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
if($DeliveryOption==1){
|
||||||
|
$Deliverydt = '';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
|
$Payableat=$this->input->post('PayableAT');
|
||||||
|
|
||||||
|
$POType = $this->input->post('POType');
|
||||||
|
|
||||||
|
$SpcialInstruction = $this->input->post('ScopeofWork');
|
||||||
|
$TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary');
|
||||||
|
$POStatus = $this->input->post('txtStatus');
|
||||||
|
|
||||||
|
$updatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$WorkStatus=$this->input->post('workstatus');
|
||||||
|
|
||||||
|
|
||||||
|
// PO Master
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'ServiceWorkStatus'=>$WorkStatus );
|
||||||
|
|
||||||
|
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
||||||
|
|
||||||
|
$LineItemStatus = REQITEM_NEW;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
$Cgst = $this->input->post('Cgst'.$i);
|
||||||
|
$Sgst = $this->input->post('Sgst'.$i);
|
||||||
|
$Igst = $this->input->post('Igst'.$i);
|
||||||
|
$AfterCgst = $this->input->post('AfterCgst'.$i);
|
||||||
|
$AfterSgst = $this->input->post('AfterSgst'.$i);
|
||||||
|
$AfterIgst = $this->input->post('AfterIgst'.$i);
|
||||||
|
$CostCenter = $this->input->post('costCode'.$i);
|
||||||
|
$ServiceFrequency=$this->input->post('Frequency'.$i);
|
||||||
|
$POLineItemNo = $this->input->post('LineItemNo'.$i);
|
||||||
|
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||||
|
$ItemDescription = $this->input->post('ItemDescription'.$i);
|
||||||
|
$OtherAmt = $this->input->post('OtherAmt'.$i);
|
||||||
|
|
||||||
|
$POLineItem = array();
|
||||||
|
$LineItemNo = '';
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
if(strlen($POLineItemNo) == 0)
|
||||||
|
{
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'CostCenterCode'=>$CostCenter,'ServiceFrequency'=>$ServiceFrequency,'ServiceMaterialDescription'=>$ItemDescription);
|
||||||
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
if(count($POLineItem)>0)
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$LineItemNo = $POLineItemNo;
|
||||||
|
|
||||||
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'CostCenterCode'=>$CostCenter,'ServiceMaterialDescription'=>$ItemDescription);
|
||||||
|
$POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$POLineItemNo,$POLineItemList);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(trim($POType) == SERVICE )
|
||||||
|
{
|
||||||
|
$isExists = $this->purchaseorder_model->LineItemExists($LineItemNo);
|
||||||
|
|
||||||
|
if(count($isExists) == 0)
|
||||||
|
{
|
||||||
|
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ServiceTaxList1 = array('CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'otherallowance'=>$OtherAmt);
|
||||||
|
|
||||||
|
$this->purchaseorder_model->updateServiceTax($LineItemNo,$ServiceTaxList1);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo 'Successfully updated the Service Purchase Order';
|
||||||
|
}
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
67
application/controllers/storerequisition.php
Normal file
67
application/controllers/storerequisition.php
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Cost Center (Cost Center Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class storerequisition extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
//$this->load->model('monthlypay_model');
|
||||||
|
$this->load->library('session');
|
||||||
|
$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'] = 'Siddharth : storesrequisitionslip';
|
||||||
|
|
||||||
|
//$this->loadviews('storesrequisitionslip',$this->global);
|
||||||
|
}
|
||||||
|
|
||||||
|
function addstorerequisitionslip()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Add Store Requisition';
|
||||||
|
|
||||||
|
$this->loadviews('addstorerequisitionslip',$this->global);
|
||||||
|
}
|
||||||
|
function storerequisitionlist()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Store Requisition List';
|
||||||
|
|
||||||
|
$this->loadviews('storerequisitionlist',$this->global);
|
||||||
|
}
|
||||||
|
function storerequisitionlisting()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Store Requisition Listing';
|
||||||
|
|
||||||
|
$this->loadviews('storerequisitionlisting',$this->global);
|
||||||
|
}
|
||||||
|
function approvalstorerequisition()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Approval Store Requisition';
|
||||||
|
|
||||||
|
$this->loadviews('approvalstorerequisitionslip',$this->global);
|
||||||
|
}
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
566
application/controllers/storerequisitionlist.php
Normal file
566
application/controllers/storerequisitionlist.php
Normal file
@ -0,0 +1,566 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Cost Center (Cost Center Controller)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : VenbaMail Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 Feb 2016
|
||||||
|
*/
|
||||||
|
class storerequisitionlist extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('storerequistion_model');
|
||||||
|
|
||||||
|
$this->load->library('session');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*ADD Store requisition line item
|
||||||
|
*/
|
||||||
|
function addstores()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : StoreRequisition Listing';
|
||||||
|
$userId= $this->session->userdata ('userId');
|
||||||
|
$data['DEPCode'] = $this->session->userdata('DEPCode');
|
||||||
|
$data['DepName'] = $this->session->userdata('DepartmentName');
|
||||||
|
|
||||||
|
$data['cost'] = $this->storerequistion_model->getCostUser($userId);
|
||||||
|
$data['MaterialList'] = $this->storerequistion_model->getRawMaterialList();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("addstorerequisitionslip", $this->global,$data,null);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function addstore()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : StoreRequisition Listing';
|
||||||
|
$userId= $this->session->userdata ('userId');
|
||||||
|
$data['Store'] = $this->storerequistion_model->Storeall($userId);
|
||||||
|
|
||||||
|
$this->loadViews("storerequisition", $this->global,$data,null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the StoreRequistion Items
|
||||||
|
*/
|
||||||
|
function DeleteReqNo()
|
||||||
|
{
|
||||||
|
|
||||||
|
$StoreReqNo= $this->input->post('id');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>REQ_DELETED,'updatedOn'=>$updateddt);
|
||||||
|
|
||||||
|
$this->storerequistion_model->UpdateRequistion($StoreReqNo,$Request);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the ".$StoreReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The Function Edit Store Requistion list */
|
||||||
|
function EditStoreRequistion()
|
||||||
|
{
|
||||||
|
$StoreReqNo = $_GET['StoreReqNo'];
|
||||||
|
|
||||||
|
//$StoreReqNo= $this->input->post('id');
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : StoreRequisition Listing';
|
||||||
|
$this->load->model('storerequistion_model');
|
||||||
|
$data['cost'] = $this->storerequistion_model->editRequistDetails($StoreReqNo);
|
||||||
|
|
||||||
|
$data['Status'] = $this->storerequistion_model->getStoreRequistionStatus($StoreReqNo);
|
||||||
|
|
||||||
|
$data['MaterialList'] = $this->storerequistion_model->getRawMaterialList();
|
||||||
|
|
||||||
|
$data['DepName'] = $this->session->userdata('DepartmentName');
|
||||||
|
$data['LineItem']=$this ->storerequistion_model->editstorerequistions($StoreReqNo);
|
||||||
|
|
||||||
|
$this->loadViews("editstorerequisition", $this->global,$data,null);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**get the date formatted**/
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**This function is used to add new StoreRequestion to the system */
|
||||||
|
|
||||||
|
function addNewRequistion()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
$DEPCode = $this->input->post('txtDepCode');
|
||||||
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
// echo $RowCount;
|
||||||
|
// die();
|
||||||
|
$Status = $this->input->post('txtStatus');
|
||||||
|
$Requestedby = $this->session->userdata ( 'EmpID' );
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
//echo 'done';
|
||||||
|
$StoreReqNo ='';
|
||||||
|
|
||||||
|
$StoreItemStatus =STORE_OPEN;
|
||||||
|
$Request = array( 'Requestedby'=>$Requestedby,'DepartmentCode'=>$DEPCode,'ReqDate'=>$createddt,'CostCenterCode'=>$CostCenter,'Status'=>$Status,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy);
|
||||||
|
//print_r($Request);
|
||||||
|
$Req = $this->storerequistion_model->addRequistion($Request);
|
||||||
|
|
||||||
|
if(count($Req)>0)
|
||||||
|
{
|
||||||
|
$StoreReqNo = $Req[0]['StoreReqNo'];
|
||||||
|
//printf_r($ReqNumber);
|
||||||
|
}
|
||||||
|
//echo $StoreReqNo;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$SkipInsert = False;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if( count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j];
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
$QuantityRequired=$this->input->post('Quantity'.$i);
|
||||||
|
$Remarks=$this->input->post('Remarks'.$i);
|
||||||
|
$Request = array('MaterialCode'=>$MaterialCode,'Status'=>$StoreItemStatus ,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks,'StoreReqNo'=>$StoreReqNo);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$addReq=$this->storerequistion_model->addstoreRequistion($Request);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if($Status == STORE_DRAFT)
|
||||||
|
{
|
||||||
|
echo 'Successfully Saved the Store Requistion details';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo 'Successfully Created the Store Requistion details';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function addstorerequisitionlist()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : StoreRequisition Listing';
|
||||||
|
$this->load->model('storerequistion_model');
|
||||||
|
|
||||||
|
$data['Status']= $this->storerequistion_model->getStatus();
|
||||||
|
$data['TotNoOfLine']=$this->storerequistion_model->getRequistionList();
|
||||||
|
//print_r($data['TotNoOfLine']);
|
||||||
|
$this->loadViews("storerequisitionlisting", $this->global,$data,null);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//To issue Store Requistion
|
||||||
|
function issuestorerequisition()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Issue StoreRequisition';
|
||||||
|
$this->load->model('storerequistion_model');
|
||||||
|
|
||||||
|
$StoreReqNo= $_GET['ReqNo'];
|
||||||
|
|
||||||
|
$data['ReqItem'] = $this->storerequistion_model->getRequistItemList($StoreReqNo);
|
||||||
|
$data['ReqListDetails'] = $this->storerequistion_model->getRequistDetails($StoreReqNo);
|
||||||
|
//print_r($data['ReqItem']);
|
||||||
|
$this->loadViews("issueStoreRequistion", $this->global,$data,null);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function UpdateIssueRequistion()
|
||||||
|
{
|
||||||
|
|
||||||
|
//echo 'ffd';
|
||||||
|
// die();
|
||||||
|
$ReqNO = $this->input->post('txtReqNo');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
//echo $RowCount;
|
||||||
|
//die();
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$UPdateby=$this->session->userdata('userId');
|
||||||
|
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$UPdateon = $date->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|
||||||
|
//$ItemStatus = STORE_ISSUSED;
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
// echo $MaterialCode;
|
||||||
|
$IssuedQuantity = $this->input->post('txtIssuedQuantity'.$i);
|
||||||
|
|
||||||
|
$Reqqty= $this->input->post('txtqty'.$i);
|
||||||
|
// echo $Reqqty;
|
||||||
|
// die();
|
||||||
|
$savedqty=$this->storerequistion_model->getSavedQty($ReqNO,$MaterialCode);
|
||||||
|
// if($reqstatus==)
|
||||||
|
// print_r($savedqty);
|
||||||
|
// die();
|
||||||
|
$Qtyissued=0;
|
||||||
|
foreach($savedqty as $Qty)
|
||||||
|
{
|
||||||
|
$Qtyissued=$Qty->QuantityIssued;
|
||||||
|
}
|
||||||
|
|
||||||
|
$ActQty=$Qtyissued+$IssuedQuantity;
|
||||||
|
// echo $ActQty;
|
||||||
|
// die();
|
||||||
|
|
||||||
|
|
||||||
|
if($Reqqty>$ActQty)
|
||||||
|
{
|
||||||
|
$ItemStatus = STORE_PARTIALLYISSUSED;
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ItemStatus = STORE_ISSUSED;
|
||||||
|
}
|
||||||
|
|
||||||
|
//echo $ItemStatus;
|
||||||
|
//die();
|
||||||
|
// echo'Material issed';
|
||||||
|
if(strlen($IssuedQuantity)>0)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$Remarks = $this->input->post('txtRemarks'.$i);
|
||||||
|
|
||||||
|
//echo $IssuedQuantity;
|
||||||
|
//die ();
|
||||||
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
|
||||||
|
|
||||||
|
$storerequisition = array('StoreReqNo'=>$ReqNO,'MaterialCode'=>$MaterialCode,'QuantityIssued'=>$ActQty,'Status'=>$ItemStatus,'StoreComments'=>$Remarks,'UpdatedOn'=>$createddt,'UpdatedBy'=>$CreatedBy);
|
||||||
|
|
||||||
|
|
||||||
|
//print_r($storerequisition);
|
||||||
|
//die();
|
||||||
|
|
||||||
|
|
||||||
|
$this->storerequistion_model->UpdateStoreRequistionItem($storerequisition,$ReqNO,$MaterialCode);
|
||||||
|
|
||||||
|
$getAvailableqty = $this->storerequistion_model->getItemQuantityFromStock(trim($MaterialCode));
|
||||||
|
|
||||||
|
if(count($getAvailableqty)>0)
|
||||||
|
{
|
||||||
|
$avlQty = $getAvailableqty[0]['Quantity'];
|
||||||
|
}
|
||||||
|
$BalanceQty=$avlQty-$IssuedQuantity;
|
||||||
|
// echo $BalanceQty;
|
||||||
|
// die();
|
||||||
|
$updatStock = array('Quantity'=>$BalanceQty,'Status'=>'0',
|
||||||
|
'Remarks'=>'Stock Deducted For'.$ReqNO,'UpdatedOn'=>$UPdateon,'UpdatedBy'=>$UPdateby);
|
||||||
|
|
||||||
|
$this->storerequistion_model->UpdateStock($updatStock,trim($MaterialCode));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$StoreReqNo=$ReqNO;
|
||||||
|
$reqstatus=$this->storerequistion_model->getstatuscount('ST037',$ReqNO);
|
||||||
|
$reqstatuscount=0;
|
||||||
|
//print_r($reqstatus);
|
||||||
|
foreach ($reqstatus as $Req)
|
||||||
|
{
|
||||||
|
$reqstatuscount=$Req->SCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if($reqstatuscount==$RowCount)
|
||||||
|
{
|
||||||
|
$reqStatus=STORE_ISSUSED;
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$reqStatus=STORE_PARTIALLYISSUSED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// echo $reqstatuscount;
|
||||||
|
|
||||||
|
$updatestatus=array('Status' =>$reqStatus);
|
||||||
|
|
||||||
|
$this->storerequistion_model->updatestoremaster($updatestatus,$StoreReqNo);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
//die();
|
||||||
|
echo "<script>alert('Updated Successfully!');</script>";
|
||||||
|
redirect('storerequisitionlisting','refresh');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
/* this function use to search StoreRequistlist*/
|
||||||
|
function SearchRequistLists()
|
||||||
|
{
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
|
||||||
|
$data['AppList'] = $this->storerequistion_model->getApproverRequistList($userID);
|
||||||
|
//print_r($data['AppList']);
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : ApprovalStoreRequisitionSlip';
|
||||||
|
$data['Status']= $this->storerequistion_model->getStatus();
|
||||||
|
|
||||||
|
$this->loadViews("approvalstorerequisitionslip", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Approve Completed*/
|
||||||
|
function ApproveRequest()
|
||||||
|
{
|
||||||
|
$Status= Trim($_GET['Status']);
|
||||||
|
|
||||||
|
//$StoreReqNo=$this->input->post('StoreReqNo');
|
||||||
|
$StoreReqNo = trim($this->input->post('id'));
|
||||||
|
$Remarks=trim($this->input->post('newcomments'));
|
||||||
|
$ApprovedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$ApprovedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Request = array('Status'=>$Status,'Comments'=>$Remarks,'ApprovedOn'=>$ApprovedDate,'Approvedby'=>$ApprovedBy);
|
||||||
|
$this->storerequistion_model->UpdateRequistion($StoreReqNo,$Request);
|
||||||
|
echo "Successfully Updated the Requistion No: ".$StoreReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the Requistion List Approval Screen
|
||||||
|
*/
|
||||||
|
function requisitionlistApproval()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth :Approvalstorerequisitionlist';
|
||||||
|
|
||||||
|
//$data['Status']= $this->storerequistion_model->getStatus();
|
||||||
|
|
||||||
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
|
$data['AppList'] = $this->storerequistion_model->getApproverRequistList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("requisitionlistapproval", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Edit the view store request*/
|
||||||
|
function ViewRequest()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$StoreReqNo= $this->input->post('id');
|
||||||
|
$result = $this->storerequistion_model->getRequistItemListApproval($StoreReqNo);
|
||||||
|
$ReqList = $this->storerequistion_model->getRequistDetails($StoreReqNo);
|
||||||
|
// $DepNo = $ReqList[0]['DepartmentName'];
|
||||||
|
|
||||||
|
$HTML="";
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$SNo = $i + 1;
|
||||||
|
$MaterialCode = $result[$i]['MaterialCode'];
|
||||||
|
$MaterialName = $result[$i]['MaterialName'];
|
||||||
|
$UOM = $result[$i]['UOM'];
|
||||||
|
$Quantity = $result[$i]['QuantityRequired'];
|
||||||
|
$IssuedQty=$result[$i]['QuantityIssued'];
|
||||||
|
$Status=$result[$i]['StatusName'];
|
||||||
|
$Remarks= $result[$i]['Remarks'];
|
||||||
|
$HTML.="<tr id='".$i."'>
|
||||||
|
<td align='left'>".$SNo."</td>
|
||||||
|
<td align='left'>".$MaterialCode."</td>
|
||||||
|
<td align='left'>".$MaterialName."</td>
|
||||||
|
<td align='left'>".$UOM."</td>
|
||||||
|
<td align='left'>".$Quantity."</td>
|
||||||
|
<td align='left'>".$IssuedQty."</td>
|
||||||
|
<td align='left'>".$Status."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$Remarks."</td>
|
||||||
|
|
||||||
|
</tr>";
|
||||||
|
|
||||||
|
//$index = $index + 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//print_r($ReqList);
|
||||||
|
die(json_encode(array('Items' =>$HTML,'Requist'=>$ReqList)));
|
||||||
|
}
|
||||||
|
|
||||||
|
//not completed
|
||||||
|
function UpdateStoreRequistion()
|
||||||
|
{
|
||||||
|
|
||||||
|
$CostCenter = $this->input->post('CostCenter');
|
||||||
|
|
||||||
|
|
||||||
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
$Status = $this->input->post('txtStatus');
|
||||||
|
$Requestedby = $this->session->userdata ( 'EmpID' );
|
||||||
|
|
||||||
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
$StoreReqNo =$this->input->post('txtReqNo');
|
||||||
|
|
||||||
|
|
||||||
|
$Requestedby = $this->input->post('RequestedBy');
|
||||||
|
|
||||||
|
//echo $CostCenter;
|
||||||
|
$UpdatedBy = $this->session->userdata ('userId' );
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|
||||||
|
if(strlen($Status) >1)
|
||||||
|
{
|
||||||
|
|
||||||
|
$Request = array('CostCenterCode'=>$CostCenter,'Status'=>$Status,'updatedOn'=>$updatedDate );
|
||||||
|
$UpdateReq = $this->storerequistion_model->UpdateRequistion($StoreReqNo,$Request);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$SkipInsert = False;
|
||||||
|
$StoreItemStatus =STORE_OPEN;
|
||||||
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$SkipInsert = "False";
|
||||||
|
if(count($comma_separated) > 0)
|
||||||
|
{
|
||||||
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
|
{
|
||||||
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
|
if($deletedRow == $i )
|
||||||
|
{
|
||||||
|
$SkipInsert = "True";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if($SkipInsert == "False")
|
||||||
|
{
|
||||||
|
//echo "string"; die();
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode'.$i);
|
||||||
|
|
||||||
|
$QuantityRequired=$this->input->post('Quantity'.$i);
|
||||||
|
|
||||||
|
$Remarks=$this->input->post('Remarks'.$i);
|
||||||
|
|
||||||
|
|
||||||
|
$IsExists = $this->storerequistion_model->LineItemIsExists($StoreReqNo,$MaterialCode);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(count( $IsExists) == 0)
|
||||||
|
{
|
||||||
|
$ReqDetails = array('StoreReqNo'=>$StoreReqNo, 'MaterialCode'=>$MaterialCode,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks,'Status'=>$StoreItemStatus,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
//print_r($ReqDetails);
|
||||||
|
//die();
|
||||||
|
|
||||||
|
$this->storerequistion_model->addstoreRequistion($ReqDetails);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ReqDetails = array('QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks,'Status'=>$StoreItemStatus,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
|
$this->storerequistion_model->UpdateRequistionLineItem($ReqDetails,$StoreReqNo,$MaterialCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo 'Successfully updated the Requistion details';
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the Delete the Requistion Items
|
||||||
|
*/
|
||||||
|
function DeleteRequistionForm()
|
||||||
|
{
|
||||||
|
|
||||||
|
$ReqList= $this->input->post('id');
|
||||||
|
$StoreReqNo ='';
|
||||||
|
$MaterialCode = '';
|
||||||
|
if(count($ReqList) > 0)
|
||||||
|
{
|
||||||
|
$StoreReqNo = $ReqList[0];
|
||||||
|
$MaterialCode = $ReqList[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->storerequistion_model->DeleteRequistionLineItem( $StoreReqNo,$MaterialCode);
|
||||||
|
|
||||||
|
echo "Successfully Deleted the Line item".$StoreReqNo;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
159
application/controllers/storestatus.php
Normal file
159
application/controllers/storestatus.php
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Supplier Controller (supplier)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Saravana kumar
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 4 July 2017
|
||||||
|
*/
|
||||||
|
class storestatus extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('store_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : Store Status';
|
||||||
|
|
||||||
|
$this->loadViews("storestatus", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Supplier list
|
||||||
|
*/
|
||||||
|
function storeavailability()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$this->load->model('supplier_model');
|
||||||
|
|
||||||
|
|
||||||
|
//$data['userRecords'] = $this->supplier_model->supplierListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : Store Status';
|
||||||
|
//viewStock
|
||||||
|
$data['Stock'] = $this->store_model->viewStock();
|
||||||
|
|
||||||
|
// print_r($data['Stock']);
|
||||||
|
$data['MaterialList'] = $this->store_model->GetAllMaterialList();
|
||||||
|
$data['StockStatus'] = $this->store_model->GetConfigValue('C021');
|
||||||
|
$this->loadViews("storestatus", $this->global, $data,null);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Supplier list
|
||||||
|
*/
|
||||||
|
function AddStock()
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = $this->input->post('MaterialCode');
|
||||||
|
$AvailableQty = $this->input->post('AddAvailableStock');
|
||||||
|
$AvailbilityStatus = $this->input->post('StockAvail');
|
||||||
|
$Remarks = $this->input->post('Remarks');
|
||||||
|
$CreatedBy = $this->session->userdata('EmpID');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Status = 1;
|
||||||
|
if(trim($AvailbilityStatus) == 'YES')
|
||||||
|
{
|
||||||
|
$Status = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//this array to store the value in master table..
|
||||||
|
$Stockdetails = array('MaterialCode'=>$MaterialCode,'Quantity'=>$AvailableQty,'Status'=>$Status,'Remarks'=>$Remarks, 'CreatedBy'=>$CreatedBy,'Createdon'=>$createddt);
|
||||||
|
|
||||||
|
$data['Stock'] = $this->store_model->addStock($Stockdetails);
|
||||||
|
echo 'Stock Added successfully';
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function UpdateStock()
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode = $this->input->post('EditMaterialCode');
|
||||||
|
$AvailableQty = $this->input->post('EditAvailableStock');
|
||||||
|
$AvailbilityStatus = $this->input->post('EditStockAvail');
|
||||||
|
$Remarks = $this->input->post('EditRemarks');
|
||||||
|
$CreatedBy = $this->session->userdata('EmpID');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
$Status = 1;
|
||||||
|
if(trim($AvailbilityStatus) == 'YES')
|
||||||
|
{
|
||||||
|
$Status = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//this array to store the value in master table..
|
||||||
|
$Stockdetails = array('Quantity'=>$AvailableQty,'Status'=>$Status,'Remarks'=>$Remarks, 'UpdatedBy'=>$CreatedBy,'updatedOn'=>$createddt);
|
||||||
|
|
||||||
|
$data['Stock'] = $this->store_model->UpdateStock($Stockdetails,$MaterialCode);
|
||||||
|
echo 'Stock updated successfully';
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function viewStockHistory()
|
||||||
|
{
|
||||||
|
|
||||||
|
$MaterialCode= $this->input->post('id');
|
||||||
|
|
||||||
|
$result = $this->store_model->GetStockHisory($MaterialCode);
|
||||||
|
|
||||||
|
$TotalStock = 0;
|
||||||
|
$HTML="";
|
||||||
|
for ($i = 0; $i < count($result); $i++)
|
||||||
|
{
|
||||||
|
$SNo = $i + 1;
|
||||||
|
|
||||||
|
$AvailableQty = $result[$i]['Quantity'];
|
||||||
|
$UpdatedStock = $result[$i]['ActualQuantity'];
|
||||||
|
$Remarks = $result[$i]['Remarks'];
|
||||||
|
$Updatedon= new DateTime($result[$i]['updatedOn']);
|
||||||
|
|
||||||
|
|
||||||
|
$HTML.="<tr id='".$i."'>
|
||||||
|
<td align='left'>".$SNo."</td>
|
||||||
|
<td align='left'>". $AvailableQty."</td>
|
||||||
|
|
||||||
|
<td align='left'>".$UpdatedStock."</td>
|
||||||
|
<td align='left'>".$Updatedon->format('d-m-Y')."</td>
|
||||||
|
<td align='left'>".$Remarks."</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>";
|
||||||
|
$TotalStock = $TotalStock + $UpdatedStock;
|
||||||
|
//$index = $index + 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
//print_r($HTML);
|
||||||
|
//echo $AvilBudAmt;
|
||||||
|
die(json_encode(array('History' =>$HTML,'AvalStock'=>$TotalStock)));
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
591
application/controllers/supplier.php
Normal file
591
application/controllers/supplier.php
Normal file
@ -0,0 +1,591 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Supplier Controller (supplier)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 12 Apr 2017
|
||||||
|
*/
|
||||||
|
class supplier extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('supplier_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->library('pagination');
|
||||||
|
$this->load->library('Excel');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("supplierListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Supplier list
|
||||||
|
*/
|
||||||
|
function supplierListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('supplier_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->supplier_model->supplierListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : Supplier Listing';
|
||||||
|
|
||||||
|
$this->loadViews("supplierListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new supplier */
|
||||||
|
function addsupplier()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$data['payment'] = $this->supplier_model->getpayment();
|
||||||
|
$data['payment'] = $this->supplier_model->getPaymentTerms();
|
||||||
|
//$data['users'] = $this->purchaseorder_model->getusers();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add New Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("addsupplier", $this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to check whether PAN already exist or not
|
||||||
|
*/
|
||||||
|
|
||||||
|
function CheckPAN()
|
||||||
|
{
|
||||||
|
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
|
||||||
|
$query = $this->supplier_model->checkPAN($id );
|
||||||
|
|
||||||
|
$query = $query[0]['PAN'];
|
||||||
|
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not for the selected Supplier */
|
||||||
|
function checkPanValidateSupplier() {
|
||||||
|
|
||||||
|
$SupplierID = $this->input->post('SupplierID');
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
// echo 'Sup'. $SupplierID ;
|
||||||
|
$query = $this->supplier_model->checkPAN($PanNo,$SupplierID);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidateSupplier', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not */
|
||||||
|
function checkPanValidate()
|
||||||
|
{
|
||||||
|
// alert('validation pan');
|
||||||
|
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
|
||||||
|
$query = $this->supplier_model->checkPAN($PanNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidate', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function CheckGST()
|
||||||
|
{
|
||||||
|
//alert('check validation GST');
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$query = $this->supplier_model->checkGST($id);
|
||||||
|
$query = $query[0]['GSTNO'];
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the GST Number is exists in the database or not for the selected Supplier */
|
||||||
|
function checkGstValidateSupplier() {
|
||||||
|
//alert(' gst validation GST');
|
||||||
|
$SupplierID = $this->input->post('SupplierID');
|
||||||
|
$GstNo = $this->input->post('GSTNo');
|
||||||
|
//echo 'Sup'. $SupplierID ;
|
||||||
|
$query = $this->supplier_model->checkGST($GstNo,$SupplierID);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkGstValidateSupplier', 'The Entered GST Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the GST Number is exists in the database or not */
|
||||||
|
function checkGstValidate()
|
||||||
|
{
|
||||||
|
|
||||||
|
$GstNo = $this->input->post('GSTNo');
|
||||||
|
$query = $this->supplier_model->checkGST($GstNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkGstValidate', 'The Entered GST Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to add new Supplier to the system
|
||||||
|
*/
|
||||||
|
function addNewsupplier()
|
||||||
|
{
|
||||||
|
|
||||||
|
$pan = $this->input->post('panno');
|
||||||
|
$this->form_validation->set_rules('SupplierName','Supplier Name','trim|required');
|
||||||
|
$this->form_validation->set_rules('Address','Address','trim|required|');
|
||||||
|
$this->form_validation->set_rules('ContactNumber','Contact Number','trim|required|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('emailid','emailid', 'valid_email|max_length[128]|required');
|
||||||
|
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||||
|
if($pan=='')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]|callback_checkPanValidate');
|
||||||
|
}
|
||||||
|
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidate');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addsupplier();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$Address = $this->input->post('Address');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$AlternateContactNumber = $this->input->post('AlternateContactNumber');
|
||||||
|
$EmailAddress = $this->input->post('emailid');
|
||||||
|
$Exiseregistration = $this->input->post('Exciseregistration');
|
||||||
|
$TIN = $this->input->post('TIN');
|
||||||
|
$PAN = strtoupper($this->input->post('panno'));
|
||||||
|
$GSTNo = strtoupper($this->input->post('GSTNo'));
|
||||||
|
$GSTRange = $this->input->post('GSTRange');
|
||||||
|
$CollectrateAddress = $this->input->post('CollectrateAddress');
|
||||||
|
$UANumber = $this->input->post('UANumber');
|
||||||
|
$CSTNo = $this->input->post('CSTNo');
|
||||||
|
$CSTDt = $this->input->post('dateofCST');
|
||||||
|
|
||||||
|
if($CSTDt != '' ){
|
||||||
|
if($CSTDt == '30/11/-0001'){
|
||||||
|
$CSTDate = null;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
|
||||||
|
//$CSTDate = $this->dateformat($CSTDt);
|
||||||
|
$CSTDate = $this->getDateformat($CSTDt);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$CSTDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$EMSNo = $this->input->post('EMSNo');
|
||||||
|
$TSNo = $this->input->post('TSNo');
|
||||||
|
$IMSNo = $this->input->post('IMSNo');
|
||||||
|
$ISONo = $this->input->post('ISONo');
|
||||||
|
$OSHASNo = $this->input->post('OSHASNo');
|
||||||
|
$accno = $this->input->post('accno');
|
||||||
|
$ifsc = $this->input->post('ifsc');
|
||||||
|
$branchname = $this->input->post('branchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$Createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$date = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddate = $date->format('d-m-Y H:i:s');
|
||||||
|
$service = $this->input->post('service');
|
||||||
|
$rawmaterial =$this->input->post('rawmaterial');
|
||||||
|
$maintenance = $this->input->post('maintanance');
|
||||||
|
$PaymentId = $this->input->post('paymentid');
|
||||||
|
|
||||||
|
|
||||||
|
$supplier = array('SupplierName'=>$SupplierName, 'Address'=>$Address, 'ContactNumber'=>$ContactNumber, 'AlternateContactNumber'=> $AlternateContactNumber,'EmailAddress'=>$EmailAddress,'Exiseregistration'=>$Exiseregistration,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNo'=>$GSTNo,'GSTRange'=>$GSTRange,'CollectrateAddress'=>$CollectrateAddress,'UANumber'=>$UANumber,'PaymentID'=>$PaymentId,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'Cert_EMS'=>$EMSNo, 'Cert_TS'=>$TSNo, 'Cert_IMS'=>$IMSNo, 'Cert_ISO'=>$ISONo, 'Cert_OSHAS'=>$OSHASNo, 'BankAcNumber'=>$accno, 'IFSCCode'=>$ifsc, 'BranchName'=>$branchname, 'BankAddress'=>$bankaddress,'Createdby'=>$Createdby,'IsService'=>$service,'IsMaintanance'=>$maintenance,'IsRawMaterial'=>$rawmaterial); //,'PaymentTerms'=>$PaymentTerms,'PaymentDays'=>$Payment,'PayableAT'=>$PayableAT);
|
||||||
|
|
||||||
|
$result = $this->supplier_model->addNewsupplier($supplier);
|
||||||
|
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('New Supplier Created successfully!');</script>";
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('Supplier Record Not Created!');</script>";
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
//this function used to dateformat to store in db
|
||||||
|
function dateformat($DateValue)
|
||||||
|
{
|
||||||
|
$date = DateTime::createFromFormat('d/m/Y', $DateValue);//we should give the date as per DatePicker format.
|
||||||
|
|
||||||
|
//if the date picker format is mismatched means it display as invalid date so that we can use this "IF" Conditions (i.e) If the above format returns false then the date is not formatted correctly
|
||||||
|
if ($date === false) {
|
||||||
|
return false;
|
||||||
|
//return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$retDate = $date->format('Y-m-d'); //in this line using the parsed date., we can create a new formatting for storing value to datebase ("we choosing date value based on datepicker")
|
||||||
|
// echo "<script>alert($retDate);</script>";
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to edit the Supplier information
|
||||||
|
*/
|
||||||
|
function editsupplier()
|
||||||
|
{ $pan = $this->input->post('panno');
|
||||||
|
$this->form_validation->set_rules('SupplierName','Supplier Name','trim|required');
|
||||||
|
$this->form_validation->set_rules('Address','Address','trim|required|');
|
||||||
|
$supplierID = $this->input->post('SupplierID');
|
||||||
|
//echo 'supID' . $supplierID ;
|
||||||
|
$this->form_validation->set_rules('ContactNumber','Contact Number','trim|required|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('emailid','emailid','valid_email|max_length[128]|required');
|
||||||
|
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||||
|
if($pan=='')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]|callback_checkPanValidateSupplier');
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidateSupplier');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->viewsupplier($supplierID);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$Address = $this->input->post('Address');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$AlternateContactNumber = $this->input->post('AlternateContactNumber');
|
||||||
|
$EmailAddress = $this->input->post('emailid');
|
||||||
|
$Exiseregistration = $this->input->post('Exciseregistration');
|
||||||
|
$TIN = $this->input->post('TIN');
|
||||||
|
$PAN = strtoupper($this->input->post('panno'));
|
||||||
|
$GSTNo = strtoupper($this->input->post('GSTNo'));
|
||||||
|
$GSTRange = $this->input->post('GSTRange');
|
||||||
|
$CollectrateAddress = $this->input->post('CollectrateAddress');
|
||||||
|
$UANumber = $this->input->post('UANumber');
|
||||||
|
$PaymentTerms = $this->input->post('paymentname');
|
||||||
|
//print_r($PaymentTerms);
|
||||||
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
$CSTNo = $this->input->post('CSTNo');
|
||||||
|
$CSTDt = $this->input->post('dateofCST');
|
||||||
|
|
||||||
|
if($CSTDt != '')
|
||||||
|
{//$CSTDate = $this->dateformat($CSTDt);
|
||||||
|
$CSTDate = $this->getDateformat($CSTDt);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CSTDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$EMSNo = $this->input->post('EMSNo');
|
||||||
|
$TSNo = $this->input->post('TSNo');
|
||||||
|
$IMSNo = $this->input->post('IMSNo');
|
||||||
|
$ISONo = $this->input->post('ISONo');
|
||||||
|
$OSHASNo = $this->input->post('OSHASNo');
|
||||||
|
$accno = $this->input->post('accno');
|
||||||
|
$ifsc = $this->input->post('ifsc');
|
||||||
|
$branchname = $this->input->post('branchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$service = $this->input->post('service');
|
||||||
|
$rawmaterial =$this->input->post('rawmaterial');
|
||||||
|
$maintanance = $this->input->post('maintanance');
|
||||||
|
$PaymentId = $this->input->post('paymentid');
|
||||||
|
|
||||||
|
$supplier = array();
|
||||||
|
$supplier = array('SupplierName'=>$SupplierName, 'Address'=>$Address, 'ContactNumber'=>$ContactNumber, 'AlternateContactNumber'=> $AlternateContactNumber,'EmailAddress'=>$EmailAddress,'Exiseregistration'=>$Exiseregistration,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNo'=>$GSTNo,'GSTRange'=>$GSTRange,'CollectrateAddress'=>$CollectrateAddress,'UANumber'=>$UANumber,'PaymentID'=>$PaymentId,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'Cert_EMS'=>$EMSNo, 'Cert_TS'=>$TSNo, 'Cert_IMS'=>$IMSNo, 'Cert_ISO'=>$ISONo, 'Cert_OSHAS'=>$OSHASNo, 'BankAcNumber'=>$accno, 'IFSCCode'=>$ifsc, 'BranchName'=>$branchname, 'BankAddress'=>$bankaddress,'UpdatedBy'=>$UpdatedBy,'IsActive'=>$IsActive,'IsService'=>$service,'IsMaintanance'=>$maintanance,'IsRawMaterial'=>$rawmaterial); //'PaymentTerms'=>$PaymentTerms,'PaymentDays'=>$Payment);
|
||||||
|
//SupplierID, SupplierName, Address, ContactNumber, AlternateContactNumber, EmailAddress, Exiseregistration, TIN, PAN, CSTNO, CSTDate, GSTNO, GSTRange, CollectrateAddress, UANumber, PaymentTerms, PaymentDays, PayableAT, Cert_EMS, Cert_TS, Cert_IMS, Cert_ISO, Cert_OSHAS, BankAcNumber, IFSCCode, BranchName, BankAddress, Createdby, UpdatedBy, Updatedon, CreatedOn, IsActive);
|
||||||
|
|
||||||
|
$result = $this->supplier_model->UpdateSupplier($supplier, $supplierID);
|
||||||
|
|
||||||
|
|
||||||
|
if($result == True)
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('Supplier updated successfully!');</script>";
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "<script>alert('Supplier Record Not updated!');</script>";
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function viewsupplier($SID = '')
|
||||||
|
{
|
||||||
|
$Payment = '';
|
||||||
|
if($SID == '')
|
||||||
|
{
|
||||||
|
$supplierID = $_GET['SID'];
|
||||||
|
$Payment = $_GET['Payment'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$supplierID = $SID;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$data['supplier'] = $this->supplier_model->getSupplierInfo($supplierID);
|
||||||
|
//$data['payment'] = $this->supplier_model->getpayment($Payment );
|
||||||
|
$data['payment'] = $this->supplier_model->getPaymentTerms($Payment);
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("editSupplier", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** this function can be use for excel report **/
|
||||||
|
|
||||||
|
function export_supplierdetails(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->mergeCells('J3:R3');
|
||||||
|
$this->excel->setActiveSheetIndex(0)->getStyle('J3')->getAlignment()->applyFromArray(array('horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,));
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('Supplier details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J3', 'SIDDHARTH INDUSTRIES Supplier Details');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A5', 'SupplierID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B5', 'SupplierName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C5', 'Address');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D5', 'ContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E5', 'AlternateContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F5', 'EmailAddress');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G5', 'Exiseregistration');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H5', 'TIN');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I5', 'PAN');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J5', 'CSTNO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K5', 'CST Date');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L5', 'GST NO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M5', 'GST Range');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N5', 'Collectrate Address');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O5', 'UANumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P5','EMS Number');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q5','TS Number');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R5','IMS Number');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S5','ISO Number');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T5','OHSAS Number');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U5', 'BankStatemant');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('V5', 'PaymentTerms');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('W5', 'IsService');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('X5', 'IsMaintanance');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Y5', 'IsRawMaterial');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Z5', 'Createdby');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AA5', 'UpdatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AB5', 'IsActive');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J3')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J3')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('T5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('U5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('V5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('W5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('X5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('X5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Y5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Z5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Z5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AA5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AA5')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AB5')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('AB5')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->supplier_model->export_excel();
|
||||||
|
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 6;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A' . $i,$data['SupplierID']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B' . $i,$data['SupplierName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['Address']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['ContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['AlternateContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['EmailAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G' . $i,$data['Exiseregistration']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H' . $i,$data['TIN']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I' . $i,$data['PAN']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J' . $i,$data['CSTNO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K' . $i,$data['CSTDate']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L' . $i,$data['GSTNO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M' . $i,$data['GSTRange']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N' . $i,$data['CollectrateAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O' . $i,$data['UANumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P' . $i,$data['Cert_EMS']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q' . $i,$data['Cert_TS']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R' . $i,$data['Cert_IMS']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S' . $i,$data['Cert_ISO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('T' . $i,$data['Cert_OSHAS']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('U' . $i,$data['BankAcNumber'].'-'.$data['IFSCCode'].'-'.$data['BranchName'].$data['BankAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('V' . $i,$data['PaymentTerms']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('W' . $i,$data['IsService']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('X' . $i,$data['IsMaintanance']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Y' . $i,$data['IsRawMaterial']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Z' . $i,$data['firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AA' . $i,$data['Update_by']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('AB' . $i,$data['IsActive']);
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'Supplierdetails' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
513
application/controllers/supplier.php~
Normal file
513
application/controllers/supplier.php~
Normal file
@ -0,0 +1,513 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : Supplier Controller (supplier)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Gandhimathi
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 12 Apr 2017
|
||||||
|
*/
|
||||||
|
class supplier extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('supplier_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
$this->load->library('pagination');
|
||||||
|
$this->load->library('Excel');
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("supplierListing", $this->global, NULL , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the Supplier list
|
||||||
|
*/
|
||||||
|
function supplierListing()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->load->model('supplier_model');
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->supplier_model->supplierListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth Industries : Supplier Listing';
|
||||||
|
|
||||||
|
$this->loadViews("supplierListing", $this->global, $data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new supplier */
|
||||||
|
function addsupplier()
|
||||||
|
{
|
||||||
|
|
||||||
|
//$data['payment'] = $this->supplier_model->getpayment();
|
||||||
|
$data['payment'] = $this->supplier_model->getPaymentTerms();
|
||||||
|
//$data['users'] = $this->purchaseorder_model->getusers();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'siddharth : Add New Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("addsupplier", $this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to check whether PAN already exist or not
|
||||||
|
*/
|
||||||
|
|
||||||
|
function CheckPAN()
|
||||||
|
{
|
||||||
|
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
|
||||||
|
$query = $this->supplier_model->checkPAN($id );
|
||||||
|
|
||||||
|
$query = $query[0]['PAN'];
|
||||||
|
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not for the selected Supplier */
|
||||||
|
function checkPanValidateSupplier() {
|
||||||
|
|
||||||
|
$SupplierID = $this->input->post('SupplierID');
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
// echo 'Sup'. $SupplierID ;
|
||||||
|
$query = $this->supplier_model->checkPAN($PanNo,$SupplierID);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidateSupplier', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* To Check the Pan Number is exists in the database or not */
|
||||||
|
function checkPanValidate()
|
||||||
|
{
|
||||||
|
// alert('validation pan');
|
||||||
|
|
||||||
|
$PanNo = $this->input->post('panno');
|
||||||
|
|
||||||
|
$query = $this->supplier_model->checkPAN($PanNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkPanValidate', 'The Entered PAN Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function CheckGST()
|
||||||
|
{
|
||||||
|
//alert('check validation GST');
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$query = $this->supplier_model->checkGST($id);
|
||||||
|
$query = $query[0]['GSTNO'];
|
||||||
|
print_r($query);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the GST Number is exists in the database or not for the selected Supplier */
|
||||||
|
function checkGstValidateSupplier() {
|
||||||
|
//alert(' gst validation GST');
|
||||||
|
$SupplierID = $this->input->post('SupplierID');
|
||||||
|
$GstNo = $this->input->post('GSTNo');
|
||||||
|
//echo 'Sup'. $SupplierID ;
|
||||||
|
$query = $this->supplier_model->checkGST($GstNo,$SupplierID);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkGstValidateSupplier', 'The Entered GST Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* To Check the GST Number is exists in the database or not */
|
||||||
|
function checkGstValidate()
|
||||||
|
{
|
||||||
|
|
||||||
|
$GstNo = $this->input->post('GSTNo');
|
||||||
|
$query = $this->supplier_model->checkGST($GstNo);
|
||||||
|
if (count($query)> 0)
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('checkGstValidate', 'The Entered GST Number is already exists in the Database.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to add new Supplier to the system
|
||||||
|
*/
|
||||||
|
function addNewsupplier()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('SupplierName','Supplier Name','trim|required');
|
||||||
|
$this->form_validation->set_rules('Address','Address','trim|required|');
|
||||||
|
$this->form_validation->set_rules('ContactNumber','Contact Number','trim|required|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('emailid','emailid', 'valid_email|max_length[128]|required');
|
||||||
|
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|required|max_length[10]');//|callback_checkPanValidate');
|
||||||
|
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidate');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addsupplier();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$Address = $this->input->post('Address');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$AlternateContactNumber = $this->input->post('AlternateContactNumber');
|
||||||
|
$EmailAddress = $this->input->post('emailid');
|
||||||
|
$Exiseregistration = $this->input->post('Exciseregistration');
|
||||||
|
$TIN = $this->input->post('TIN');
|
||||||
|
$PAN = strtoupper($this->input->post('panno'));
|
||||||
|
$GSTNo = strtoupper($this->input->post('GSTNo'));
|
||||||
|
$GSTRange = $this->input->post('GSTRange');
|
||||||
|
$CollectrateAddress = $this->input->post('CollectrateAddress');
|
||||||
|
$UANumber = $this->input->post('UANumber');
|
||||||
|
//$PaymentTerms = $this->input->post('paymentname');
|
||||||
|
//$Payment = $this->input->post('Payment');
|
||||||
|
//$PayableAT = $this->input->post('PayableAT');
|
||||||
|
$CSTNo = $this->input->post('CSTNo');
|
||||||
|
|
||||||
|
$CSTDt = $this->input->post('dateofCST');
|
||||||
|
|
||||||
|
if($CSTDt != '')
|
||||||
|
{
|
||||||
|
$CSTDate = $this->getDateformat($CSTDt);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CSTDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$EMSNo = $this->input->post('EMSNo');
|
||||||
|
$TSNo = $this->input->post('TSNo');
|
||||||
|
$IMSNo = $this->input->post('IMSNo');
|
||||||
|
$ISONo = $this->input->post('ISONo');
|
||||||
|
$OSHASNo = $this->input->post('OSHASNo');
|
||||||
|
$accno = $this->input->post('accno');
|
||||||
|
$ifsc = $this->input->post('ifsc');
|
||||||
|
$branchname = $this->input->post('branchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$Createdby = $this->session->userdata ( 'userId' );
|
||||||
|
$date = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$createddate = $date->format('Y-m-d H:i:s');
|
||||||
|
$service = $this->input->post('service');
|
||||||
|
$rawmaterial =$this->input->post('rawmaterial');
|
||||||
|
$maintenance = $this->input->post('maintanance');
|
||||||
|
$PaymentId = $this->input->post('paymentid');
|
||||||
|
|
||||||
|
|
||||||
|
$supplier = array('SupplierName'=>$SupplierName, 'Address'=>$Address, 'ContactNumber'=>$ContactNumber, 'AlternateContactNumber'=> $AlternateContactNumber,'EmailAddress'=>$EmailAddress,'Exiseregistration'=>$Exiseregistration,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNo'=>$GSTNo,'GSTRange'=>$GSTRange,'CollectrateAddress'=>$CollectrateAddress,'UANumber'=>$UANumber,'PaymentID'=>$PaymentId,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'Cert_EMS'=>$EMSNo, 'Cert_TS'=>$TSNo, 'Cert_IMS'=>$IMSNo, 'Cert_ISO'=>$ISONo, 'Cert_OSHAS'=>$OSHASNo, 'BankAcNumber'=>$accno, 'IFSCCode'=>$ifsc, 'BranchName'=>$branchname, 'BankAddress'=>$bankaddress,'Createdby'=>$Createdby,'IsService'=>$service,'IsMaintanance'=>$maintenance,'IsRawMaterial'=>$rawmaterial); //,'PaymentTerms'=>$PaymentTerms,'PaymentDays'=>$Payment,'PayableAT'=>$PayableAT);
|
||||||
|
//print_r($supplier);die();
|
||||||
|
$result = $this->supplier_model->addNewsupplier($supplier);
|
||||||
|
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
echo "<script>alert('New Supplier Created successfully!');</script>";
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
echo "<script>alert('Supplier Record Not Created!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function getDateformat($Val)
|
||||||
|
{
|
||||||
|
$date = new DateTime($Val);
|
||||||
|
$retDate = $date->format('Y-m-d H:i:s');
|
||||||
|
return $retDate;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to edit the Supplier information
|
||||||
|
*/
|
||||||
|
function editsupplier()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('SupplierName','Supplier Name','trim|required');
|
||||||
|
$this->form_validation->set_rules('Address','Address','trim|required|');
|
||||||
|
$supplierID = $this->input->post('SupplierID');
|
||||||
|
//echo 'supID' . $supplierID ;
|
||||||
|
$this->form_validation->set_rules('ContactNumber','Contact Number','trim|required|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||||
|
$this->form_validation->set_rules('emailid','emailid','valid_email|max_length[128]|required');
|
||||||
|
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||||
|
$this->form_validation->set_rules('panno', 'panno', 'trim|required|max_length[10]|callback_checkPanValidateSupplier');
|
||||||
|
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidateSupplier');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->viewsupplier($supplierID);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$SupplierName = $this->input->post('SupplierName');
|
||||||
|
$Address = $this->input->post('Address');
|
||||||
|
$ContactNumber = $this->input->post('ContactNumber');
|
||||||
|
$AlternateContactNumber = $this->input->post('AlternateContactNumber');
|
||||||
|
$EmailAddress = $this->input->post('emailid');
|
||||||
|
$Exiseregistration = $this->input->post('Exciseregistration');
|
||||||
|
$TIN = $this->input->post('TIN');
|
||||||
|
$PAN = strtoupper($this->input->post('panno'));
|
||||||
|
$GSTNo = strtoupper($this->input->post('GSTNo'));
|
||||||
|
$GSTRange = $this->input->post('GSTRange');
|
||||||
|
$CollectrateAddress = $this->input->post('CollectrateAddress');
|
||||||
|
$UANumber = $this->input->post('UANumber');
|
||||||
|
$PaymentTerms = $this->input->post('paymentname');
|
||||||
|
//print_r($PaymentTerms);
|
||||||
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
|
$chked = $this->input->post('isactive');
|
||||||
|
|
||||||
|
if( $chked != '')
|
||||||
|
{
|
||||||
|
$IsActive = '1';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$IsActive = '0';
|
||||||
|
}
|
||||||
|
|
||||||
|
$CSTNo = $this->input->post('CSTNo');
|
||||||
|
$CSTDt = $this->input->post('dateofCST');
|
||||||
|
|
||||||
|
if($CSTDt != '')
|
||||||
|
{
|
||||||
|
$CSTDate = $this->getDateformat($CSTDt);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$CSTDate = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$EMSNo = $this->input->post('EMSNo');
|
||||||
|
$TSNo = $this->input->post('TSNo');
|
||||||
|
$IMSNo = $this->input->post('IMSNo');
|
||||||
|
$ISONo = $this->input->post('ISONo');
|
||||||
|
$OSHASNo = $this->input->post('OSHASNo');
|
||||||
|
$accno = $this->input->post('accno');
|
||||||
|
$ifsc = $this->input->post('ifsc');
|
||||||
|
$branchname = $this->input->post('branchname');
|
||||||
|
$bankaddress = $this->input->post('bankaddress');
|
||||||
|
$service = $this->input->post('service');
|
||||||
|
$rawmaterial =$this->input->post('rawmaterial');
|
||||||
|
$maintanance = $this->input->post('maintanance');
|
||||||
|
$PaymentId = $this->input->post('paymentid');
|
||||||
|
|
||||||
|
$supplier = array();
|
||||||
|
$supplier = array('SupplierName'=>$SupplierName, 'Address'=>$Address, 'ContactNumber'=>$ContactNumber, 'AlternateContactNumber'=> $AlternateContactNumber,'EmailAddress'=>$EmailAddress,'Exiseregistration'=>$Exiseregistration,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNo'=>$GSTNo,'GSTRange'=>$GSTRange,'CollectrateAddress'=>$CollectrateAddress,'UANumber'=>$UANumber,'PaymentID'=>$PaymentId,'CSTNo'=>$CSTNo,'CSTDate'=>$CSTDate,'Cert_EMS'=>$EMSNo, 'Cert_TS'=>$TSNo, 'Cert_IMS'=>$IMSNo, 'Cert_ISO'=>$ISONo, 'Cert_OSHAS'=>$OSHASNo, 'BankAcNumber'=>$accno, 'IFSCCode'=>$ifsc, 'BranchName'=>$branchname, 'BankAddress'=>$bankaddress,'UpdatedBy'=>$UpdatedBy,'IsActive'=>$IsActive,'IsService'=>$service,'IsMaintanance'=>$maintanance,'IsRawMaterial'=>$rawmaterial); //'PaymentTerms'=>$PaymentTerms,'PaymentDays'=>$Payment);
|
||||||
|
//SupplierID, SupplierName, Address, ContactNumber, AlternateContactNumber, EmailAddress, Exiseregistration, TIN, PAN, CSTNO, CSTDate, GSTNO, GSTRange, CollectrateAddress, UANumber, PaymentTerms, PaymentDays, PayableAT, Cert_EMS, Cert_TS, Cert_IMS, Cert_ISO, Cert_OSHAS, BankAcNumber, IFSCCode, BranchName, BankAddress, Createdby, UpdatedBy, Updatedon, CreatedOn, IsActive);
|
||||||
|
// print_r($supplier);die();
|
||||||
|
$result = $this->supplier_model->UpdateSupplier($supplier, $supplierID);
|
||||||
|
|
||||||
|
|
||||||
|
if($result == True)
|
||||||
|
{
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
echo "<script>alert('Supplier updated successfully!');</script>";
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
redirect('supplierListing','refresh');
|
||||||
|
echo "<script>alert('Supplier Record Not updated!');</script>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function viewsupplier($SID = '')
|
||||||
|
{
|
||||||
|
$Payment = '';
|
||||||
|
if($SID == '')
|
||||||
|
{
|
||||||
|
$supplierID = $_GET['SID'];
|
||||||
|
$Payment = $_GET['Payment'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$supplierID = $SID;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$data['supplier'] = $this->supplier_model->getSupplierInfo($supplierID);
|
||||||
|
//$data['payment'] = $this->supplier_model->getpayment($Payment );
|
||||||
|
$data['payment'] = $this->supplier_model->getPaymentTerms($Payment);
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit Supplier';
|
||||||
|
|
||||||
|
$this->loadViews("editSupplier", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** this function can be use for excel report **/
|
||||||
|
|
||||||
|
function export_supplierdetails(){
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->library('excel');
|
||||||
|
$this->excel->setActiveSheetIndex(0);
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setTitle('supplier details');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A1', 'SupplierID');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B1', 'SupplierName');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C1', 'Address');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D1', 'ContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E1', 'AlternateContactNumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F1', 'EmailAddress');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G1', 'Exiseregistration');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H1', 'TIN');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I1', 'PAN');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J1', 'CSTNO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K1', 'CST Date');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L1', 'GST NO');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M1', 'GST Range');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N1', 'Collectrate Address');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O1', 'UANumber');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P1', 'PaymentTerms');
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q1', 'Createdby');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R1', 'UpdatedBy');
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S1', 'IsActive');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('A1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('C1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('D1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('E1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('F1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('G1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('H1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('I1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('J1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('K1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('L1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('M1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('N1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('O1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('P1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('Q1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('R1')->getFont()->setBold(true);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S1')->getFont()->setSize(12);
|
||||||
|
$this->excel->getActiveSheet()->getStyle('S1')->getFont()->setBold(true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$exportData = $this->supplier_model->export_excel();
|
||||||
|
|
||||||
|
if ($exportData) {
|
||||||
|
$i = 2;
|
||||||
|
$s = 1;
|
||||||
|
foreach ($exportData as $data) {
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('A' . $i,$data['SupplierID']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('B' . $i,$data['SupplierName']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('C' . $i,$data['Address']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('D' . $i,$data['ContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('E' . $i,$data['AlternateContactNumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('F' . $i,$data['EmailAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('G' . $i,$data['Exiseregistration']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('H' . $i,$data['TIN']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('I' . $i,$data['PAN']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('J' . $i,$data['CSTNO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('K' . $i,$data['CSTDate']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('L' . $i,$data['GSTNO']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('M' . $i,$data['GSTRange']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('N' . $i,$data['CollectrateAddress']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('O' . $i,$data['UANumber']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('P' . $i,$data['PaymentTerms']);
|
||||||
|
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('Q' . $i,$data['firstname']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('R' . $i,$data['Update_by']);
|
||||||
|
$this->excel->getActiveSheet()->setCellValue('S' . $i,$data['IsActive']);
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
$s++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = 'supplierdetails' .' '. '.xls'; //save our workbook as this file name
|
||||||
|
header('Content-Type: application/vnd.ms-excel'); //mime type
|
||||||
|
header('Content-Disposition: attachment;filename="' . $filename . '"'); //tell browser what's the file name
|
||||||
|
header('Cache-Control: max-age=0'); //no cache
|
||||||
|
$objWriter = PHPExcel_IOFactory::createWriter($this->excel, 'Excel5');
|
||||||
|
if (ob_get_contents()) ob_end_clean();
|
||||||
|
ob_start();
|
||||||
|
$objWriter->save('php://output');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
397
application/controllers/user.php
Normal file
397
application/controllers/user.php
Normal file
@ -0,0 +1,397 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require APPPATH . '/libraries/BaseController.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : User (UserController)
|
||||||
|
* User Class to control all user related operations.
|
||||||
|
* @author : Kishor Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 November 2016
|
||||||
|
*/
|
||||||
|
class user extends BaseController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This is default constructor of the class
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('user_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->isLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load the first screen of the user
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Dashboard';
|
||||||
|
|
||||||
|
$this->load->model('employeedetails_model');
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->model('dahsboard_Model');
|
||||||
|
|
||||||
|
$data['EmpCount'] = $this->employeedetails_model->getEmployeeCount();
|
||||||
|
|
||||||
|
$data['totalpurchaseorder']=$this->dahsboard_Model->totalpurchaseorder();
|
||||||
|
|
||||||
|
//print_r( $data['totalpurchaseorder']);
|
||||||
|
$data['totalordervalue']=$this->dahsboard_Model->totalordervalue();
|
||||||
|
$data['pendingpo']=$this->dahsboard_Model->pendingpo();
|
||||||
|
$data['totalserviceamount']=$this->dahsboard_Model->totalserviceamount();
|
||||||
|
$data['totalcapitalamount']=$this->dahsboard_Model->totalcapitalamount();
|
||||||
|
$data['totalimportamount']=$this->dahsboard_Model->totalimportamount();
|
||||||
|
$data['totalrevenueamount']=$this->dahsboard_Model->totalrevenueamount();
|
||||||
|
|
||||||
|
|
||||||
|
$data['totalservicepo']=$this->dahsboard_Model->totalservicepo();
|
||||||
|
$data['totalrevenuepo']=$this->dahsboard_Model->totalrevenuepo();
|
||||||
|
$data['totalimportpo']=$this->dahsboard_Model->totalimportpo();
|
||||||
|
$data['totalcapitalpo']=$this->dahsboard_Model->totalcapitalpo();
|
||||||
|
|
||||||
|
$data['details']=$this->dahsboard_Model->reqdetail();
|
||||||
|
|
||||||
|
$data['pending_details']=$this->dahsboard_Model->req_pending();
|
||||||
|
$data['list']=$this->dahsboard_Model->req_list();
|
||||||
|
|
||||||
|
$data['serviceprogress']=$this->dahsboard_Model->serviceprogress();
|
||||||
|
$data['revenueprogress']=$this->dahsboard_Model->revenueprogress();
|
||||||
|
$data['importprogress']=$this->dahsboard_Model->importprogress();
|
||||||
|
$data['capitalprogress']=$this->dahsboard_Model->capitalprogress();
|
||||||
|
//month-wise area chart
|
||||||
|
$data['getTotalServicePoCount'] = $this->dahsboard_Model->getTotalServicePoCount();
|
||||||
|
$data['getTotalimportPoCount'] = $this->dahsboard_Model->getTotalimportPoCount();
|
||||||
|
$data['getTotalcapitalPoCount'] = $this->dahsboard_Model->getTotalcapitalPoCount();
|
||||||
|
$data['getTotalrevenuePoCount'] = $this->dahsboard_Model->getTotalrevenuePoCount();
|
||||||
|
|
||||||
|
|
||||||
|
$this->loadViews("dashboard", $this->global, $data , NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the user list
|
||||||
|
*/
|
||||||
|
function userListing()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$data['userRecords'] = $this->user_model->userListing();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : User Listing';
|
||||||
|
|
||||||
|
$this->loadViews("users", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the add new form
|
||||||
|
*/
|
||||||
|
function addNew()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$data['EmpList'] = $this->user_model->getAllEmployees();
|
||||||
|
|
||||||
|
$data['roles'] = $this->user_model->getUserRoles();
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Add New User';
|
||||||
|
|
||||||
|
$this->loadViews("addNew", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to check whether email already exist or not
|
||||||
|
*/
|
||||||
|
function checkEmailExists()
|
||||||
|
{
|
||||||
|
$userId = $this->input->post("userId");
|
||||||
|
$email = $this->input->post("email");
|
||||||
|
|
||||||
|
if(empty($userId)){
|
||||||
|
$result = $this->user_model->checkEmailExists($email);
|
||||||
|
} else {
|
||||||
|
$result = $this->user_model->checkEmailExists($email, $userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(empty($result)){ echo("true"); }
|
||||||
|
else { echo("false"); }
|
||||||
|
}
|
||||||
|
/* Validation for Employee Dropdown
|
||||||
|
*/
|
||||||
|
function Employee_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '0')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Employee_validate', 'Please Select Employee.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Validation for Employee Dropdown
|
||||||
|
*/
|
||||||
|
function Role_validate($selectValue)
|
||||||
|
{
|
||||||
|
//echo 'select_validate method called';
|
||||||
|
// 'none' is the first option and the text says something like "-Choose one-"
|
||||||
|
if($selectValue == '0')
|
||||||
|
{
|
||||||
|
$this->form_validation->set_message('Role_validate', 'Please Select Role.');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else // user picked something
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This function is used to add new user to the system
|
||||||
|
*/
|
||||||
|
function addNewUser()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('EmpList','EmpList','trim|callback_Employee_validateS');
|
||||||
|
$this->form_validation->set_rules('role','role','trim|callback_Role_validate');
|
||||||
|
$this->form_validation->set_rules('password','Password','required|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('cpassword','Confirm Password','trim|required|matches[password]|max_length[20]');
|
||||||
|
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->addNew();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$EmpID = $this->input->post('EmpList');
|
||||||
|
$roleId = $this->input->post('role');
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$Createddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$email = $this->input->post('MailID');
|
||||||
|
|
||||||
|
|
||||||
|
$userInfo = array('email'=>$email,'EmpID'=>$EmpID,'password'=>getHashedPassword($password),'roleId'=>$roleId,'createdBy'=>$this->vendorId,'createdDtm'=>$Createddt);
|
||||||
|
|
||||||
|
$result = $this->user_model->addNewUser($userInfo);
|
||||||
|
|
||||||
|
if($result > 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
redirect('userListing','refresh');
|
||||||
|
echo "<script>alert('New User Created successfully!');</script>";
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
redirect('userListing','refresh');
|
||||||
|
echo "<script>alert('Failiure User Creation!');</script>";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used load user edit information
|
||||||
|
* @param number $userId : Optional : This is user id
|
||||||
|
*/
|
||||||
|
function editOld($UserId = '')
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE )
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if($UserId == '')
|
||||||
|
{
|
||||||
|
// redirect('userListing');
|
||||||
|
}
|
||||||
|
|
||||||
|
$Uid = $_GET['UID'];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$data['roles'] = $this->user_model->getUserRoles();
|
||||||
|
|
||||||
|
//print_r($data);
|
||||||
|
|
||||||
|
$data['EmpList'] = $this->user_model->GetEmployeeDetails($Uid);
|
||||||
|
//print_r($data);
|
||||||
|
$data['EmpRole'] = $this->user_model->GetRoleNameByUserID($Uid);
|
||||||
|
|
||||||
|
// $data['userInfo'] = $this->user_model->getUserInfo($userId);
|
||||||
|
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Edit User';
|
||||||
|
|
||||||
|
$this->loadViews("editOld", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to edit the user information
|
||||||
|
*/
|
||||||
|
function editUser()
|
||||||
|
{
|
||||||
|
if($this->isAdmin() == TRUE)
|
||||||
|
{
|
||||||
|
$this->loadThis();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$userId = $this->input->post('EmpList');
|
||||||
|
$this->form_validation->set_rules('EmpList','EmpList','trim|callback_Employee_validateS');
|
||||||
|
$this->form_validation->set_rules('role','role','trim|callback_Role_validate');
|
||||||
|
$this->form_validation->set_rules('password','Password','required|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('cpassword','Confirm Password','trim|required|matches[password]|max_length[20]');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->editOld($userId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$EmpID = $this->input->post('EmpList');
|
||||||
|
$role = $this->input->post('role');
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
// echo $EmpID;
|
||||||
|
|
||||||
|
$userInfo = array();
|
||||||
|
|
||||||
|
|
||||||
|
$userInfo = array('password'=>getHashedPassword($password),'roleId'=>$role,'EmpId'=>$EmpID,'updatedDtm'=>$updatedDate);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$result = $this->user_model->editUser($userInfo, $EmpID);
|
||||||
|
|
||||||
|
if($result == true)
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('success', 'User updated successfully');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('error', 'User updation failed');
|
||||||
|
}
|
||||||
|
|
||||||
|
redirect('userListing');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to delete the user using userId
|
||||||
|
* @return boolean $result : TRUE / FALSE
|
||||||
|
*/
|
||||||
|
function deleteUser()
|
||||||
|
{
|
||||||
|
echo 'Delete';
|
||||||
|
$Uid = $this->input->post('id');
|
||||||
|
|
||||||
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
|
$updatedDate = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
$userInfo = array('isDeleted'=>1,'updatedBy'=>$this->vendorId, 'updatedDtm'=>$updatedDate);
|
||||||
|
|
||||||
|
$result = $this->user_model->deleteUser($Uid, $userInfo);
|
||||||
|
|
||||||
|
echo 'Succssfully change the user status to InAcive';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the change password screen
|
||||||
|
*/
|
||||||
|
function loadChangePass()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : Change Password';
|
||||||
|
|
||||||
|
$this->loadViews("changePassword", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to change the password of the user
|
||||||
|
*/
|
||||||
|
function changePassword()
|
||||||
|
{
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('oldPassword','Old password','required|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('newPassword','New password','required|max_length[20]');
|
||||||
|
$this->form_validation->set_rules('cNewPassword','Confirm new password','required|matches[newPassword]|max_length[20]');
|
||||||
|
|
||||||
|
if($this->form_validation->run() == FALSE)
|
||||||
|
{
|
||||||
|
$this->loadChangePass();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$oldPassword = $this->input->post('oldPassword');
|
||||||
|
$newPassword = $this->input->post('newPassword');
|
||||||
|
|
||||||
|
$resultPas = $this->user_model->matchOldPassword($this->vendorId, $oldPassword);
|
||||||
|
|
||||||
|
if(empty($resultPas))
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('nomatch', 'Your old password not correct');
|
||||||
|
redirect('loadChangePass');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$usersData = array('password'=>getHashedPassword($newPassword), 'updatedBy'=>$this->vendorId,
|
||||||
|
'updatedDtm'=>date('Y-m-d H:i:sa'));
|
||||||
|
|
||||||
|
$result = $this->user_model->changePassword($this->vendorId, $usersData);
|
||||||
|
|
||||||
|
if($result > 0) { $this->session->set_flashdata('success', 'Password updation successful'); }
|
||||||
|
else { $this->session->set_flashdata('error', 'Password updation failed'); }
|
||||||
|
|
||||||
|
redirect('loadChangePass');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageNotFound()
|
||||||
|
{
|
||||||
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
||||||
|
|
||||||
|
$this->loadViews("404", $this->global, NULL, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
10
application/core/index.html
Normal file
10
application/core/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
62
application/errors/error_404.php
Normal file
62
application/errors/error_404.php
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>404 Page Not Found</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection{ background-color: #E13300; color: white; }
|
||||||
|
::moz-selection{ background-color: #E13300; color: white; }
|
||||||
|
::webkit-selection{ background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
background-color: transparent;
|
||||||
|
border-bottom: 1px solid #D0D0D0;
|
||||||
|
font-size: 19px;
|
||||||
|
font-weight: normal;
|
||||||
|
margin: 0 0 14px 0;
|
||||||
|
padding: 14px 15px 10px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
62
application/errors/error_db.php
Normal file
62
application/errors/error_db.php
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Database Error</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection{ background-color: #E13300; color: white; }
|
||||||
|
::moz-selection{ background-color: #E13300; color: white; }
|
||||||
|
::webkit-selection{ background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
background-color: transparent;
|
||||||
|
border-bottom: 1px solid #D0D0D0;
|
||||||
|
font-size: 19px;
|
||||||
|
font-weight: normal;
|
||||||
|
margin: 0 0 14px 0;
|
||||||
|
padding: 14px 15px 10px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
62
application/errors/error_general.php
Normal file
62
application/errors/error_general.php
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Error</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection{ background-color: #E13300; color: white; }
|
||||||
|
::moz-selection{ background-color: #E13300; color: white; }
|
||||||
|
::webkit-selection{ background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
background-color: transparent;
|
||||||
|
border-bottom: 1px solid #D0D0D0;
|
||||||
|
font-size: 19px;
|
||||||
|
font-weight: normal;
|
||||||
|
margin: 0 0 14px 0;
|
||||||
|
padding: 14px 15px 10px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
10
application/errors/error_php.php
Normal file
10
application/errors/error_php.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: <?php echo $severity; ?></p>
|
||||||
|
<p>Message: <?php echo $message; ?></p>
|
||||||
|
<p>Filename: <?php echo $filepath; ?></p>
|
||||||
|
<p>Line Number: <?php echo $line; ?></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
10
application/errors/index.html
Normal file
10
application/errors/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
50
application/helpers/cias_helper.php
Normal file
50
application/helpers/cias_helper.php
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to print the content of any data
|
||||||
|
*/
|
||||||
|
function pre($data)
|
||||||
|
{
|
||||||
|
echo "<pre>";
|
||||||
|
print_r($data);
|
||||||
|
echo "</pre>";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to get the CI instance
|
||||||
|
*/
|
||||||
|
if(!function_exists('get_instance'))
|
||||||
|
{
|
||||||
|
function get_instance()
|
||||||
|
{
|
||||||
|
$CI = &get_instance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to generate the hashed password
|
||||||
|
* @param {string} $plainPassword : This is plain text password
|
||||||
|
*/
|
||||||
|
if(!function_exists('getHashedPassword'))
|
||||||
|
{
|
||||||
|
function getHashedPassword($plainPassword)
|
||||||
|
{
|
||||||
|
return password_hash($plainPassword, PASSWORD_DEFAULT);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to generate the hashed password
|
||||||
|
* @param {string} $plainPassword : This is plain text password
|
||||||
|
* @param {string} $hashedPassword : This is hashed password
|
||||||
|
*/
|
||||||
|
if(!function_exists('verifyHashedPassword'))
|
||||||
|
{
|
||||||
|
function verifyHashedPassword($plainPassword, $hashedPassword)
|
||||||
|
{
|
||||||
|
return password_verify($plainPassword, $hashedPassword) ? true : false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
10
application/helpers/index.html
Normal file
10
application/helpers/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
10
application/hooks/index.html
Normal file
10
application/hooks/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
10
application/index.html
Normal file
10
application/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
10
application/language/english/index.html
Normal file
10
application/language/english/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
10
application/language/index.html
Normal file
10
application/language/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
160
application/libraries/BaseController.php
Normal file
160
application/libraries/BaseController.php
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
<?php defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class : BaseController
|
||||||
|
* Base Class to control over all the classes
|
||||||
|
* @author : Kishor Mali
|
||||||
|
* @version : 1.1
|
||||||
|
* @since : 15 November 2016
|
||||||
|
*/
|
||||||
|
class BaseController extends CI_Controller {
|
||||||
|
protected $role = '';
|
||||||
|
protected $vendorId = '';
|
||||||
|
protected $name = '';
|
||||||
|
protected $Designation = '';
|
||||||
|
protected $DEPCode = '';
|
||||||
|
protected $HeadDept = '';
|
||||||
|
protected $DepartmentName = '';
|
||||||
|
protected $roleText = '';
|
||||||
|
protected $global = array ();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Takes mixed data and optionally a status code, then creates the response
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
* @param array|NULL $data
|
||||||
|
* Data to output to the user
|
||||||
|
* running the script; otherwise, exit
|
||||||
|
*/
|
||||||
|
public function response($data = NULL) {
|
||||||
|
$this->output->set_status_header ( 200 )->set_content_type ( 'application/json', 'utf-8' )->set_output ( json_encode ( $data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES ) )->_display ();
|
||||||
|
exit ();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to check the user is logged in or not
|
||||||
|
*/
|
||||||
|
function isLoggedIn() {
|
||||||
|
$isLoggedIn = $this->session->userdata ( 'isLoggedIn' );
|
||||||
|
|
||||||
|
if (! isset ( $isLoggedIn ) || $isLoggedIn != TRUE) {
|
||||||
|
redirect ( 'login' );
|
||||||
|
} else {
|
||||||
|
$this->role = $this->session->userdata ( 'role' );
|
||||||
|
$this->vendorId = $this->session->userdata ( 'userId' );
|
||||||
|
$this->name = $this->session->userdata ( 'name' );
|
||||||
|
$this->roleText = $this->session->userdata ( 'roleText' );
|
||||||
|
$this->Designation = $this->session->userdata ( 'Designation' );
|
||||||
|
$this->DEPCode = $this->session->userdata ( 'DEPCode' );
|
||||||
|
$this->HeadDept = $this->session->userdata ( 'HeadDept' );
|
||||||
|
$this->DepartmentName = $this->session->userdata ( 'DepartmentName' );
|
||||||
|
$this->EmpID = $this->session->userdata ( 'EmpID' );
|
||||||
|
$this->global ['name'] = $this->name;
|
||||||
|
$this->global ['role'] = $this->role;
|
||||||
|
$this->global ['role_text'] = $this->roleText;
|
||||||
|
$this->global ['DEPCode'] = $this->DEPCode;
|
||||||
|
$this->global ['Designation'] = $this->Designation;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to check the access
|
||||||
|
*/
|
||||||
|
function isAdmin() {
|
||||||
|
if ($this->role != ROLE_ADMIN) {
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to check the access
|
||||||
|
*/
|
||||||
|
function isTicketter() {
|
||||||
|
if ($this->role != ROLE_ADMIN || $this->role != ROLE_MANAGER) {
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to load the set of views
|
||||||
|
*/
|
||||||
|
function loadThis() {
|
||||||
|
$this->global ['pageTitle'] = 'CodeInsect : Access Denied';
|
||||||
|
|
||||||
|
$this->load->view ( 'includes/header', $this->global );
|
||||||
|
$this->load->view ( 'access' );
|
||||||
|
$this->load->view ( 'includes/footer' );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to logged out user from system
|
||||||
|
*/
|
||||||
|
function logout() {
|
||||||
|
$this->session->sess_destroy ();
|
||||||
|
|
||||||
|
redirect ( 'login' );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used to load views
|
||||||
|
* @param {string} $viewName : This is view name
|
||||||
|
* @param {mixed} $headerInfo : This is array of header information
|
||||||
|
* @param {mixed} $pageInfo : This is array of page information
|
||||||
|
* @param {mixed} $footerInfo : This is array of footer information
|
||||||
|
* @return {null} $result : null
|
||||||
|
*/
|
||||||
|
function loadViews($viewName = "", $headerInfo = NULL, $pageInfo = NULL, $footerInfo = NULL){
|
||||||
|
|
||||||
|
$this->load->view('includes/header', $headerInfo);
|
||||||
|
$this->load->view($viewName, $pageInfo);
|
||||||
|
$this->load->view('includes/footer', $footerInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function used provide the pagination resources
|
||||||
|
* @param {string} $link : This is page link
|
||||||
|
* @param {number} $count : This is page count
|
||||||
|
* @param {number} $perPage : This is records per page limit
|
||||||
|
* @return {mixed} $result : This is array of records and pagination data
|
||||||
|
*/
|
||||||
|
function paginationCompress($link, $count, $perPage = 10) {
|
||||||
|
$this->load->library ( 'pagination' );
|
||||||
|
|
||||||
|
$config ['base_url'] = base_url () . $link;
|
||||||
|
$config ['total_rows'] = $count;
|
||||||
|
$config ['uri_segment'] = SEGMENT;
|
||||||
|
$config ['per_page'] = $perPage;
|
||||||
|
$config ['num_links'] = 5;
|
||||||
|
$config ['full_tag_open'] = '<nav><ul class="pagination">';
|
||||||
|
$config ['full_tag_close'] = '</ul></nav>';
|
||||||
|
$config ['first_tag_open'] = '<li class="arrow">';
|
||||||
|
$config ['first_link'] = 'First';
|
||||||
|
$config ['first_tag_close'] = '</li>';
|
||||||
|
$config ['prev_link'] = 'Previous';
|
||||||
|
$config ['prev_tag_open'] = '<li class="arrow">';
|
||||||
|
$config ['prev_tag_close'] = '</li>';
|
||||||
|
$config ['next_link'] = 'Next';
|
||||||
|
$config ['next_tag_open'] = '<li class="arrow">';
|
||||||
|
$config ['next_tag_close'] = '</li>';
|
||||||
|
$config ['cur_tag_open'] = '<li class="active"><a href="#">';
|
||||||
|
$config ['cur_tag_close'] = '</a></li>';
|
||||||
|
$config ['num_tag_open'] = '<li>';
|
||||||
|
$config ['num_tag_close'] = '</li>';
|
||||||
|
$config ['last_tag_open'] = '<li class="arrow">';
|
||||||
|
$config ['last_link'] = 'Last';
|
||||||
|
$config ['last_tag_close'] = '</li>';
|
||||||
|
|
||||||
|
$this->pagination->initialize ( $config );
|
||||||
|
$page = $config ['per_page'];
|
||||||
|
$segment = $this->uri->segment ( SEGMENT );
|
||||||
|
|
||||||
|
return array (
|
||||||
|
"page" => $page,
|
||||||
|
"segment" => $segment
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
18
application/libraries/Excel.php
Normal file
18
application/libraries/Excel.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
* =======================================
|
||||||
|
* Author : Muhammad Surya Ikhsanudin
|
||||||
|
* License : Protected
|
||||||
|
* Email : mutofiyah@gmail.com
|
||||||
|
*
|
||||||
|
* Dilarang merubah, mengganti dan mendistribusikan
|
||||||
|
* ulang tanpa sepengetahuan Author
|
||||||
|
* =======================================
|
||||||
|
*/
|
||||||
|
require_once APPPATH."third_party/PHPExcel.php";
|
||||||
|
|
||||||
|
class Excel extends PHPExcel {
|
||||||
|
public function __construct() {
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
}
|
||||||
18
application/libraries/Excel2.php
Normal file
18
application/libraries/Excel2.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
/*
|
||||||
|
* =======================================
|
||||||
|
* Author : Muhammad Surya Ikhsanudin
|
||||||
|
* License : Protected
|
||||||
|
* Email : mutofiyah@gmail.com
|
||||||
|
*
|
||||||
|
* Dilarang merubah, mengganti dan mendistribusikan
|
||||||
|
* ulang tanpa sepengetahuan Author
|
||||||
|
* =======================================
|
||||||
|
*/
|
||||||
|
require_once APPPATH."/third_party/PHPExcel.php";
|
||||||
|
|
||||||
|
class Excel extends PHPExcel {
|
||||||
|
public function __construct() {
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
}
|
||||||
34
application/libraries/dompdf_gen.php
Normal file
34
application/libraries/dompdf_gen.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Name: DOMPDF
|
||||||
|
*
|
||||||
|
* Author: Jd Fiscus
|
||||||
|
* jdfiscus@gmail.com
|
||||||
|
* @iamfiscus
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Origin API Class: http://code.google.com/p/dompdf/
|
||||||
|
*
|
||||||
|
* Location: http://github.com/iamfiscus/Codeigniter-DOMPDF/
|
||||||
|
*
|
||||||
|
* Created: 06.22.2010
|
||||||
|
*
|
||||||
|
* Description: This is a Codeigniter library which allows you to convert HTML to PDF with the DOMPDF library
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Dompdf_gen {
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
|
||||||
|
require_once APPPATH.'third_party/dompdf/dompdf_config.inc.php';
|
||||||
|
|
||||||
|
$pdf = new DOMPDF();
|
||||||
|
|
||||||
|
$CI =& get_instance();
|
||||||
|
$CI->dompdf = $pdf;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
10
application/libraries/index.html
Normal file
10
application/libraries/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
44
application/libraries/pdf.php
Normal file
44
application/libraries/pdf.php
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
/**
|
||||||
|
* CodeIgniter PDF Library
|
||||||
|
*
|
||||||
|
* Generate PDF's in your CodeIgniter applications.
|
||||||
|
*
|
||||||
|
* @package CodeIgniter
|
||||||
|
* @subpackage Libraries
|
||||||
|
* @category Libraries
|
||||||
|
* @author Chris Harvey
|
||||||
|
* @license MIT License
|
||||||
|
* @link https://github.com/chrisnharvey/CodeIgniter-PDF-Generator-Library
|
||||||
|
*/
|
||||||
|
|
||||||
|
require_once(dirname(__FILE__) . '/dompdf/dompdf_config.inc.php');
|
||||||
|
|
||||||
|
class Pdf extends DOMPDF
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get an instance of CodeIgniter
|
||||||
|
*
|
||||||
|
* @access protected
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function ci()
|
||||||
|
{
|
||||||
|
return get_instance();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load a CodeIgniter view into domPDF
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
* @param string $view The view to load
|
||||||
|
* @param array $data The view data
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function load_view($view, $data = array())
|
||||||
|
{
|
||||||
|
$html = $this->ci()->load->view($view, $data, TRUE);
|
||||||
|
|
||||||
|
$this->load_html($html);
|
||||||
|
}
|
||||||
|
}
|
||||||
10
application/logs/index.html
Normal file
10
application/logs/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
1811
application/logs/log-2017-04-20.php
Normal file
1811
application/logs/log-2017-04-20.php
Normal file
File diff suppressed because it is too large
Load Diff
361
application/logs/log-2017-04-21.php
Normal file
361
application/logs/log-2017-04-21.php
Normal file
@ -0,0 +1,361 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:51:08 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:41 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 12:59:41 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 12:59:42 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:07:12 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd1A1F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:09:24 --> Severity: Notice --> Undefined variable: PANNumber C:\xampp\htdocs\siddharth_application\application\views\payslipgenerateprint.php 309
|
||||||
|
ERROR - 2017-04-21 13:09:24 --> Severity: Notice --> Undefined variable: UANumber C:\xampp\htdocs\siddharth_application\application\views\payslipgenerateprint.php 315
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:15:48 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:16:13 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd5DE8.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:16:14 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd5F42.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:16:14 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd605D.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:16:14 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd6187.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:16:15 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd62F1.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:16:15 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd6526.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:16:16 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd668F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:16:16 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd67BA.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:28:34 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:34:17 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_E7CD.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:34:17 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:34:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE8A9.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:34:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE8B9.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:36:10 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_A002.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:36:10 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:36:10 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdA0A0.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:39:57 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:27 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:40:27 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:27 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:40:28 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:42:38 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd8C04.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:43:35 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_6995.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:43:35 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:43:35 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd6A42.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:44:46 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_7F5D.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:44:46 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:44:46 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd800A.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:45:15 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdF156.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:46:19 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_EBC8.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:46:19 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:47:11 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_B748.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:47:11 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:47:11 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\ca_B748.tmp): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 171
|
||||||
|
ERROR - 2017-04-21 13:47:12 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdB814.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:48:15 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:48:15 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:48:16 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:51:17 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd75A2.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:17 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7670.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:17 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7680.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:51:17 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd773D.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:17 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd78B8.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7966.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7A23.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7A34.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:51:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7B8E.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:18 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7C5C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:19 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7D19.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:19 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7E15.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:51:19 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7E26.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:52:57 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_FF77.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:57 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:57 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_FF98.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:57 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_FFC7.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_FFF7.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_18.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_47.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_68.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_88.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C7.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_E8.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd214.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:52:58 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd2EF.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:52:59 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4B8.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:52:59 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd5A5.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:52:59 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd672.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:52:59 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd673.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:52:59 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd72F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:00 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd81C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:00 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd958.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:00 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdA16.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:00 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdAD3.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:00 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdB82.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_BF85.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_BFB5.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_BFF5.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C025.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C054.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C084.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C0B4.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C0D4.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C104.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C134.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C154.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C184.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C1B4.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C1D4.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C204.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:53:47 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC2FF.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:48 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC3ED.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:48 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC4C8.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:48 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC4D9.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:48 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC5B5.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:48 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC6B1.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC7BC.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC8A9.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC986.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdC9A6.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCA53.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCB01.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:49 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCB11.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCBAE.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCBAF.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCC6C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCCFB.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCD99.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:53:50 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdCE37.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:39 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_8BFB.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:54:39 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:54:39 --> Severity: Warning --> rename(C:\Users\Venba Saravana\AppData\Local\Temp\ca_8C2B.tmp,C:\Users\Venba Saravana\AppData\Local\Temp\ca_8C2B.tmp.png): The process cannot access the file because it is being used by another process. (code: 32) C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 161
|
||||||
|
ERROR - 2017-04-21 13:54:40 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd8FCC.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:40 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd90A9.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:40 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd9272.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:41 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd94CA.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:42 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd96B4.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:54:42 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd9762.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:03 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:55:12 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_C86.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:55:12 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:55:12 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdD33.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_4491.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_44C1.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_44F1.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 13:55:26 --> Severity: Warning --> rename(C:\Users\Venba Saravana\AppData\Local\Temp\ca_4521.tmp,C:\Users\Venba Saravana\AppData\Local\Temp\ca_4521.tmp.png): The process cannot access the file because it is being used by another process. (code: 32) C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 161
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd465A.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4746.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4776.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4842.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd492F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4A1B.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4A2C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:55:28 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4D30.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4E2C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4F19.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4FE6.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:55:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd5142.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:57:43 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 13:59:23 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE3C4.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:24 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE4B0.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:24 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE57E.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:24 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE67B.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:59:24 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE776.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:25 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE910.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:25 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE920.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 13:59:26 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdEE6F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 50
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 50
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 13:59:50 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 53
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:11 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 81
|
||||||
|
ERROR - 2017-04-21 14:00:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdDE05.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 14:00:28 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE06C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:28 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE139.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE331.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE332.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 14:00:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE41D.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:29 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE4FA.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:30 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE723.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:30 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdE87F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 50
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 50
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:00:54 --> Severity: Notice --> Undefined index: Employee C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 78
|
||||||
|
ERROR - 2017-04-21 14:09:51 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_7697.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 14:09:51 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 14:09:51 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7744.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:09:51 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7764.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 14:12:56 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_49AF.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 14:12:56 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 14:12:56 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4A4C.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:12:56 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd4A5D.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 14:14:27 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_ADC9.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 14:14:27 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 14:14:27 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpdAE76.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:18:36 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_7AE2.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 14:18:36 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-21 14:18:36 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7B7F.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4285
|
||||||
|
ERROR - 2017-04-21 14:18:36 --> Severity: Warning --> unlink(C:\Users\Venba Saravana\AppData\Local\Temp\cpd7B90.tmp.png): Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\lib\class.pdf.php 4286
|
||||||
|
ERROR - 2017-04-21 14:31:27 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_3E32.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-21 14:31:27 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
16
application/logs/log-2017-04-22.php
Normal file
16
application/logs/log-2017-04-22.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-22 10:48:09 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 10:48:09 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 13:50:44 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 13:50:44 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 13:51:19 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 13:51:19 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-04-22 13:54:31 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
|
||||||
|
ERROR - 2017-04-22 13:54:32 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
|
||||||
|
ERROR - 2017-04-22 14:07:27 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
|
||||||
|
ERROR - 2017-04-22 14:07:27 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
|
||||||
|
ERROR - 2017-04-22 14:08:39 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_B9F7.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
|
||||||
|
ERROR - 2017-04-22 14:08:39 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
|
||||||
|
ERROR - 2017-04-22 14:28:14 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-22 14:28:14 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
16
application/logs/log-2017-04-24.php
Normal file
16
application/logs/log-2017-04-24.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-24 07:05:25 --> Severity: Notice --> Undefined property: stdClass::$userId C:\xampp\htdocs\siddharth_application\application\views\POlist.php 71
|
||||||
|
ERROR - 2017-04-24 07:14:24 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:14:24 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:14:25 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:31:29 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:31:29 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:31:29 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
|
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||||
3
application/logs/log-2017-04-26.php
Normal file
3
application/logs/log-2017-04-26.php
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-26 06:23:53 --> Severity: Notice --> Undefined property: stdClass::$userId C:\xampp\htdocs\siddharth_application\application\views\POlist.php 71
|
||||||
27
application/logs/log-2017-04-27.php
Normal file
27
application/logs/log-2017-04-27.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-27 08:18:50 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:18:50 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-04-27 08:32:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:32:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:32:07 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-04-27 08:32:21 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:32:21 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:32:21 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-04-27 08:36:41 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:36:41 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:36:41 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-04-27 08:55:16 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 08:55:16 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-04-27 08:55:23 --> Severity: Notice --> Undefined property: stdClass::$userId C:\xampp\htdocs\siddharth_application\application\views\POlist.php 71
|
||||||
|
ERROR - 2017-04-27 09:02:49 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:03:35 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:04:51 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:05:05 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:05:45 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:06:27 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlistapproval' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||||
|
ERROR - 2017-04-27 09:13:15 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-04-27 09:13:15 --> Unable to connect to the database
|
||||||
4
application/logs/log-2017-04-28.php
Normal file
4
application/logs/log-2017-04-28.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-04-28 11:01:14 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-04-28 11:01:17 --> Severity: Notice --> Undefined variable: filename C:\xampp\htdocs\siddharth_application\application\controllers\purchaseorderform.php 81
|
||||||
22
application/logs/log-2017-05-02.php
Normal file
22
application/logs/log-2017-05-02.php
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-02 07:36:45 --> Severity: Notice --> Undefined variable: option C:\xampp\htdocs\siddharth_application\application\views\addCostCenter.php 86
|
||||||
|
ERROR - 2017-05-02 07:36:45 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
|
||||||
|
ERROR - 2017-05-02 08:23:39 --> Severity: Notice --> Undefined variable: option C:\xampp\htdocs\siddharth_application\application\views\addCostCenter.php 83
|
||||||
|
ERROR - 2017-05-02 08:23:39 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
|
||||||
|
ERROR - 2017-05-02 08:23:56 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
|
||||||
|
ERROR - 2017-05-02 09:14:57 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:14:57 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:14:57 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:20 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:20 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:20 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:46 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:46 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 09:20:46 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-02 11:46:41 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-02 11:46:41 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-02 11:46:41 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-02 11:55:01 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-02 11:55:01 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-02 11:55:01 --> Unable to connect to the database
|
||||||
38
application/logs/log-2017-05-03.php
Normal file
38
application/logs/log-2017-05-03.php
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-03 07:46:35 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 07:46:35 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 07:46:35 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 07:57:57 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 07:57:57 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 07:57:57 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 09:25:01 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 09:25:01 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 09:25:01 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 11:04:12 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 11:04:12 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 11:04:12 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 11:27:08 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 11:27:08 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 11:27:08 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 12:24:58 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:24:58 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:24:58 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 12:25:01 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:25:01 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:25:01 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 12:25:05 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:25:05 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 12:25:05 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 13:39:27 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:27 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:27 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 13:39:32 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:32 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:32 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 13:39:45 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:45 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:39:45 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-03 13:40:03 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:40:03 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-03 13:40:03 --> Unable to connect to the database
|
||||||
23
application/logs/log-2017-05-04.php
Normal file
23
application/logs/log-2017-05-04.php
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-04 12:39:43 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-04 12:39:43 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:41:09 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-04 12:41:09 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
|
ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
|
||||||
7
application/logs/log-2017-05-08.php
Normal file
7
application/logs/log-2017-05-08.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-08 13:15:24 --> Query error: Table 'kasiram9_SiddharthIndustries.T_CostCentre' doesn't exist
|
||||||
|
ERROR - 2017-05-08 13:15:31 --> Query error: Table 'kasiram9_SiddharthIndustries.T_CostCentre' doesn't exist
|
||||||
|
ERROR - 2017-05-08 13:15:38 --> Query error: Table 'kasiram9_SiddharthIndustries.T_CostCentre' doesn't exist
|
||||||
|
ERROR - 2017-05-08 13:30:54 --> Query error: Table 'kasiram9_SiddharthIndustries.T_CostCentre' doesn't exist
|
||||||
|
ERROR - 2017-05-08 13:35:54 --> Query error: Table 'kasiram9_SiddharthIndustries.T_CostCentre' doesn't exist
|
||||||
6
application/logs/log-2017-05-10.php
Normal file
6
application/logs/log-2017-05-10.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-10 13:16:23 --> Severity: Notice --> Undefined variable: searchText C:\xampp\htdocs\siddharth_application\application\views\requisitionlisting.php 36
|
||||||
|
ERROR - 2017-05-10 13:17:54 --> Severity: Notice --> Undefined variable: searchText C:\xampp\htdocs\siddharth_application\application\views\requisitionlisting.php 36
|
||||||
|
ERROR - 2017-05-10 13:18:59 --> Severity: Notice --> Undefined variable: searchText C:\xampp\htdocs\siddharth_application\application\views\requisitionlisting.php 36
|
||||||
|
ERROR - 2017-05-10 13:19:59 --> Severity: Notice --> Undefined variable: searchText C:\xampp\htdocs\siddharth_application\application\views\requisitionlisting.php 36
|
||||||
32
application/logs/log-2017-05-12.php
Normal file
32
application/logs/log-2017-05-12.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:28 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:28 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:28 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:28 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:11:28 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:13:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:22:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
|
ERROR - 2017-05-12 13:31:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 36
|
||||||
21
application/logs/log-2017-05-19.php
Normal file
21
application/logs/log-2017-05-19.php
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 09:01:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-19 13:04:43 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-19 13:04:43 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-19 13:04:43 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-19 13:04:59 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-19 13:04:59 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-19 13:04:59 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-19 13:30:35 --> Severity: Warning --> strpos() expects parameter 1 to be string, array given C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 286
|
||||||
|
ERROR - 2017-05-19 13:30:35 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 288
|
||||||
|
ERROR - 2017-05-19 13:34:12 --> Severity: Warning --> strpos() expects parameter 1 to be string, array given C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 286
|
||||||
|
ERROR - 2017-05-19 13:34:12 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 288
|
||||||
|
ERROR - 2017-05-19 13:45:11 --> Severity: Warning --> strpos() expects parameter 1 to be string, array given C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 286
|
||||||
|
ERROR - 2017-05-19 13:45:11 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 288
|
||||||
66
application/logs/log-2017-05-22.php
Normal file
66
application/logs/log-2017-05-22.php
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-22 09:44:17 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 10:01:18 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:01:18 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:01:18 --> Query error: Unknown column 'Array' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 10:28:20 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:28:20 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:28:20 --> Query error: Unknown column 'Array' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 10:30:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:30:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:30:46 --> Query error: Unknown column 'Array' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 10:32:21 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:32:21 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:32:21 --> Query error: Unknown column 'Array' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 10:38:35 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:38:35 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\siddharth_application\system\database\DB_driver.php 605
|
||||||
|
ERROR - 2017-05-22 10:38:35 --> Query error: Unknown column 'Array' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 10:49:27 --> Severity: Notice --> Undefined index: Totalvalue C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 46
|
||||||
|
ERROR - 2017-05-22 10:50:22 --> Severity: Notice --> Undefined index: Totalvalue C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 46
|
||||||
|
ERROR - 2017-05-22 10:57:22 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 11:10:47 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 11:21:52 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 11:27:09 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 11:28:34 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 11:29:38 --> Query error: Column 'LineItemNo' cannot be null
|
||||||
|
ERROR - 2017-05-22 12:30:27 --> Query error: Unknown column 'ServiceTax' in 'field list'
|
||||||
|
ERROR - 2017-05-22 12:40:09 --> Query error: Unknown column 'ServiceTax' in 'field list'
|
||||||
|
ERROR - 2017-05-22 12:42:17 --> Query error: Unknown column 'ServiceTax' in 'field list'
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Use of undefined constant i - assumed 'i' C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Undefined index: i C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Use of undefined constant i - assumed 'i' C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Undefined index: i C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Use of undefined constant i - assumed 'i' C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:14 --> Severity: Notice --> Undefined index: i C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:35 --> Severity: Notice --> Undefined offset: 1 C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:35 --> Severity: Notice --> Undefined offset: 2 C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:46:35 --> Severity: Notice --> Undefined offset: 3 C:\xampp\htdocs\siddharth_application\application\controllers\servicepurchaseorder.php 231
|
||||||
|
ERROR - 2017-05-22 12:49:00 --> Severity: Notice --> Undefined variable: TaxId C:\xampp\htdocs\siddharth_application\application\models\purchaseorder_model.php 437
|
||||||
|
ERROR - 2017-05-22 12:49:00 --> Query error: Unknown column 'TaxID' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 12:50:30 --> Severity: Notice --> Undefined variable: TaxId C:\xampp\htdocs\siddharth_application\application\models\purchaseorder_model.php 437
|
||||||
|
ERROR - 2017-05-22 12:50:30 --> Severity: Notice --> Undefined variable: TaxId C:\xampp\htdocs\siddharth_application\application\models\purchaseorder_model.php 437
|
||||||
|
ERROR - 2017-05-22 12:50:31 --> Severity: Notice --> Undefined variable: TaxId C:\xampp\htdocs\siddharth_application\application\models\purchaseorder_model.php 437
|
||||||
|
ERROR - 2017-05-22 14:09:06 --> Query error: Unknown column 'ST015' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 14:14:05 --> Query error: Unknown column 'ST015' in 'where clause'
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:16:49 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 41
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-22 14:19:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
127
application/logs/log-2017-05-23.php
Normal file
127
application/logs/log-2017-05-23.php
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-23 07:29:37 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application_23mayServicePOcompl\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-23 07:29:37 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-23 07:30:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application_23mayServicePOcompl\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-23 07:30:06 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-23 07:30:40 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-23 07:30:40 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-23 07:31:23 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-23 07:31:23 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:36:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-23 07:37:42 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 91
|
||||||
|
ERROR - 2017-05-23 07:37:42 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 96
|
||||||
|
ERROR - 2017-05-23 07:37:42 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
|
||||||
|
ERROR - 2017-05-23 07:43:15 --> Severity: Notice --> Undefined variable: Selected C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 92
|
||||||
|
ERROR - 2017-05-23 07:43:15 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 92
|
||||||
|
ERROR - 2017-05-23 07:43:15 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 97
|
||||||
|
ERROR - 2017-05-23 07:43:15 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
|
||||||
|
ERROR - 2017-05-23 07:44:28 --> Query error: Cannot add or update a child row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_PurchaseOrder_LineItem`, CONSTRAINT `T_Requestion_MasterReqNo` FOREIGN KEY (`ReqNo`) REFERENCES `T_Requestion_Master` (`ReqNo`) ON UPDATE CASCADE)
|
||||||
|
ERROR - 2017-05-23 16:11:49 --> Severity: Notice --> Undefined property: stdClass::$ReqBy C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1560
|
||||||
|
ERROR - 2017-05-23 16:11:49 --> Severity: Notice --> Undefined property: stdClass::$ReqType C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1561
|
||||||
|
ERROR - 2017-05-23 16:11:49 --> Severity: Notice --> Undefined property: stdClass::$ReqBy C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1560
|
||||||
|
ERROR - 2017-05-23 16:11:49 --> Severity: Notice --> Undefined property: stdClass::$ReqType C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1561
|
||||||
|
ERROR - 2017-05-23 16:14:19 --> Severity: Notice --> Undefined property: stdClass::$ReqType C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1561
|
||||||
|
ERROR - 2017-05-23 16:14:19 --> Severity: Notice --> Undefined property: stdClass::$ReqType C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 1561
|
||||||
|
ERROR - 2017-05-23 16:36:46 --> Severity: Notice --> Undefined property: stdClass::$CostCenterCode C:\xampp\htdocs\siddharth_application_23mayPO\application\views\editRevenuepurchaseorder.php 2637
|
||||||
|
ERROR - 2017-05-23 17:22:59 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-23 17:22:59 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:22:59 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\block_frame_reflower.cls.php 642
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:14 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\block_frame_reflower.cls.php 642
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\block_frame_reflower.cls.php 516
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:23:15 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\block_frame_reflower.cls.php 642
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
|
ERROR - 2017-05-23 17:24:06 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 494
|
||||||
1376
application/logs/log-2017-05-24.php
Normal file
1376
application/logs/log-2017-05-24.php
Normal file
File diff suppressed because it is too large
Load Diff
227
application/logs/log-2017-05-25.php
Normal file
227
application/logs/log-2017-05-25.php
Normal file
@ -0,0 +1,227 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-25 07:47:31 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 07:50:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 88
|
||||||
|
ERROR - 2017-05-25 07:50:59 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 93
|
||||||
|
ERROR - 2017-05-25 07:50:59 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 07:58:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:00:48 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\block_frame_reflower.cls.php 442
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:00 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:01:55 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:04:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:05:09 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 08:09:12 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:09:42 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:10:09 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:46:24 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:50:13 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 08:51:50 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 09:18:37 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 09:20:44 --> Severity: Notice --> Undefined variable: query C:\xampp\htdocs\siddharth_application_23mayPO\application\models\purchaseorder_model.php 686
|
||||||
|
ERROR - 2017-05-25 09:21:42 --> Severity: Notice --> Undefined variable: result C:\xampp\htdocs\siddharth_application_23mayPO\application\models\purchaseorder_model.php 686
|
||||||
|
ERROR - 2017-05-25 09:24:51 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:34:30 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:35:36 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 11:36:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 11:37:49 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 11:46:52 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:51:24 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:22 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:22 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:22 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:22 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 11:53:22 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 12:46:54 --> Severity: Notice --> Use of undefined constant result - assumed 'result' C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 125
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:40:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 13:41:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:26 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:15:46 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 15:16:45 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:17 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:01:55 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 16:03:19 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:03:34 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:09:26 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:12:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:13:59 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:15:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:17:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:18:19 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:07 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:07 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:07 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:08 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:08 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:08 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:19:08 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:36:19 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:44:57 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-25 16:48:24 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-25 16:48:29 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-25 16:48:30 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
108
application/logs/log-2017-05-26.php
Normal file
108
application/logs/log-2017-05-26.php
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:01 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 08:42:21 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 09:59:55 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 11:26:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 11:28:43 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 11:34:19 --> Query error: Cannot delete or update a parent row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_Revenue_Tax`, CONSTRAINT `T_PurchaseLineItemNo` FOREIGN KEY (`LineItemNo`) REFERENCES `T_PurchaseOrder_LineItem` (`LineItemNo`) ON UPDATE CASCADE)
|
||||||
|
ERROR - 2017-05-26 11:34:29 --> Query error: Cannot delete or update a parent row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_Revenue_Tax`, CONSTRAINT `T_PurchaseLineItemNo` FOREIGN KEY (`LineItemNo`) REFERENCES `T_PurchaseOrder_LineItem` (`LineItemNo`) ON UPDATE CASCADE)
|
||||||
|
ERROR - 2017-05-26 11:37:08 --> Severity: Warning --> print_r() expects at least 1 parameter, 0 given C:\xampp\htdocs\siddharth_application_23mayPO\application\controllers\purchaseorder.php 741
|
||||||
|
ERROR - 2017-05-26 11:38:36 --> Query error: Cannot delete or update a parent row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_Revenue_Tax`, CONSTRAINT `T_PurchaseLineItemNo` FOREIGN KEY (`LineItemNo`) REFERENCES `T_PurchaseOrder_LineItem` (`LineItemNo`) ON UPDATE CASCADE)
|
||||||
|
ERROR - 2017-05-26 11:40:21 --> Query error: Cannot delete or update a parent row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_Revenue_Tax`, CONSTRAINT `T_PurchaseLineItemNo` FOREIGN KEY (`LineItemNo`) REFERENCES `T_PurchaseOrder_LineItem` (`LineItemNo`) ON UPDATE CASCADE)
|
||||||
|
ERROR - 2017-05-26 12:43:04 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 12:46:56 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 12:48:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 12:49:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 12:52:45 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 12:53:10 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 13:12:25 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 13:15:35 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 13:40:46 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:39:36 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:40:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 14:54:23 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 14:55:03 --> Query error: Subquery returns more than 1 row
|
||||||
|
ERROR - 2017-05-26 14:55:15 --> Query error: Subquery returns more than 1 row
|
||||||
|
ERROR - 2017-05-26 14:55:40 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:55:57 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:56:36 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-26 14:57:40 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:05 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-26 15:38:54 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
73
application/logs/log-2017-05-27.php
Normal file
73
application/logs/log-2017-05-27.php
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-27 07:26:19 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:27 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:24:47 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 11:27:02 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:27:05 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:37:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:37:33 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:40:52 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:41:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:41:12 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-27 11:42:18 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 11:52:42 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 13:32:32 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:33 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:32:38 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:37:50 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-27 13:38:12 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 13:40:47 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-27 13:41:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
217
application/logs/log-2017-05-29.php
Normal file
217
application/logs/log-2017-05-29.php
Normal file
@ -0,0 +1,217 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 07:04:41 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:20 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 08:35:40 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:00:01 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:00:10 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:11 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:10:29 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application_23mayPO\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-29 12:12:01 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:12:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:14:04 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:34:01 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:35:17 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:38:56 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:39:57 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:46:02 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:46:36 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:53:08 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-29 12:53:15 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:16 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:31 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:53:32 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:57:08 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:41 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address
|
||||||
|
FROM T_PurchaseOr' at line 5
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 12:58:53 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:22 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:01:56 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-29 13:14:09 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application_23mayPO\application\views\alterpurchaseorder.php 171
|
||||||
418
application/logs/log-2017-05-30.php
Normal file
418
application/logs/log-2017-05-30.php
Normal file
@ -0,0 +1,418 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-30 08:16:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-30 08:20:46 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-30 09:25:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-30 09:34:58 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application_23mayPO\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-30 09:35:08 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:35:09 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:16 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:17 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:40:42 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:50 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:41:51 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:42:41 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:45:27 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\style.cls.php 948
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 09:46:03 --> Severity: Warning --> A non-numeric value encountered C:\xampp\htdocs\siddharth_application_23mayPO\application\third_party\dompdf\include\page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-05-30 10:17:50 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:17:50 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:17:50 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:17:51 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:17:51 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:17:51 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:19:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
|
ERROR - 2017-05-30 10:22:08 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:22:08 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:22:08 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:22:08 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:22:08 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:22:09 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:22:32 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:23:46 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:23:46 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:23:47 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:23:47 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:23:47 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:23:47 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:26:06 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:26:06 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:26:07 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:26:07 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:26:07 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:26:07 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:26:38 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:26:39 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:26:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:26:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:26:40 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:26:40 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:26:59 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:27:09 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:27:09 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:27:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:27:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:27:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:27:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:27:16 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:29:20 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:31:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:32:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 10:34:38 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:03:40 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:04:13 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:04:13 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:04:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:04:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:04:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:04:14 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:05:23 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:05:24 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:05:24 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:05:24 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:05:24 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:05:24 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:05:49 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:06:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:06:46 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 65
|
||||||
|
ERROR - 2017-05-30 11:06:46 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 95
|
||||||
|
ERROR - 2017-05-30 11:06:46 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 96
|
||||||
|
ERROR - 2017-05-30 11:06:47 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 97
|
||||||
|
ERROR - 2017-05-30 11:06:47 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 143
|
||||||
|
ERROR - 2017-05-30 11:06:47 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 171
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:07:27 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:08:28 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:08:28 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:08:29 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:08:29 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:08:29 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:08:29 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:08:29 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:09:51 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:09:58 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:10:03 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:11:02 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:12:34 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:12:35 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:12:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:13:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:15:14 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:16:44 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:16:54 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:17:11 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:17:49 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:20:41 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:20:42 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:21:03 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:21:17 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:21:17 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:21:17 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:21:18 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:21:18 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:21:18 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:21:18 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:22:09 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:32:45 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 85
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:32:46 --> Severity: Notice --> Undefined variable: Suplist C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 3342
|
||||||
|
ERROR - 2017-05-30 11:33:27 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:33:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:33:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:33:27 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:33:27 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:35:35 --> Severity: Notice --> Undefined variable: SupAddress C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 970
|
||||||
|
ERROR - 2017-05-30 11:35:56 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:35:56 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:35:56 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:35:56 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:35:56 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:39:02 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application_Emergpo\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:39:02 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application_Emergpo\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:39:02 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application_Emergpo\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:39:02 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application_Emergpo\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:39:02 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application_Emergpo\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-30 11:46:01 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-30 11:46:01 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-30 11:46:01 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-30 11:46:01 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-30 11:46:01 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
75
application/logs/log-2017-05-31.php
Normal file
75
application/logs/log-2017-05-31.php
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CompanyAddress C:\xampp\htdocs\siddharth_application\application\views\importpo.php 98
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 109
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 118
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CompanyAddress C:\xampp\htdocs\siddharth_application\application\views\importpo.php 98
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 109
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 118
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
|
||||||
|
ERROR - 2017-05-31 09:59:01 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-31 09:59:01 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-31 09:59:01 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-31 09:59:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-31 09:59:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||||
|
ERROR - 2017-05-31 09:59:06 --> Unable to connect to the database
|
||||||
|
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
|
||||||
|
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
|
||||||
|
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
|
||||||
|
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
|
||||||
|
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
|
||||||
|
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
|
||||||
|
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
|
||||||
|
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
|
||||||
|
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
|
||||||
|
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
|
||||||
|
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
|
||||||
|
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
|
||||||
|
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222
|
||||||
|
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222
|
||||||
|
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222
|
||||||
|
ERROR - 2017-05-31 14:27:45 --> Unable to load the requested class: phpreport
|
||||||
|
ERROR - 2017-05-31 14:28:00 --> Unable to load the requested class: phpreport
|
||||||
|
ERROR - 2017-05-31 14:33:42 --> Non-existent class: Excel
|
||||||
|
ERROR - 2017-05-31 14:34:08 --> Non-existent class: Excel2
|
||||||
|
ERROR - 2017-05-31 15:24:27 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_result.php 38
|
||||||
1032
application/logs/log-2017-06-01.php
Normal file
1032
application/logs/log-2017-06-01.php
Normal file
File diff suppressed because it is too large
Load Diff
108
application/logs/log-2017-06-02.php
Normal file
108
application/logs/log-2017-06-02.php
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-06-02 07:21:22 --> Severity: Notice --> Undefined variable: searchText C:\xampp\htdocs\siddharth_application\application\views\assetListing.php 35
|
||||||
|
ERROR - 2017-06-02 07:21:22 --> Severity: Notice --> Undefined property: CI_Loader::$pagination C:\xampp\htdocs\siddharth_application\application\views\assetListing.php 90
|
||||||
|
ERROR - 2017-06-02 08:28:41 --> Query error: Unknown column 'det.*dep.DepartmentName' in 'field list'
|
||||||
|
ERROR - 2017-06-02 15:00:10 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:10 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:11 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:00:12 --> Severity: Notice --> Undefined index: EmpList C:\xampp\htdocs\siddharth_application\application\views\addNew.php 46
|
||||||
|
ERROR - 2017-06-02 15:16:51 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as capital, sum(if(budgettype=REVENUE, `budgetamount`, `0))` as revenue, sum(if(' at line 1
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user