changes in PO pdf
This commit is contained in:
parent
45cbdd0bca
commit
dcf0752b18
0
application/logs/log-2017-09-20.php
Normal file → Executable file
0
application/logs/log-2017-09-20.php
Normal file → Executable file
7
application/logs/log-2017-09-22.php
Normal file
7
application/logs/log-2017-09-22.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-09-22 12:33:39 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/22sept/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-09-22 12:33:49 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/22sept/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-09-22 12:34:03 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/22sept/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-09-22 12:36:26 --> Query error: Column 'PONO' cannot be null
|
||||
ERROR - 2017-09-22 12:38:43 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/22sept/siddharth_application2/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
@ -141,7 +141,7 @@
|
||||
|
||||
<style>
|
||||
@page { margin: 290px 25px 210px 25px; }
|
||||
.header { position: fixed; left: 0px; top: -290px; right: 0px; height: 500px;text-align: center; }
|
||||
.header { position: fixed; left: 0px; top: -270px; right: 0px; height: 500px;text-align: center; }
|
||||
.footer { position: fixed; bottom: 10px;}
|
||||
.pagenum:before { content: counter(page); }
|
||||
</style>
|
||||
@ -190,6 +190,7 @@
|
||||
|
||||
|
||||
<div class="header" style="font-size:12px;">
|
||||
<br>
|
||||
<div style="text-align:right;">
|
||||
<?php
|
||||
if ($postatus == PO_RELEASED || $postatus == PO_SERVICE_COMPLETED || $postatus == MRIR_APPROVED || $postatus == MRIR_REJECTED || $postatus == IGR_CREATED)
|
||||
@ -199,17 +200,18 @@
|
||||
echo '<b>DRAFT</b>'; }
|
||||
?>
|
||||
</div>
|
||||
<p> </p>
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center></td>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center><div style="text-align: right;">SI/PUR/R 02</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:1px;background-color: #2c0101;" rowspan="2"><center><img width="100" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg==" width="80" /></center></td>
|
||||
<td style="text-align: left;" colspan="5" rowspan="2">
|
||||
<span><strong style="font-size:16px;"> <?php echo $CompanyName; ?> </strong></span><br>
|
||||
<span><?php echo $CompanyAddress; ?></span><br> <table style="margin-left: -1px;">
|
||||
<span><?php echo $CompanyAddress; ?></span><br><br>
|
||||
<table style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<strong>web: </strong><?php echo $companyWebsit; ?>
|
||||
@ -247,7 +249,22 @@
|
||||
<td colspan="3"><strong>Our Reference : </strong><br> <?php echo $ourRef; ?> </td> </tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br /><strong>Email :</strong><?php echo $supplierEmail; ?><br><table width="100%" style="margin-left: -1px;"><tr><td style="border: none;"><strong>Vendor code:</strong> <?php echo $supplierVendor; ?> </td><td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td></tr><tr><td style="border: none;width:50%"><strong>Contact :</strong><?php echo $supRef; ?> </td><td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td></tr></table></td>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br />
|
||||
|
||||
|
||||
|
||||
<table width="100%" style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td width="35%" style="border: none;"><strong>Vendor code:</strong><?php echo $supplierVendor; ?></td>
|
||||
<td width="65%" style="border: none;"><strong>Email :</strong><?php echo $supplierEmail; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td>
|
||||
<td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td rowspan="2" colspan="2"><u><strong style="font-size:16px;">Shipped To:</strong></u><br /><?php echo $CompanyAddress;?><br> <strong>State code:</strong><?php echo $CompanyStateCode;?> </td>
|
||||
<td colspan="6"><strong>Delivery</strong> :<br><?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
@ -274,9 +291,22 @@
|
||||
|
||||
<div class="page" style="height:98%;border-right: solid 1.5px;border-left: solid 1.5px;font-size:12px;">
|
||||
<br>
|
||||
<p><strong>Mode of Shipment</strong>: <?php echo $modShp; ?></p>
|
||||
<p><strong>Insurance : <?php echo $insNo; ?></strong></p>
|
||||
<p>Please arrange to deliver the materials/ services listed below as per schedule to our works</p>
|
||||
<br>
|
||||
<br>
|
||||
<table style="border-collapse: collapse;width:100%;border-left-style:hidden;border-right-style:hidden;border-top-style:hidden;border-bottom-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" style="border: none;"><strong>Contact :</strong> <?php echo $supRef; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Mode of Shipment</strong>: <?php echo $modShp; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Insurance </strong>:<?php echo $insNo; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;">Please arrange to deliver the materials/ services listed below as per schedule to our works</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="border-collapse: collapse; width: 100%;border-right-style:hidden;border-left-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr style="text-align: center;">
|
||||
@ -372,7 +402,7 @@
|
||||
if($i>0){
|
||||
?>
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<table style="border-collapse: collapse;font-size:12px;border-left-style:hidden;border-right-style:hidden;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" colspan="3">
|
||||
@ -418,7 +448,7 @@
|
||||
|
||||
|
||||
|
||||
<span><b>Tax and other details:</b></span>
|
||||
<span><strong>Tax and other details:</strong></span>
|
||||
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" width="60%" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -532,8 +562,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<p style="text-align: left;"><strong>Special instructions:</strong></p>
|
||||
<p style="text-align: left;"><?php echo $ServiceDescription;?></p>
|
||||
<div style="text-align: left;"><strong>Special Instructions:</strong><?php echo $ServiceDescription;?></div>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;position:fixed;bottom:115px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
|
||||
|
||||
46
application/views/importpopdf.php
Normal file → Executable file
46
application/views/importpopdf.php
Normal file → Executable file
@ -214,6 +214,8 @@
|
||||
|
||||
|
||||
<div class="header" style="font-size:12px;">
|
||||
<br>
|
||||
<br>
|
||||
<div style="text-align:right;">
|
||||
<?php
|
||||
if ($postatus == PO_RELEASED || $postatus == PO_SERVICE_COMPLETED || $postatus == MRIR_APPROVED || $postatus == MRIR_REJECTED || $postatus == IGR_CREATED)
|
||||
@ -228,17 +230,17 @@
|
||||
|
||||
?>
|
||||
</div>
|
||||
<p> </p>
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center></td>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center><div style="text-align: right;">SI/PUR/R 02</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:1px;background-color: #2c0101;" rowspan="2"><center><img width="100" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg==" width="80" /></center></td>
|
||||
<td style="text-align: left;" colspan="5" rowspan="2">
|
||||
<span><strong style="font-size:16px;"> <?php echo $CompanyName; ?> </strong></span><br>
|
||||
<span><?php echo $CompanyAddress; ?></span><br>
|
||||
<span><?php echo $CompanyAddress; ?></span><br> <br>
|
||||
<table style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
@ -279,7 +281,22 @@
|
||||
<tr>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong>
|
||||
|
||||
</u><br /> <?php echo $SuplierName?> <br/><?php echo $SuplierAddress ?><br/></br> <strong>Email :</strong><?php echo $SupEmail; ?><br><table width="100%" style="margin-left: -1px;"><tr><td style="border: none;"><strong>Vendor code:</strong> <?php echo $supplierVendor; ?> </td><td style="border: none;"><strong>PAN:</strong><?php echo $supplierPAN; ?></td></tr><tr><td style="border: none;width:50%"><strong>Contact :</strong> <?php echo $SupplierContact; ?> </td><td style="border: none;"><strong>GSTIN:</strong> <?php echo $supplierGST; ?> </td></tr></table></td>
|
||||
</u><br /> <?php echo $SuplierName?> <br/><?php echo $SuplierAddress ?><br><br>
|
||||
|
||||
|
||||
<table width="100%" style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td width="35%" style="border: none;"><strong>Vendor code:</strong> <?php echo $supplierVendor; ?></td>
|
||||
<td width="65%" style="border: none;"><strong>Email :</strong><?php echo $SupEmail; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>PAN:</strong><?php echo $supplierPAN; ?></td>
|
||||
<td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGST; ?> </td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
<td rowspan="2" colspan="2"><u><strong style="font-size:16px;">Shipped To:</strong></u><br /><?php echo $CompanyAddress;?><br> <strong>State code:</strong><?php echo $CompanyStateCode;?> </td>
|
||||
<td colspan="6"><table><tr><td style="border: none;"><strong>Dispatch Instruction:</strong><br><?php echo $Import_DispatchDetails.$DeliverySchedule?></td></tr><tr><td style="border: none;"><strong>Place of Orgin:</strong><br><?php echo $PlaceofOrigin?></td></tr></table></td>
|
||||
@ -315,9 +332,22 @@
|
||||
<div class="page" style="height:98%;border-right: solid 1.5px ;
|
||||
border-left: solid 1.5px;font-size:12px;">
|
||||
<br>
|
||||
<p><strong>Mode of Shipment</strong> : <?php echo $ModeOfShipment ?></p>
|
||||
<p><strong>Insurance</strong> : <?php echo $InsuranceNo ?></p>
|
||||
<p>Please arrange to deliver the material /services listed below as per schedule to our works</p>
|
||||
<br>
|
||||
<br>
|
||||
<table style="border-collapse: collapse;width:100%;border-left-style:hidden;border-right-style:hidden;border-top-style:hidden;border-bottom-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" style="border: none;"><strong>Contact :</strong> <?php echo $SupplierContact; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Mode of Shipment</strong>: <?php echo $ModeOfShipment ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Insurance </strong>:<?php echo $InsuranceNo ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;">Please arrange to deliver the materials/ services listed below as per schedule to our works</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="border-collapse: collapse;width: 100%;border-left-style:hidden;border-right-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -443,7 +473,7 @@
|
||||
if($i>0){
|
||||
?>
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<table style="border-collapse: collapse;font-size:12px;border-left-style:hidden;border-right-style:hidden;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" colspan="3">
|
||||
|
||||
@ -197,13 +197,14 @@
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center></td>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center><div style="text-align: right;">SI/PUR/R 02</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:1px;background-color: #2c0101;" rowspan="2"><center><img width="100" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg==" width="80" /></center></td>
|
||||
<td style="text-align: left;" colspan="5" rowspan="2">
|
||||
<span><strong style="font-size:16px;"> <?php echo $CompanyName; ?> </strong></span><br>
|
||||
<span><?php echo $CompanyAddress; ?></span><br> <table style="margin-left: -1px;">
|
||||
<span><?php echo $CompanyAddress; ?></span><br> <br>
|
||||
<table style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<strong>web: </strong><?php echo $companyWebsit; ?>
|
||||
@ -241,7 +242,19 @@
|
||||
<td colspan="3"><strong>Our Reference : </strong><br><?php echo $ourRef; ?></td> </tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br /><strong>Email :</strong><?php echo $supplierEmail; ?><br><table width="100%" style="margin-left: -1px;"><tr><td style="border: none;"><strong>Vendor code:</strong> <?php echo $supcode; ?> </td><td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td></tr><tr><td style="border: none;width:50%"><strong>Contact :</strong><?php echo $supRef; ?> </td><td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td></tr></table></td>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br />
|
||||
<table width="100%" style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td width="35%" style="border: none;"><strong>Vendor code:</strong> <?php echo $supcode; ?></td>
|
||||
<td width="65%" style="border: none;"><strong>Email :</strong><?php echo $supplierEmail; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td>
|
||||
<td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td rowspan="2" colspan="2"><u><strong style="font-size:16px;">Shipped To:</strong></u><br /><?php echo $CompanyAddress;?><br> <strong>State code:</strong><?php echo $statecode;?> </td>
|
||||
<td colspan="6"><strong>Delivery</strong> :<br><?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
@ -265,13 +278,27 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="page" style="height:98%; border-right: solid 1.5px ;
|
||||
border-left: solid 1.5px ;font-size:12px;">
|
||||
|
||||
<p><strong>Mode of Shipment</strong>:<?php echo $modeofshipment;?> </p>
|
||||
<p><strong>Insurance : </strong><?php echo $insuranceno;?></p>
|
||||
<p>Please arrange to deliver the materials/ services listed below as per schedule to our works</p>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table style="border-collapse: collapse;width:100%;border-left-style:hidden;border-right-style:hidden;border-top-style:hidden;border-bottom-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" style="border: none;"><strong>Contact :</strong> <?php echo $supRef; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Mode of Shipment</strong>: <?php echo $modeofshipment;?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Insurance </strong>:<?php echo $insuranceno;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;">Please arrange to deliver the materials/ services listed below as per schedule to our works</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse; width: 100%;border-left-style:hidden;border-right-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
@ -370,8 +397,12 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
<br>
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;border-left-style:hidden;border-right-style:hidden;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$i=0;
|
||||
if(!empty($POItem))
|
||||
{
|
||||
@ -383,8 +414,6 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
||||
}
|
||||
if($i>0){
|
||||
?>
|
||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" colspan="3">
|
||||
<p>Amended Details</p>
|
||||
@ -408,9 +437,7 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
||||
<td style="text-align: center;"><strong>Item Description</strong></td>
|
||||
<td style="text-align: center;" rowspan="2"><strong>Previous Details</strong></td><td style="text-align: center;" rowspan="2" ><strong>Current Details</strong></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php if(!empty($POItem))
|
||||
{
|
||||
|
||||
@ -418,12 +445,15 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
||||
{
|
||||
echo $rec->LineAmend ;
|
||||
}
|
||||
} ?>
|
||||
} }?>
|
||||
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<?php
|
||||
}?>
|
||||
<p> </p>
|
||||
|
||||
<br>
|
||||
|
||||
<span><strong>Tax and other details:</strong></span>
|
||||
<table style="border-collapse: collapse; height: 36px;border-left-style:hidden;" border="1" width="60%" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
@ -495,8 +525,7 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
||||
}?>
|
||||
</tbody>
|
||||
</table>
|
||||
<p style="text-align: left;"><strong>Special instructions:</strong></p>
|
||||
<p style="text-align: left;"><?php echo $ServiceDescription;?></p>
|
||||
<div style="text-align: left;"><strong>Special instructions:</strong><?php echo $ServiceDescription;?></div>
|
||||
|
||||
<table style="border-collapse: collapse;position:fixed;bottom:115px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
|
||||
@ -133,8 +133,8 @@
|
||||
|
||||
?>
|
||||
<style>
|
||||
@page { margin: 275px 25px 210px 25px; }
|
||||
.header { position: fixed; left: 0px; top: -280px; right: 0px; height: 500px;text-align: center; }
|
||||
@page { margin: 275px 25px 180px 25px; }
|
||||
.header { position: fixed; left: 0px; top: -288px; right: 0px; height: 500px;text-align: center; }
|
||||
.footer { position: fixed; bottom: 10px;}
|
||||
.pagenum:before { content: counter(page); }
|
||||
|
||||
@ -182,26 +182,31 @@
|
||||
</div>
|
||||
|
||||
<div class="header" style="font-size:12px;">
|
||||
<br>
|
||||
<br>
|
||||
<div style="text-align:right;">
|
||||
<?php
|
||||
if ($postatus == PO_RELEASED || $postatus == PO_SERVICE_COMPLETED || $postatus == MRIR_APPROVED || $postatus == MRIR_REJECTED || $postatus == IGR_CREATED)
|
||||
{ echo '<br>'; }
|
||||
{
|
||||
echo '<br>';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<p> </p> <b>DRAFT</b>'; }
|
||||
echo '<div><b>DRAFT</b> </div>'; }
|
||||
?>
|
||||
</div>
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center></td>
|
||||
<td style= "text-align: center;" colspan="12"><center> <span style="font-size:24px;">PURCHASE ORDER </span></center><div style="text-align: right;">SI/PUR/R 02</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:1px;background-color: #2c0101;" rowspan="2"><center><img width="100" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg==" width="80" /></center></td>
|
||||
<td style="text-align: left;" colspan="5" rowspan="2">
|
||||
<span><strong style="font-size:16px;"> <?php echo $CompanyName; ?> </strong></span><br>
|
||||
<span><?php echo $CompanyAddress; ?></span><br> <table style="margin-left: -1px;">
|
||||
<span><?php echo $CompanyAddress; ?></span><br><br>
|
||||
<table style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<strong>web: </strong><?php echo $companyWebsit; ?>
|
||||
@ -238,7 +243,24 @@
|
||||
</td>
|
||||
<td colspan="3"><strong>Our Reference : </strong><br> <?php echo $ourRef; ?></td> </tr>
|
||||
<tr>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br /><strong>Email :</strong><?php echo $supplierEmail; ?><br><table width="100%" style="margin-left: -1px;"><tr><td style="border: none;"><strong>Vendor code:</strong> <?php echo $supplierVendor; ?> </td><td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td></tr><tr><td style="border: none;width:50%"><strong>Contact :</strong><?php echo $supRef; ?> </td><td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td></tr></table></td>
|
||||
<td colspan="4" rowspan="2"><u><strong style="font-size:16px;">Shipped From:</strong></u><br /><?php echo $SuplierName?><br/><?php echo $SuplierAddress ?> <br/><br />
|
||||
|
||||
|
||||
|
||||
<table width="100%" style="margin-left: -1px;">
|
||||
<tr>
|
||||
<td width="35%" style="border: none;"><strong>Vendor code:</strong> <?php echo $supplierVendor; ?></td>
|
||||
<td width="65%" style="border: none;"><strong>Email :</strong><?php echo $supplierEmail; ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>PAN:</strong><?php echo $supplierPan; ?></td>
|
||||
<td style="border: none;"><strong>GSTIN:</strong><?php echo $supplierGst; ?></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
<td rowspan="2" colspan="2"><u><strong style="font-size:16px;">Shipped To:</strong></u><br /><?php echo $CompanyAddress;?><br> <strong>State code:</strong><?php echo $CompanyStateCode;?> </td>
|
||||
<td colspan="6"><strong>Delivery</strong> :<br><?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
@ -266,9 +288,23 @@
|
||||
<div class="page" style="height:98%;border-right: solid 1.5px ;
|
||||
border-left: solid 1.5px;font-size:12px;">
|
||||
<br>
|
||||
<p><strong>Mode of Shipment</strong>: <?php echo $modShp; ?></p>
|
||||
<p><strong>Insurance </strong>:<?php echo $insNo; ?></p>
|
||||
<p>Please arrange to deliver the materials/ services listed below as per schedule to our works</p>
|
||||
<br>
|
||||
<br>
|
||||
<table style="border-collapse: collapse;width:100%;border-left-style:hidden;border-right-style:hidden;border-top-style:hidden;border-bottom-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" style="border: none;"><strong>Contact :</strong><?php echo $supRef; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Mode of Shipment</strong>: <?php echo $modShp; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;"><strong>Insurance </strong>:<?php echo $insNo; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: none;">Please arrange to deliver the materials/ services listed below as per schedule to our works</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;width: 100%;border-left-style:hidden;border-right-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
@ -368,7 +404,7 @@
|
||||
}
|
||||
if($i>0){
|
||||
?>
|
||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<table style="border-collapse: collapse;font-size:12px;border-left-style:hidden;border-right-style:hidden;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" colspan="3">
|
||||
@ -405,7 +441,7 @@
|
||||
<?php
|
||||
}?>
|
||||
|
||||
<span><b>Tax and other details:</b></span>
|
||||
<span><strong>Tax and other details:</strong></span>
|
||||
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" width="60%" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -464,11 +500,10 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p style="text-align: left;"><strong> Scope of work:</strong></p>
|
||||
<p style="text-align: left;"><?php echo $ServiceDescription;?></p>
|
||||
<div style="text-align: left;"><strong> Scope of work:</strong><?php echo $ServiceDescription;?></div>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;position:fixed;bottom:115px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
|
||||
<table style="border-collapse: collapse;position:fixed;bottom:120px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="4" rowspan="3" width="50%">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user