amendment po and special po
This commit is contained in:
parent
654631dbb6
commit
ae459d8ef5
@ -1265,7 +1265,7 @@ class purchaseorder extends BaseController
|
|||||||
|
|
||||||
//$PONO = $_GET['PO'];
|
//$PONO = $_GET['PO'];
|
||||||
$PoStatus='';
|
$PoStatus='';
|
||||||
|
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
|
||||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
||||||
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
||||||
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO);
|
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO);
|
||||||
@ -1370,6 +1370,7 @@ $AdvanceAmount=0.00;
|
|||||||
|
|
||||||
// Load the pdf page with multiviews
|
// Load the pdf page with multiviews
|
||||||
$PoStatus='';
|
$PoStatus='';
|
||||||
|
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
|
||||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
||||||
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
||||||
$data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForpdf($PONO);
|
$data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForpdf($PONO);
|
||||||
@ -1484,6 +1485,7 @@ public function importpoprint($PONO)
|
|||||||
$Depcode='';
|
$Depcode='';
|
||||||
$Currencycode='';
|
$Currencycode='';
|
||||||
$PoStatus='';
|
$PoStatus='';
|
||||||
|
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
|
||||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
||||||
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
||||||
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO);
|
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO);
|
||||||
@ -2843,6 +2845,7 @@ function addNewImportPurchaseOrder()
|
|||||||
{
|
{
|
||||||
|
|
||||||
$PoStatus='';
|
$PoStatus='';
|
||||||
|
$data['AmendmentPDF'] = $this->purchaseorder_model->amendpdf($PONO);
|
||||||
// Load the pdf page with multiviews
|
// Load the pdf page with multiviews
|
||||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF();
|
||||||
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
$data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO);
|
||||||
|
|||||||
@ -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 --> 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 --> 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 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
|
||||||
|
|||||||
@ -43,7 +43,7 @@ class purchaseorder_model extends CI_Model
|
|||||||
$this->db->join('T_PurchaseOrder_Master pom','pom.PONO = bill.PONO');
|
$this->db->join('T_PurchaseOrder_Master pom','pom.PONO = bill.PONO');
|
||||||
$this->db->where('bill.PONO',$pono);
|
$this->db->where('bill.PONO',$pono);
|
||||||
//$this->db->or_where('pom.status',SPECIAL_PO);
|
//$this->db->or_where('pom.status',SPECIAL_PO);
|
||||||
//$this->db->group_by('bill.BillNo');
|
$this->db->group_by('bill.BillNo');
|
||||||
|
|
||||||
$query = $this->db->get();
|
$query = $this->db->get();
|
||||||
|
|
||||||
|
|||||||
@ -275,8 +275,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: center;"><strong>Item Description</strong></td>
|
<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>
|
</tr>
|
||||||
<?php if(!empty($POItem))
|
<?php if(!empty($POItem))
|
||||||
{
|
{
|
||||||
@ -287,6 +287,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} ?>
|
} ?>
|
||||||
|
<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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -323,7 +323,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: center;"><strong>Item Description</strong></td>
|
<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>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -335,6 +336,12 @@
|
|||||||
echo $record->LineAmend ;
|
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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -294,7 +294,8 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: center;"><strong>Item Description</strong></td>
|
<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>
|
</tr>
|
||||||
|
|
||||||
<?php if(!empty($POItem))
|
<?php if(!empty($POItem))
|
||||||
@ -305,7 +306,11 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
|
|||||||
echo $rec->LineAmend ;
|
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>
|
</tbody>
|
||||||
|
|
||||||
|
|||||||
@ -287,7 +287,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: center;"><strong>Item Description</strong></td>
|
<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>
|
</tr>
|
||||||
<?php if(!empty($POItem))
|
<?php if(!empty($POItem))
|
||||||
{
|
{
|
||||||
@ -296,6 +297,11 @@
|
|||||||
echo $record->lineamenddetails ;
|
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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user