amendment po and special po

This commit is contained in:
gayathri1990 2018-01-08 16:59:23 +05:30
parent 654631dbb6
commit ae459d8ef5
7 changed files with 81 additions and 10 deletions

View File

@ -1265,7 +1265,7 @@ class purchaseorder extends BaseController
//$PONO = $_GET['PO'];
$PoStatus='';
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO);
@ -1370,6 +1370,7 @@ $AdvanceAmount=0.00;
// Load the pdf page with multiviews
$PoStatus='';
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
$data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForpdf($PONO);
@ -1484,6 +1485,7 @@ public function importpoprint($PONO)
$Depcode='';
$Currencycode='';
$PoStatus='';
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO);
@ -2843,6 +2845,7 @@ function addNewImportPurchaseOrder()
{
$PoStatus='';
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
// Load the pdf page with multiviews
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);

View File

@ -64,3 +64,48 @@ ERROR - 2018-01-08 08:48:17 --> Severity: Notice --> Undefined offset: 0 C:\xam
ERROR - 2018-01-08 08:48:17 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-08 08:48:17 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-08 08:48:17 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-08 12:27:21 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\classes\grad.php 3
ERROR - 2018-01-08 12:27:21 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\classes\mpdfform.php 3
ERROR - 2018-01-08 12:27:21 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\classes\cssmgr.php 3
ERROR - 2018-01-08 12:27:21 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\classes\otl.php 12
ERROR - 2018-01-08 12:27:21 --> Severity: Notice --> Undefined offset: 13 C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 25316
ERROR - 2018-01-08 12:27:21 --> Severity: Notice --> Undefined offset: 13 C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 25316
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: Notice --> Undefined index: dom C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\mpdf.php 26073
ERROR - 2018-01-08 12:27:22 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor C:\xampp\htdocs\siddharth_application\application\third_party\mpdf\classes\ttfontsuni.php 51

View File

@ -43,7 +43,7 @@ class purchaseorder_model extends CI_Model
$this->db->join('T_PurchaseOrder_Master pom','pom.PONO = bill.PONO');
$this->db->where('bill.PONO',$pono);
//$this->db->or_where('pom.status',SPECIAL_PO);
//$this->db->group_by('bill.BillNo');
$this->db->group_by('bill.BillNo');
$query = $this->db->get();

View File

@ -275,8 +275,8 @@
</tr>
<tr>
<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>
<td style="text-align: center;" rowspan="2" ><strong>Current Details</strong></td>
<td style="text-align: center;" rowspan="2"><strong>Revised Details</strong></td>
</tr>
<?php if(!empty($POItem))
{
@ -286,7 +286,12 @@
echo $record->lineamd ;
}
}
} ?>
} ?>
<tr>
<td style="text-align: center;"><strong>Total</strong></td>
<td style="text-align: center;" rowspan="2"><b>Current Total Order :<?php echo $AmendmentPDF[0]->partenttotalorder ?></b></td>
<td style="text-align: center;" rowspan="2"><b>Revised Total Order :<?php echo $AmendmentPDF[0]->TotalOrderValue ?></b></td>
</tr>
</tbody>
</table>
<?php } ?>

View File

@ -323,7 +323,8 @@
</tr>
<tr>
<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>
<td style="text-align: center;" rowspan="2" ><strong>Current Details</strong></td>
<td style="text-align: center;" rowspan="2"><strong>Revised Details</strong></td>
</tr>
@ -334,7 +335,13 @@
{
echo $record->LineAmend ;
}
} ?>
} ?>
<tr>
<td style="text-align: center;"><strong>Total</strong></td>
<td style="text-align: center;" rowspan="2"><b>Current Total Order :<?php echo $AmendmentPDF[0]->partenttotalorder ?></b></td>
<td style="text-align: center;" rowspan="2"><b>Revised Total Order :<?php echo $AmendmentPDF[0]->TotalOrderValue ?></b></td>
</tr>
</tr>
</tbody>
</table>
<?php } ?>

View File

@ -294,7 +294,8 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
</tr>
<tr>
<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>
<td style="text-align: center;" rowspan="2" ><strong>Current Details</strong></td>
<td style="text-align: center;" rowspan="2"><strong>Revised Details</strong></td>
</tr>
<?php if(!empty($POItem))
@ -305,7 +306,11 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
echo $rec->LineAmend ;
}
} }?>
<tr>
<td style="text-align: center;"><strong>Total</strong></td>
<td style="text-align: center;" rowspan="2"><b>Current Total Order :<?php echo $AmendmentPDF[0]->partenttotalorder ?></b></td>
<td style="text-align: center;" rowspan="2"><b>Revised Total Order :<?php echo $AmendmentPDF[0]->TotalOrderValue ?></b></td>
</tr>
</tbody>

View File

@ -287,7 +287,8 @@
</tr>
<tr>
<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>
<td style="text-align: center;" rowspan="2" ><strong>Current Details</strong></td>
<td style="text-align: center;" rowspan="2"><strong>Revised Details</strong></td>
</tr>
<?php if(!empty($POItem))
{
@ -296,6 +297,11 @@
echo $record->lineamenddetails ;
}
} ?>
<tr>
<td style="text-align: center;"><strong>Total</strong></td>
<td style="text-align: center;" rowspan="2"><b>Current Total Order :<?php echo $AmendmentPDF[0]->partenttotalorder ?></b></td>
<td style="text-align: center;" rowspan="2"><b>Revised Total Order :<?php echo $AmendmentPDF[0]->TotalOrderValue ?></b></td>
</tr>
</tbody>
</table>
<?php