From f5aeca2b390e15f8e07159d86fed75f098a9e041 Mon Sep 17 00:00:00 2001 From: saravanakumar_kandasami Date: Mon, 24 Apr 2017 12:10:01 +0530 Subject: [PATCH] responsiveness and pdf table updated code --- application/logs/log-2017-04-24.php | 12 + .../third_party/dompdf/lib/fonts/log.htm | 2 +- application/views/includes/header.php | 28 +- application/views/payslipgenerateprint.php | 259 ++++++++---------- 4 files changed, 144 insertions(+), 157 deletions(-) create mode 100644 application/logs/log-2017-04-24.php diff --git a/application/logs/log-2017-04-24.php b/application/logs/log-2017-04-24.php new file mode 100644 index 00000000..84e42028 --- /dev/null +++ b/application/logs/log-2017-04-24.php @@ -0,0 +1,12 @@ + + +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 diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm index 0c81598d..a7fe565d 100644 --- a/application/third_party/dompdf/lib/fonts/log.htm +++ b/application/third_party/dompdf/lib/fonts/log.htm @@ -1 +1 @@ -8,192 KB 541.3120 ms
\ No newline at end of file +2,048 KB 323.2479 ms
\ No newline at end of file diff --git a/application/views/includes/header.php b/application/views/includes/header.php index cf05846a..33f27656 100644 --- a/application/views/includes/header.php +++ b/application/views/includes/header.php @@ -1,4 +1,3 @@ - @@ -15,8 +14,7 @@ - - + @@ -29,16 +27,16 @@ - - + + - + - + - + @@ -69,7 +67,19 @@ } #menu{color: #fff;line-height: 20px;position: relative;display: block; padding: 15px 15px;background-color: transparent;cursor: pointer; } - + + @media (max-width: 500px) + { + .navbar-custom-menu>.navbar-nav>li>.dropdown-menu { + position: absolute; + right: 5%; + left: auto; + border: 1px solid #ddd; + background: #3c8dbc; + } + } + + .box-header{padding:20px ! important} diff --git a/application/views/payslipgenerateprint.php b/application/views/payslipgenerateprint.php index 20964db6..bfa797c4 100644 --- a/application/views/payslipgenerateprint.php +++ b/application/views/payslipgenerateprint.php @@ -163,153 +163,118 @@ if($RecCount > 0) } ?> -
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + - - -
-

Siddharth Industries

Survey No: 168/1C3,Pennalur Pet Road,Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.
PaySlip for the month - +
+

Siddharth Industries

Survey No: 168/1C3,Pennalur Pet Road,Goonipalyam village,
Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.
PaySlip for the month -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name : Employee ID :
Desigination : Department :
Date Of Joining : Days Worked :
Date Of Birth : No Of Working Days:
PF Account Number : Balance Advance :
Bank Name : OT in Hours:
Bank IFSC : ESI Account Number :
Bank Account Number : Loss Of Pay :
PAN Number : QWERS3423E UAN Number : 101033275864
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
EarningsAmount
Basic Plus DA
House Rent Allowance
Food Allowance
OT Salary
Incentive
-
- - - - - - - - - - - - - - - - - -
DeductionsAmount
Provident Fund
Employee State Insurance
Advance
-
- - - - - -
- - - - - -
Total Earning (Rounded) (TE)
-
- - - - - -
Total Deduction (Rounded)(TD)
-
- - - - - - -
Net Pay (Rounded) :
-
-
This is a computer generated document. This does not require signature.
- \ No newline at end of file +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name :Employee ID :
Desigination : Department :
Date Of Joining : Days Worked :
Date Of Birth :No Of Working Days:
PF Account Number :Balance Advance :
Bank Name :OT in Hours:
Bank IFSC :ESI Account Number :
Bank Account Number : Loss Of Pay :
PAN Number : QWERS3423EUAN Number : 101033275864
+
EarningsAmountDeductionsAmount
Basic Plus DAProvident Fund
House Rent AllowanceEmployee State Insurance
Food AllowanceAdvance
Incentive 
OT Salary  
Total Earning (Rounded) (TE)Total Deduction (Rounded)(TD)
Net Pay (Rounded) : 
This is a computer generated document. This document does not require signature.
\ No newline at end of file