diff --git a/application/logs/log-2017-05-03.php b/application/logs/log-2017-05-03.php new file mode 100644 index 00000000..1a31b00e --- /dev/null +++ b/application/logs/log-2017-05-03.php @@ -0,0 +1,38 @@ + + +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 diff --git a/application/views/alterpurchaseorder.php b/application/views/alterpurchaseorder.php index c7a3b676..dff73213 100644 --- a/application/views/alterpurchaseorder.php +++ b/application/views/alterpurchaseorder.php @@ -12,8 +12,7 @@ function selectpomodel() { }
- -
+

Emergency Purchase Order

@@ -166,9 +165,7 @@ function selectpomodel() {
- - - + +
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -690,7 +680,7 @@ function selectpomodel() {
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true'); @@ -941,7 +931,7 @@ function selectpomodel() {
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -950,7 +940,7 @@ function selectpomodel() {
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -959,26 +949,24 @@ function selectpomodel() {
-
+
-
+ Basic Price in US $ per Ton : -
-
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'placeholder '=>'basic price','required' => 'true'); echo form_input($data); ?>
-
+
-
+ Exchange Rate : -
-
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true'); @@ -986,14 +974,13 @@ function selectpomodel() { ?>
-
+
-
- Basic value in INR : -
-
+ Basic value in INR : + +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true'); @@ -1001,12 +988,12 @@ function selectpomodel() { ?>
-
- Click to know currency value + + Click here to check Today's Foreign Exchange value
-
+

-
+
Basic Price: @@ -1197,7 +1184,7 @@ function selectpomodel() {
-
+
Additional Excise duty : (g) @@ -1277,7 +1264,7 @@ function selectpomodel() { ?>
-
+
Quantity
-
+
'Comments','value' => set_value('Comments'),'id'=>'Comments', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); + echo form_textarea($data); ?>
-
+
-

Purchase Order

+

Purchase Order

-
-
- -
- 'Selected Requistion No'); - - $options["0"] = 'REQ00001'; - $options["1"] = 'REQ00002'; - $options["2"] = 'REQ00003'; - - echo form_dropdown('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"' ,'multiple="true"'); +
+
+ +
+ +
+
+
+ +
+ 'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control datePicker' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+ + + + + + +
+ +
+
+ Select Range
+ + + "Range","id"=>"Local","value"=>"Local", 'checked'=>set_radio('Range', 'Local', TRUE))); ?> +
"Range","id"=>"Inter_state","value"=>"Inter_state", 'checked'=>set_radio('Range', 'Inter_state', FALSE))); ?> + + +
+ + +
+ + +
+ + + - ?> -
-
-
- -
- 'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control datePicker' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
- - - -
-
@@ -248,7 +330,7 @@ function myFunction() {
- +
'Rate','value' => set_value('Rate'),'id'=>'Rate', 'class' => 'form-control' ,'required' => 'true' ); @@ -257,7 +339,7 @@ function myFunction() {
- +
'TotAmt','value' => set_value('TotAmt'),'id'=>'TotAmt', 'class' => 'form-control' ,'readonly' => 'true'); @@ -266,7 +348,7 @@ function myFunction() {
- +
@@ -292,7 +374,7 @@ function myFunction() {
- +
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); @@ -309,10 +391,8 @@ function myFunction() { ?>
-
  -
-
- +
+
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); @@ -321,7 +401,7 @@ function myFunction() {
- +
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); @@ -329,10 +409,13 @@ function myFunction() { ?>
+ + +
-
+
@@ -356,7 +439,7 @@ function myFunction() {
- +
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); @@ -372,10 +455,9 @@ function myFunction() { echo form_input($data); ?>
-
  -
-
- +
+
+
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); @@ -384,7 +466,7 @@ function myFunction() {
- +
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); @@ -392,10 +474,84 @@ function myFunction() { ?>
+
-
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+ +
+
+ +
+ 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+ +
+
+
+
@@ -419,7 +575,7 @@ function myFunction() {
- +
'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); @@ -435,163 +591,21 @@ function myFunction() { echo form_input($data); ?>
-
  -
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
-
-
-   -
-
-   -
-
-   -
  -
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
-
-
-   -
-
-   -
-
-   -
  -
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
-
-
-
-   -
-
-   -
-
-   -
  -
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> -
-
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
- -
+
-
-
-
-
-
-   -
-
-   -
-
-   -
-
-   -
  -
-
- -
- 'DiscountValue','value' => set_value('DiscountValue'),'id'=>'DiscountValue', 'class' => 'form-control' ,'readonly' => 'true'); - echo form_input($data); - ?> -
-
-
-
- - - -
- - - +
+ + +
+
@@ -708,7 +722,7 @@ function myFunction() {
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ); @@ -717,7 +731,7 @@ function myFunction() {
- +
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'readonly' => 'true'); @@ -1013,7 +1027,7 @@ function myFunction() {
- +
'imRate','value' => set_value('imRate'),'id'=>'imRate', 'class' => 'form-control' ,'required' => 'true' ); @@ -1022,7 +1036,7 @@ function myFunction() {
- +
'imTotalAmount','value' => set_value('imTotalAmount'),'id'=>'imTotalAmount', 'class' => 'form-control' ,'readonly' => 'true'); @@ -1073,18 +1087,15 @@ function myFunction() { ?>
-
- - - + -
+

-
+
-
+
Basic Price:
@@ -1273,7 +1284,7 @@ function myFunction() {
-
+
Additional Excise duty : (g) @@ -1353,7 +1364,7 @@ function myFunction() { ?>
-
+
Quantity
250.00 50250.00     -     +     + 2 @@ -1452,7 +1464,8 @@ function myFunction() { 250.00 50250.00     -     +     + 3 REQ0003 @@ -1463,16 +1476,25 @@ function myFunction() { 250.00 50250.00     -     +     +
-
- -
-
+
+
+ 'Comments','value' => set_value('Comments'),'id'=>'Comments', 'class' => 'form-control' ,'required' => 'true'); + echo form_textarea($data); + ?> +
+
+
+
+
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1480,14 +1502,15 @@ function myFunction() { ?>
-
-

+
+
+
-
+ -
-
+
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1500,10 +1523,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1516,10 +1539,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1532,10 +1555,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1548,10 +1571,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1564,10 +1587,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1580,10 +1603,10 @@ function myFunction() {
-
+ -
-
+
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1596,10 +1619,10 @@ function myFunction() {
-
-
-
+ +
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1612,10 +1635,10 @@ function myFunction() {
-
+ -
-
+
+
'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true' ,'readonly' => 'true'); @@ -1625,12 +1648,20 @@ function myFunction() {
-
-
+
+
+
+ -
+ +

+
+
+
+
+