capital po pdf and changes fixed
This commit is contained in:
parent
921f656770
commit
81cbdab810
@ -1705,7 +1705,7 @@ function addNewImportPurchaseOrder()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Add capital Po*/
|
/* Add capital Po*/
|
||||||
function addNewCapitalPurchaseOrder()
|
function addNewCapitalPurchaseOrder()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@ -1730,38 +1730,47 @@ function addNewImportPurchaseOrder()
|
|||||||
|
|
||||||
$DeliveryOption = $this->input->post('DateRange');
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
|
||||||
//echo $DeliveryOption;
|
|
||||||
//die();
|
|
||||||
$DeliverySchedule='';
|
$DeliverySchedule='';
|
||||||
$Dispatch='';
|
$Dispatch='';
|
||||||
|
$Deliverydt='';
|
||||||
if($DeliveryOption==1)
|
if($DeliveryOption==1)
|
||||||
{
|
{
|
||||||
$Dispatch='';
|
$Dispatch='';
|
||||||
|
$Deliverydt='';
|
||||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
}
|
}
|
||||||
|
else if($DeliveryOption==2)
|
||||||
|
{
|
||||||
|
$Deliverydt='';
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
$Dispatch = $this->input->post('Dispatch');
|
||||||
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$Dispatch = $this->input->post('Dispatch');
|
$Dispatch = '';
|
||||||
$DeliverySchedule = '';
|
$DeliverySchedule = '';
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
}
|
}
|
||||||
$capitalType = $this->input->post('capitalType');
|
$capitalType = $this->input->post('capitalType');
|
||||||
if($capitalType=='Domestic'){
|
if($capitalType=='Domestic'){
|
||||||
$CapitalRange = '1';
|
$CapitalRange = '1';
|
||||||
$ExchangeRateOn = '';
|
$ExchangeRateOn = '';
|
||||||
$ExchangeRate='';
|
$ExchangeRate='';
|
||||||
|
$Palaceoforigin='';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
||||||
$CapitalRange = '0';
|
$CapitalRange = '0';
|
||||||
$ExchangeRateOn = $this->input->post('ExchangeRateOn');
|
$ExchangeRateOn = $this->input->post('ExchangeRateOn');
|
||||||
$ExchangeRate=$this->input->post('ExchangeRt');
|
$ExchangeRate=$this->input->post('ExchangeRt');
|
||||||
|
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
||||||
}
|
}
|
||||||
|
|
||||||
$PaymentMethod = $this->input->post('PaymentMethod');
|
$PaymentMethod = $this->input->post('PaymentMethod');
|
||||||
|
|
||||||
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1781,7 +1790,7 @@ function addNewImportPurchaseOrder()
|
|||||||
$createddt = $dt->format('Y-m-d H:i:s');
|
$createddt = $dt->format('Y-m-d H:i:s');
|
||||||
$currencytypeID = $this->input->post('currencytype');
|
$currencytypeID = $this->input->post('currencytype');
|
||||||
|
|
||||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'ExchangeRate'=>$ExchangeRate,'PaymentTerms'=>$PaymentMethod,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CapitalRange'=>$CapitalRange,'POType'=>$POType,'CurrencyType'=>$currencytypeID,'DeliverySchedule'=>$DeliverySchedule,'Import_PlaceofOrgin'=>$Palaceoforigin,'Import_DispatchDetails'=>$Dispatch);
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'ExchangeRate'=>$ExchangeRate,'PaymentTerms'=>$PaymentMethod,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CapitalRange'=>$CapitalRange,'POType'=>$POType,'CurrencyType'=>$currencytypeID,'DeliverySchedule'=>$DeliverySchedule,'Import_PlaceofOrgin'=>$Palaceoforigin,'Import_DispatchDetails'=>$Dispatch,'DeliveryDate'=>$Deliverydt);
|
||||||
|
|
||||||
// $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);
|
// $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);
|
||||||
|
|
||||||
@ -1945,21 +1954,27 @@ function addNewImportPurchaseOrder()
|
|||||||
|
|
||||||
$DeliveryOption = $this->input->post('DateRange');
|
$DeliveryOption = $this->input->post('DateRange');
|
||||||
|
|
||||||
//echo $DeliveryOption;
|
|
||||||
//die();
|
|
||||||
$DeliverySchedule='';
|
$DeliverySchedule='';
|
||||||
$Dispatch='';
|
$Dispatch='';
|
||||||
|
$Deliverydt='';
|
||||||
if($DeliveryOption==1)
|
if($DeliveryOption==1)
|
||||||
{
|
{
|
||||||
$Dispatch='';
|
$Dispatch='';
|
||||||
|
$Deliverydt='';
|
||||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
}
|
}
|
||||||
|
else if($DeliveryOption==2)
|
||||||
|
{
|
||||||
|
$Deliverydt='';
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
$Dispatch = $this->input->post('Dispatch');
|
||||||
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$Dispatch = $this->input->post('Dispatch');
|
$Dispatch = '';
|
||||||
$DeliverySchedule = '';
|
$DeliverySchedule = '';
|
||||||
|
$Deliverydt = $this->getDateformat($dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2001,7 +2016,7 @@ function addNewImportPurchaseOrder()
|
|||||||
$updateddt = $dt->format('Y-m-d H:i:s');
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|
||||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'DeliverySchedule'=>$DeliverySchedule,'Import_PlaceofOrgin'=>$Palaceoforigin,'Import_DispatchDetails'=>$Dispatch);
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'DeliverySchedule'=>$DeliverySchedule,'Import_PlaceofOrgin'=>$Palaceoforigin,'Import_DispatchDetails'=>$Dispatch,'DeliveryDate'=>$Deliverydt);
|
||||||
|
|
||||||
|
|
||||||
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
||||||
|
|||||||
@ -121,9 +121,10 @@ foreach ($PaymentTerms as $TER)
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DelOpt = '<?php echo $DeliverOption; ?>';
|
var DelOpt = '<?php echo $DeliverOption; ?>';
|
||||||
|
|
||||||
var SchName = '<?php echo $DeliverSchedule; ?>';
|
var SchName = '<?php echo $DeliverSchedule; ?>';
|
||||||
var DelDt = '<?php echo $Deliverydt; ?>';
|
var DelDt = '<?php echo $Deliverydt; ?>';
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
@ -213,11 +214,13 @@ $("#ItemName").val('');
|
|||||||
$("#Rate").val('');
|
$("#Rate").val('');
|
||||||
$("#txtBasicValue").val('');
|
$("#txtBasicValue").val('');
|
||||||
clearTaxField();
|
clearTaxField();
|
||||||
|
$("#MaterialCode").empty();
|
||||||
if(id != '0')
|
if(id != '0')
|
||||||
{
|
{
|
||||||
var y = <?php echo json_encode($RequistionDetails, JSON_PRETTY_PRINT) ?>;
|
var y = <?php echo json_encode($RequistionDetails, JSON_PRETTY_PRINT) ?>;
|
||||||
|
|
||||||
var Material = <?php echo json_encode($MaterialList, JSON_PRETTY_PRINT) ?>;
|
var Material = <?php echo json_encode($MaterialList, JSON_PRETTY_PRINT) ?>;
|
||||||
|
|
||||||
var AvlBudAmt = '<?php echo $AvlAmount ?>';
|
var AvlBudAmt = '<?php echo $AvlAmount ?>';
|
||||||
//ServiceTable
|
//ServiceTable
|
||||||
var rows = document.getElementById('ServiceTable').rows.length;
|
var rows = document.getElementById('ServiceTable').rows.length;
|
||||||
@ -225,7 +228,8 @@ $("#txtBasicValue").val('');
|
|||||||
if(DeletedMaterialCode!=undefined && DeletedMaterialCode!=''){
|
if(DeletedMaterialCode!=undefined && DeletedMaterialCode!=''){
|
||||||
|
|
||||||
$("#MaterialCode").append( $('<option></option>').val(DeletedMaterialCode).html(DeletedMaterialCode + "-" + DeletedMaterialName));
|
$("#MaterialCode").append( $('<option></option>').val(DeletedMaterialCode).html(DeletedMaterialCode + "-" + DeletedMaterialName));
|
||||||
|
DeletedMaterialCode='';
|
||||||
|
DeletedMaterialCode='';
|
||||||
}
|
}
|
||||||
|
|
||||||
for(i=2;i<=rows;i++){
|
for(i=2;i<=rows;i++){
|
||||||
@ -277,6 +281,7 @@ for(i=2;i<=rows;i++){
|
|||||||
});
|
});
|
||||||
$("#AvlBudAmt").val(parseFloat(AvlBudAmt).toFixed(2));
|
$("#AvlBudAmt").val(parseFloat(AvlBudAmt).toFixed(2));
|
||||||
// For Binding Material list center for the selected Requistion Number
|
// For Binding Material list center for the selected Requistion Number
|
||||||
|
|
||||||
$("#MaterialCode").append( $('<option></option>').val("0").html("Select Material Code") );
|
$("#MaterialCode").append( $('<option></option>').val("0").html("Select Material Code") );
|
||||||
var isAdded = "0";
|
var isAdded = "0";
|
||||||
for(i=0;i<Material.length;i++)
|
for(i=0;i<Material.length;i++)
|
||||||
@ -1378,7 +1383,7 @@ $(document).ready(function () {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-5 col-md-offset-4" align="right">
|
<div class="col-md-5 col-md-offset-4" align="right">
|
||||||
<label>Other Allowances In INR</label>>
|
<label>Other Allowances In INR</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1391,7 +1396,7 @@ $(document).ready(function () {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-5 col-md-offset-4" align="right">
|
<div class="col-md-5 col-md-offset-4" align="right">
|
||||||
<label><?php echo "Total Order Value ($INRSYM)";?></label>>
|
<label><?php echo "Total Order Value ($INRSYM)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1643,7 +1648,7 @@ $(document).ready(function () {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-5 col-md-offset-4" align="right">
|
<div class="col-md-5 col-md-offset-4" align="right">
|
||||||
<label>Other Allowances In INR</label>>
|
<label>Other Allowances In INR</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -1656,7 +1661,7 @@ $(document).ready(function () {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-5 col-md-offset-4" align="right">
|
<div class="col-md-5 col-md-offset-4" align="right">
|
||||||
<label><?php echo "Total Order Value ($INRSYM)";?></label>>
|
<label><?php echo "Total Order Value ($INRSYM)";?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@ -17,6 +17,8 @@
|
|||||||
$DeliverySchedule='';
|
$DeliverySchedule='';
|
||||||
$Import_DispatchDetails='';
|
$Import_DispatchDetails='';
|
||||||
$Placeoforigin='';
|
$Placeoforigin='';
|
||||||
|
$ExchangeRate='';
|
||||||
|
$CapitalRange='';
|
||||||
if(!empty($CompanyDetails))
|
if(!empty($CompanyDetails))
|
||||||
{
|
{
|
||||||
foreach ($CompanyDetails as $CO)
|
foreach ($CompanyDetails as $CO)
|
||||||
@ -55,8 +57,8 @@
|
|||||||
$ServiceDescription =$PO->ServiceDescription;
|
$ServiceDescription =$PO->ServiceDescription;
|
||||||
$PaymentTerms = $PO->PaymentTerms;
|
$PaymentTerms = $PO->PaymentTerms;
|
||||||
$Placeoforigin=$PO->Import_PlaceofOrgin;
|
$Placeoforigin=$PO->Import_PlaceofOrgin;
|
||||||
|
$ExchangeRate = $PO->ExchangeRate;
|
||||||
|
$CapitalRange = $PO->CapitalRange;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$currencyName='INR';
|
$currencyName='INR';
|
||||||
@ -104,7 +106,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td colspan="2">
|
<td colspan="3">
|
||||||
<p style="color:#3c8dbc;font-size:16px;"><strong><?php echo $CompanyName; ?></strong></p>
|
<p style="color:#3c8dbc;font-size:16px;"><strong><?php echo $CompanyName; ?></strong></p>
|
||||||
<p> <?php echo $CompanyAddress; ?></p>
|
<p> <?php echo $CompanyAddress; ?></p>
|
||||||
</td>
|
</td>
|
||||||
@ -115,16 +117,23 @@
|
|||||||
<p><strong>Vendor Address :</strong></p>
|
<p><strong>Vendor Address :</strong></p>
|
||||||
<p><?php echo $SuplierName; ?><br /><?php echo $SuplierAddress; ?></p>
|
<p><?php echo $SuplierName; ?><br /><?php echo $SuplierAddress; ?></p>
|
||||||
</td>
|
</td>
|
||||||
<td colspan="2">
|
<td colspan="3">
|
||||||
<p><strong>Delivery To :</strong></p>
|
<p><strong>Delivery To :</strong></p>
|
||||||
<p><?php echo $DeliveryAddress; ?></p>
|
<p><?php echo $DeliveryAddress; ?></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php if ($CapitalRange =='0') { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>PO DATE :<?php echo $Podt; ?></td>
|
<td>PO DATE :<?php echo $Podt; ?></td>
|
||||||
<td colspan="2">DISPATCH / SCHEDULE BY :<?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
<td>DISPATCH / SCHEDULE BY :<?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||||
<td>PLACE OF ORIGIN:<?php echo $Placeoforigin; ?></td>
|
<td>PLACE OF ORIGIN:<?php echo $Placeoforigin; ?></td>
|
||||||
</tr>
|
<td>EXCHANGE RATE:<?php echo $ExchangeRate; ?></td>
|
||||||
|
</tr><?php } else {?>
|
||||||
|
<tr>
|
||||||
|
<td>PO DATE :<?php echo $Podt; ?></td>
|
||||||
|
<td colspan="3">DELIVERY DATE/ SCHEDULE BY :<?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||||
|
|
||||||
|
</tr><?php }?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -167,6 +176,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
|
<th>Item Code</th>
|
||||||
<th>Item Name</th>
|
<th>Item Name</th>
|
||||||
<th>Qty</th>
|
<th>Qty</th>
|
||||||
<th>UOM</p>
|
<th>UOM</p>
|
||||||
@ -217,6 +227,7 @@
|
|||||||
?>
|
?>
|
||||||
<tr style="line-height: 1.5em;">
|
<tr style="line-height: 1.5em;">
|
||||||
<td><?php echo $index ; ?></td>
|
<td><?php echo $index ; ?></td>
|
||||||
|
<td> <?php echo $record->MaterialCode ; ?></td>
|
||||||
<td><?php echo $record->MaterialName ; ?></td>
|
<td><?php echo $record->MaterialName ; ?></td>
|
||||||
<td align="right"><?php echo $record->Quantity ; ?></td>
|
<td align="right"><?php echo $record->Quantity ; ?></td>
|
||||||
<td align="right"><?php echo $record->UOM ; ?></td>
|
<td align="right"><?php echo $record->UOM ; ?></td>
|
||||||
|
|||||||
@ -83,7 +83,7 @@ if(!empty($INRSYMBOL))
|
|||||||
plugins: "link image"
|
plugins: "link image"
|
||||||
});
|
});
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
$('#CapitalToatlOrder').val(0);
|
||||||
//Initialize Select2 Elements
|
//Initialize Select2 Elements
|
||||||
$("#drpSupplier").select2();
|
$("#drpSupplier").select2();
|
||||||
$("#Reqnumber").select2();
|
$("#Reqnumber").select2();
|
||||||
@ -102,17 +102,24 @@ if(!empty($INRSYMBOL))
|
|||||||
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
|
||||||
});
|
});
|
||||||
$('#Date').click(function () {
|
$('#Date').click(function () {
|
||||||
//for Date range selection
|
//for Dispatch range selection
|
||||||
$('#Schedulediv').hide();
|
$('#Schedulediv').hide();
|
||||||
$('#Deliverydtdiv').show();
|
$('#Deliverydtdiv').show();
|
||||||
|
$('#deliverydateby').hide();
|
||||||
});
|
});
|
||||||
$('#Schedule').click(function () {
|
$('#Schedule').click(function () {
|
||||||
//for schedule range selection
|
//for schedule range selection
|
||||||
$('#Deliverydtdiv').hide();
|
$('#Deliverydtdiv').hide();
|
||||||
$('#Schedulediv').show();
|
$('#Schedulediv').show();
|
||||||
|
$('#deliverydateby').hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#DeliverycheckDate').click(function () {
|
||||||
|
//for Delivery Date selection
|
||||||
|
$('#Schedulediv').hide();
|
||||||
|
$('#deliverydateby').show();
|
||||||
|
$('#Deliverydtdiv').hide();
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
//document.getElementById("Date").checked = true;
|
//document.getElementById("Date").checked = true;
|
||||||
@ -319,23 +326,29 @@ function vaildateBeforeOpenModal()
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" style="padding:0px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12" style="padding:0px;">
|
||||||
|
|
||||||
<b><u>Select Delivery By</u></b><br/>
|
<b><u>Select Delivery By</u></b><br/>
|
||||||
<tr>
|
<tr>
|
||||||
|
<div id="dispatchinternational">
|
||||||
<td>
|
<td>
|
||||||
<!-- <?php echo form_label('Date', 'Date') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>'checked')); ?> </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>
|
<?php echo form_label('Dispatch instruction', 'Dispatch instruction') ." ". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"2", 'checked'=>set_radio('DateRange', '2', FALSE))); ?> </td>
|
||||||
|
</div>
|
||||||
|
<div id="datedomestic">
|
||||||
|
<td>
|
||||||
|
<?php echo form_label('Deilvery Date', 'Deilvery Date') ." ". form_radio(array("name"=>"DateRange", "id"=>"DeliverycheckDate", "value"=>"0", 'checked'=>set_radio('DateRange', '0', FALSE))); ?> </td>
|
||||||
|
</div>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?>
|
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>'checked')); ?>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12" id="Schedulediv" style="display:none;"><br/>
|
<div class="col-md-12" id="Schedulediv"><br/>
|
||||||
<label >Schedule :</label>
|
<label >Schedule </label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||||
@ -343,7 +356,7 @@ function vaildateBeforeOpenModal()
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
<div class="col-md-12" id="Deliverydtdiv" style="display:none;"><br/>
|
||||||
<label>Dispatch Instruction</label>
|
<label>Dispatch Instruction</label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -355,6 +368,15 @@ function vaildateBeforeOpenModal()
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-12" id="deliverydateby" style="display:none;"><br/>
|
||||||
|
<label>Delivery Date</label>
|
||||||
|
<div class="form-group">
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'Deliverydate','value' => set_value('Deliverydate',$CurrentDate),'id'=>'Deliverydate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -395,7 +417,7 @@ function vaildateBeforeOpenModal()
|
|||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4" id="PlaceOforigindiv">
|
||||||
<label>Place of Origin</label>
|
<label>Place of Origin</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -1657,7 +1679,7 @@ function vaildateBeforeOpenModal()
|
|||||||
|
|
||||||
<div class="col-md-12" id="DOMdiv" style="border: 1px solid;padding:4px;">
|
<div class="col-md-12" id="DOMdiv" style="border: 1px solid;padding:4px;">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>CGST In INR</label>
|
<label>CGST In <?php echo "($INR)"?></label>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'txtTotCgst','value' => set_value('txtTotCgst'),'id'=>'txtTotCgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
$data = array('name' => 'txtTotCgst','value' => set_value('txtTotCgst'),'id'=>'txtTotCgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1666,21 +1688,21 @@ function vaildateBeforeOpenModal()
|
|||||||
|
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>SGST In INR </label>
|
<label>SGST In <?php echo "($INR)"?> </label>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'txtTotSgst','value' => set_value('txtTotSgst'),'id'=>'txtTotSgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
$data = array('name' => 'txtTotSgst','value' => set_value('txtTotSgst'),'id'=>'txtTotSgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>IGST In INR </label>
|
<label>IGST In <?php echo "($INR)"?> </label>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'txtTotIgst','value' => set_value('txtTotIgst'),'id'=>'txtTotIgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
$data = array('name' => 'txtTotIgst','value' => set_value('txtTotIgst'),'id'=>'txtTotIgst', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label>Other Allowances In INR </label>
|
<label>Other Allowances In <?php echo "($INR)"?> </label>
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'TotalOtherAllowances','value' => set_value('TotalOtherAllowances'),'id'=>'TotalOtherAllowances', 'class' => 'form-control num' ,'readonly' => 'true');
|
$data = array('name' => 'TotalOtherAllowances','value' => set_value('TotalOtherAllowances'),'id'=>'TotalOtherAllowances', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
@ -1804,17 +1826,18 @@ function vaildateBeforeOpenModal()
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-12" style="border: 1px solid;padding:1% 0%;">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label >Total Order Value<?php echo "($INR)"?> </label>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'CapitalToatlOrder','value' => set_value('CapitalToatlOrder'),'id'=>'CapitalToatlOrder', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label>Special Instructions </label> <?php
|
<label>Special Instructions </label> <?php
|
||||||
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' );
|
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' );
|
||||||
@ -1829,7 +1852,7 @@ function vaildateBeforeOpenModal()
|
|||||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||||
<input type="hidden" name="txtRowCount" id="txtRowCount" />
|
<input type="hidden" name="txtRowCount" id="txtRowCount" />
|
||||||
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
||||||
<input type="hidden" name="CapitalToatlOrder" id="CapitalToatlOrder" />
|
<!--<input type="hidden" name="CapitalToatlOrder" id="CapitalToatlOrder" /> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1916,10 +1939,10 @@ function vaildateBeforeOpenModal()
|
|||||||
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({
|
$("#Deliverydate").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'
|
||||||
// });
|
});
|
||||||
|
|
||||||
|
|
||||||
var a=parseFloat($('#optcapital').val());
|
var a=parseFloat($('#optcapital').val());
|
||||||
@ -4201,6 +4224,8 @@ function SetCapitalPo()
|
|||||||
$('#CAPdiv').hide();
|
$('#CAPdiv').hide();
|
||||||
$('#DOMdiv').hide();
|
$('#DOMdiv').hide();
|
||||||
$('#EDITCAPdiv').hide();
|
$('#EDITCAPdiv').hide();
|
||||||
|
$('#datedomestic').hide();
|
||||||
|
$('#dispatchinternational').show();
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -4211,6 +4236,10 @@ function SetCapitalPo()
|
|||||||
$('#FromOnlineRate').hide();
|
$('#FromOnlineRate').hide();
|
||||||
$('#hideExchangeRateOn').hide();
|
$('#hideExchangeRateOn').hide();
|
||||||
$('#hideExchangeRate').hide();
|
$('#hideExchangeRate').hide();
|
||||||
|
$('#dispatchinternational').hide();
|
||||||
|
$('#PlaceOforigindiv').hide();
|
||||||
|
$('#datedomestic').show();
|
||||||
|
|
||||||
|
|
||||||
$('#currencytype').val('');
|
$('#currencytype').val('');
|
||||||
$('#hideModalExchange').hide();
|
$('#hideModalExchange').hide();
|
||||||
|
|||||||
@ -157,8 +157,9 @@ if(!empty($AvlBudAmt))
|
|||||||
var DelDt = '<?php echo $Deliverydt; ?>';
|
var DelDt = '<?php echo $Deliverydt; ?>';
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
if(DelOpt=="0"){
|
if(DelOpt=="0"){
|
||||||
$('#Deliverydtdiv').show();
|
$('#Deliverydtdiv').hide();
|
||||||
$('#Schedulediv').hide();
|
$('#Schedulediv').hide();
|
||||||
|
$('#deliverydateby').show();
|
||||||
$('#Deliverydt').val(DelDt);
|
$('#Deliverydt').val(DelDt);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,6 +168,14 @@ $('#Deliverydt').val(DelDt);
|
|||||||
$('#Schedulediv').show();
|
$('#Schedulediv').show();
|
||||||
$('#Deliverydt').val('');
|
$('#Deliverydt').val('');
|
||||||
|
|
||||||
|
$('#Scheduleby').val(SchName);
|
||||||
|
}
|
||||||
|
else if(DelOpt=="2"){
|
||||||
|
$('#Deliverydtdiv').show();
|
||||||
|
$('#Schedulediv').hide();
|
||||||
|
$('#deliverydateby').hide();
|
||||||
|
$('#Deliverydt').val('');
|
||||||
|
|
||||||
$('#Scheduleby').val(SchName);
|
$('#Scheduleby').val(SchName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -190,6 +199,9 @@ window.onload = function()
|
|||||||
document.getElementById('EditModalImportTaxHide').style.display = 'none';
|
document.getElementById('EditModalImportTaxHide').style.display = 'none';
|
||||||
document.getElementById('ExchangeRateModalViewDiv').style.display = 'none';
|
document.getElementById('ExchangeRateModalViewDiv').style.display = 'none';
|
||||||
document.getElementById('ViewModalImportTaxHide').style.display = 'none';
|
document.getElementById('ViewModalImportTaxHide').style.display = 'none';
|
||||||
|
document.getElementById('PlaceOforigindiv').style.display = 'none';
|
||||||
|
document.getElementById('dispatchinternational').style.display = 'none';
|
||||||
|
document.getElementById('datedomestic').style.display = 'block';
|
||||||
|
|
||||||
|
|
||||||
capitalType='Domestic';
|
capitalType='Domestic';
|
||||||
@ -207,6 +219,9 @@ document.getElementById('ExchangeRateModalViewDiv').style.display = 'block';
|
|||||||
capitalType='International';
|
capitalType='International';
|
||||||
document.getElementById('currencyTypeDiv').style.display = 'block';
|
document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||||
document.getElementById('ViewModalImportTaxHide').style.display = 'block';
|
document.getElementById('ViewModalImportTaxHide').style.display = 'block';
|
||||||
|
document.getElementById('dispatchinternational').style.display = 'block';
|
||||||
|
document.getElementById('datedomestic').style.display = 'none';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -234,15 +249,24 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
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'
|
||||||
});
|
});
|
||||||
$('#Date').click(function () {
|
$('#Date').click(function () {
|
||||||
//for Date range selection
|
//for Dispatch range selection
|
||||||
$('#Schedulediv').hide();
|
$('#Schedulediv').hide();
|
||||||
$('#Deliverydtdiv').show();
|
$('#Deliverydtdiv').show();
|
||||||
|
$('#deliverydateby').hide();
|
||||||
});
|
});
|
||||||
$('#Schedule').click(function () {
|
$('#Schedule').click(function () {
|
||||||
//for schedule range selection
|
//for schedule range selection
|
||||||
$('#Deliverydtdiv').hide();
|
$('#Deliverydtdiv').hide();
|
||||||
$('#Schedulediv').show();
|
$('#Schedulediv').show();
|
||||||
|
$('#deliverydateby').hide();
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#DeliverycheckDate').click(function () {
|
||||||
|
//for Delivery Date selection
|
||||||
|
$('#Schedulediv').hide();
|
||||||
|
$('#deliverydateby').show();
|
||||||
|
$('#Deliverydtdiv').hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -386,12 +410,16 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
|
|
||||||
<b><u>Select Delivery By</u></b><br/>
|
<b><u>Select Delivery By</u></b><br/>
|
||||||
<tr>
|
<tr>
|
||||||
|
<div id="dispatchinternational" style="display:none;">
|
||||||
<td>
|
<td>
|
||||||
<!-- <?php echo form_label('Date', 'Date') . " ". form_radio(array('name' => 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?> -->
|
<!-- <?php echo form_label('Date', 'Date') . " ". form_radio(array('name' => 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?> -->
|
||||||
|
|
||||||
<?php echo form_label('Dispatch instruction', 'Dispatch instruction') ." ". 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"=>"2", 'checked'=>('2' == $DeliverOption) ? TRUE : FALSE)); ?> </td>
|
||||||
</td>
|
</div>
|
||||||
</td>
|
<div id="datedomestic" style="display:none;">
|
||||||
|
<td>
|
||||||
|
<?php echo form_label('Deilvery Date', 'Deilvery Date') ." ". form_radio(array("name"=>"DateRange", "id"=>"DeliverycheckDate", "value"=>"0", 'checked'=>('0' == $DeliverOption) ? TRUE : FALSE)); ?> </td>
|
||||||
|
</div>
|
||||||
<td>
|
<td>
|
||||||
<?php echo form_label('Schedule', 'Schedule') . form_radio(array('name' => 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
|
<?php echo form_label('Schedule', 'Schedule') . form_radio(array('name' => 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
|
||||||
|
|
||||||
@ -400,7 +428,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12" id="Schedulediv" style="display:none;"><br/>
|
<div class="col-md-12" id="Schedulediv" style="display:none;"><br/>
|
||||||
<label >Schedule :</label>
|
<label >Schedule </label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||||
@ -408,6 +436,15 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-12" id="deliverydateby" style="display:none;"><br/>
|
||||||
|
<label>Delivery Date</label>
|
||||||
|
<div class="form-group">
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'Deliverydate','value' => set_value('Deliverydate',$CurrentDate),'id'=>'Deliverydate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
<div class="col-md-12" id="Deliverydtdiv"><br/>
|
||||||
<label>Dispatch Instruction</label>
|
<label>Dispatch Instruction</label>
|
||||||
|
|
||||||
@ -459,7 +496,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3" id="PlaceOforigindiv">
|
||||||
<label>Place of Origin</label>
|
<label>Place of Origin</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
@ -721,7 +758,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
|
|
||||||
}
|
}
|
||||||
?> <input type="hidden" name="txtRowCount" id="txtRowCount" value="<?php echo $index;?>">
|
?> <input type="hidden" name="txtRowCount" id="txtRowCount" value="<?php echo $index;?>">
|
||||||
<input type="hidden" name="CapitalToatlOrder" id="CapitalToatlOrder" value="<?php echo $totalCapitalOrder;?>">
|
<!-- <input type="hidden" name="CapitalToatlOrder" id="CapitalToatlOrder" value="<?php echo $totalCapitalOrder;?>"> -->
|
||||||
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>"/>
|
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>"/>
|
||||||
<input type="hidden" name="capitalType" id="capitalType" value="<?php echo $CapitalRange; ?>"/>
|
<input type="hidden" name="capitalType" id="capitalType" value="<?php echo $CapitalRange; ?>"/>
|
||||||
|
|
||||||
@ -2645,7 +2682,6 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <div align="right" style="padding-right:10px">
|
<!-- <div align="right" style="padding-right:10px">
|
||||||
|
|
||||||
<div class="col-md-3 col-md-offset-9"><br/>
|
<div class="col-md-3 col-md-offset-9"><br/>
|
||||||
@ -2663,6 +2699,17 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-12" style="border: 1px solid;padding:1% 0%;">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label >Total Order Value<?php echo "($INR)"?> </label>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$data = array('name' => 'CapitalToatlOrder','value' => set_value('CapitalToatlOrder',number_format($totalCapitalOrder, 2, '.', '')),'id'=>'CapitalToatlOrder', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
|
||||||
|
echo form_input($data);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label>Special Instructions :</label> <?php
|
<label>Special Instructions :</label> <?php
|
||||||
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' );
|
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' );
|
||||||
|
|||||||
@ -96,6 +96,7 @@ $('#drpSupplier').change(function() {
|
|||||||
$.each(y, function(idx, obj) {
|
$.each(y, function(idx, obj) {
|
||||||
if(obj.SupplierID === id)
|
if(obj.SupplierID === id)
|
||||||
{
|
{
|
||||||
|
|
||||||
$("#SupAddress").val(obj.Address);
|
$("#SupAddress").val(obj.Address);
|
||||||
|
|
||||||
$("#SupAddress").val(obj.Address);
|
$("#SupAddress").val(obj.Address);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user