import po changes
This commit is contained in:
parent
0a0e337808
commit
78678320ff
@ -374,6 +374,7 @@ class purchaseorder extends BaseController
|
|||||||
//echo $AvlBudAmt;
|
//echo $AvlBudAmt;
|
||||||
//print_r($data['AvlBudAmt']);
|
//print_r($data['AvlBudAmt']);
|
||||||
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetails($PONO);
|
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetails($PONO);
|
||||||
|
//print_r($data['POItem']);
|
||||||
$data['Currency']=$this->purchaseorder_model->GetCurrencytype();
|
$data['Currency']=$this->purchaseorder_model->GetCurrencytype();
|
||||||
foreach($data['POMaster'] as $CUR)
|
foreach($data['POMaster'] as $CUR)
|
||||||
{
|
{
|
||||||
@ -1204,176 +1205,193 @@ public function importpoprint($PONO)
|
|||||||
function addNewImportPurchaseOrder()
|
function addNewImportPurchaseOrder()
|
||||||
{//echo ("ggh");
|
{//echo ("ggh");
|
||||||
|
|
||||||
$POdt =$this->input->post('PODate');
|
$POdt =$this->input->post('PODate');
|
||||||
$PODate = $this->getDateformat($POdt);
|
$PODate = $this->getDateformat($POdt);
|
||||||
$SupplierID = $this->input->post('drpSupplier');
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||||
$dt = $this->input->post('Deliverydt');
|
//$dt = $this->input->post('Deliverydt');
|
||||||
$Deliverydt = $this->getDateformat($dt);
|
//$Deliverydt = $this->getDateformat($dt);
|
||||||
$POType = $this->input->post('POType');
|
$POType = $this->input->post('POType');
|
||||||
$PoRange = $this->input->post('txtPoRange');
|
$PoRange = $this->input->post('txtPoRange');
|
||||||
|
//$Dispatchinstruction=$this->post('Dispatch');
|
||||||
|
//echo $Dispatchinstruction;
|
||||||
|
//die();
|
||||||
|
//$Schedule=$this->post('Scheduleby');
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
|
||||||
|
//echo $DeliveryOption;
|
||||||
|
//die();
|
||||||
|
$DeliverySchedule='';
|
||||||
|
$Dispatch='';
|
||||||
|
if($DeliveryOption==1)
|
||||||
|
{
|
||||||
|
$Dispatch='';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Dispatch = $this->input->post('Dispatch');
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
|
||||||
$DeliveryOption = $this->input->post('DateRange');
|
|
||||||
if($DeliveryOption==1){
|
|
||||||
$Deliverydt = '';
|
|
||||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
$Deliverydt = $this->getDateformat($dt);
|
|
||||||
$DeliverySchedule = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
// $PaymentDate=$this->input->post('Payment');
|
// $PaymentDate=$this->input->post('Payment');
|
||||||
// if($PaymentDate==1)
|
// if($PaymentDate==1)
|
||||||
// {
|
// {
|
||||||
// $PaymentDays='After';
|
// $PaymentDays='After';
|
||||||
// }
|
// }
|
||||||
// else
|
// else
|
||||||
// {
|
// {
|
||||||
// $PaymentDays='Before';
|
// $PaymentDays='Before';
|
||||||
// }
|
// }
|
||||||
|
|
||||||
//echo $PaymentDays;
|
//echo $PaymentDays;
|
||||||
//die();
|
//die();
|
||||||
|
|
||||||
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
||||||
$TotalOrder = $this->input->post('txtToatlOrder');
|
$TotalOrder = $this->input->post('txtToatlOrder');
|
||||||
$POStatus = $this->input->post('textStatus');
|
$POStatus = $this->input->post('textStatus');
|
||||||
//echo "$POStatus";
|
//echo "$POStatus";
|
||||||
//die();
|
//die();
|
||||||
|
|
||||||
$CreateBy = $this->session->userdata ( 'userId' );
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
$RowCount = $this->input->post('txtRowCount');
|
$RowCount = $this->input->post('txtRowCount');
|
||||||
|
|
||||||
$DeletedRow = $this->input->post('txtDeletedRow');
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
|
|
||||||
$comma_separated = explode(':', $DeletedRow);
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
|
|
||||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
$createddt = $dt->format('Y-m-d H:i:s');
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
$Exchangerate=$this->input->post('ExchangeRate');
|
$Exchangerate=$this->input->post('ExchangeRate');
|
||||||
$ExchangeRateCalculatedon=$this->input->post('Exchangerateon');
|
$ExchangeRateCalculatedon=$this->input->post('Exchangerateon');
|
||||||
$CurrencyType=$this->input->post('currencytype');
|
$CurrencyType=$this->input->post('currencytype');
|
||||||
|
|
||||||
$PaymentTerms=$this->input->post('PaymentTerms');
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
// $Payableat=$this->input->post('PayableAT');
|
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
||||||
|
// $Payableat=$this->input->post('PayableAT');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType);
|
// $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'CreatedDate'=>$createddt,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType);
|
||||||
|
|
||||||
|
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
||||||
|
|
||||||
//print_r($POList);
|
//print_r($POList);
|
||||||
//die();
|
//die();
|
||||||
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
|
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
|
||||||
|
|
||||||
$PONO = '';
|
$PONO = '';
|
||||||
if(count($POMaster)>0)
|
if(count($POMaster)>0)
|
||||||
{
|
{
|
||||||
$PONO = $POMaster[0]['PONO'];
|
$PONO = $POMaster[0]['PONO'];
|
||||||
}
|
}
|
||||||
//echo $PONO;
|
//echo $PONO;
|
||||||
//echo $POType;
|
//echo $POType;
|
||||||
// PO Line Items
|
// PO Line Items
|
||||||
$LineItemStatus = REQITEM_NEW;
|
$LineItemStatus = REQITEM_NEW;
|
||||||
//echo ' test:'.REVENUE;
|
//echo ' test:'.REVENUE;
|
||||||
//echo $RowCount;
|
//echo $RowCount;
|
||||||
for ($i = 1; $i <= $RowCount; $i++)
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
{
|
{
|
||||||
//echo "AS";
|
//echo "AS";
|
||||||
$MaterialCode = $this->input->post('materialCode'.$i);
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
$Quantity = $this->input->post('quantity'.$i);
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
$itemRate = $this->input->post('itemRate'.$i);
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
|
||||||
//$Exchangerate = $this->input->post('Exchangerate'.$i);
|
//$Exchangerate = $this->input->post('Exchangerate'.$i);
|
||||||
$BasicPriceinmton = $this->input->post('BasicPriceinUS'.$i);
|
$BasicPriceinmton = $this->input->post('BasicPriceinUS'.$i);
|
||||||
$Productprice = $this->input->post('BasicAmt'.$i);
|
$Productprice = $this->input->post('BasicAmt'.$i);
|
||||||
$LandingCharge = $this->input->post('LandingChargee'.$i);
|
$LandingCharge = $this->input->post('LandingChargee'.$i);
|
||||||
$AfterLandingCharge = $this->input->post('AfterLandingChargee'.$i);
|
$AfterLandingCharge = $this->input->post('AfterLandingChargee'.$i);
|
||||||
$HighSeas = $this->input->post('Highseass'.$i);
|
$HighSeas = $this->input->post('Highseass'.$i);
|
||||||
$AfterHighSeas = $this->input->post('AfterHighseass'.$i);
|
$AfterHighSeas = $this->input->post('AfterHighseass'.$i);
|
||||||
|
|
||||||
$CustomDuty = $this->input->post('Customduty'.$i);
|
$CustomDuty = $this->input->post('Customduty'.$i);
|
||||||
$AfterCustomDuty = $this->input->post('AfterCustomduty'.$i);
|
$AfterCustomDuty = $this->input->post('AfterCustomduty'.$i);
|
||||||
|
|
||||||
$ExciseDuty = $this->input->post('ExcisedutyTax'.$i);
|
$ExciseDuty = $this->input->post('ExcisedutyTax'.$i);
|
||||||
$AfterExciseDuty = $this->input->post('AfterExcisedutyTax'.$i);
|
$AfterExciseDuty = $this->input->post('AfterExcisedutyTax'.$i);
|
||||||
$ExciseDutyEd = $this->input->post('ExcisedutyED'.$i);
|
$ExciseDutyEd = $this->input->post('ExcisedutyED'.$i);
|
||||||
$AfterExciseDutyEd = $this->input->post('AfterExcisedutyED'.$i);
|
$AfterExciseDutyEd = $this->input->post('AfterExcisedutyED'.$i);
|
||||||
|
|
||||||
$ExciseDutySH = $this->input->post('ExcisedutySH'.$i);
|
$ExciseDutySH = $this->input->post('ExcisedutySH'.$i);
|
||||||
$AfterExciseDutySH = $this->input->post('AfterExcisedutySH'.$i);
|
$AfterExciseDutySH = $this->input->post('AfterExcisedutySH'.$i);
|
||||||
|
|
||||||
$CustomEd= $this->input->post('CustomEDcess'.$i);
|
$CustomEd= $this->input->post('CustomEDcess'.$i);
|
||||||
$AfterCustomEd= $this->input->post('AfterCustomEDcess'.$i);
|
$AfterCustomEd= $this->input->post('AfterCustomEDcess'.$i);
|
||||||
|
|
||||||
$CustomSH = $this->input->post('CustomSHcess'.$i);
|
$CustomSH = $this->input->post('CustomSHcess'.$i);
|
||||||
$AfterCustomSH = $this->input->post('AfterCustomSHcess'.$i);
|
$AfterCustomSH = $this->input->post('AfterCustomSHcess'.$i);
|
||||||
|
|
||||||
$AddAdtional = $this->input->post('AdditionalExciseduty'.$i);
|
$AddAdtional = $this->input->post('AdditionalExciseduty'.$i);
|
||||||
$AfterAddAdtional = $this->input->post('AfterAdditionalExciseduty'.$i);
|
$AfterAddAdtional = $this->input->post('AfterAdditionalExciseduty'.$i);
|
||||||
|
|
||||||
$Grossdutypayable = $this->input->post('Grossdutypayable'.$i);
|
$Grossdutypayable = $this->input->post('Grossdutypayable'.$i);
|
||||||
$AvailableModvat = $this->input->post('AvilableModvat'.$i);
|
$AvailableModvat = $this->input->post('AvilableModvat'.$i);
|
||||||
$Grossexpensesduetocustomduty = $this->input->post('Grossexpenses'.$i);
|
$Grossexpensesduetocustomduty = $this->input->post('Grossexpenses'.$i);
|
||||||
$purchaseratePerKG = $this->input->post('purchaserate'.$i);
|
$purchaseratePerKG = $this->input->post('purchaserate'.$i);
|
||||||
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i);
|
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i);
|
||||||
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i);
|
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i);
|
||||||
$QuantityKG = $this->input->post('PurQuantity'.$i);
|
$QuantityKG = $this->input->post('PurQuantity'.$i);
|
||||||
|
|
||||||
//$currencytypeID = $this->input->post('currencytype');
|
//$currencytypeID = $this->input->post('currencytype');
|
||||||
$Totalvalueitem=$this->input->post('TotalExp'.$i);
|
$Totalvalueitem=$this->input->post('TotalExp'.$i);
|
||||||
|
|
||||||
//echo $BasicPriceinmton;
|
//echo $BasicPriceinmton;
|
||||||
$CostCenter = $this->input->post('costCode'.$i);
|
$CostCenter = $this->input->post('costCode'.$i);
|
||||||
|
|
||||||
$SkipInsert = "False";
|
$SkipInsert = "False";
|
||||||
if( count($comma_separated) > 0)
|
if( count($comma_separated) > 0)
|
||||||
{
|
{
|
||||||
for($j = 1; $j < count($comma_separated); $j++)
|
for($j = 1; $j < count($comma_separated); $j++)
|
||||||
{
|
{
|
||||||
$deletedRow = $comma_separated[$j] ;
|
$deletedRow = $comma_separated[$j] ;
|
||||||
|
|
||||||
if($deletedRow == $i )
|
if($deletedRow == $i )
|
||||||
{
|
{
|
||||||
$SkipInsert = "True";
|
$SkipInsert = "True";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($SkipInsert == "False")
|
if($SkipInsert == "False")
|
||||||
{
|
{
|
||||||
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
||||||
|
|
||||||
//print_r($POLineItemList);
|
//print_r($POLineItemList);
|
||||||
//die();
|
//die();
|
||||||
|
|
||||||
|
|
||||||
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
|
||||||
$LineItemNo = '';
|
$LineItemNo = '';
|
||||||
if(count($POLineItem)>0)
|
if(count($POLineItem)>0)
|
||||||
{
|
{
|
||||||
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
}
|
}
|
||||||
//echo $LineItemNo;
|
//echo $LineItemNo;
|
||||||
|
|
||||||
if(trim($POType) == IMPORT )
|
if(trim($POType) == IMPORT )
|
||||||
{
|
{
|
||||||
// echo 'Success';
|
// echo 'Success';
|
||||||
$ImportTaxList = array('LineItemNo'=>$LineItemNo,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'TotalValue'=>$Totalvalueitem);
|
$ImportTaxList = array('LineItemNo'=>$LineItemNo,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'TotalValue'=>$Totalvalueitem);
|
||||||
//print_r($ImportTaxList);
|
//print_r($ImportTaxList);
|
||||||
//die();
|
//die();
|
||||||
|
|
||||||
|
|
||||||
$ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList);
|
$ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ;
|
echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1393,21 +1411,40 @@ $createddt='';
|
|||||||
$Deliverydt = $this->getDateformat($dt);
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
$POType = $this->input->post('POType');
|
$POType = $this->input->post('POType');
|
||||||
//$PoRange = $this->input->post('txtPoRange');
|
//$PoRange = $this->input->post('txtPoRange');
|
||||||
$DeliveryOption = $this->input->post('DateRange');
|
//$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
|
||||||
$Exchangerate=$this->input->post('ExchangeRate');
|
$Exchangerate=$this->input->post('ExchangeRate');
|
||||||
$ExchangeRateCalculatedon=$this->input->post('Exchangerateon');
|
$ExchangeRateCalculatedon=$this->input->post('Exchangerateon');
|
||||||
$CurrencyType=$this->input->post('currencytype');
|
$CurrencyType=$this->input->post('currencytype');
|
||||||
|
|
||||||
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
|
||||||
|
//echo $DeliveryOption;
|
||||||
|
//die();
|
||||||
|
$DeliverySchedule='';
|
||||||
|
$Dispatch='';
|
||||||
|
if($DeliveryOption==1)
|
||||||
|
{
|
||||||
|
$Dispatch='';
|
||||||
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$Dispatch = $this->input->post('Dispatch');
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if($DeliveryOption==1){
|
// if($DeliveryOption==1){
|
||||||
$Deliverydt = '';
|
// $Deliverydt = '';
|
||||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
// $DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
}
|
// }
|
||||||
else{
|
// else{
|
||||||
$Deliverydt = $this->getDateformat($dt);
|
// $Deliverydt = $this->getDateformat($dt);
|
||||||
$DeliverySchedule = '';
|
// $DeliverySchedule = '';
|
||||||
}
|
// }
|
||||||
// $PaymentDate=$this->input->post('Payment');
|
// $PaymentDate=$this->input->post('Payment');
|
||||||
// if($PaymentDate==1)
|
// if($PaymentDate==1)
|
||||||
// {
|
// {
|
||||||
@ -1433,10 +1470,16 @@ $createddt='';
|
|||||||
$updateddt = $dt->format('Y-m-d H:i:s');
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
$PaymentTerms=$this->input->post('PaymentTerms');
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
|
|
||||||
|
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
||||||
// $Payableat=$this->input->post('PayableAT');
|
// $Payableat=$this->input->post('PayableAT');
|
||||||
// PO Master
|
// PO Master
|
||||||
// PO Master
|
// PO Master
|
||||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms);
|
// $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
||||||
//echo $PONO;
|
//echo $PONO;
|
||||||
//echo $TotalOrder;
|
//echo $TotalOrder;
|
||||||
//print_r($POList);
|
//print_r($POList);
|
||||||
|
|||||||
@ -742,7 +742,7 @@ function GetCurrencytype()
|
|||||||
|
|
||||||
function GetINRCurrencytype($Currency_Code='')
|
function GetINRCurrencytype($Currency_Code='')
|
||||||
{
|
{
|
||||||
$subQuery='select FontCode2000 from T_Currency_Details where Currency_Code=?';
|
$subQuery='select * from T_Currency_Details where Currency_Code=?';
|
||||||
$query=$this->db->query($subQuery,array($Currency_Code));
|
$query=$this->db->query($subQuery,array($Currency_Code));
|
||||||
//print_r($this->db->last_query());
|
//print_r($this->db->last_query());
|
||||||
return $query->result();
|
return $query->result();
|
||||||
|
|||||||
@ -27,7 +27,7 @@ foreach ($PaymentTerms as $TER)
|
|||||||
{
|
{
|
||||||
$Terms=$TER->PaymentTerms;
|
$Terms=$TER->PaymentTerms;
|
||||||
}
|
}
|
||||||
|
//echo $Terms;
|
||||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
$CurrentDate = $dt->format('Y-m-d');
|
$CurrentDate = $dt->format('Y-m-d');
|
||||||
|
|
||||||
@ -57,6 +57,18 @@ if(!empty($CompanyDetails))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$INR='';
|
||||||
|
if(!empty($INRSYMBOL))
|
||||||
|
{
|
||||||
|
foreach ($INRSYMBOL as $INR)
|
||||||
|
{
|
||||||
|
$INR=$INR->Currency_Code;
|
||||||
|
// $INR=$INR->FontCode2000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//echo $INR;
|
||||||
//echo "$CompanyAddress";
|
//echo "$CompanyAddress";
|
||||||
//$Exchangerate=$ExchangeRate;
|
//$Exchangerate=$ExchangeRate;
|
||||||
|
|
||||||
@ -92,6 +104,8 @@ $PayableAT='';
|
|||||||
//$ExchangeRate
|
//$ExchangeRate
|
||||||
$ExchangeRateCalculatedon='';
|
$ExchangeRateCalculatedon='';
|
||||||
$StatusName='';
|
$StatusName='';
|
||||||
|
$Import_DispatchDetails='';
|
||||||
|
$Import_PlaceofOrgin='';
|
||||||
|
|
||||||
if(!empty($POMaster))
|
if(!empty($POMaster))
|
||||||
{
|
{
|
||||||
@ -121,6 +135,9 @@ if(!empty($POMaster))
|
|||||||
$Currency_Type=$Req->CurrencyType;
|
$Currency_Type=$Req->CurrencyType;
|
||||||
$parentPO =$Req->ParentPO;
|
$parentPO =$Req->ParentPO;
|
||||||
$DeliverySchedule=$Req->DeliverySchedule;
|
$DeliverySchedule=$Req->DeliverySchedule;
|
||||||
|
$Import_DispatchDetails=$Req->Import_DispatchDetails;
|
||||||
|
$Import_PlaceofOrgin=$Req->Import_PlaceofOrgin;
|
||||||
|
$PaymentTerms=$Req->PaymentTerms;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//echo $ServiceDescription;
|
//echo $ServiceDescription;
|
||||||
@ -199,10 +216,10 @@ body {
|
|||||||
// //maxDate : 'now',
|
// //maxDate : 'now',
|
||||||
// dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '-100:+0'
|
// dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '-100:+0'
|
||||||
// });
|
// });
|
||||||
$("#Deliverydt").datepicker({
|
// $("#Deliverydt").datepicker({
|
||||||
minDate : 'now',
|
// minDate : 'now',
|
||||||
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
// dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
||||||
});
|
// });
|
||||||
|
|
||||||
$("#Requeston").datepicker({
|
$("#Requeston").datepicker({
|
||||||
//minDate : d,
|
//minDate : d,
|
||||||
@ -370,7 +387,7 @@ body {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="col-md-12">
|
<!-- <div class="col-md-12">
|
||||||
<label>Purchase Order Type</label>
|
<label>Purchase Order Type</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
@ -379,6 +396,27 @@ body {
|
|||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
</div> -->
|
||||||
|
<div class="col-md-12" style="padding: 0px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label>PO Type</label>
|
||||||
|
<div class="form-group">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label>PO Date</label>
|
||||||
|
<div class="form-group">
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label>Delivery Address</label>
|
<label>Delivery Address</label>
|
||||||
@ -407,7 +445,7 @@ body {
|
|||||||
<b><u>Select Delivery By</u></b><br/>
|
<b><u>Select Delivery By</u></b><br/>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Date', 'Date') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?> </td>
|
<?php echo form_label('Dispatch instruction', 'Dispatch instruction') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?> </td>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
||||||
|
|
||||||
@ -424,11 +462,11 @@ body {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
||||||
<label>Delivery Date</label>
|
<label>Dispatch Instruction</label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true');
|
$data = array('name' => 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -463,15 +501,17 @@ body {
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>Purchase Order Date</label>
|
<label>Place of Origin</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
// $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
echo form_input($data);
|
// echo form_input($data);
|
||||||
|
$data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin',$Import_PlaceofOrgin),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true');
|
||||||
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -485,6 +525,29 @@ body {
|
|||||||
<option value="" ><?php echo $Terms;?></option>
|
<option value="" ><?php echo $Terms;?></option>
|
||||||
<!-- <option value=<?php echo $Deatail?> > Payment method</option> -->
|
<!-- <option value=<?php echo $Deatail?> > Payment method</option> -->
|
||||||
<?php
|
<?php
|
||||||
|
if(!empty($Currency))
|
||||||
|
{
|
||||||
|
|
||||||
|
foreach ($PaymentTerms as $Pay):
|
||||||
|
if($PaymentTerms==$Pay->PaymentTerms){
|
||||||
|
$options1[$Pay->PaymentTerms] = $Pay->PaymentTerms;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
endforeach;
|
||||||
|
|
||||||
|
|
||||||
|
foreach ($PaymentTerms as $Pay):
|
||||||
|
if($PaymentTerms!=$Pay->PaymentTerms){
|
||||||
|
$options1[$Pay->PaymentTerms] = $Pay->PaymentTerms;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
endforeach;
|
||||||
|
}
|
||||||
|
|
||||||
|
// echo form_dropdown('currencytype', $options1,set_value('currencytype',$Currency_Type),'id="currencytype"','class="form-control select2"' , 'required="true"');
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
@ -707,7 +770,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
|
||||||
<!-- Basic Price in US $ per Ton : -->
|
<!-- Basic Price in US $ per Ton : -->
|
||||||
<p id=labelBasicpriceus><b><?php echo "Basic Price in $Currencycode ($Value)"?></p>
|
<p id=labelBasicpriceus><b><?php echo "Basic Value in $Currencycode ($Value)"?></p>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -756,10 +819,11 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4" >
|
||||||
Basic Price:
|
<!-- Basic Price: -->
|
||||||
|
<label><?php echo "Basic Price In ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
$data = array('name' => 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -777,7 +841,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Landing charge
|
<!-- Landing charge -->
|
||||||
|
<label><?php echo "Landing Charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -801,7 +866,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
High seas sales charge
|
<!-- High seas sales charge -->
|
||||||
|
<label><?php echo "High seas sales charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -822,7 +888,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom duty : (a)
|
<!-- Custom duty : (a) -->
|
||||||
|
<label><?php echo "Custom duty : (a)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -843,7 +910,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty : (b)
|
<!-- Excise duty : (b) -->
|
||||||
|
<label><?php echo "Excise duty : (b)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -864,7 +932,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty ED_cess : (C)
|
<!-- Excise duty ED_cess : (C) -->
|
||||||
|
<label><?php echo "Excise duty ED_cess : (C)($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -885,7 +954,9 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty S & H cess :(d)
|
<!-- Excise duty S & H cess :(d) -->
|
||||||
|
|
||||||
|
<label><?php echo "Excise duty S & H cess :(d)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -906,7 +977,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom ED_cess : (e)
|
<!-- Custom ED_cess : (e) -->
|
||||||
|
<label><?php echo "Custom ED_cess : (e)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -927,7 +999,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom S & H cess : (f)
|
<!-- Custom S & H cess : (f) -->
|
||||||
|
<label><?php echo "Custom S & H cess : (f)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -950,7 +1023,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Additional Excise duty : (g)
|
<!-- Additional Excise duty : (g) -->
|
||||||
|
<label><?php echo "Additional Excise duty : (g)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -971,7 +1045,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross duty payable
|
<!-- Gross duty payable -->
|
||||||
|
<label><?php echo "Gross duty payable($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -984,7 +1059,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Available Modvat set-off on import :
|
<!-- Available Modvat set-off on import : -->
|
||||||
|
<label><?php echo "Available Modvat set-off on import :($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -999,7 +1075,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross expenses due to custom duty:
|
<!-- Gross expenses due to custom duty: -->
|
||||||
|
<label><?php echo "Gross expenses due to custom duty:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1017,7 +1094,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
purchase rate [Basic]
|
purchase rate [Basic]/UOM
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1041,7 +1118,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom Duty Expenses
|
<!-- Custom Duty Expenses -->
|
||||||
|
<label><?php echo "Custom Duty Expenses($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1055,7 +1133,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
RMC Including Customers
|
<!-- RMC Including Customers -->
|
||||||
|
<label><?php echo "RMC Including Customers($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1065,11 +1144,12 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" style="display:none;">
|
||||||
Total Amount:
|
<!-- Total Amount: -->
|
||||||
|
<label id=labelTotalAmount>Total Amount</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'TotalExp','value' => set_value('TotalExp'),'id'=>'TotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
$data = array('name' => 'TotalExp','value' => set_value('TotalExp'),'id'=>'TotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1250,7 +1330,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
|
|
||||||
<!-- Basic Price in US $ per Ton : -->
|
<!-- Basic Price in US $ per Ton : -->
|
||||||
|
|
||||||
<p id=labelEditBasicPriceUs><b><?php echo "Basic Price in $Currencycode ($Value)"?></p>
|
<p id=labelEditBasicPriceUs><b><?php echo "Basic Value in $Currencycode ($Value)"?></p>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1297,10 +1377,11 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4" >
|
||||||
Basic Price:
|
<!-- Basic Price: -->
|
||||||
|
<label><?php echo "Basic Price In ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditBasicPriceTax','value' => set_value('EditBasicPriceTax'),'id'=>'EditBasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
$data = array('name' => 'EditBasicPriceTax','value' => set_value('EditBasicPriceTax'),'id'=>'EditBasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1318,7 +1399,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Landing charge
|
<!-- Landing charge -->
|
||||||
|
<label><?php echo "Landing Charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1342,7 +1424,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
High seas sales charge
|
<!-- High seas sales charge -->
|
||||||
|
<label><?php echo "High seas sales charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1363,7 +1446,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom duty : (a)
|
<!-- Custom duty : (a) -->
|
||||||
|
<label><?php echo "Custom duty : (a)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1384,7 +1468,9 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty : (b)
|
<!-- Excise duty : (b) -->
|
||||||
|
|
||||||
|
<label><?php echo "Excise duty : (b)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1405,7 +1491,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty ED_cess : (C)
|
<!-- Excise duty ED_cess : (C) -->
|
||||||
|
<label><?php echo "Excise duty ED_cess : (C)($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1426,7 +1513,9 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty S & H cess :(d)
|
<!-- Excise duty S & H cess :(d) -->
|
||||||
|
|
||||||
|
<label><?php echo "Excise duty S & H cess :(d)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1447,7 +1536,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom ED_cess : (e)
|
<!-- Custom ED_cess : (e) -->
|
||||||
|
<label><?php echo "Custom ED_cess : (e)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1468,7 +1558,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom S & H cess : (f)
|
<!-- Custom S & H cess : (f) -->
|
||||||
|
<label><?php echo "Custom S & H cess : (f)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1491,7 +1582,10 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Additional Excise duty : (g)
|
<!-- Additional Excise duty : (g) -->
|
||||||
|
|
||||||
|
|
||||||
|
<label><?php echo "Additional Excise duty : (g)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1512,7 +1606,9 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross duty payable
|
<!-- Gross duty payable -->
|
||||||
|
|
||||||
|
<label><?php echo "Gross duty payable($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1525,7 +1621,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Available Modvat set-off on import :
|
<!-- Available Modvat set-off on import : -->
|
||||||
|
<label><?php echo "Available Modvat set-off on import :($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1540,7 +1637,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross expenses due to custom duty:
|
<!-- Gross expenses due to custom duty: -->
|
||||||
|
<label><?php echo "Gross expenses due to custom duty:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1558,7 +1656,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
purchase rate [Basic]
|
purchase rate [Basic]/UOM
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1582,7 +1680,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom Duty Expenses
|
<!-- Custom Duty Expenses -->
|
||||||
|
<label><?php echo "Custom Duty Expenses($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1596,7 +1695,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
RMC Including Customers
|
<!-- RMC Including Customers -->
|
||||||
|
<label><?php echo "RMC Including Customers($INR)" ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1606,11 +1706,12 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" style="display:none;">
|
||||||
Total Amount:
|
<!-- Total Amount: -->
|
||||||
|
<label id=labelEditTotalAmount>Total Amount</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditTotalExp','value' => set_value('EditTotalExp'),'id'=>'EditTotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
$data = array('name' => 'EditTotalExp','value' => set_value('EditTotalExp'),'id'=>'EditTotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1854,7 +1955,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Landing charge
|
<!-- Landing charge -->
|
||||||
|
<label><?php echo "Landing Charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1878,7 +1980,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
High seas sales charge
|
<!-- High seas sales charge -->
|
||||||
|
<label><?php echo "High seas sales charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1899,7 +2002,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom duty : (a)
|
<!-- Custom duty : (a) -->
|
||||||
|
<label><?php echo "Custom duty : (a)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1920,7 +2024,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty : (b)
|
<!-- Excise duty : (b) -->
|
||||||
|
<label><?php echo "Excise duty : (b)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1941,7 +2046,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty ED_cess : (C)
|
<!-- Excise duty ED_cess : (C) -->
|
||||||
|
<label><?php echo "Excise duty ED_cess : (C)($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1962,7 +2068,9 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty S & H cess :(d)
|
<!-- Excise duty S & H cess :(d) -->
|
||||||
|
|
||||||
|
<label><?php echo "Excise duty S & H cess :(d)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1983,7 +2091,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom ED_cess : (e)
|
<!-- Custom ED_cess : (e) -->
|
||||||
|
<label><?php echo "Custom ED_cess : (e)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2004,7 +2113,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom S & H cess : (f)
|
<!-- Custom S & H cess : (f) -->
|
||||||
|
<label><?php echo "Custom S & H cess : (f)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2027,7 +2137,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Additional Excise duty : (g)
|
<!-- Additional Excise duty : (g) -->
|
||||||
|
<label><?php echo "Additional Excise duty : (g)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2048,7 +2159,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross duty payable
|
<!-- Gross duty payable -->
|
||||||
|
<label><?php echo "Gross duty payable($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2061,7 +2173,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Available Modvat set-off on import :
|
<!-- Available Modvat set-off on import : -->
|
||||||
|
<label><?php echo "Available Modvat set-off on import :($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2076,7 +2189,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross expenses due to custom duty:
|
<!-- Gross expenses due to custom duty: -->
|
||||||
|
<label><?php echo "Gross expenses due to custom duty:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2094,7 +2208,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
purchase rate [Basic]
|
purchase rate [Basic]/UOM
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2118,7 +2232,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom Duty Expenses
|
<!-- Custom Duty Expenses -->
|
||||||
|
<label><?php echo "Custom Duty Expenses($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2132,7 +2247,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
RMC Including Customers
|
<!-- RMC Including Customers -->
|
||||||
|
<label><?php echo "RMC Including Customers($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2143,7 +2259,8 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Total Amount:
|
<!-- Total Amount: -->
|
||||||
|
<label id=labelViewTotalAmount>Total Amount</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -2213,7 +2330,7 @@ if($PONOStatus == PO_RELEASED)
|
|||||||
foreach($POItem as $record)
|
foreach($POItem as $record)
|
||||||
{
|
{
|
||||||
$index = $index + 1;
|
$index = $index + 1;
|
||||||
|
//echo $record->Rate;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
@ -2700,11 +2817,17 @@ $('#currencytype').change(function()
|
|||||||
document.getElementById("label2").innerHTML ='Basic Value in '+code+'('+sign+')';
|
document.getElementById("label2").innerHTML ='Basic Value in '+code+'('+sign+')';
|
||||||
document.getElementById("label3").innerHTML ='Basic Value in '+code+'('+sign+')';
|
document.getElementById("label3").innerHTML ='Basic Value in '+code+'('+sign+')';
|
||||||
document.getElementById("labelRate").innerHTML ='Rate in '+code+'('+sign+')';
|
document.getElementById("labelRate").innerHTML ='Rate in '+code+'('+sign+')';
|
||||||
document.getElementById("labelBasicpriceus").innerHTML ='Basic Price In '+code+'('+sign+')'+' per Ton';
|
document.getElementById("labelBasicpriceus").innerHTML ='Basic Value In '+code+'('+sign+')'+' per UOM';
|
||||||
document.getElementById("labelBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
document.getElementById("labelBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
||||||
document.getElementById("labelEditRate").innerHTML ='Rate in '+sign;
|
document.getElementById("labelEditRate").innerHTML ='Rate in '+sign;
|
||||||
document.getElementById("labelEditBasicPriceUs").innerHTML ='Basic Price In '+code+'('+sign+')'+' per Ton';
|
document.getElementById("labelEditBasicPriceUs").innerHTML ='Basic Value In '+code+'('+sign+')'+' per UOM';
|
||||||
document.getElementById("labelEditBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
document.getElementById("labelEditBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
||||||
|
|
||||||
|
|
||||||
|
document.getElementById("labelTotalAmount").innerHTML ='Total Amount '+code+'('+sign+')';
|
||||||
|
document.getElementById("labelEditTotalAmount").innerHTML ='Total Amount '+code+'('+sign+')';
|
||||||
|
document.getElementById("labelViewTotalAmount").innerHTML ='Total Amount '+code+'('+sign+')';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -3709,12 +3832,12 @@ function CalculateCtable()
|
|||||||
var total=0;
|
var total=0;
|
||||||
var basicamt=0;
|
var basicamt=0;
|
||||||
basicprice=parseFloat($('#txtBasicValue').val());
|
basicprice=parseFloat($('#txtBasicValue').val());
|
||||||
console.log(basicprice);
|
// console.log(basicprice);
|
||||||
quantity=parseFloat($('#PurQuantity').val());
|
quantity=parseFloat($('#PurQuantity').val());
|
||||||
txtbasicinrprice=parseFloat($('#AfterBasicPriceTax').val());
|
txtbasicinrprice=parseFloat($('#AfterBasicPriceTax').val());
|
||||||
//txtpurchaserate=txtbasicinrprice/txtCtablequantity;
|
//txtpurchaserate=txtbasicinrprice/txtCtablequantity;
|
||||||
txtpurchaserate=<?php echo PURCHASE_RATE;?>;
|
txtpurchaserate=<?php echo PURCHASE_RATE;?>;
|
||||||
console.log(txtpurchaserate);
|
//console.log(txtpurchaserate);
|
||||||
if(isNaN(txtpurchaserate))
|
if(isNaN(txtpurchaserate))
|
||||||
{
|
{
|
||||||
$('#purchaserate').val('');
|
$('#purchaserate').val('');
|
||||||
@ -3806,7 +3929,7 @@ $('.AddImport').click(function()
|
|||||||
index = parseInt(index)+1;
|
index = parseInt(index)+1;
|
||||||
|
|
||||||
var temp = index;
|
var temp = index;
|
||||||
//alert(index);
|
//alert(temp);
|
||||||
var Reqnumber = $('#ReqNo').val();
|
var Reqnumber = $('#ReqNo').val();
|
||||||
//alert(JSON.strigify(Reqnumber));
|
//alert(JSON.strigify(Reqnumber));
|
||||||
var departmentName =$('#deptName').val();
|
var departmentName =$('#deptName').val();
|
||||||
@ -3855,6 +3978,7 @@ $('.AddImport').click(function()
|
|||||||
var receivedqty='';
|
var receivedqty='';
|
||||||
var rejectedqty='';
|
var rejectedqty='';
|
||||||
var pendingqty='';
|
var pendingqty='';
|
||||||
|
//console.log(AfterCustomED);
|
||||||
$('#MaterialCode option[value='+materialCode+']').remove();
|
$('#MaterialCode option[value='+materialCode+']').remove();
|
||||||
|
|
||||||
|
|
||||||
@ -3928,6 +4052,9 @@ $('.AddImport').click(function()
|
|||||||
addHidden(theForm,"AvailableModvat"+temp,Avlmodvat);
|
addHidden(theForm,"AvailableModvat"+temp,Avlmodvat);
|
||||||
addHidden(theForm,"TotalValue"+temp,totalexp);
|
addHidden(theForm,"TotalValue"+temp,totalexp);
|
||||||
|
|
||||||
|
//var a=parseFloat($('#CustomEDcess').val());
|
||||||
|
//console.log(a);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//addHidden(theForm,"TotalitemExp"+temp,TotalValue);
|
//addHidden(theForm,"TotalitemExp"+temp,TotalValue);
|
||||||
@ -3996,6 +4123,7 @@ $("#viewimportmodal").on("shown.bs.modal", function(e) {
|
|||||||
$('#ViewAfterExcisedutySHcess').val($("#AfterExciseDutySHCess"+userid).val());
|
$('#ViewAfterExcisedutySHcess').val($("#AfterExciseDutySHCess"+userid).val());
|
||||||
|
|
||||||
$('#ViewCustomEDcess').val($("#CustomEdCess"+userid).val());
|
$('#ViewCustomEDcess').val($("#CustomEdCess"+userid).val());
|
||||||
|
|
||||||
$('#ViewAfterCustomEDcess').val($("#AfterCustomEdCess"+userid).val());
|
$('#ViewAfterCustomEDcess').val($("#AfterCustomEdCess"+userid).val());
|
||||||
$('#ViewCustomSHcess').val($("#CustomSHCess"+userid).val());
|
$('#ViewCustomSHcess').val($("#CustomSHCess"+userid).val());
|
||||||
$('#ViewAfterCustomSHcess').val($("#AfterCustomSHCess"+userid).val());
|
$('#ViewAfterCustomSHcess').val($("#AfterCustomSHCess"+userid).val());
|
||||||
@ -4170,9 +4298,10 @@ $('#txttotalgrossduty').val((parseFloat(TotalGrossDuty) + parseFloat(Grossdutypa
|
|||||||
$('#txttotalavlmodvat').val((parseFloat(TotalAvlmodvat) + parseFloat(AvailableModvat)).toFixed(2) );
|
$('#txttotalavlmodvat').val((parseFloat(TotalAvlmodvat) + parseFloat(AvailableModvat)).toFixed(2) );
|
||||||
$('#txttotalgrossexpense').val((parseFloat(TotalGrossExpense) + parseFloat(Grossexpenses)).toFixed(2) );
|
$('#txttotalgrossexpense').val((parseFloat(TotalGrossExpense) + parseFloat(Grossexpenses)).toFixed(2) );
|
||||||
$('#txtToatlOrder').val((parseFloat(TotalOrder) + parseFloat(totalexp)).toFixed(2) );
|
$('#txtToatlOrder').val((parseFloat(TotalOrder) + parseFloat(totalexp)).toFixed(2) );
|
||||||
var r=parseFloat($('#txtToatlOrder').val());
|
//var r=parseFloat($('#txtToatlOrder').val());
|
||||||
console.log(r);
|
//console.log(r);
|
||||||
//alert(JSON.stringify(txttotallanding));
|
//var x=parseFloat($('#txttotalcustomED').val());
|
||||||
|
//console.log(x);
|
||||||
//alert(TotalOrder);
|
//alert(TotalOrder);
|
||||||
|
|
||||||
|
|
||||||
@ -4233,6 +4362,9 @@ $("#editimportpomodel").on("shown.bs.modal", function(e) {
|
|||||||
$('#EditItemName').val($('#materialName'+userid).val());
|
$('#EditItemName').val($('#materialName'+userid).val());
|
||||||
$('#EditUOM').val($('#uom'+userid).val());
|
$('#EditUOM').val($('#uom'+userid).val());
|
||||||
$('#EditQuantity').val($('#quantity'+userid).val());
|
$('#EditQuantity').val($('#quantity'+userid).val());
|
||||||
|
|
||||||
|
//var uom=parseFloat($('#uom'+userid).val());
|
||||||
|
//console.log(uom);
|
||||||
//RequistQuantity = $('#quantity'+userid).val();
|
//RequistQuantity = $('#quantity'+userid).val();
|
||||||
$('#EditRate').val($('#itemRate'+userid).val());
|
$('#EditRate').val($('#itemRate'+userid).val());
|
||||||
$('#EdittxtBasicValue').val($('#ProductPrice'+userid).val());
|
$('#EdittxtBasicValue').val($('#ProductPrice'+userid).val());
|
||||||
@ -4252,6 +4384,8 @@ $("#editimportpomodel").on("shown.bs.modal", function(e) {
|
|||||||
$('#EditAfterExcisedutySHcess').val($("#AfterExciseDutySHCess"+userid).val());
|
$('#EditAfterExcisedutySHcess').val($("#AfterExciseDutySHCess"+userid).val());
|
||||||
|
|
||||||
$('#EditCustomEDcess').val($("#CustomEdCess"+userid).val());
|
$('#EditCustomEDcess').val($("#CustomEdCess"+userid).val());
|
||||||
|
//var x=parseFloat($('#EditCustomEDcess').val());
|
||||||
|
//console.log(x);
|
||||||
$('#EditAfterCustomEDcess').val($("#AfterCustomEdCess"+userid).val());
|
$('#EditAfterCustomEDcess').val($("#AfterCustomEdCess"+userid).val());
|
||||||
$('#EditCustomSHcess').val($("#CustomSHCess"+userid).val());
|
$('#EditCustomSHcess').val($("#CustomSHCess"+userid).val());
|
||||||
$('#EditAfterCustomSHcess').val($("#AfterCustomSHCess"+userid).val());
|
$('#EditAfterCustomSHcess').val($("#AfterCustomSHCess"+userid).val());
|
||||||
@ -4551,32 +4685,41 @@ function DeleteRow(rowid)
|
|||||||
|
|
||||||
function populateValueMainFormForDeleteItem(rowid)
|
function populateValueMainFormForDeleteItem(rowid)
|
||||||
{
|
{
|
||||||
var TotalLanding=0;
|
var TotalLanding=$('#txttotallanding').val();
|
||||||
var TotalHighseas=0;
|
var TotalHighseas=$('#txttotalhighseas').val();
|
||||||
var TotalCustom=0;
|
var TotalCustom=$('#txttotalcustom').val();
|
||||||
var TotalExcise=0;
|
var TotalExcise=$('#txttotalexcise').val();
|
||||||
var TotalExciseED=0;
|
var TotalExciseED=$('#txttotalexciseED').val();
|
||||||
var TotalExciseSH=0;
|
var TotalExciseSH=$('#txttotalexciseSH').val();
|
||||||
var TotalCustomED=0;
|
var TotalCustomED=$('#txttotalcustomED').val();
|
||||||
var TotalCustomSH=0;
|
var TotalCustomSH=$('#txttotalcustomSH').val();
|
||||||
var TotalAdditionalExcise=0;
|
var TotalAdditionalExcise=$('#txttotalAdditionalExciseduty').val();
|
||||||
var TotalGrossDuty=0;
|
var TotalGrossDuty=$('#txttotalgrossduty').val();
|
||||||
var TotalAvlmodvat=0;
|
var TotalAvlmodvat=$('#txttotalavlmodvat').val();
|
||||||
var TotalGrossExpense=0;
|
var TotalGrossExpense=$('#txttotalgrossexpense').val();
|
||||||
var AfterLandingCharge= $('#AfterLandingCharge').val() == '' ? '0.00' : $('#AfterLandingCharge').val();
|
var TotalOrderValue=$('#txtToatlOrder').val();
|
||||||
var AfterHighseas=$('#AfterHighseas').val()==''?'0.00':$('#AfterHighseas').val();
|
|
||||||
var AfterCustomduty=$('#AfterCustomduty').val()==''?'0.00':$('#AfterCustomduty').val();
|
//console.log(TotalCustomED);
|
||||||
var AfterExcisedutyTax=$('#AfterExcisedutyTax').val()==''?'0.00':$('#AfterExcisedutyTax').val();
|
//die();
|
||||||
var AfterExcisedutyEDcess=$('#AfterExcisedutyEDcess').val()==''?'0.00':$('#AfterExcisedutyEDcess').val();
|
|
||||||
var AfterExciseDutySH=$("#AfterExcisedutySHcess").val()==''?'0.00':$('#AfterExcisedutySHcess').val();
|
var AfterLandingCharge= $('#AfterLandingCharge'+rowid).val() == '' ? '0.00' : $('#AfterLandingCharge'+rowid).val();
|
||||||
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty').val()==''?'0.00':$('#AfterAdditionalExciseduty').val();
|
var AfterHighseas=$('#AfterHighSeasSalesCharge'+rowid).val()==''?'0.00':$('#AfterHighSeasSalesCharge'+rowid).val();
|
||||||
var AfterCustomEDcess=$('#AfterCustomEDcess').val()==''?'0.00':$('#AfterCustomEDcess').val();
|
var AfterCustomduty=$('#AfterCustomDuty'+rowid).val()==''?'0.00':$('#AfterCustomDuty'+rowid).val();
|
||||||
var AfterCustomSHcess=$('#AfterCustomSHcess').val()==''?'0.00':$('#AfterCustomSHcess').val();
|
var AfterExcisedutyTax=$('#AfterExciseDuty'+rowid).val()==''?'0.00':$('#AfterExciseDuty'+rowid).val();
|
||||||
var AdditionalExciseduty=$('#AdditionalExciseduty').val()==''?'0.00':$('#AdditionalExciseduty').val();
|
var AfterExcisedutyEDcess=$('#AfterExciseDutyEdCess'+rowid).val()==''?'0.00':$('#AfterExciseDutyEdCess'+rowid).val();
|
||||||
var Grossdutypayable=$('#Grossdutypayable').val()==''?'0.00':$('#Grossdutypayable').val();
|
var AfterExciseDutySH=$('#AfterExciseDutySHCess'+rowid).val()==''?'0.00':$('#AfterExciseDutySHCess'+rowid).val();
|
||||||
var AvailableModvat=$('#AvailableModvat').val()==''?'0.00':$('#AvailableModvat').val();
|
var AfterAdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
var Grossexpenses=$('#Grossexpenses').val()==''?'0.00':$('#Grossexpenses').val();
|
var AfterCustomEDcess=$('#AfterCustomEdCess'+rowid).val()==''?'0.00':$('#AfterCustomEdCess'+rowid).val();
|
||||||
var totalExp=$('#TotalExp').val()==''?'0.00':$('#TotalExp').val();
|
var AfterCustomSHcess=$('#AfterCustomSHCess'+rowid).val()==''?'0.00':$('#AfterCustomSHCess'+rowid).val();
|
||||||
|
var AdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
|
var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
|
var AvailableModvat=$('#AvailableModvat'+rowid).val()==''?'0.00':$('#AvailableModvat'+rowid).val();
|
||||||
|
var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#Grossexpensesduetocustomduty'+rowid).val();
|
||||||
|
//var =$('#TotalExp'+rowid).val()==''?'0.00':$('#TotalExp'+rowid).val();
|
||||||
|
|
||||||
|
//console.log(AfterCustomEDcess);
|
||||||
|
var totalExp=$('#TotalValue'+rowid).val()==''?'0.00':$('#TotalValue'+rowid).val();
|
||||||
|
|
||||||
TotalLanding = parseFloat(TotalLanding) - parseFloat(AfterLandingCharge);
|
TotalLanding = parseFloat(TotalLanding) - parseFloat(AfterLandingCharge);
|
||||||
TotalHighseas = parseFloat(TotalHighseas) - parseFloat(AfterHighseas);
|
TotalHighseas = parseFloat(TotalHighseas) - parseFloat(AfterHighseas);
|
||||||
TotalCustom = parseFloat(TotalCustom) - parseFloat(AfterCustomduty);
|
TotalCustom = parseFloat(TotalCustom) - parseFloat(AfterCustomduty);
|
||||||
@ -4589,7 +4732,7 @@ TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) - parseFloat(Additio
|
|||||||
TotalGrossDuty = parseFloat(TotalGrossDuty) - parseFloat(Grossdutypayable);
|
TotalGrossDuty = parseFloat(TotalGrossDuty) - parseFloat(Grossdutypayable);
|
||||||
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) - parseFloat(AvailableModvat);
|
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) - parseFloat(AvailableModvat);
|
||||||
TotalGrossExpense = parseFloat(TotalGrossExpense ) - parseFloat(Grossexpenses);
|
TotalGrossExpense = parseFloat(TotalGrossExpense ) - parseFloat(Grossexpenses);
|
||||||
TotalOrderValue=parseFloat(TotalOrderValue)-parseFloat()
|
TotalOrderValue=parseFloat(TotalOrderValue)-parseFloat(totalExp);
|
||||||
|
|
||||||
$('#txttotallanding').val(parseFloat(TotalLanding).toFixed(2));
|
$('#txttotallanding').val(parseFloat(TotalLanding).toFixed(2));
|
||||||
$('#txttotalhighseas').val(parseFloat(TotalHighseas).toFixed(2));
|
$('#txttotalhighseas').val(parseFloat(TotalHighseas).toFixed(2));
|
||||||
|
|||||||
@ -4,6 +4,7 @@ $ReqType ='';
|
|||||||
$CompanyAddress = '';
|
$CompanyAddress = '';
|
||||||
$Value='';
|
$Value='';
|
||||||
$Value="៛";
|
$Value="៛";
|
||||||
|
$UOM='';
|
||||||
|
|
||||||
|
|
||||||
date_default_timezone_set('Australia/Melbourne');
|
date_default_timezone_set('Australia/Melbourne');
|
||||||
@ -30,6 +31,18 @@ if(!empty($MaxPODate))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$INR='';
|
||||||
|
if(!empty($INRSYMBOL))
|
||||||
|
{
|
||||||
|
foreach ($INRSYMBOL as $INR)
|
||||||
|
{
|
||||||
|
$INR=$INR->Currency_Code;
|
||||||
|
// $INR=$INR->FontCode2000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//echo $INR;
|
||||||
|
|
||||||
if(!empty($AvlimportBudAmt))
|
if(!empty($AvlimportBudAmt))
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -80,10 +93,10 @@ if(!empty($AvlimportBudAmt))
|
|||||||
//maxDate : 'now',
|
//maxDate : 'now',
|
||||||
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '-100:+0'
|
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '-100:+0'
|
||||||
});
|
});
|
||||||
$("#Deliverydt").datepicker({
|
// $("#Deliverydt").datepicker({
|
||||||
minDate : 'now',
|
// minDate : 'now',
|
||||||
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
// dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
||||||
});
|
// });
|
||||||
|
|
||||||
});
|
});
|
||||||
function openModal()
|
function openModal()
|
||||||
@ -116,7 +129,7 @@ function vaildateBeforeOpenModal()
|
|||||||
}
|
}
|
||||||
else if($('#Deliverydt').val() == '' && $('#Scheduleby').val() == '')
|
else if($('#Deliverydt').val() == '' && $('#Scheduleby').val() == '')
|
||||||
{
|
{
|
||||||
alert('Please Enter the Delivery Date');
|
alert('Please Enter the Dispatch Instruction');
|
||||||
$('#Deliverydt').focus();
|
$('#Deliverydt').focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -254,8 +267,9 @@ body {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12" style="padding: 0px;">
|
||||||
<label>Purchase Order Type</label>
|
<div class="col-md-6">
|
||||||
|
<label>PO Type</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -263,6 +277,16 @@ body {
|
|||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label>PO Date</label>
|
||||||
|
<div class="form-group">
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label>Delivery Address</label>
|
<label>Delivery Address</label>
|
||||||
@ -291,7 +315,7 @@ body {
|
|||||||
<b><u>Select Delivery By</u></b><br/>
|
<b><u>Select Delivery By</u></b><br/>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Date', 'Date') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?> </td>
|
<?php echo form_label('Dispatch instruction', 'Dispatch instruction') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?> </td>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
||||||
|
|
||||||
@ -303,16 +327,16 @@ body {
|
|||||||
<label >Schedule </label>
|
<label >Schedule </label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '4', 'cols' => '40');
|
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||||
echo Form_textarea($data);
|
echo Form_textarea($data);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
||||||
<label>Delivery Date</label>
|
<label>Dispatch Instruction</label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true');
|
$data = array('name' => 'Dispatch','value' => set_value('Dispatch'),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -335,7 +359,7 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<p id=label1> <label>Exchange Rate </label></p>
|
<label id=label1>Exchange Rate </label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'ExchangeRate','value' => set_value('ExchangeRate'),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()');
|
$data = array('name' => 'ExchangeRate','value' => set_value('ExchangeRate'),'id'=>'ExchangeRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'USRate()');
|
||||||
@ -344,11 +368,13 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>Purchase Order Date</label>
|
<label>Place of Origin</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
// $data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
echo form_input($data);
|
// echo form_input($data);
|
||||||
|
$data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true');
|
||||||
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -609,10 +635,11 @@ body {
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4" >
|
||||||
Basic Price:
|
<!-- Basic Price: -->
|
||||||
|
<label><?php echo "Basic Price In ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" >
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
$data = array('name' => 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -630,7 +657,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Landing charge
|
<!-- Landing charge -->
|
||||||
|
<label><?php echo "Landing Charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -654,7 +682,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
High seas sales charge
|
<!-- High seas sales charge -->
|
||||||
|
<label><?php echo "High seas sales charge ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -675,7 +704,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom duty : (a)
|
<!-- Custom duty : (a) -->
|
||||||
|
<label><?php echo "Custom duty : (a)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -696,7 +726,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty : (b)
|
<!-- Excise duty : (b) -->
|
||||||
|
<label><?php echo "Excise duty : (b)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -717,7 +748,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty ED_cess : (C)
|
<!-- Excise duty ED_cess : (C) -->
|
||||||
|
<label><?php echo "Excise duty ED_cess : (C)($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -738,7 +770,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty S & H cess :(d)
|
<!-- Excise duty S & H cess :(d) -->
|
||||||
|
<label><?php echo "Excise duty S & H cess :(d)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -759,7 +792,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom ED_cess : (e)
|
<!-- Custom ED_cess : (e) -->
|
||||||
|
<label><?php echo "Custom ED_cess : (e)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -780,7 +814,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom S & H cess : (f)
|
<!-- Custom S & H cess : (f) -->
|
||||||
|
<label><?php echo "Custom S & H cess : (f)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -803,7 +838,8 @@ body {
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Additional Excise duty : (g)
|
<!-- Additional Excise duty : (g) -->
|
||||||
|
<label><?php echo "Additional Excise duty : (g)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -824,7 +860,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross duty payable
|
<!-- Gross duty payable -->
|
||||||
|
<label><?php echo "Gross duty payable($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -837,7 +874,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Available Modvat set-off on import :
|
<!-- Available Modvat set-off on import : -->
|
||||||
|
<label><?php echo "Available Modvat set-off on import :($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -852,7 +890,8 @@ body {
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross expenses due to custom duty:
|
<!-- Gross expenses due to custom duty: -->
|
||||||
|
<label><?php echo "Gross expenses due to custom duty:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -865,12 +904,13 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<center> <label>Cost of the product Per KG</label></center>
|
<center>Cost of the product Per</center>
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
purchase rate [Basic]
|
purchase rate [Basic]/UOM
|
||||||
|
<!-- <p id=labelPurchaseRate> <label><?php echo "purchase rate [Basic]/"?></label></p> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -894,7 +934,8 @@ body {
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom Duty Expenses
|
<!-- Custom Duty Expenses -->
|
||||||
|
<label><?php echo "Custom Duty Expenses($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -908,7 +949,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
RMC Including Customers
|
<!-- RMC Including Customers -->
|
||||||
|
<label><?php echo "RMC Including Customers($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -918,13 +960,15 @@ body {
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" style="display:none;">
|
||||||
Total Amount:
|
<!-- Total Amount: -->
|
||||||
|
|
||||||
|
<label id=labelTotalAmount>Total Amount</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" >
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'TotalExp','value' => set_value('TotalExp'),'id'=>'TotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
$data = array('name' => 'TotalExp','value' => set_value('TotalExp'),'id'=>'TotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
@ -1067,7 +1111,7 @@ body {
|
|||||||
<label>Quantity</label>
|
<label>Quantity</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange(),ExceedEditQuantityCheck()');
|
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange(),ExceedEditQuantityCheck()');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@ -1078,7 +1122,7 @@ body {
|
|||||||
<!-- <label>Rate </label> -->
|
<!-- <label>Rate </label> -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange()' );
|
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'EditRatechange()' );
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
@ -1146,7 +1190,8 @@ body {
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4" >
|
<div class="col-md-4" >
|
||||||
Basic Price:
|
<!-- Basic Price: -->
|
||||||
|
<label><?php echo "Basic Price:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1167,7 +1212,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Landing charge
|
<!-- Landing charge -->
|
||||||
|
<label><?php echo "Landing Charge($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1191,7 +1237,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
High seas sales charge
|
<!-- High seas sales charge -->
|
||||||
|
<label><?php echo "High seas sales charge($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1212,7 +1259,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom duty : (a)
|
<!-- Custom duty : (a) -->
|
||||||
|
<label><?php echo "Custom duty: (a)($INR)"?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1233,7 +1281,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty : (b)
|
<!-- Excise duty : (b) -->
|
||||||
|
<label><?php echo "Excise duty : (b) ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1254,7 +1303,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty ED_cess : (C)
|
<!-- Excise duty ED_cess : (C) -->
|
||||||
|
<label><?php echo "Excise duty ED_cess : (C) ($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1275,7 +1325,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Excise duty S & H cess :(d)
|
<!-- Excise duty S & H cess :(d) -->
|
||||||
|
<label><?php echo "Excise duty S & H cess :(d)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1296,7 +1347,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom ED_cess : (e)
|
<!-- Custom ED_cess : (e) -->
|
||||||
|
<label><?php echo "Custom ED_cess : (e)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1317,7 +1369,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom S & H cess : (f)
|
<!-- Custom S & H cess : (f) -->
|
||||||
|
<label><?php echo "Custom S & H cess : (f)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1340,7 +1393,8 @@ body {
|
|||||||
<div class="col-md-6" style="padding:0px;">
|
<div class="col-md-6" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Additional Excise duty : (g)
|
<!-- Additional Excise duty : (g) -->
|
||||||
|
<label><?php echo "Additional Excise duty : (g)($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1361,7 +1415,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross duty payable
|
<!-- Gross duty payable -->
|
||||||
|
<label><?php echo "Gross duty payable($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1374,7 +1429,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Available Modvat set-off on import :
|
<!-- Available Modvat set-off on import : -->
|
||||||
|
<label><?php echo "Available Modvat set-off on import :($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1389,7 +1445,8 @@ body {
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
Gross expenses due to custom duty:
|
<!-- Gross expenses due to custom duty: -->
|
||||||
|
<label><?php echo "Gross expenses due to custom duty:($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1402,12 +1459,14 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<center> <label>Cost of the product Per KG</label></center>
|
<center> Cost of the product Per KG</center>
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
purchase rate [Basic]
|
purchase rate [Basic]/UOM
|
||||||
|
<!-- <p id=labelEditPurchaseRate><label><?php echo "purchase rate [Basic]/"?></label> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1431,7 +1490,8 @@ body {
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
Custom Duty Expenses
|
<!-- Custom Duty Expenses -->
|
||||||
|
<label><?php echo "Custom Duty Expenses($INR)" ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1445,7 +1505,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
RMC Including Customers
|
<!-- RMC Including Customers -->
|
||||||
|
<label><?php echo "RMC Including Customers($INR)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1455,11 +1516,12 @@ body {
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" style="display:none;">
|
||||||
Total Amount:
|
<!-- Total Amount: -->
|
||||||
|
<label id=labelEditTotalAmount>Total Amount</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'EditTotalExp','value' => set_value('EditTotalExp'),'id'=>'EditTotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
$data = array('name' => 'EditTotalExp','value' => set_value('EditTotalExp'),'id'=>'EditTotalExp', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','readonly'=>'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1740,6 +1802,10 @@ var NilType = '<?php echo NILTYPE;?>';
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('#drpSupplier').change(function() {
|
$('#drpSupplier').change(function() {
|
||||||
|
|
||||||
var id = $('#drpSupplier').val();
|
var id = $('#drpSupplier').val();
|
||||||
@ -1904,10 +1970,14 @@ $("#txtBasicValue").val('');
|
|||||||
$.each(Material[i], function(idx, obj) {
|
$.each(Material[i], function(idx, obj) {
|
||||||
if(obj.MaterialCode === id)
|
if(obj.MaterialCode === id)
|
||||||
{
|
{
|
||||||
$("#ItemName").val(obj.MaterialName);
|
$("#ItemName").val(obj.MaterialName);
|
||||||
$("#UOM").val(obj.UOM);
|
$("#UOM").val(obj.UOM);
|
||||||
$("#Quantity").val(obj.Quantity);
|
$("#Quantity").val(obj.Quantity);
|
||||||
RequistQuantity = obj.Quantity;
|
RequistQuantity = obj.Quantity;
|
||||||
|
unit=obj.UOM;
|
||||||
|
// document.getElementById("labelPurchaseRate").innerHTML ='purchase rate [Basic]/'+unit;
|
||||||
|
// document.getElementById("labelEditPurchaseRate").innerHTML ='purchase rate [Basic]/'+unit;
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -1920,6 +1990,8 @@ $("#txtBasicValue").val('');
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('#currencytype').change(function()
|
$('#currencytype').change(function()
|
||||||
{//alert();
|
{//alert();
|
||||||
var id = $('#currencytype').val();
|
var id = $('#currencytype').val();
|
||||||
@ -1937,12 +2009,15 @@ $.each(symbol,function(idx,obj)
|
|||||||
document.getElementById("label2").innerHTML ='Basic Value in '+code+'('+sign+')';
|
document.getElementById("label2").innerHTML ='Basic Value in '+code+'('+sign+')';
|
||||||
document.getElementById("label3").innerHTML ='Basic Value in '+code+'('+sign+')';
|
document.getElementById("label3").innerHTML ='Basic Value in '+code+'('+sign+')';
|
||||||
document.getElementById("labelRate").innerHTML ='Rate in '+code+'('+sign+')';
|
document.getElementById("labelRate").innerHTML ='Rate in '+code+'('+sign+')';
|
||||||
document.getElementById("labelBasicpriceus").innerHTML ='Basic Price In '+code+'('+sign+')'+' per Ton';
|
document.getElementById("labelBasicpriceus").innerHTML ='Basic Value In '+code+'('+sign+')'+' per UOM';
|
||||||
document.getElementById("labelBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
document.getElementById("labelBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
||||||
document.getElementById("labelEditRate").innerHTML ='Rate in '+sign;
|
document.getElementById("labelEditRate").innerHTML ='Rate in '+sign;
|
||||||
document.getElementById("labelEditBasicPriceUs").innerHTML ='Basic Price In '+code+'('+sign+')'+' per Ton';
|
document.getElementById("labelEditBasicPriceUs").innerHTML ='Basic Value In '+code+'('+sign+')'+' per UOM';
|
||||||
document.getElementById("labelEditBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
document.getElementById("labelEditBasicINR").innerHTML ='Basic Price in INR:'+code+'('+sign+')';
|
||||||
|
|
||||||
|
document.getElementById("labelTotalAmount").innerHTML ='Total Amount '+code+'('+sign+')';
|
||||||
|
document.getElementById("labelEditTotalAmount").innerHTML ='Total Amount '+code+'('+sign+')';
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -1982,32 +2057,33 @@ function USRate()
|
|||||||
|
|
||||||
function Ratechange(){
|
function Ratechange(){
|
||||||
//alert();
|
//alert();
|
||||||
if($('#ReqNo').val() == "0")
|
// if($('#ReqNo').val() == "0")
|
||||||
{
|
// {
|
||||||
alert('Please select the Requisition Number');
|
// alert('Please select the Requisition Number');
|
||||||
$('#ReqNo').focus();
|
// $('#ReqNo').focus();
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
else if($('#MaterialCode').val() == "0")
|
// else if($('#MaterialCode').val() == "0")
|
||||||
{
|
// {
|
||||||
alert('Please select the Material Code');
|
// alert('Please select the Material Code');
|
||||||
$('#MaterialCode').focus();
|
// $('#MaterialCode').focus();
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
else if($('#CostCenter').val() == "0")
|
// else if($('#CostCenter').val() == "0")
|
||||||
{
|
// {
|
||||||
alert('Please select the CostCenterCode');
|
// alert('Please select the CostCenterCode');
|
||||||
$('#CostCenter').focus();
|
// $('#CostCenter').focus();
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
|
||||||
//ExceedQuantityCheck();
|
//ExceedQuantityCheck();
|
||||||
|
|
||||||
if($('#Quantity').val() != '' && $('#Rate').val() != '')
|
// if($('#Quantity').val() != '' && $('#Rate').val() != '')
|
||||||
{
|
// {
|
||||||
var txtQuantity = parseFloat( $('#Quantity').val());
|
var txtQuantity = parseFloat( $('#Quantity').val());
|
||||||
var txtUnitPrice = parseFloat($('#Rate').val());
|
var txtUnitPrice = parseFloat($('#Rate').val());
|
||||||
var Tot = txtQuantity * txtUnitPrice
|
var Tot = txtQuantity * txtUnitPrice
|
||||||
|
console.log(Tot);
|
||||||
$('#txtBasicValue').val(Math.round(Tot));
|
$('#txtBasicValue').val(Math.round(Tot));
|
||||||
$('#imBasicPrice').val(Math.round(Tot));
|
$('#imBasicPrice').val(Math.round(Tot));
|
||||||
|
|
||||||
@ -2022,24 +2098,74 @@ function Ratechange(){
|
|||||||
//txtINR = Math.ceil(txtINR*10)/10;
|
//txtINR = Math.ceil(txtINR*10)/10;
|
||||||
txtINR = Math.round(txtINRvalue);
|
txtINR = Math.round(txtINRvalue);
|
||||||
//alert(txtINR);BasicPriceTax
|
//alert(txtINR);BasicPriceTax
|
||||||
|
var txtEditQuantity=parseFloat($('#EditQuantity').val());
|
||||||
|
var txtEditUnitPrice=parseFloat($('#EditRate').val());
|
||||||
|
var EditTot=txtEditQuantity*txtEditUnitPrice;
|
||||||
|
console.log(EditTot);
|
||||||
|
$('#EdittxtBasicValue').val(EditTot);
|
||||||
|
var EditBasicINR=EditTot*txtexchangerate;
|
||||||
$('#AfterBasicPriceTax').val(txtINR);
|
$('#AfterBasicPriceTax').val(txtINR);
|
||||||
$('#imBasicPrice').val(txtbasics);
|
$('#imBasicPrice').val(txtbasics);
|
||||||
$('#ExchangeRt').val(txtexchangerate);
|
$('#ExchangeRt').val(txtexchangerate);
|
||||||
$('#EditAfterBasicPriceTax').val(txtINR);
|
$('#EditAfterBasicPriceTax').val(EditBasicINR);
|
||||||
$('#EditimBasicPrice').val(txtbasics);
|
$('#EditimBasicPrice').val(EditTot);
|
||||||
$('#EditExchangeRt').val(txtexchangerate);
|
$('#EditExchangeRt').val(txtexchangerate);
|
||||||
$('#EditINRBasicvalue').val(txtINRvalue);
|
$('#EditINRBasicvalue').val(EditBasicINR);
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function EditRatechange()
|
||||||
|
{
|
||||||
|
var txteditQuantity=parseFloat($('#EditQuantity').val());
|
||||||
|
var txteditUnitPrice=parseFloat($('#EditRate').val());
|
||||||
|
var editTot=txteditQuantity*txteditUnitPrice
|
||||||
|
$('#EdittxtBasicValue').val(editTot);
|
||||||
|
$('#EditimBasicPrice').val(editTot);
|
||||||
|
var exchangerate=parseFloat($('#EditExchangeRt').val());
|
||||||
|
var txtINR=editTot*exchangerate;
|
||||||
|
$('#EditINRBasicvalue').val(txtINR);
|
||||||
|
$('#EditBasicPriceTax').val(txtINR);
|
||||||
|
$('#EditAfterBasicPriceTax').val(txtINR);
|
||||||
|
EditCalculateloadingcharge();
|
||||||
}
|
}
|
||||||
|
|
||||||
function validateEditExceedLimit()
|
function validateEditExceedLimit()
|
||||||
{
|
{
|
||||||
var avalbudAmt = parseFloat($('#EditAvlBudAmt').val());
|
var avalbudAmt = parseFloat($('#EditAvlBudAmt').val());
|
||||||
var basicAmountRate = parseFloat($('#txtEditBasicValue').val());
|
var basicAmountRate = parseFloat($('#EdittxtBasicValue').val());
|
||||||
var totalAmount = parseFloat($('#EditTotalExp').val());
|
var totalAmount = parseFloat($('#EditTotalExp').val());
|
||||||
|
var exchangerate=parseFloat($('#EditExchangeRt').val());
|
||||||
|
var exp=0;
|
||||||
|
exp=basicAmountRate*exchangerate;
|
||||||
|
//console.log(exp);
|
||||||
|
|
||||||
if(basicAmountRate > avalbudAmt || totalAmount > avalbudAmt)
|
if(exp > avalbudAmt || totalAmount > avalbudAmt)
|
||||||
|
{
|
||||||
|
alert('Basic amount is exceeding the Budget Limit.Please adjust the product value.');
|
||||||
|
$('#EditRate').focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function validateExceedLimit()
|
||||||
|
{
|
||||||
|
var avalbudAmt = parseFloat($('#AvlBudAmt').val());
|
||||||
|
var basicAmountRate = parseFloat($('#txtBasicValue').val());
|
||||||
|
var totalAmount = parseFloat($('#TotalExp').val());
|
||||||
|
var exchangerate=parseFloat($('#ExchangeRt').val());
|
||||||
|
var exp=0;
|
||||||
|
exp=basicAmountRate*exchangerate;
|
||||||
|
//console.log(exp);
|
||||||
|
|
||||||
|
if(exp > avalbudAmt || totalAmount > avalbudAmt)
|
||||||
{
|
{
|
||||||
alert('Basic amount is exceeding the Budget Limit.Please adjust the product value.');
|
alert('Basic amount is exceeding the Budget Limit.Please adjust the product value.');
|
||||||
$('#EditRate').focus();
|
$('#EditRate').focus();
|
||||||
@ -2651,7 +2777,7 @@ function EditCalculateaddlExciseDuty()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('#EditAfterAdditionalExciseduty').val(txtaddtnexciseduty).toFixed(2);
|
$('#EditAfterAdditionalExciseduty').val(txtaddtnexciseduty);
|
||||||
}
|
}
|
||||||
//var txtgrossduty=landingcha+highsesssalless+customcha+excisecha+exciseedcha+exciseshcha+customed+customsh+txtaddtnexciseduty;
|
//var txtgrossduty=landingcha+highsesssalless+customcha+excisecha+exciseedcha+exciseshcha+customed+customsh+txtaddtnexciseduty;
|
||||||
|
|
||||||
@ -2807,7 +2933,7 @@ function CalculateCtable()
|
|||||||
}
|
}
|
||||||
|
|
||||||
txtgrossexp=parseFloat($('#Grossexpenses').val());
|
txtgrossexp=parseFloat($('#Grossexpenses').val());
|
||||||
//txtcustomdutyexp=txtgrossexp/txtCtablequantity;
|
//txtcustomdutyexp=txtgrossexp/txtCtablequantity;EditTotalExp
|
||||||
txtcustomdutyexp=<?php echo CUSTOMDUTY_EXP;?>;
|
txtcustomdutyexp=<?php echo CUSTOMDUTY_EXP;?>;
|
||||||
if(isNaN(txtcustomdutyexp))
|
if(isNaN(txtcustomdutyexp))
|
||||||
{
|
{
|
||||||
@ -2855,7 +2981,8 @@ function EditCalculateCtable()
|
|||||||
var total=0;
|
var total=0;
|
||||||
var basicamt=0;
|
var basicamt=0;
|
||||||
basicamt=parseFloat($('#EdittxtBasicValue').val());
|
basicamt=parseFloat($('#EdittxtBasicValue').val());
|
||||||
txtCtablequantity=parseFloat($('#EditPurQuantity').val());
|
console.log(basicamt);
|
||||||
|
quantity=parseFloat($('#EditPurQuantity').val());
|
||||||
txtbasicinrprice=parseFloat($('#EditAfterBasicPriceTax').val());
|
txtbasicinrprice=parseFloat($('#EditAfterBasicPriceTax').val());
|
||||||
//txtpurchaserate=txtbasicinrprice/txtCtablequantity;
|
//txtpurchaserate=txtbasicinrprice/txtCtablequantity;
|
||||||
txtpurchaserate=<?php echo PURCHASE_RATE;?>;
|
txtpurchaserate=<?php echo PURCHASE_RATE;?>;
|
||||||
@ -2871,7 +2998,7 @@ function EditCalculateCtable()
|
|||||||
purquantity=parseFloat($('#PurQuantity').val());
|
purquantity=parseFloat($('#PurQuantity').val());
|
||||||
$('#EditRMCIncludingCustomers').val(txtrmc);
|
$('#EditRMCIncludingCustomers').val(txtrmc);
|
||||||
total=<?php echo CALCULATE_TOTAL;?>;
|
total=<?php echo CALCULATE_TOTAL;?>;
|
||||||
$('#EditTotalExp').val(total);
|
$('#EditTotalExp').val(basicamt);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2881,7 +3008,7 @@ $('.AddImport').click(function()
|
|||||||
{
|
{
|
||||||
|
|
||||||
//alert('out');
|
//alert('out');
|
||||||
if(validateImport()&&ExceedQuantityCheck())
|
if(validateImport()&&ExceedQuantityCheck()&&validateExceedLimit())
|
||||||
{
|
{
|
||||||
//alert('in');
|
//alert('in');
|
||||||
|
|
||||||
@ -2900,10 +3027,11 @@ $('.AddImport').click(function()
|
|||||||
var BasicAmt=parseFloat($("#txtBasicValue").val());
|
var BasicAmt=parseFloat($("#txtBasicValue").val());
|
||||||
var taxamt=parseFloat($("#RMCIncludingCustomers").val());
|
var taxamt=parseFloat($("#RMCIncludingCustomers").val());
|
||||||
var totalexp=parseFloat($("#TotalExp").val());
|
var totalexp=parseFloat($("#TotalExp").val());
|
||||||
|
//var totalexp=parseFloat($('#txtBasicValue').val());
|
||||||
var Exchangerate=parseFloat($("#ExchangeRt").val());
|
var Exchangerate=parseFloat($("#ExchangeRt").val());
|
||||||
var Basicpriceinus=parseFloat($("#imBasicPrice").val());
|
var Basicpriceinus=parseFloat($("#imBasicPrice").val());
|
||||||
var taxexp=taxamt*quantity;
|
var taxexp=taxamt*quantity;
|
||||||
|
var txtbasicINR=parseFloat($('#INRBasicvalue').val());
|
||||||
//alert(taxexp);
|
//alert(taxexp);
|
||||||
|
|
||||||
// index = parseInt(index)+1;
|
// index = parseInt(index)+1;
|
||||||
@ -2993,6 +3121,7 @@ $('.AddImport').click(function()
|
|||||||
addHidden(theForm,"taxamt"+temp,taxamt);
|
addHidden(theForm,"taxamt"+temp,taxamt);
|
||||||
addHidden(theForm,"Exchangerate"+temp,Exchangerate);
|
addHidden(theForm,"Exchangerate"+temp,Exchangerate);
|
||||||
addHidden(theForm,"BasicPriceTax"+temp,BasicPriceTax);
|
addHidden(theForm,"BasicPriceTax"+temp,BasicPriceTax);
|
||||||
|
addHidden(theForm,"BasicPriceINR"+temp,txtbasicINR);
|
||||||
addHidden(theForm,"BasicPriceinUS"+temp,Basicpriceinus);
|
addHidden(theForm,"BasicPriceinUS"+temp,Basicpriceinus);
|
||||||
addHidden(theForm,"AfterBasicPriceTax"+temp,AfterBasicPrice);
|
addHidden(theForm,"AfterBasicPriceTax"+temp,AfterBasicPrice);
|
||||||
addHidden(theForm,"LandingChargee"+temp,LandingChargee);
|
addHidden(theForm,"LandingChargee"+temp,LandingChargee);
|
||||||
@ -3021,6 +3150,7 @@ $('.AddImport').click(function()
|
|||||||
addHidden(theForm,"RMCIncludingCustomers"+temp,RMCIncluderate);
|
addHidden(theForm,"RMCIncludingCustomers"+temp,RMCIncluderate);
|
||||||
addHidden(theForm,"AvilableModvat"+temp,Avlmodvat);
|
addHidden(theForm,"AvilableModvat"+temp,Avlmodvat);
|
||||||
addHidden(theForm,"TotalExp"+temp,totalexp);
|
addHidden(theForm,"TotalExp"+temp,totalexp);
|
||||||
|
addHidden(theForm,"TotalValue"+temp,BasicAmt);
|
||||||
// alert(JSON.stringify(totalexp));
|
// alert(JSON.stringify(totalexp));
|
||||||
|
|
||||||
|
|
||||||
@ -3218,12 +3348,14 @@ $("#editimportpomodel").on("shown.bs.modal", function(e) {
|
|||||||
|
|
||||||
$('#EditItemName').val($('#materialName'+userid).val());
|
$('#EditItemName').val($('#materialName'+userid).val());
|
||||||
$('#EditUOM').val($('#uom'+userid).val());
|
$('#EditUOM').val($('#uom'+userid).val());
|
||||||
|
var uom=parseFloat($('#uom'+userid).val());
|
||||||
|
console.log(uom);
|
||||||
$('#EditQuantity').val($('#quantity'+userid).val());
|
$('#EditQuantity').val($('#quantity'+userid).val());
|
||||||
//RequistQuantity = $('#quantity'+userid).val();
|
//RequistQuantity = $('#quantity'+userid).val();
|
||||||
$('#EditRate').val($('#itemRate'+userid).val());
|
$('#EditRate').val($('#itemRate'+userid).val());
|
||||||
$('#EdittxtBasicValue').val($('#BasicAmt'+userid).val());
|
$('#EdittxtBasicValue').val($('#BasicAmt'+userid).val());
|
||||||
$('#EditBasicPrice').val($("#BasicPriceTax"+userid).val());
|
$('#EditimBasicPrice').val($("#BasicAmt"+userid).val());
|
||||||
//$('#EditAfterBasicPrice').val($("#AfterBasicPriceTax"+userid).val());
|
$('#EditINRBasicvalue').val($("#BasicPriceINR"+userid).val());
|
||||||
$('#EditLandingCharge').val($("#LandingChargee"+userid).val());
|
$('#EditLandingCharge').val($("#LandingChargee"+userid).val());
|
||||||
$('#EditAfterLandingCharge').val($("#AfterLandingChargee"+userid).val());
|
$('#EditAfterLandingCharge').val($("#AfterLandingChargee"+userid).val());
|
||||||
$('#EditHighseas').val($("#Highseass"+userid).val());
|
$('#EditHighseas').val($("#Highseass"+userid).val());
|
||||||
@ -3310,6 +3442,8 @@ $('.EditImport').click(function(){
|
|||||||
var editQuantity = $('#EditQuantity').val();
|
var editQuantity = $('#EditQuantity').val();
|
||||||
var itemRate = $("#EditRate").val();
|
var itemRate = $("#EditRate").val();
|
||||||
var BasicValue=$("#EdittxtBasicValue").val();
|
var BasicValue=$("#EdittxtBasicValue").val();
|
||||||
|
var BasicPriceinUS=$('#EditimBasicPrice').val();
|
||||||
|
var BasicPriceinINR=$('#EditINRBasicvalue').val();
|
||||||
//var BasicValue=$("#EdittxtBasicValue").val();
|
//var BasicValue=$("#EdittxtBasicValue").val();
|
||||||
var BasicPrice=$("#EditBasicPriceTax").val();
|
var BasicPrice=$("#EditBasicPriceTax").val();
|
||||||
var AfterBasicPrice=$("#EditAfterBasicPriceTax").val();
|
var AfterBasicPrice=$("#EditAfterBasicPriceTax").val();
|
||||||
@ -3339,16 +3473,17 @@ $('.EditImport').click(function(){
|
|||||||
var CustomDutyExpense=$("#EditCustomDutyExpenses").val();
|
var CustomDutyExpense=$("#EditCustomDutyExpenses").val();
|
||||||
var RMC=$("#EditRMCIncludingCustomers").val();
|
var RMC=$("#EditRMCIncludingCustomers").val();
|
||||||
var TotalExp=$('#EditTotalExp').val();
|
var TotalExp=$('#EditTotalExp').val();
|
||||||
|
//console.log(TotalExp);
|
||||||
|
|
||||||
|
|
||||||
var tr= document.getElementById(userid);
|
var tr= document.getElementById(userid);
|
||||||
var cellval = tr.cells;
|
var cellval = tr.cells;
|
||||||
|
|
||||||
|
|
||||||
cellval[3].innerHTML = editQuantity;
|
cellval[4].innerHTML = editQuantity;
|
||||||
cellval[4].innerHTML =editUOM;
|
cellval[5].innerHTML =editUOM;
|
||||||
cellval[5].innerHTML =itemRate;
|
cellval[6].innerHTML =itemRate;
|
||||||
cellval[6].innerHTML =BasicValue;
|
cellval[7].innerHTML =BasicValue;
|
||||||
|
|
||||||
$('#materialCode'+userid).val(editMaterialCode);
|
$('#materialCode'+userid).val(editMaterialCode);
|
||||||
$('#materialName'+userid).val(edititemname);
|
$('#materialName'+userid).val(edititemname);
|
||||||
@ -3356,6 +3491,8 @@ $('.EditImport').click(function(){
|
|||||||
$('#Quantity'+userid).val(EditQuantity);
|
$('#Quantity'+userid).val(EditQuantity);
|
||||||
$('#itemRate'+userid).val(EditRate);
|
$('#itemRate'+userid).val(EditRate);
|
||||||
$('#BasicAmt'+userid).val(BasicValue);
|
$('#BasicAmt'+userid).val(BasicValue);
|
||||||
|
$('#BasicPriceinUS'+userid).val(BasicPriceinUS);
|
||||||
|
$('#BasicPriceINR'+userid).val(BasicPriceinINR);
|
||||||
$('#BasicPriceTax'+userid).val(BasicPrice);
|
$('#BasicPriceTax'+userid).val(BasicPrice);
|
||||||
$('#AfterBasicPriceTax'+userid).val(AfterBasicPrice);
|
$('#AfterBasicPriceTax'+userid).val(AfterBasicPrice);
|
||||||
$('#LandingChargee'+userid).val(Landingcharge);
|
$('#LandingChargee'+userid).val(Landingcharge);
|
||||||
@ -3383,6 +3520,8 @@ $('.EditImport').click(function(){
|
|||||||
$('#CustomDutyExpenses'+userid).val(CustomDutyExpense);
|
$('#CustomDutyExpenses'+userid).val(CustomDutyExpense);
|
||||||
$('#RMCIncludingCustomers'+userid).val(RMC);
|
$('#RMCIncludingCustomers'+userid).val(RMC);
|
||||||
$('#TotalExp'+userid).val(TotalExp);
|
$('#TotalExp'+userid).val(TotalExp);
|
||||||
|
$('#AvilableModvat'+userid).val(AvailaleModvat);
|
||||||
|
$('#TotalValue'+userid).val(TotalExp);
|
||||||
populateValueMainFormForEditImportTax();
|
populateValueMainFormForEditImportTax();
|
||||||
}
|
}
|
||||||
//$('#Grossexpenses'+userid).val(GrossExpense);
|
//$('#Grossexpenses'+userid).val(GrossExpense);
|
||||||
@ -3419,6 +3558,8 @@ function populateValueMainFormForEditImportTax()
|
|||||||
var TotalGrossDuty=0;
|
var TotalGrossDuty=0;
|
||||||
var TotalAvlmodvat=0;
|
var TotalAvlmodvat=0;
|
||||||
var TotalGrossExpense=0;
|
var TotalGrossExpense=0;
|
||||||
|
var TotalOrder=0;
|
||||||
|
var TotalOrdervalue=0;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var TotalRMC=0;
|
var TotalRMC=0;
|
||||||
do{
|
do{
|
||||||
@ -3429,20 +3570,22 @@ function populateValueMainFormForEditImportTax()
|
|||||||
cells = tr.getElementsByTagName('td');
|
cells = tr.getElementsByTagName('td');
|
||||||
var rowid = cells[0].innerHTML;
|
var rowid = cells[0].innerHTML;
|
||||||
|
|
||||||
var AfterLandingCharge= $('#AfterLandingCharge').val() == '' ? '0.00' : $('#AfterLandingCharge').val();
|
var AfterLandingCharge= $('#AfterLandingChargee'+rowid).val() == '' ? '0.00' : $('#AfterLandingChargee'+rowid).val();
|
||||||
var AfterHighseas=$('#AfterHighseas').val()==''?'0.00':$('#AfterHighseas').val();
|
console.log(AfterLandingCharge);
|
||||||
var AfterCustomduty=$('#AfterCustomduty').val()==''?'0.00':$('#AfterCustomduty').val();
|
var AfterHighseas=$('#AfterHighseass'+rowid).val()==''?'0.00':$('#AfterHighseass'+rowid).val();
|
||||||
var AfterExcisedutyTax=$('#AfterExcisedutyTax').val()==''?'0.00':$('#AfterExcisedutyTax').val();
|
var AfterCustomduty=$('#AfterCustomduty'+rowid).val()==''?'0.00':$('#AfterCustomduty'+rowid).val();
|
||||||
var AfterExcisedutyEDcess=$('#AfterExcisedutyEDcess').val()==''?'0.00':$('#AfterExcisedutyEDcess').val();
|
var AfterExcisedutyTax=$('#AfterExcisedutyTax'+rowid).val()==''?'0.00':$('#AfterExcisedutyTax'+rowid).val();
|
||||||
var AfterExciseDutySH=$("#AfterExcisedutySHcess").val()==''?'0.00':$('#AfterExcisedutySHcess').val();
|
var AfterExcisedutyEDcess=$('#AfterExcisedutyED'+rowid).val()==''?'0.00':$('#AfterExcisedutyED'+rowid).val();
|
||||||
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty').val()==''?'0.00':$('#AfterAdditionalExciseduty').val();
|
var AfterExciseDutySH=$('#AfterExcisedutySH'+rowid).val()==''?'0.00':$('#AfterExcisedutySH'+rowid).val();
|
||||||
var AfterCustomEDcess=$('#AfterCustomEDcess').val()==''?'0.00':$('#AfterCustomEDcess').val();
|
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty'+rowid).val()==''?'0.00':$('#AfterAdditionalExciseduty'+rowid).val();
|
||||||
var AfterCustomSHcess=$('#AfterCustomSHcess').val()==''?'0.00':$('#AfterCustomSHcess').val();
|
var AfterCustomEDcess=$('#AfterCustomEDcess'+rowid).val()==''?'0.00':$('#AfterCustomEDcess'+rowid).val();
|
||||||
var AdditionalExciseduty=$('#AdditionalExciseduty').val()==''?'0.00':$('#AdditionalExciseduty').val();
|
var AfterCustomSHcess=$('#AfterCustomSHcess'+rowid).val()==''?'0.00':$('#AfterCustomSHcess'+rowid).val();
|
||||||
var Grossdutypayable=$('#Grossdutypayable').val()==''?'0.00':$('#Grossdutypayable').val();
|
var AdditionalExciseduty=$('#AdditionalExciseduty'+rowid).val()==''?'0.00':$('#AdditionalExciseduty'+rowid).val();
|
||||||
var AvailableModvat=$('#AvailableModvat').val()==''?'0.00':$('#AvailableModvat').val();
|
var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
var Grossexpenses=$('#Grossexpenses').val()==''?'0.00':$('#Grossexpenses').val();
|
var AvailableModvat=$('#AvilableModvat'+rowid).val()==''?'0.00':$('#AvilableModvat'+rowid).val();
|
||||||
var RMC=$('#RMCIncludingCustomers').val()==''?'0.00':$('#RMCIncludingCustomers').val();
|
var Grossexpenses=$('#Grossexpenses'+rowid).val()==''?'0.00':$('#Grossexpenses'+rowid).val();
|
||||||
|
var RMC=$('#RMCIncludingCustomers'+rowid).val()==''?'0.00':$('#RMCIncludingCustomers'+rowid).val();
|
||||||
|
var Totalvalue=$('#TotalValue'+rowid).val()==''?'0.00':$('#TotalValue'+rowid).val();
|
||||||
TotalLanding = parseFloat(TotalLanding) + parseFloat(AfterLandingCharge);
|
TotalLanding = parseFloat(TotalLanding) + parseFloat(AfterLandingCharge);
|
||||||
TotalHighseas = parseFloat(TotalHighseas) + parseFloat(AfterHighseas);
|
TotalHighseas = parseFloat(TotalHighseas) + parseFloat(AfterHighseas);
|
||||||
TotalCustom = parseFloat(TotalCustom) + parseFloat(AfterCustomduty);
|
TotalCustom = parseFloat(TotalCustom) + parseFloat(AfterCustomduty);
|
||||||
@ -3451,40 +3594,16 @@ TotalExciseED = parseFloat(TotalExciseED ) + parseFloat(AfterExcisedutyEDcess);
|
|||||||
TotalExciseSH = parseFloat(TotalExciseSH) + parseFloat(AfterExciseDutySH);
|
TotalExciseSH = parseFloat(TotalExciseSH) + parseFloat(AfterExciseDutySH);
|
||||||
TotalCustomED = parseFloat(TotalCustomED) + parseFloat(AfterCustomEDcess);
|
TotalCustomED = parseFloat(TotalCustomED) + parseFloat(AfterCustomEDcess);
|
||||||
TotalCustomSH = parseFloat(TotalCustomSH ) + parseFloat(AfterCustomSHcess);
|
TotalCustomSH = parseFloat(TotalCustomSH ) + parseFloat(AfterCustomSHcess);
|
||||||
TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) + parseFloat(AdditionalExciseduty);
|
TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) + parseFloat(AfterAdditionalExciseduty);
|
||||||
TotalGrossDuty = parseFloat(TotalGrossDuty) + parseFloat(Grossdutypayable);
|
TotalGrossDuty = parseFloat(TotalGrossDuty) + parseFloat(Grossdutypayable);
|
||||||
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) + parseFloat(AvailableModvat);
|
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) + parseFloat(AvailableModvat);
|
||||||
TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
||||||
|
TotalOrdervalue=parseFloat(TotalOrdervalue)+parseFloat(Totalvalue);
|
||||||
//TotalRMC=parseFloat(TotalRMC)+parseFloat(RMC);
|
//TotalRMC=parseFloat(TotalRMC)+parseFloat(RMC);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var AfterLandingCharge= $('#AfterLandingCharge').val() == '' ? '0.00' : $('#AfterLandingCharge').val();
|
|
||||||
var AfterHighseas=$('#AfterHighseas').val()==''?'0.00':$('#AfterHighseas').val();
|
|
||||||
var AfterCustomduty=$('#AfterCustomduty').val()==''?'0.00':$('#AfterCustomduty').val();
|
|
||||||
var AfterExcisedutyTax=$('#AfterExcisedutyTax').val()==''?'0.00':$('#AfterExcisedutyTax').val();
|
|
||||||
var AfterExcisedutyEDcess=$('#AfterExcisedutyEDcess').val()==''?'0.00':$('#AfterExcisedutyEDcess').val();
|
|
||||||
var AfterExciseDutySH=$("#AfterExcisedutySHcess").val()==''?'0.00':$('#AfterExcisedutySHcess').val();
|
|
||||||
var AfterCustomEDcess=$('#AfterCustomEDcess').val()==''?'0.00':$('#AfterCustomEDcess').val();
|
|
||||||
var AfterCustomSHcess=$('#AfterCustomSHcess').val()==''?'0.00':$('#AfterCustomSHcess').val();
|
|
||||||
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty').val()==''?'0.00':$('#AfterAdditionalExciseduty').val();
|
|
||||||
var Grossdutypayable=$('#Grossdutypayable').val()==''?'0.00':$('#Grossdutypayable').val();
|
|
||||||
var AvailableModvat=$('#AvailableModvat').val()==''?'0.00':$('#AvailableModvat').val();
|
|
||||||
var Grossexpenses=$('#Grossexpenses').val()==''?'0.00':$('#Grossexpenses').val();
|
|
||||||
var totalexp=$('#TotalExp').val()==''?'0.00':$('#TotalExp').val();
|
|
||||||
var TotalLanding=$('#txttotallanding').val()==''?'0.00':$('#txttotallanding').val();
|
|
||||||
var TotalHighseas=$('#txttotalhighseas').val()==''?'0.00':$('#txttotalhighseas').val();
|
|
||||||
var TotalCustom=$('#txttotalcustom').val()==''?'0.00':$('#txttotalcustom').val();
|
|
||||||
var TotalExcise=$('#txttotalexcise').val()==''?'0.00':$('#txttotalexcise').val();
|
|
||||||
var TotalExciseED=$('#txttotalexciseED').val()==''?'0.00':$('#txttotalexciseED').val();
|
|
||||||
var TotalExciseSH=$('#txttotalexciseSH').val()==''?'0.00':$('#txttotalexciseSH').val();
|
|
||||||
var TotalCustomED=$('#txttotalcustomED').val()==''?'0.00':$('#txttotalcustomED').val();
|
|
||||||
var TotalCustomSH=$('#txttotalcustomSH').val()==''?'0.00':$('#txttotalcustomSH').val();
|
|
||||||
var TotalAdditionalExcise=$('#txttotalAdditionalExciseduty').val()==''?'0.00':$('#txttotalAdditionalExciseduty').val();
|
|
||||||
var TotalGrossDuty=$('#txttotalgrossduty').val()==''?'0.00':$('#txttotalgrossduty').val();
|
|
||||||
var TotalAvlmodvat=$('#txttotalavlmodvat').val()==''?'0.00':$('#txttotalavlmodvat').val();
|
|
||||||
var TotalGrossExpense=$('#txttotalgrossexpense').val()==''?'0.00':$('#txttotalgrossexpense').val();
|
|
||||||
var TotalOrder=$('#txtToatlOrder').val()==''?'0.00':$('txtToatlOrder').val();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3503,7 +3622,8 @@ var TotalOrder=$('#txtToatlOrder').val()==''?'0.00':$('txtToatlOrder').val();
|
|||||||
$('#txttotalgrossduty').val(parseFloat(TotalGrossDuty).toFixed(2));
|
$('#txttotalgrossduty').val(parseFloat(TotalGrossDuty).toFixed(2));
|
||||||
$('#txttotalavlmodvat').val(parseFloat(TotalAvlmodvat).toFixed(2));
|
$('#txttotalavlmodvat').val(parseFloat(TotalAvlmodvat).toFixed(2));
|
||||||
$('#txttotalgrossexpense').val(parseFloat(TotalGrossExpense).toFixed(2));
|
$('#txttotalgrossexpense').val(parseFloat(TotalGrossExpense).toFixed(2));
|
||||||
$('#txtToatlOrder').val(parseFloat(TotalOrder).toFixed(2));
|
//$('#txtToatlOrder').val(parseFloat(TotalOrder).toFixed(2));
|
||||||
|
$('#txtToatlOrder').val(parseFloat(TotalOrdervalue).toFixed(2));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -3554,33 +3674,35 @@ function DeleteRow(rowid)
|
|||||||
|
|
||||||
function populateValueMainFormForDeleteItem(rowid)
|
function populateValueMainFormForDeleteItem(rowid)
|
||||||
{ //alert();
|
{ //alert();
|
||||||
var TotalLanding=0;
|
var TotalLanding=$('#txttotallanding').val();
|
||||||
var TotalHighseas=0;
|
var TotalHighseas=$('#txttotalhighseas').val();
|
||||||
var TotalCustom=0;
|
var TotalCustom=$('#txttotalcustom').val();
|
||||||
var TotalExcise=0;
|
var TotalExcise=$('#txttotalexcise').val();
|
||||||
var TotalExciseED=0;
|
var TotalExciseED=$('#txttotalexciseED').val();
|
||||||
var TotalExciseSH=0;
|
var TotalExciseSH=$('#txttotalexciseSH').val();
|
||||||
var TotalCustomED=0;
|
var TotalCustomED=$('#txttotalcustomED').val();
|
||||||
var TotalCustomSH=0;
|
var TotalCustomSH=$('#txttotalcustomSH').val();
|
||||||
var TotalAdditionalExcise=0;
|
var TotalAdditionalExcise=$('#txttotalAdditionalExciseduty').val();
|
||||||
var TotalGrossDuty=0;
|
var TotalGrossDuty=$('#txttotalgrossduty').val();
|
||||||
var TotalAvlmodvat=0;
|
var TotalAvlmodvat=$('#txttotalavlmodvat').val();
|
||||||
var TotalGrossExpense=0;
|
var TotalGrossExpense=$('#txttotalgrossexpense').val();
|
||||||
var TotalOrderValue=0;
|
var TotalOrderValue=$('#txtToatlOrder').val();
|
||||||
var AfterLandingCharge= $('#AfterLandingCharge').val() == '' ? '0.00' : $('#AfterLandingCharge').val();
|
console.log(TotalLanding);
|
||||||
var AfterHighseas=$('#AfterHighseas').val()==''?'0.00':$('#AfterHighseas').val();
|
var AfterLandingCharge= $('#AfterLandingChargee'+rowid).val() == '' ? '0.00' : $('#AfterLandingChargee'+rowid).val();
|
||||||
var AfterCustomduty=$('#AfterCustomduty').val()==''?'0.00':$('#AfterCustomduty').val();
|
//console.log(AfterLandingCharge);
|
||||||
var AfterExcisedutyTax=$('#AfterExcisedutyTax').val()==''?'0.00':$('#AfterExcisedutyTax').val();
|
var AfterHighseas=$('#AfterHighseass'+rowid).val()==''?'0.00':$('#AfterHighseass'+rowid).val();
|
||||||
var AfterExcisedutyEDcess=$('#AfterExcisedutyEDcess').val()==''?'0.00':$('#AfterExcisedutyEDcess').val();
|
var AfterCustomduty=$('#AfterCustomduty'+rowid).val()==''?'0.00':$('#AfterCustomduty'+rowid).val();
|
||||||
var AfterExciseDutySH=$("#AfterExcisedutySHcess").val()==''?'0.00':$('#AfterExcisedutySHcess').val();
|
var AfterExcisedutyTax=$('#AfterExcisedutyTax'+rowid).val()==''?'0.00':$('#AfterExcisedutyTax'+rowid).val();
|
||||||
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty').val()==''?'0.00':$('#AfterAdditionalExciseduty').val();
|
var AfterExcisedutyEDcess=$('#AfterExcisedutyED'+rowid).val()==''?'0.00':$('#AfterExcisedutyED'+rowid).val();
|
||||||
var AfterCustomEDcess=$('#AfterCustomEDcess').val()==''?'0.00':$('#AfterCustomEDcess').val();
|
var AfterExciseDutySH=$('#AfterExcisedutySH'+rowid).val()==''?'0.00':$('#AfterExcisedutySH'+rowid).val();
|
||||||
var AfterCustomSHcess=$('#AfterCustomSHcess').val()==''?'0.00':$('#AfterCustomSHcess').val();
|
var AfterAdditionalExciseduty=$('#AfterAdditionalExciseduty'+rowid).val()==''?'0.00':$('#AfterAdditionalExciseduty'+rowid).val();
|
||||||
var AdditionalExciseduty=$('#AdditionalExciseduty').val()==''?'0.00':$('#AdditionalExciseduty').val();
|
var AfterCustomEDcess=$('#AfterCustomEDcess'+rowid).val()==''?'0.00':$('#AfterCustomEDcess'+rowid).val();
|
||||||
var Grossdutypayable=$('#Grossdutypayable').val()==''?'0.00':$('#Grossdutypayable').val();
|
var AfterCustomSHcess=$('#AfterCustomSHcess'+rowid).val()==''?'0.00':$('#AfterCustomSHcess'+rowid).val();
|
||||||
var AvailableModvat=$('#AvailableModvat').val()==''?'0.00':$('#AvailableModvat').val();
|
var AdditionalExciseduty=$('#AfterAdditionalExciseduty'+rowid).val()==''?'0.00':$('#AfterAdditionalExciseduty'+rowid).val();
|
||||||
var Grossexpenses=$('#Grossexpenses').val()==''?'0.00':$('#Grossexpenses').val();
|
var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
var totalExp=$('#TotalExp').val()==''?'0.00':$('#TotalExp').val();
|
var AvailableModvat=$('#AvilableModvat'+rowid).val()==''?'0.00':$('#AvilableModvat'+rowid).val();
|
||||||
|
var Grossexpenses=$('#Grossexpenses'+rowid).val()==''?'0.00':$('#Grossexpenses'+rowid).val();
|
||||||
|
var totalExp=$('#TotalExp'+rowid).val()==''?'0.00':$('#TotalExp'+rowid).val();
|
||||||
TotalLanding = parseFloat(TotalLanding) - parseFloat(AfterLandingCharge);
|
TotalLanding = parseFloat(TotalLanding) - parseFloat(AfterLandingCharge);
|
||||||
//console.log(TotalLanding);
|
//console.log(TotalLanding);
|
||||||
TotalHighseas = parseFloat(TotalHighseas) - parseFloat(AfterHighseas);
|
TotalHighseas = parseFloat(TotalHighseas) - parseFloat(AfterHighseas);
|
||||||
|
|||||||
298
application/views/importpopdf.php
Executable file → Normal file
298
application/views/importpopdf.php
Executable file → Normal file
@ -10,11 +10,15 @@
|
|||||||
$DeliveryAddress = '';
|
$DeliveryAddress = '';
|
||||||
$Podt = '';
|
$Podt = '';
|
||||||
$DeliveryDate ='';
|
$DeliveryDate ='';
|
||||||
|
$DeliverySchedule='';
|
||||||
$ServiceDescription = '';
|
$ServiceDescription = '';
|
||||||
$ReqBy='';
|
$ReqBy='';
|
||||||
$PaymentTerms='';
|
$PaymentTerms='';
|
||||||
$PaymentDays='';
|
$Placeoforigin='';
|
||||||
$PayableAT='';
|
$Import_DispatchDetails='';
|
||||||
|
/* $PaymentDays='';
|
||||||
|
$PayableAT=''; */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -49,9 +53,11 @@
|
|||||||
$CostCenterCode=$PO->CostCenterCode;
|
$CostCenterCode=$PO->CostCenterCode;
|
||||||
//$ReqBy=$PO->Requestedby;
|
//$ReqBy=$PO->Requestedby;
|
||||||
|
|
||||||
$PaymentTerms = $PO->PaymentTerms;
|
$PaymentTerms = $PO->PaymentTerms;
|
||||||
$PaymentDays=$PO->PaymentDays;
|
$PaymentDays=$PO->PaymentDays;
|
||||||
$PayableAT=$PO->PayableAT;
|
$PayableAT=$PO->PayableAT;
|
||||||
|
$Placeoforigin=$PO->Import_PlaceofOrgin;
|
||||||
|
$Import_DispatchDetails=$PO->Import_DispatchDetails;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,54 +101,82 @@
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
@page { margin: 310px 50px 30px 50px; }
|
@page { margin: 300px 50px 30px 50px; }
|
||||||
.header { position: fixed; left: 0px; top: -310px; right: 0px; height: 550px;text-align: center; }
|
.header { position: fixed; left: 0px; top: -300px; right: 0px; height: 550px;text-align: center; }
|
||||||
.footer { position: fixed; bottom: 0px; }
|
.footer { position: fixed; bottom: 0px; }
|
||||||
.pagenum:before { content: counter(page); }
|
.pagenum:before { content: counter(page); }
|
||||||
</style>
|
</style>
|
||||||
<div class="footer">Page: <span class="pagenum"></span></div>
|
<div class="footer">Page: <span class="pagenum"></span></div>
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<table>
|
<div style="text-align:right;">
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<img width="80" height="80" 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==">
|
|
||||||
</td>
|
|
||||||
<td><center><h2>IMPORT PURCHASE ORDER</h2><a style="color:#515151">PO NO:<?php echo $PONO?> </a><br/><b style="color:#3c8dbc"><?php echo $CompanyName; ?></b><br/> <?php echo $CompanyAddress; ?></center></td>
|
|
||||||
<td>
|
|
||||||
<?php
|
<?php
|
||||||
if ($postatus == 'ST026')
|
if ($postatus == 'ST026')
|
||||||
{}
|
{}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo '<div><br/><br/>This is Draft Version For Internal Purpose</div>';
|
echo '<div><b>DRAFT</b> </div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div> </div>
|
||||||
</table>
|
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?> </a></span></center>
|
||||||
|
<div style="border:1px solid;">
|
||||||
|
<table width="100%">
|
||||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
<tbody>
|
||||||
<!-- <tr><th>Payment Terms</th><th>Payable At</th><th>Payment Days</th><th>Delivery Date</th><th>PO Date</th></tr> -->
|
|
||||||
<tr><td><?php echo $PaymentTerms;?></td><td><?php echo $PayableAT;?></td><td><?php echo $PaymentDays;?></td><td><?php echo $DeliveryDate;?></td><td><?php echo $Podt?></td></tr>
|
|
||||||
</table>
|
|
||||||
<br/>
|
|
||||||
<table style="border-collapse: collapse;font-size:12px;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a style="color:#3c8dbc">Vendor Address :</a> <br/> <?php echo $SuplierName?> <br/><?php echo $SuplierAddress ?>
|
<b style="color:#3c8dbc"><h3><?php echo $CompanyName; ?></h3></b><br/> <?php echo $CompanyAddress; ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td style="text-align: center;"><img width="80" height="80" 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=="></td>
|
||||||
<a style="color:#3c8dbc">Delivery To :</a><br/> <?php echo $DeliveryAddress?>
|
|
||||||
</td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<table style="border-collapse: collapse;font-size:14px; border-color: #fff #fff;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <a style="color:#3c8dbc">Vendor Address :</a> <br/><?php echo $SuplierName?> <br/><?php echo $SuplierAddress ?> </td>
|
||||||
|
<td> <a style="color:#3c8dbc">Delivery To :</a><br/> <?php echo $DeliveryAddress?> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table style="font-size:12px;" width="100%">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>PO DATE :<?php echo $Podt?></td>
|
||||||
|
<td>DELIVERY DATE / SCHEDULE BY :<?php echo $Import_DispatchDetailss.$DeliverySchedule;?></td>
|
||||||
|
<td>PLACE OF ORIGIN :<?php echo $Placeoforigin; ?></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="page">
|
|
||||||
|
<div class="page" style="font-size:12px;">
|
||||||
|
|
||||||
|
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||||
|
<tbody>
|
||||||
|
<tr style="background:#8c8c8c;color:#fff;">
|
||||||
|
<td>Requistion Number</td>
|
||||||
|
<td>Requested By</td>
|
||||||
|
<td>Requested Department</td>
|
||||||
|
<td>Cost Center</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><?php echo $ReqNo; ?></td>
|
||||||
|
<td><?php echo $ReqBy; ?></td>
|
||||||
|
<td><?php echo $DEPNAME;?></td>
|
||||||
|
<td><?php echo $CostCenterCode;?>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
<table style="border-collapse:collapse;" cellpadding="0" cellspacing="0" border="1" width="100%" >
|
<table style="border-collapse:collapse;" cellpadding="0" cellspacing="0" border="1" width="100%" >
|
||||||
<tr style="background:#8c8c8c;color:#fff;">
|
<tr style="background:#8c8c8c;color:#fff;">
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
@ -210,7 +244,7 @@
|
|||||||
<td align="right"><?php echo $record->Rate ; ?></td>
|
<td align="right"><?php echo $record->Rate ; ?></td>
|
||||||
<td align="right"><?php $BasicValue=($record->Quantity*$record->Rate);
|
<td align="right"><?php $BasicValue=($record->Quantity*$record->Rate);
|
||||||
echo number_format($BasicValue,2) ; ?></td>
|
echo number_format($BasicValue,2) ; ?></td>
|
||||||
<td align="right"><?php echo $record->ProductPrice; ?></td>
|
<td align="right"><?php echo $record->BasicPriceInMTon; ?></td>
|
||||||
<!--<td align="right"><?php echo $record->AfterLandingCharge; ?></td>
|
<!--<td align="right"><?php echo $record->AfterLandingCharge; ?></td>
|
||||||
<td align="right"><?php echo $record->AfterHighSeasSalesCharge ; ?></td>
|
<td align="right"><?php echo $record->AfterHighSeasSalesCharge ; ?></td>
|
||||||
<td align="right"><?php echo $record->AfterCustomDuty ; ?></td>
|
<td align="right"><?php echo $record->AfterCustomDuty ; ?></td>
|
||||||
@ -248,120 +282,42 @@
|
|||||||
$CustomDutyExpensesPerKG = $CustomDutyExpensesPerKG+$record->CustomDutyExpensesPerKG ;
|
$CustomDutyExpensesPerKG = $CustomDutyExpensesPerKG+$record->CustomDutyExpensesPerKG ;
|
||||||
$RMCIncludingCustomersPerKG = $RMCIncludingCustomersPerKG+$record->RMCIncludingCustomersPerKG ;
|
$RMCIncludingCustomersPerKG = $RMCIncludingCustomersPerKG+$record->RMCIncludingCustomersPerKG ;
|
||||||
$AfterExciseDutySHCess= $AfterExciseDutySHCess+$record->AfterExciseDutySHCess ;
|
$AfterExciseDutySHCess= $AfterExciseDutySHCess+$record->AfterExciseDutySHCess ;
|
||||||
$TotalOrderValue = $record->TotalOrderValue;
|
$TotalOrderValue = $TotalOrderValue+$record->BasicPriceInMTon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<div align="right">
|
<div align="right">
|
||||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
|
||||||
<!--<tr>
|
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||||
<td align="right">Landing charge :</td>
|
<tbody>
|
||||||
<td align="right"><?php echo number_format($AfterLandingCharge,2);?></td>
|
|
||||||
<br/>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right">High seas sales charge:</td>
|
|
||||||
<td align="right"><?php echo number_format($AfterHighSeasSalesCharge,2);?></td>
|
|
||||||
<br/>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Custom duty : </td>
|
|
||||||
<td align="right"><?php echo number_format($AfterCustomDuty,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Excise duty :</td>
|
|
||||||
<td align="right"><?php echo number_format($AfterExciseDuty,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Excise duty ED_cess : </td>
|
|
||||||
<td align="right"><?php echo number_format($AfterExciseDutyEdCess,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Excise duty S & H cess :</td>
|
|
||||||
<td align="right"><?php echo number_format($AfterExciseDutySHCess,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Custom ED_cess : </td>
|
|
||||||
<td align="right"><?php echo number_format($AfterCustomEdCess,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Custom S & H cess :</td>
|
|
||||||
<td align="right"><?php echo number_format($AfterCustomSHCess,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Additional Excise duty :</td>
|
|
||||||
<td align="right"><?php echo number_format($AfterAddlExciseDuty,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Gross duty payable :</td>
|
|
||||||
<td align="right"><?php echo number_format($Grossdutypayable,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Available Modvat set-off on import :</td>
|
|
||||||
<td align="right"><?php echo number_format($AvailableModvat,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Gross expenses due to custom duty :</td>
|
|
||||||
<td align="right"><?php echo number_format($Grossexpensesduetocustomduty ,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Purchase Rate :</td>
|
|
||||||
<td align="right"><?php echo number_format($purchaseratePerKG,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">Custom Duty Expenses :</td>
|
|
||||||
<td align="right"><?php echo number_format($CustomDutyExpensesPerKG,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">RMC Including Customers :</td>
|
|
||||||
<td align="right"><?php echo number_format($RMCIncludingCustomersPerKG ,2);?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
|
||||||
-->
|
|
||||||
<tr>
|
|
||||||
<td align="right"><p><b>Total Order Amount </b></p></td>
|
|
||||||
<td align="right"><?php echo "$CurrencyCode ($CurrencyName)$TotalOrderValue";?></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>Total Amount In Words:</td>
|
|
||||||
<td><?php echo $TotalAmountInWords." "."Only.";?></td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<!-- table to show req detail , Data should come from DB , now i am hard coded the data-->
|
|
||||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Requition Number :<br/><?php echo $ReqNo;?></td>
|
<td>
|
||||||
<td>Requested by :<br/><?php echo $ReqBy;?></td>
|
<span><center><strong>Total Amount In Words</strong></center></span>
|
||||||
<td>Requisted Department :<br/><?php echo $DEPNAME?></td>
|
<p><b><i><?php echo $TotalAmountInWords." "."Only.";?></i></b></p>
|
||||||
<td>Cost center :<br/><?php echo $CostCenterCode?></td>
|
</td>
|
||||||
</tr>
|
<td>
|
||||||
</table>
|
<span><center>Total Amount </center></span>
|
||||||
<p>
|
<p style="text-align:right;"><?php echo "$CurrencyCode ($CurrencyName)$TotalOrderValue";?> </p>
|
||||||
<div align="Left"> <b>Service Description:</b><br/><br/><?php echo $ServiceDescription;?></div></p>
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <div align="Left"> <b>Payment Terms </b><br/><?php echo $PaymentTerms;?></div></p>
|
||||||
|
</td>
|
||||||
|
<td style="text-align:right;"> <div><div style="text-align: center;"><font size="1">Certified that the particulars given above are true and correct</font></div><div style="text-align: center;"><b style="font-size: small;"><br></b></div><div style="text-align: center;"><b style="font-size: small;"><?php echo $CompanyName; ?></b></div> <font size="1"><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;"><br></div><div style="text-align: center;">Authorized Signatory</div></font> </div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div align="Left"> <b>Special Instruction:</b><br/><?php echo $ServiceDescription;?></div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($releasedetails)){
|
if(!empty($releasedetails)){
|
||||||
$releasedOn = '';
|
$releasedOn = '';
|
||||||
@ -370,19 +326,19 @@
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<table width="200%">
|
|
||||||
<tr>
|
|
||||||
<td><b>ReleasedBy:</b></td>
|
<table width="100%">
|
||||||
<td><b>ReleasedOn:</b></td>
|
<tbody>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td><b>Released By:</b></td>
|
||||||
<td><?php echo $detail->FirstName;?></td>
|
<td style="text-align:right;"><b>Released On:</b></td>
|
||||||
<td><?php echo $releasedOn->format('d-m-Y');?></td>
|
</tr>
|
||||||
<td></td>
|
<tr>
|
||||||
<td></td>
|
<td><?php echo $detail->FirstName;?></td>
|
||||||
<td></td>
|
<td style="text-align:right;"><?php echo $releasedOn->format('d-m-Y');?></td>
|
||||||
<td></td>
|
</tr>
|
||||||
</tr>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -391,16 +347,10 @@
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<table width="200%">
|
|
||||||
<tr>
|
|
||||||
<td><b>Till Release State:</b></td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user