employee
This commit is contained in:
parent
b21e078de3
commit
62082bd8d2
File diff suppressed because it is too large
Load Diff
@ -179,7 +179,7 @@ class supplier extends BaseController
|
||||
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||
$this->form_validation->set_rules('emailid','emailid', 'valid_email|max_length[128]|required');
|
||||
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]|callback_checkPanValidate');
|
||||
$this->form_validation->set_rules('panno', 'panno', 'trim|required|max_length[10]');//|callback_checkPanValidate');
|
||||
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidate');
|
||||
|
||||
if($this->form_validation->run() == FALSE)
|
||||
@ -273,7 +273,7 @@ class supplier extends BaseController
|
||||
$this->form_validation->set_rules('AlternateContactNumber','Alternate Contact Number','trim|max_length[13]');
|
||||
$this->form_validation->set_rules('emailid','emailid','valid_email|max_length[128]|required');
|
||||
$this->form_validation->set_rules('TIN','TIN','trim|required|max_length[11]');
|
||||
$this->form_validation->set_rules('panno', 'panno', 'trim|max_length[10]|callback_checkPanValidateSupplier');
|
||||
$this->form_validation->set_rules('panno', 'panno', 'trim|required|max_length[10]|callback_checkPanValidateSupplier');
|
||||
$this->form_validation->set_rules('GSTNo','GSTNo','trim|requried|max_length[15]|callback_checkGstValidateSupplier');
|
||||
|
||||
|
||||
|
||||
@ -425,13 +425,14 @@ function onlyAlphabets(evt) {
|
||||
<div class="col-md-6 pad"><span>Age</span>
|
||||
<input type="text" name="age" id="age" class="form-control" readonly>
|
||||
</div>
|
||||
<div class="col-md-6 pad"><span>Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" name="ContactNumber" onchange="return getMobileValidation();" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="ContactNumber" required pattern="(.){10,10}" maxlength="10" class="form-control">
|
||||
<div class="col-md-6 pad"><span>Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" name="ContactNumber" onchange="return getMobileValidation();" id="ContactNumber" required pattern="(.){10,10}" maxlength="10" class="form-control">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6 pad"><span>Personal Email ID</span><span class="badge">*</span>
|
||||
<input type="email" name="emailid" id="emailid" required maxlength="100" class="form-control">
|
||||
<div class="col-md-6 pad"><span>Personal Email ID</span><!--span class="badge">*</span>-->
|
||||
<input type="email" name="emailid" id="emailid" maxlength="100" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 pad"><span>Gender</span><span class="badge">*</span>
|
||||
@ -452,8 +453,8 @@ function onlyAlphabets(evt) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6 pad"> <span>Official Email ID</span><span class="badge">*</span>
|
||||
<input type="email" name="comemailid" id="mail" required maxlength="100" class="form-control">
|
||||
<div class="col-md-6 pad"> <span>Official Email ID</span>
|
||||
<input type="email" name="comemailid" id="mail" maxlength="100" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
@ -532,7 +533,7 @@ function onlyAlphabets(evt) {
|
||||
<input type="text" id="emergencycontactname" onkeypress="return onlyAlphabets(event);" maxlength="100" required name="emergencycontactname" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-6"><span>Emergency Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" id="emergencycontactnumber" min_length="5" required name="emergencycontactnumber" onchange="return getValidEmergencyNumber();" onkeypress="return event.charCode >= 48 && event.charCode <= 57" maxlength="10" class="form-control">
|
||||
<input type="text" id="emergencycontactnumber" name="emergencycontactnumber" onchange="return getValidEmergencyNumber();" required pattern="(.){10,10}" maxlength="10" class="form-control">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
83
application/views/capitalpopdf.php
Executable file → Normal file
83
application/views/capitalpopdf.php
Executable file → Normal file
@ -99,7 +99,7 @@
|
||||
?>
|
||||
</div>
|
||||
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?> </a></span></center>
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?>/C </a></span></center>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
@ -124,14 +124,14 @@
|
||||
</tr>
|
||||
<?php if ($CapitalRange =='0') { ?>
|
||||
<tr>
|
||||
<td>PO DATE :<?php echo $Podt; ?></td>
|
||||
<td>DISPATCH / SCHEDULE BY :<?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>PO DATE : <?php echo $Podt; ?></td>
|
||||
<td colspan="2">DISPATCH / SCHEDULE BY : <?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>PLACE OF ORIGIN:<?php echo $Placeoforigin; ?></td>
|
||||
<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>
|
||||
<td>PO DATE : <?php echo $Podt; ?></td>
|
||||
<td colspan="3">DELIVERY DATE/ SCHEDULE BY : <?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
|
||||
</tr><?php }?>
|
||||
</tbody>
|
||||
@ -144,8 +144,9 @@
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="background:#8c8c8c;color:#fff;">
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<td>Requistion Number</td>
|
||||
<td>Requistion Date</td>
|
||||
<td>Requested By</td>
|
||||
<td>Requested Department</td>
|
||||
<td>Cost Center </td>
|
||||
@ -160,6 +161,7 @@
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $ReqDetails['RequistionNo']; ?></td>
|
||||
<td>01/08/2017</td><!--Requistion Date code should come from DB-->
|
||||
<td><?php echo $ReqDetails['RequestedName']; ?></td>
|
||||
<td><?php echo $ReqDetails['RequestedDept']; ?></td>
|
||||
<td><?php echo $ReqDetails['CostCenterCode']; ?></td>
|
||||
@ -173,14 +175,15 @@
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<table style="border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="background:#8c8c8c;color:#fff;">
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<th>#</th>
|
||||
<th>Item Code</th>
|
||||
<th>Item Name</th>
|
||||
<th>HSN Code</th>
|
||||
<th>Qty</th>
|
||||
<th>UOM</p>
|
||||
<th>UOM</th>
|
||||
<?php if($currencyName!='INR'){ ?>
|
||||
|
||||
<th>Rate Per Unit in <?php echo "$currencyName"."("."$currencyCode".")"?></th>
|
||||
@ -230,6 +233,7 @@
|
||||
<td><?php echo $index ; ?></td>
|
||||
<td> <?php echo $record->MaterialCode ; ?></td>
|
||||
<td><?php echo $record->MaterialName ; ?></td>
|
||||
<td>000666</td><!--HSN code should come from DB-->
|
||||
<td align="right"><?php echo $record->Quantity ; ?></td>
|
||||
<td align="right"><?php echo $record->UOM ; ?></td>
|
||||
<td align="right"><?php echo number_format(($record->Rate),2, '.', '') ; ?></td>
|
||||
@ -252,7 +256,13 @@
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>Payment Terms:</strong> <?php echo $PaymentTerms;?></p>
|
||||
|
||||
<p><strong>Special Instruction:</strong></p>
|
||||
<p><?php echo $ServiceDescription;?></p>
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -264,24 +274,7 @@
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<p><strong>Payment Terms</strong></p>
|
||||
<p><?php echo $PaymentTerms;?></p>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<p><font size="1">Certified that the particulars given above are true and correct</font></p>
|
||||
<p><?php echo $CompanyName; ?></p>
|
||||
<p> </p>
|
||||
<p>Authorized Signatory</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>Special Instruction:</strong></p>
|
||||
<p><?php echo $ServiceDescription;?></p>
|
||||
<p> </p>
|
||||
<?php
|
||||
<?php
|
||||
|
||||
if(!empty($releasedetails)){
|
||||
|
||||
@ -293,18 +286,7 @@
|
||||
?>
|
||||
|
||||
|
||||
<!-- <table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><b>Released By:</b></td>
|
||||
<td style="text-align:right;"><b>Released On:</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $detail->FirstName;?></td>
|
||||
<td style="text-align:right;"><?php echo $releasedOn->format('d-m-Y');?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table> -->
|
||||
|
||||
<p> </p>
|
||||
<div align="Left"> <b>Released By : </b><?php echo $detail->FirstName;?></div>
|
||||
<div align="Left"> <b>Released On : </b><?php echo $releasedOn->format('d-m-Y');?></div>
|
||||
@ -317,5 +299,22 @@
|
||||
?>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<p><font size="1">Certified that the particulars given above are true and correct</font></p>
|
||||
<p><?php echo $CompanyName; ?></p>
|
||||
<p> </p>
|
||||
<p>Authorized Signatory</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
99
application/views/capitalpurchaseorder.php
Executable file → Normal file
99
application/views/capitalpurchaseorder.php
Executable file → Normal file
@ -70,6 +70,9 @@ if(!empty($INRSYMBOL))
|
||||
#DomesticNOT {
|
||||
margin-top:200px;
|
||||
z-index: 1080 !important;
|
||||
}
|
||||
.num {
|
||||
text-align:right;
|
||||
}
|
||||
</style>
|
||||
<script src="<?php echo base_url() ?>assets/tinymce/js/tinymce/tinymce.min.js"></script>
|
||||
@ -85,6 +88,8 @@ if(!empty($INRSYMBOL))
|
||||
toolbar: false
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$("#PaymentMethod").select2();
|
||||
|
||||
clearTotalItemValues();
|
||||
$('#CapitalToatlOrder').val(0);
|
||||
//Initialize Select2 Elements
|
||||
@ -356,7 +361,7 @@ function vaildateBeforeOpenModal()
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" id="Schedulediv">
|
||||
<label >Schedule </label>
|
||||
<label >Schedule By</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||
@ -400,7 +405,7 @@ function vaildateBeforeOpenModal()
|
||||
<label>Exchange Rate On</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -409,7 +414,7 @@ function vaildateBeforeOpenModal()
|
||||
<label id="CurrencySymbol">Exchange Rate</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
|
||||
$data = array('name' => 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -442,7 +447,7 @@ function vaildateBeforeOpenModal()
|
||||
<legend>Payment Details</legend>
|
||||
<!-- Text input-->
|
||||
<div class="col-md-3">
|
||||
<span for="payablefrom">Payable Terms</span>
|
||||
<label for="payablefrom">Payable Terms</label>
|
||||
|
||||
|
||||
|
||||
@ -460,7 +465,7 @@ function vaildateBeforeOpenModal()
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('PaymentMethod', $options1,set_value('PaymentMethod'),'id="PaymentMethod"' ,'class="form-control"');
|
||||
echo form_dropdown('PaymentMethod', $options1,set_value('PaymentMethod'),'id="PaymentMethod"' ,'class="form-control select2"');
|
||||
|
||||
?>
|
||||
|
||||
@ -521,9 +526,9 @@ function vaildateBeforeOpenModal()
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:1100px;">
|
||||
<div class="modal-content" style="width:1000px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
|
||||
<center><h4>Add Capital Purchase Order Item </h4></center>
|
||||
</div>
|
||||
<div align="left">
|
||||
@ -567,7 +572,7 @@ function vaildateBeforeOpenModal()
|
||||
<div>
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'CostCenter','value' => set_value('CostCenter'),'id'=>'CostCenter', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CostCenter','value' => set_value('CostCenter'),'id'=>'CostCenter', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
|
||||
?>
|
||||
@ -577,7 +582,7 @@ function vaildateBeforeOpenModal()
|
||||
<label>Avail Bud Amount<?php echo "($INR)"?></label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CapitalbudAmt','value' => set_value('CapitalbudAmt'),'id'=>'CapitalbudAmt', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CapitalbudAmt','value' => set_value('CapitalbudAmt'),'id'=>'CapitalbudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -587,7 +592,7 @@ function vaildateBeforeOpenModal()
|
||||
<label> Exchange Rate</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'ExchangeRtModal','value' => set_value('ExchangeRtModal'),'id'=>'ExchangeRtModal', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'ExchangeRtModal','value' => set_value('ExchangeRtModal'),'id'=>'ExchangeRtModal', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -601,7 +606,7 @@ function vaildateBeforeOpenModal()
|
||||
<div>
|
||||
<?php
|
||||
$options = array("0"=>'Item Code');
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control select2"');
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control num select2"');
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
@ -609,7 +614,7 @@ function vaildateBeforeOpenModal()
|
||||
<label>Item Name</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CapitalItemName','value' => set_value('ICapitalItemName'),'id'=>'CapitalItemName', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CapitalItemName','value' => set_value('ICapitalItemName'),'id'=>'CapitalItemName', 'class' => 'form-control ' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -629,7 +634,7 @@ function vaildateBeforeOpenModal()
|
||||
<label>Quantity</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPQuantity','value' => set_value('CPQuantity'),'id'=>'CPQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'CPQuantity','value' => set_value('CPQuantity'),'id'=>'CPQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -638,7 +643,7 @@ function vaildateBeforeOpenModal()
|
||||
<label id="RateIn">Rate(In INR /UOM)</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPRate','value' => set_value('CPRate'),'id'=>'CPRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();' );
|
||||
$data = array('name' => 'CPRate','value' => set_value('CPRate'),'id'=>'CPRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();' );
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -647,7 +652,7 @@ function vaildateBeforeOpenModal()
|
||||
<label id="TotalAmount">Basic value in INR</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPTotalAmount','value' => set_value('CPTotalAmount'),'id'=>'CPTotalAmount', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CPTotalAmount','value' => set_value('CPTotalAmount'),'id'=>'CPTotalAmount', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -657,7 +662,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-12" id="CAPdiv" style="border:1px solid #000;padding:5px;">
|
||||
<div class="col-md-12" id="CAPdiv" >
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" align="right">
|
||||
|
||||
@ -769,7 +774,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4" style="display:none;">
|
||||
<div class="form-group">
|
||||
<?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 num' ,'onkeypress'=>'return isNumberKey(event);');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -777,7 +782,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterBasicPriceTax','value' => set_value('AfterBasicPriceTax'),'id'=>'AfterBasicPriceTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterBasicPriceTax','value' => set_value('AfterBasicPriceTax'),'id'=>'AfterBasicPriceTax', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -790,7 +795,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'LandingCharge','value' => set_value('LandingCharge'),'id'=>'LandingCharge', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'LandingCharge','value' => set_value('LandingCharge'),'id'=>'LandingCharge', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -798,7 +803,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterLandingCharge','value' => set_value('AfterLandingCharge'),'id'=>'AfterLandingCharge', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterLandingCharge','value' => set_value('AfterLandingCharge'),'id'=>'AfterLandingCharge', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -811,7 +816,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Highseas ','value' => set_value('Highseas'),'id'=>'Highseas', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' , 'onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'Highseas ','value' => set_value('Highseas'),'id'=>'Highseas', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' , 'onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -819,7 +824,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterHighseas','value' => set_value('AfterHighseas'),'id'=>'AfterHighseas', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterHighseas','value' => set_value('AfterHighseas'),'id'=>'AfterHighseas', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -832,7 +837,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Customduty','value' => set_value('Customduty'),'id'=>'Customduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'Customduty','value' => set_value('Customduty'),'id'=>'Customduty', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -840,7 +845,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterCustomduty','value' => set_value('AfterCustomduty'),'id'=>'AfterCustomduty', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterCustomduty','value' => set_value('AfterCustomduty'),'id'=>'AfterCustomduty', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -853,7 +858,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'ExcisedutyTax','value' => set_value('ExcisedutyTax'),'id'=>'ExcisedutyTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'ExcisedutyTax','value' => set_value('ExcisedutyTax'),'id'=>'ExcisedutyTax', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -861,7 +866,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterExcisedutyTax','value' => set_value('AfterExcisedutyTax'),'id'=>'AfterExcisedutyTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterExcisedutyTax','value' => set_value('AfterExcisedutyTax'),'id'=>'AfterExcisedutyTax', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -874,7 +879,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'ExcisedutyEDcess','value' => set_value('ExcisedutyEDcess'),'id'=>'ExcisedutyEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'ExcisedutyEDcess','value' => set_value('ExcisedutyEDcess'),'id'=>'ExcisedutyEDcess', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -882,7 +887,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterExcisedutyEDcess','value' => set_value('AfterExcisedutyEDcess'),'id'=>'AfterExcisedutyEDcess', 'class' => 'form-control','readonly' => 'true');
|
||||
$data = array('name' => 'AfterExcisedutyEDcess','value' => set_value('AfterExcisedutyEDcess'),'id'=>'AfterExcisedutyEDcess', 'class' => 'form-control num','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -895,7 +900,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'ExcisedutySHcess','value' => set_value('ExcisedutySHcess'),'id'=>'ExcisedutySHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'ExcisedutySHcess','value' => set_value('ExcisedutySHcess'),'id'=>'ExcisedutySHcess', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -903,7 +908,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterExcisedutySHcess','value' => set_value('AfterExcisedutySHcess'),'id'=>'AfterExcisedutySHcess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterExcisedutySHcess','value' => set_value('AfterExcisedutySHcess'),'id'=>'AfterExcisedutySHcess', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -916,7 +921,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CustomEDcess','value' => set_value('CustomEDcess'),'id'=>'CustomEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'CustomEDcess','value' => set_value('CustomEDcess'),'id'=>'CustomEDcess', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -924,7 +929,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterCustomEDcess','value' => set_value('AfterCustomEDcess'),'id'=>'AfterCustomEDcess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterCustomEDcess','value' => set_value('AfterCustomEDcess'),'id'=>'AfterCustomEDcess', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -937,7 +942,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CustomSHcess','value' => set_value('CustomSHcess'),'id'=>'CustomSHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'CustomSHcess','value' => set_value('CustomSHcess'),'id'=>'CustomSHcess', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -945,7 +950,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterCustomSHcess','value' => set_value('AfterCustomSHcess'),'id'=>'AfterCustomSHcess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterCustomSHcess','value' => set_value('AfterCustomSHcess'),'id'=>'AfterCustomSHcess', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -960,7 +965,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AdditionalExciseduty ','value' => set_value('AdditionalExciseduty'),'id'=>'AdditionalExciseduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'AdditionalExciseduty ','value' => set_value('AdditionalExciseduty'),'id'=>'AdditionalExciseduty', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -968,7 +973,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterAdditionalExciseduty','value' => set_value('AfterAdditionalExciseduty'),'id'=>'AfterAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AfterAdditionalExciseduty','value' => set_value('AfterAdditionalExciseduty'),'id'=>'AfterAdditionalExciseduty', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -981,7 +986,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Grossdutypayable ','value' => set_value('Grossdutypayable'),'id'=>'Grossdutypayable', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
$data = array('name' => 'Grossdutypayable ','value' => set_value('Grossdutypayable'),'id'=>'Grossdutypayable', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -994,7 +999,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AvailableModvat','value' => set_value('AvailableModvat'),'id'=>'AvailableModvat', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'AvailableModvat','value' => set_value('AvailableModvat'),'id'=>'AvailableModvat', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?> (b + c + d + g)
|
||||
</div>
|
||||
@ -1009,7 +1014,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Grossexpenses','value' => set_value('Grossexpenses'),'id'=>'Grossexpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
$data = array('name' => 'Grossexpenses','value' => set_value('Grossexpenses'),'id'=>'Grossexpenses', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1027,7 +1032,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'purchaserate','value' => set_value('purchaserate'),'id'=>'purchaserate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
$data = array('name' => 'purchaserate','value' => set_value('purchaserate'),'id'=>'purchaserate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1036,7 +1041,7 @@ function vaildateBeforeOpenModal()
|
||||
<span>Quantity</span>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'PurQuantity','value' => set_value('PurQuantity'),'id'=>'PurQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'PurQuantity','value' => set_value('PurQuantity'),'id'=>'PurQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1051,7 +1056,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CustomDutyExpenses ','value' => set_value('CustomDutyExpenses'),'id'=>'CustomDutyExpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
$data = array('name' => 'CustomDutyExpenses ','value' => set_value('CustomDutyExpenses'),'id'=>'CustomDutyExpenses', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1065,7 +1070,7 @@ function vaildateBeforeOpenModal()
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'RMCIncludingCustomers','value' => set_value('RMCIncludingCustomers'),'id'=>'RMCIncludingCustomers', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
$data = array('name' => 'RMCIncludingCustomers','value' => set_value('RMCIncludingCustomers'),'id'=>'RMCIncludingCustomers', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1108,9 +1113,9 @@ function vaildateBeforeOpenModal()
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:1100px;">
|
||||
<div class="modal-content" style="width:1000px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
|
||||
<center><h4>Edit Capital Purchase Order Item </h4></center>
|
||||
</div>
|
||||
<div align="left">
|
||||
@ -1150,7 +1155,7 @@ function vaildateBeforeOpenModal()
|
||||
|
||||
|
||||
<div class="col-md-2">
|
||||
<label>Cost Center Code</label>
|
||||
<label>Cost Center Name</label>
|
||||
<div>
|
||||
<?php
|
||||
|
||||
@ -1244,7 +1249,7 @@ function vaildateBeforeOpenModal()
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="border:1px solid #000;padding:5px;" id="EDITCAPdiv">
|
||||
<div class="col-md-12" id="EDITCAPdiv">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" align="right">
|
||||
|
||||
|
||||
126
application/views/editCapitalAmendPO.php
Executable file → Normal file
126
application/views/editCapitalAmendPO.php
Executable file → Normal file
@ -159,6 +159,10 @@ if(!empty($AvlBudAmt))
|
||||
.select2{
|
||||
width:100% ! important;
|
||||
}
|
||||
.num {
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script src="<?php echo base_url() ?>assets/tinymce/js/tinymce/tinymce.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
@ -448,7 +452,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" id="Schedulediv" style="display:none;"><br/>
|
||||
<label >Schedule </label>
|
||||
<label >Schedule By </label>
|
||||
<input type="hidden" name="beforeSchedule" value="<?php echo $DeliverSchedule;?>">
|
||||
<?php
|
||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||
@ -466,7 +470,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Deliverydate','value' => set_value('Deliverydate',$Deliverydt),'id'=>'Deliverydate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'Deliverydate','value' => set_value('Deliverydate',$Deliverydt),'id'=>'Deliverydate', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -495,7 +499,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>Exchange Rate On</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$ExchangeRateOn),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$ExchangeRateOn),'id'=>'Exchangerateon', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -516,7 +520,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>Purchase Order Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -582,7 +586,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" id="otheroptiondiv" style="display:none;">
|
||||
<label><span class="badge" style="color:red;">*</span></label>
|
||||
<label>Description of Payable Terms<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
|
||||
@ -831,7 +835,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:1050px;">
|
||||
<div class="modal-content" style="width:1000px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
|
||||
<center><h4>Edit Capital Purchase Order Item </h4></center>
|
||||
@ -877,7 +881,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<div>
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'EditCostCenter','value' => set_value('EditCostCenter'),'id'=>'EditCostCenter', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditCostCenter','value' => set_value('EditCostCenter'),'id'=>'EditCostCenter', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
|
||||
?>
|
||||
@ -887,7 +891,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>Avail Bud Amount<?php echo "($INR)"?></label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCapitalbudAmt','value' => set_value('EditCapitalbudAmt'),'id'=>'EditCapitalbudAmt', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditCapitalbudAmt','value' => set_value('EditCapitalbudAmt'),'id'=>'EditCapitalbudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -897,7 +901,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label> Exchange Rate</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditExchangeRtModal','value' => set_value('EditExchangeRtModal'),'id'=>'EditExchangeRtModal', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditExchangeRtModal','value' => set_value('EditExchangeRtModal'),'id'=>'EditExchangeRtModal', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -919,7 +923,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>Item Name</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCapitalItemName','value' => set_value('EditCapitalItemName'),'id'=>'EditCapitalItemName', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditCapitalItemName','value' => set_value('EditCapitalItemName'),'id'=>'EditCapitalItemName', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -929,7 +933,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>UOM</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCPUOM','value' => set_value('EditCPUOM'),'id'=>'EditCPUOM', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditCPUOM','value' => set_value('EditCPUOM'),'id'=>'EditCPUOM', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -939,7 +943,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label>Quantity</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCPQuantity','value' => set_value('EditCPQuantity'),'id'=>'EditCPQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();');
|
||||
$data = array('name' => 'EditCPQuantity','value' => set_value('EditCPQuantity'),'id'=>'EditCPQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -948,7 +952,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label id="EditRateIn">Rate(in INR/UOM)</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCPRate','value' => set_value('EditCPRate'),'id'=>'EditCPRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();' );
|
||||
$data = array('name' => 'EditCPRate','value' => set_value('EditCPRate'),'id'=>'EditCPRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange();' );
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -957,15 +961,15 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
<label id="EditTotalAmount">Basic value in INR</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'EditCPTotalAmount','value' => set_value('EditCPTotalAmount'),'id'=>'EditCPTotalAmount', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'EditCPTotalAmount','value' => set_value('EditCPTotalAmount'),'id'=>'EditCPTotalAmount', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" id="EDITCAPdiv" style="border:1px solid #000;padding:0px;">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" id="EDITCAPdiv" style="padding:0px;">
|
||||
<div class="col-md-12" id=""><!--EDITCAPdiv -->
|
||||
<div class="col-md-6" align="right">
|
||||
|
||||
@ -1064,7 +1068,7 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12" id="EDITCAPdiv4"><!--EDITCAPdiv4 -->
|
||||
<div class="col-md-12" id="EDITCAPdiv4" style="padding:0px;"><!--EDITCAPdiv4 -->
|
||||
<div class="col-md-5 col-md-offset-4" align="right">
|
||||
<label>Total Order Value In INR</label>
|
||||
</div>
|
||||
@ -1418,8 +1422,8 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
|
||||
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-info font EditCapital" ID="UpdateCapital" ><i class="fa fa-plus"></i> <span class="bold">Update Capital</span></a>
|
||||
<a class="btn btn-info" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-primary font EditCapital" ID="UpdateCapital" ><i class="fa fa-plus"></i> <span class="bold">Update Capital</span></a>
|
||||
<a class="btn btn-primary" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -1467,16 +1471,21 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<label >Total Order Value In INR </label>
|
||||
previous<input type="hidden" name="preServiceTotalorderValue" value="<?php echo $totalCapitalOrder?>">
|
||||
<?php
|
||||
$data = array('name' => 'Totalservicesummary','value' => set_value('Totalservicesummary',$totalCapitalOrder),'id'=>'Totalservicesummary', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" style="padding: 0px;">
|
||||
<label >Total Order Value In INR </label>
|
||||
<input type="hidden" name="preServiceTotalorderValue" value="<?php echo $totalCapitalOrder?>">
|
||||
<?php
|
||||
$data = array('name' => 'Totalservicesummary','value' => set_value('Totalservicesummary',$totalCapitalOrder),'id'=>'Totalservicesummary', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div> </div>
|
||||
</br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" style="padding:1%;" ></div>
|
||||
@ -1635,30 +1644,43 @@ document.getElementById('dispatchinternational').style.display = 'block';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" style="padding:1% 0%;">
|
||||
<div class="col-md-4">
|
||||
<span>Request On</span>
|
||||
<?php
|
||||
$data = array('name' => 'Requeston','value' => set_value('Requeston',$UpdatedOn),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<span>Request By</span>
|
||||
<?php
|
||||
$data = array('name' => 'RequestBy','value' => set_value('RequestBy',$requestedBy),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<span>Status</span>
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'Status','value' => set_value('Status',$PoStatusName),'id'=>'Status', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
/
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-8"><br/>
|
||||
<div class="row">
|
||||
<div class="col-md-2"><label>Request On</label></div>
|
||||
<div class="col-md-4">
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'Requeston','value' => set_value('Requeston',$UpdatedOn),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div><br/>
|
||||
<div class="row">
|
||||
<div class="col-md-2"><label>Request By</label></div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
$data = array('name' => 'RequestBy','value' => set_value('RequestBy', $requestedBy),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div><br/>
|
||||
|
||||
<div class="row"><div class="col-md-2"><label>Status</label></div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'Status','value' => set_value('Status',$PoStatusName),'id'=>'Status', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div align="right" style="padding:1% 0%;">
|
||||
|
||||
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
||||
|
||||
90
application/views/editCapitalPo.php
Executable file → Normal file
90
application/views/editCapitalPo.php
Executable file → Normal file
@ -146,6 +146,9 @@ if(!empty($AvlBudAmt))
|
||||
.select2{
|
||||
width:100% ! important;
|
||||
}
|
||||
.num {
|
||||
text-align:right;
|
||||
}
|
||||
</style>
|
||||
<script src="<?php echo base_url() ?>assets/tinymce/js/tinymce/tinymce.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
@ -160,6 +163,9 @@ if(!empty($AvlBudAmt))
|
||||
var SchName = <?php echo json_encode($DeliverSchedule); ?>;
|
||||
var DelDt = '<?php echo $Deliverydt; ?>';
|
||||
$(document).ready(function () {
|
||||
$("#PaymentMethod").select2();
|
||||
|
||||
|
||||
if(DelOpt=="0"){
|
||||
$('#Deliverydtdiv').hide();
|
||||
$('#Schedulediv').hide();
|
||||
@ -442,7 +448,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" id="Schedulediv" style="display:none;"><br/>
|
||||
<label >Schedule </label>
|
||||
<label >Schedule By </label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||
@ -504,7 +510,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label>Purchase Order Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -801,9 +807,9 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:1100px;">
|
||||
<div class="modal-content" style="width:1000px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
|
||||
<center><h4>Add Capital Purchase Order Item </h4></center>
|
||||
</div>
|
||||
<div align="left">
|
||||
@ -835,7 +841,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label>Department Name</label>
|
||||
<div>
|
||||
<?php
|
||||
$data = array('name' => 'CapitalDepartmentName','value' => set_value('CapitalDepartmentName'),'id'=>'CapitalDepartmentName', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CapitalDepartmentName','value' => set_value('CapitalDepartmentName'),'id'=>'CapitalDepartmentName', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -847,7 +853,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<div>
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'CostCenter','value' => set_value('CostCenter'),'id'=>'CostCenter', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CostCenter','value' => set_value('CostCenter'),'id'=>'CostCenter', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
|
||||
?>
|
||||
@ -857,7 +863,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label>Avail Bud Amount<?php echo "($INR)"?></label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CapitalbudAmt','value' => set_value('CapitalbudAmt'),'id'=>'CapitalbudAmt', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CapitalbudAmt','value' => set_value('CapitalbudAmt'),'id'=>'CapitalbudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -909,7 +915,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label>Quantity</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPQuantity','value' => set_value('CPQuantity'),'id'=>'CPQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
$data = array('name' => 'CPQuantity','value' => set_value('CPQuantity'),'id'=>'CPQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -918,7 +924,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label id="RateIn">Rate(In INR /UOM)</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPRate','value' => set_value('CPRate'),'id'=>'CPRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();' );
|
||||
$data = array('name' => 'CPRate','value' => set_value('CPRate'),'id'=>'CPRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange();' );
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -927,7 +933,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<label id="TotalAmount">Basic value in INR</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'CPTotalAmount','value' => set_value('CPTotalAmount'),'id'=>'CPTotalAmount', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
$data = array('name' => 'CPTotalAmount','value' => set_value('CPTotalAmount'),'id'=>'CPTotalAmount', 'class' => 'form-control num' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -1389,7 +1395,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:1100px;">
|
||||
<div class="modal-content" style="width:1000px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<center><h4>Edit Capital Purchase Order Item </h4></center>
|
||||
@ -1522,7 +1528,7 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="border:1px solid #000;padding:0px;">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" id="EDITCAPdiv">
|
||||
<div class="col-md-6" align="right">
|
||||
|
||||
@ -2748,30 +2754,42 @@ document.getElementById('currencyTypeDiv').style.display = 'block';
|
||||
echo form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-12" style="padding:1% 0%;">
|
||||
<div class="col-md-4">
|
||||
<label>Request On</label>
|
||||
<?php
|
||||
$data = array('name' => 'Requeston','value' => set_value('Requeston',$UpdatedOn),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Request By</label>
|
||||
<?php
|
||||
$data = array('name' => 'RequestBy','value' => set_value('RequestBy',$requestedBy),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Status</label>
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'Status','value' => set_value('Status',$PoStatusName),'id'=>'Status', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-8"><br/>
|
||||
<div class="row">
|
||||
<div class="col-md-2"><label>Request On</label></div>
|
||||
<div class="col-md-4">
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'Requeston','value' => set_value('Requeston',$UpdatedOn),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div><br/>
|
||||
<div class="row">
|
||||
<div class="col-md-2"><label>Request By</label></div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
$data = array('name' => 'RequestBy','value' => set_value('RequestBy', $requestedBy),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div><br/>
|
||||
|
||||
<div class="row"><div class="col-md-2"><label>Status</label></div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
|
||||
$data = array('name' => 'Status','value' => set_value('Status',$PoStatusName),'id'=>'Status', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div align="right" style="padding:1% 0%;">
|
||||
|
||||
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
||||
|
||||
@ -282,24 +282,24 @@ function Validate()
|
||||
{ return;}
|
||||
|
||||
|
||||
if($("#email").val().length < 1)
|
||||
{
|
||||
alert('Please Enter Personal Email ID');
|
||||
return false;
|
||||
}
|
||||
else if(!validateEmail())
|
||||
{
|
||||
return;
|
||||
}
|
||||
if($("#mail").val().length < 1)
|
||||
{
|
||||
alert('Please Enter Company Email ID');
|
||||
return false;
|
||||
}
|
||||
else if(!validatecomEmail())
|
||||
{
|
||||
return;
|
||||
}
|
||||
// if($("#email").val().length < 1)
|
||||
// {
|
||||
// alert('Please Enter Personal Email ID');
|
||||
// return false;
|
||||
// }
|
||||
// else if(!validateEmail())
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
// if($("#mail").val().length < 1)
|
||||
// {
|
||||
// alert('Please Enter Company Email ID');
|
||||
// return false;
|
||||
// }
|
||||
// else if(!validatecomEmail())
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
|
||||
|
||||
if($("option:selected", $("#gender")).val() == '-1')
|
||||
@ -617,13 +617,13 @@ function onlyAlphabets(evt) {
|
||||
<input type="text" name="age" placeholder="Age" id="age" value="<?php echo $Age ; ?>" class="form-control" readonly>
|
||||
</div>
|
||||
<div class="col-md-6 pad"><span>Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" name="ContactNumber" value="<?php echo $ContactNumber ; ?>" onchange="getMobileValidation();" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="ContactNumber" required placeholder="Contact Number" maxlength="10" onkeypress="return isNumberKey(event)" class="form-control">
|
||||
<input type="text" name="ContactNumber" value="<?php echo $ContactNumber ; ?>" onchange="getMobileValidation();" id="ContactNumber" required placeholder="Contact Number" maxlength="10" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6 pad"><span>Personal Email ID</span><span class="badge">*</span>
|
||||
<input type="mail" name="emailid" value="<?php echo $EmailId ; ?>" id="email" required placeholder="Email ID" maxlength="100" class="form-control">
|
||||
<div class="col-md-6 pad"><span>Personal Email ID</span><!--<span class="badge">*</span>-->
|
||||
<input type="mail" name="emailid" value="<?php echo $EmailId ; ?>" id="email" placeholder="Email ID" maxlength="100" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 pad"><span>Gender</span><span class="badge">*</span>
|
||||
@ -644,8 +644,8 @@ function onlyAlphabets(evt) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6 pad"> <span>Official Email ID</span><span class="badge">*</span>
|
||||
<input type="email" name="comemailid" id="mail" required value="<?php echo $personalEmailId;?>"maxlength="100" class="form-control">
|
||||
<div class="col-md-6 pad"> <span>Official Email ID</span><!--<span class="badge">*</span>-->
|
||||
<input type="email" name="comemailid" id="mail" placeholder="Official Email ID" value="<?php echo $personalEmailId;?>"maxlength="100" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
@ -731,7 +731,7 @@ function onlyAlphabets(evt) {
|
||||
<input type="text" id="emergencycontactname" maxlength="100" required name="emergencycontactname" value="<?php echo $EmergencyContactName ; ?>" placeholder="Emergency Contact Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-6"><span>Emergency Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" id="emergencycontactnumber" required name="emergencycontactnumber" onchange="getValidEmergencyNumber();" onkeypress="return isNumberKey(event)" maxlength="10" value="<?php echo $EmergencyContactNumber; ?>" placeholder="Emergency Contact Number" class="form-control">
|
||||
<input type="text" id="emergencycontactnumber" required name="emergencycontactnumber" onchange="getValidEmergencyNumber();" maxlength="10" value="<?php echo $EmergencyContactNumber; ?>" placeholder="Emergency Contact Number" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -348,7 +348,7 @@ function changeTextBox() {
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-primary" value="Submit" />
|
||||
<input type="reset" class="btn btn-primary" value="Cancel" />
|
||||
<a href="<?php echo base_url() ?>rawmaterialdetails/rawmaterialListing" class="btn btn-primary" value="Cancel"/>Cancel</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
91
application/views/importpopdf.php
Executable file → Normal file
91
application/views/importpopdf.php
Executable file → Normal file
@ -124,7 +124,7 @@
|
||||
?>
|
||||
</div>
|
||||
<div> </div>
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?> </a></span></center>
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?>/I </a></span></center>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
@ -148,9 +148,9 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PO DATE :<?php echo $Podt?></td>
|
||||
<td>DISPATCH INSTRUCTION/ SCHEDULE BY :<?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>PLACE OF ORIGIN:<?php echo $Placeoforigin; ?></td>
|
||||
<td>PO DATE : <?php echo $Podt?></td>
|
||||
<td>DELIVERY DATE / SCHEDULE BY : <?php echo $Import_DispatchDetails.$DeliverySchedule;?></td>
|
||||
<td>PLACE OF ORIGIN: <?php echo $Placeoforigin; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -161,8 +161,9 @@
|
||||
<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;">
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<td>Requistion Number</td>
|
||||
<td>Requistion Date</td>
|
||||
<td>Requested By</td>
|
||||
<td>Requested Department</td>
|
||||
<td>Cost Center Code</td>
|
||||
@ -170,6 +171,7 @@
|
||||
|
||||
<tr>
|
||||
<td><?php echo $ReqNo;?></td>
|
||||
<td>01/08/2017</td><!--Requistion Date code should come from DB-->
|
||||
<td><?php echo $ReqBy;?></td>
|
||||
<td><?php echo $DEPNAME?></td>
|
||||
<td><?php echo $CostCenterCode?></td>
|
||||
@ -178,15 +180,17 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="border-collapse:collapse;" cellpadding="0" cellspacing="0" border="0" width="100%" >
|
||||
<tr style="background:#8c8c8c;color:#fff;">
|
||||
<th>#</th>
|
||||
<th>Item and Description</th>
|
||||
<th>Qty</th>
|
||||
<th>UOM</p>
|
||||
<th>Rate per unit in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
<th>Basic Price in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
<th>Total Amount in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
<table style="border-collapse:collapse;" cellpadding="0" cellspacing="0" border="1" width="100%" >
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<th align="center">#</th>
|
||||
<th align="center">Item and Description</th>
|
||||
<th align="center">HSN Code</th>
|
||||
<th align="center">Qty</th>
|
||||
|
||||
<th align="center">UOM</p>
|
||||
<th align="center">Rate per unit in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
<th align="center">Basic Price in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
<th align="center">Total Amount in <?php echo "$CurrencyCode ($CurrencyName)"?></th>
|
||||
|
||||
</tr>
|
||||
|
||||
@ -224,15 +228,17 @@
|
||||
|
||||
|
||||
<tr>
|
||||
<td><?php echo $index ; ?></td>
|
||||
<td><?php echo $record->MaterialName ; ?></td>
|
||||
<td align="right"><?php echo $record->Quantity ; ?></td>
|
||||
<td align="right"><?php echo $record->UOM ; ?></td>
|
||||
<td align="right"><?php echo number_format(($record->Rate),2) ; ?></td>
|
||||
<td align="right"><?php $BasicValue=($record->Quantity*$record->Rate);
|
||||
<td align="center"><?php echo $index ; ?></td>
|
||||
<td align="center"><?php echo $record->MaterialName ; ?></td>
|
||||
<td align="center">000666</td><!--HSN code should come from DB-->
|
||||
<td align="center"><?php echo $record->Quantity ; ?></td>
|
||||
|
||||
<td align="center"><?php echo $record->UOM ; ?></td>
|
||||
<td align="center"><?php echo number_format(($record->Rate),2) ; ?></td>
|
||||
<td align="center"><?php $BasicValue=($record->Quantity*$record->Rate);
|
||||
echo number_format($BasicValue,2) ; ?></td>
|
||||
<!-- <td align="right"><?php echo number_format(($record->TotalOrderValue),2); ?></td> -->
|
||||
<td align="right"><?php $BasicValue=($record->Quantity*$record->Rate);
|
||||
<td align="center"><?php $BasicValue=($record->Quantity*$record->Rate);
|
||||
echo number_format($BasicValue,2) ; ?></td>
|
||||
|
||||
</tr>
|
||||
@ -262,6 +268,12 @@
|
||||
?>
|
||||
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>Payment Terms:</strong> <?php echo $PaymentTerms;?></p>
|
||||
|
||||
<div align="Left"> <b>Special Instructions :</b><br/><?php echo $ServiceDescription;?></div>
|
||||
|
||||
|
||||
<p> </p>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
@ -273,21 +285,9 @@
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<p><strong>Payment Terms</strong></p>
|
||||
<p><?php echo $PaymentTerms;?></p>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<p><font size="1">Certified that the particulars given above are true and correct</font></p>
|
||||
<p><?php echo $CompanyName; ?></p>
|
||||
<p> </p>
|
||||
<p>Authorized Signatory</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<div align="Left"> <b>Special Instructions :</b><br/><?php echo $ServiceDescription;?></div>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
if(!empty($releasedetails)){
|
||||
@ -300,8 +300,8 @@
|
||||
|
||||
|
||||
<p> </p>
|
||||
<div align="Left"> <b>Released By : </b><?php echo $detail->FirstName;?></div>
|
||||
<div align="Left"> <b>Released On : </b><?php echo $releasedOn->format('d-m-Y');?></div>
|
||||
<div align="Left"> <b> Released By : </b><?php echo $detail->FirstName;?></div>
|
||||
<div align="Left"> <b> Released On : </b><?php echo $releasedOn->format('d-m-Y');?></div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
@ -310,7 +310,20 @@
|
||||
?>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<p><font size="1">Certified that the particulars given above are true and correct</font></p>
|
||||
<p><?php echo $CompanyName; ?></p>
|
||||
<p> </p>
|
||||
<p>Authorized Signatory</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
253
application/views/revenuepopdf.php
Executable file → Normal file
253
application/views/revenuepopdf.php
Executable file → Normal file
@ -92,7 +92,7 @@
|
||||
?>
|
||||
</div>
|
||||
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?> </a></span></center>
|
||||
<center> <span style="font-size:24px;">PURCHASE ORDER - <a style="color:#515151">PO NO:<?php echo $PONO?>/R </a></span></center>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;font-size:12px;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
@ -116,8 +116,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PO DATE :<?php echo $Podt; ?></td>
|
||||
<td colspan="2">DELIVERY DATE / SCHEDULE BY :<?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
<td>PO DATE : <?php echo $Podt; ?></td>
|
||||
<td colspan="2">DELIVERY DATE / SCHEDULE BY : <?php echo $DeliveryDate.$DeliverySchedule;?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -128,11 +128,12 @@
|
||||
<div class="page" style="font-size:12px;">
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="background:#8c8c8c;color:#fff;">
|
||||
<td>Requistion Number</td>
|
||||
<td>Requested By</td>
|
||||
<td>Requested Department</td>
|
||||
<td>Cost Center </td>
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<td style="text-align: center;">Requistion Number</td>
|
||||
<td style="text-align: center;">Requistion Date</td>
|
||||
<td style="text-align: center;">Requested By</td>
|
||||
<td style="text-align: center;">Requested Department</td>
|
||||
<td style="text-align: center;">Cost Center </td>
|
||||
</tr>
|
||||
<?php
|
||||
if(!empty($RequistionDetails))
|
||||
@ -143,10 +144,11 @@
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $ReqDetails['RequistionNo']; ?></td>
|
||||
<td><?php echo $ReqDetails['RequestedName']; ?></td>
|
||||
<td><?php echo $ReqDetails['RequestedDept']; ?></td>
|
||||
<td><?php echo $ReqDetails['CostCenterCode']; ?></td>
|
||||
<td style="text-align: center;"><?php echo $ReqDetails['RequistionNo']; ?></td>
|
||||
<td style="text-align: center;">01/08/2017</td><!--Requistion Date code should come from DB-->
|
||||
<td style="text-align: center;"><?php echo $ReqDetails['RequestedName']; ?></td>
|
||||
<td style="text-align: center;"><?php echo $ReqDetails['RequestedDept']; ?></td>
|
||||
<td style="text-align: center;"><?php echo $ReqDetails['CostCenterCode']; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@ -159,13 +161,66 @@
|
||||
|
||||
<table style="border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="background:#8c8c8c;color:#fff;">
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<td style="text-align: center;">#</td>
|
||||
<td style="text-align: center;">Item Code</td>
|
||||
<td style="text-align: center;">Item Name</td>
|
||||
<td style="text-align: center;">HSN Code</td>
|
||||
<td style="text-align: center;">UOM</td>
|
||||
<td style="text-align: center;">Qty</td>
|
||||
<td style="text-align: center;">Rate In INR</td>
|
||||
<td style="text-align: center;">Basic Value In INR</td>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
if(!empty($POItem))
|
||||
{
|
||||
|
||||
$index = 0;
|
||||
$TotalAmount = 0;
|
||||
$OrderValue = 0;
|
||||
$TotalTax = 0;
|
||||
$SubTotalAmount = 0;
|
||||
foreach($POItem as $record)
|
||||
{
|
||||
$index = $index + 1;
|
||||
$TotalAmount = $record->BasicValue+$record->Taxamount;
|
||||
?>
|
||||
<tr style="line-height: 1.5em;">
|
||||
<td style="text-align: center;"><?php echo $index ; ?></td>
|
||||
<td style="text-align: center;">001</td>
|
||||
<td style="text-align: center;"><?php echo $record->MaterialName ; ?></td>
|
||||
<td style="text-align: center;">000666</td><!--HSN code should come from DB-->
|
||||
<td style="text-align: center;"><?php echo $record->UOM ; ?></td>
|
||||
<td align="right"><?php echo $record->Quantity ; ?></td>
|
||||
|
||||
<td align="right"><?php echo $record->Rate ; ?></td>
|
||||
<td align="right"><?php echo number_format($record->BasicValue, 2, '.', '') ;?></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
||||
$SubTotalAmount = $SubTotalAmount + $record->BasicValue;
|
||||
$TotalTax = $TotalTax+$record->Taxamount;
|
||||
$OrderValue = $SubTotalAmount + $TotalTax;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!--<table style="border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr bgcolor="#8c8c8c" color="#fff">
|
||||
<td>#</td>
|
||||
<td>Item Name</td>
|
||||
<td>UOM</td>
|
||||
<td>Qty</td>
|
||||
<td>Rate In INR</td>
|
||||
<td>Basic Value In INR</td>
|
||||
|
||||
<td>Discount In INR</td>
|
||||
<td>SGST In INR</td>
|
||||
<td>CGST In INR</td>
|
||||
@ -191,12 +246,7 @@
|
||||
?>
|
||||
<tr style="line-height: 1.5em;">
|
||||
<td><?php echo $index ; ?></td>
|
||||
<td><?php echo $record->MaterialName ; ?></td>
|
||||
<td align="right"><?php echo $record->UOM ; ?></td>
|
||||
<td align="right"><?php echo $record->Quantity ; ?></td>
|
||||
|
||||
<td align="right"><?php echo $record->Rate ; ?></td>
|
||||
<td align="right"><?php echo $record->BasicValue;?></td>
|
||||
|
||||
<td align="right"><?php echo $record->AfterDiscount;?></td>
|
||||
<td align="right"><?php echo $record->AfterSGST ; ?></td>
|
||||
<td align="right"><?php echo $record->AfterCGST ; ?></td>
|
||||
@ -223,10 +273,83 @@
|
||||
|
||||
?>
|
||||
|
||||
</tbody>
|
||||
</table>-->
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" rowspan="2"><strong>HSN Code</strong><br /><br /></td>
|
||||
<td style="text-align: center;" colspan="2"><strong>Discount In INR</strong><br /><br /></td>
|
||||
<td style="text-align: center;" colspan="2"><strong>SGST</strong> <br /><br /></td>
|
||||
<td style="text-align: center;" colspan="2"><strong>CGST </strong> <br /><br /></td>
|
||||
<td style="text-align: center;" colspan="2"><strong>IGST</strong><br /><br /></td>
|
||||
<td style="text-align: center;" colspan="2"><strong>Packaging In INR</strong> </td>
|
||||
<td style="text-align: center;" rowspan="2"><strong>Insurance In INR</strong> </td>
|
||||
<td style="text-align: center;" colspan="2"> <strong>Freight In INR </strong></td>
|
||||
<td style="text-align: center;" rowspan="2"><strong> Total Amount In INR</strong> </td>
|
||||
</tr>
|
||||
<tr style="line-height: 1.5em;">
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
<td style="text-align: center;"><strong>IN%</strong></td>
|
||||
<td style="text-align: center;"><strong>Amt</strong></td>
|
||||
</tr>
|
||||
<tr style="line-height: 1.5em;">
|
||||
<td style="text-align: right;">000666</td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">5%</td>
|
||||
<td style="text-align: right;">25</td>
|
||||
<td style="text-align: right;">150</td>
|
||||
</tr>
|
||||
<tr style="line-height: 1.5em;">
|
||||
<td style="text-align: right;">000666</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">20</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">30</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">50</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">60</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">500</td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;"> </td>
|
||||
<td style="text-align: right;">5000</td>
|
||||
<td style="text-align: right;">10000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>Payment Terms:</strong> <?php echo $PaymentTerms;?></p>
|
||||
|
||||
|
||||
|
||||
<p><strong>Special Instructions:</strong></p>
|
||||
<p><?php echo $ServiceDescription;?></p>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
|
||||
<tbody>
|
||||
@ -235,25 +358,28 @@
|
||||
|
||||
<td style="text-align: center;" rowspan="3">
|
||||
|
||||
<p><strong>Total Amount In Words</strong><br /><br /><br /></p>
|
||||
<p><strong>Total Amount In Words </strong><br /><br /><br /></p>
|
||||
|
||||
<p><em><strong><?php echo $TotalAmountInWords;?></strong></em></p>
|
||||
|
||||
</td>
|
||||
|
||||
<td style="text-align: right;"><strong>Total Amount Before Tax In INR <?php echo number_format($SubTotalAmount, 2, '.', '');?></strong></td>
|
||||
<td style="text-align: right;"><strong>Total Amount Before Tax In INR </strong></td>
|
||||
<td style="text-align: right;"><strong><?php echo number_format($SubTotalAmount, 2, '.', '');?> </strong></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="text-align: right;"><strong>Total Tax Amount In INR <?php echo number_format($TotalTax, 2, '.', '');?></strong></td>
|
||||
<td style="text-align: right;"><strong>Total Tax Amount In INR </strong></td>
|
||||
<td style="text-align: right;"><strong><?php echo number_format($TotalTax, 2, '.', '');?> </strong></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="text-align: right;"><strong>Total Amount After Tax In INR <?php echo number_format($OrderValue, 2, '.', '');?></strong></td>
|
||||
<td style="text-align: right;"><strong>Total Amount After Tax In INR </strong></td>
|
||||
<td style="text-align: right;"><strong><?php echo number_format($OrderValue, 2, '.', '');?> </strong></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@ -261,13 +387,36 @@
|
||||
|
||||
<td>
|
||||
|
||||
<p><strong>Payment Terms </strong></p>
|
||||
<?php
|
||||
|
||||
<p><?php echo $PaymentTerms;?></p>
|
||||
if(!empty($releasedetails)){
|
||||
|
||||
$releasedOn = '';
|
||||
foreach($releasedetails as $detail){
|
||||
$releasedOn= new DateTime($detail->ReleasedOn, new DateTimeZone('Asia/Kolkata'));
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<p> </p>
|
||||
<div align="Left"> <b> Released By : </b><?php echo $detail->FirstName;?></div>
|
||||
<div align="Left"> <b> Released On : </b><?php echo $releasedOn->format('d-m-Y');?></div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<td style="text-align: center;" colspan="2">
|
||||
|
||||
<p style="text-align: center;">Certified that the particulars given above are true and correct</p>
|
||||
|
||||
@ -282,44 +431,6 @@
|
||||
</table>
|
||||
<br/>
|
||||
<br/>
|
||||
<p><strong>Special Instruction:</strong></p>
|
||||
<p><?php echo $ServiceDescription;?></p>
|
||||
<?php
|
||||
|
||||
if(!empty($releasedetails)){
|
||||
|
||||
$releasedOn = '';
|
||||
foreach($releasedetails as $detail){
|
||||
$releasedOn= new DateTime($detail->ReleasedOn, new DateTimeZone('Asia/Kolkata'));
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<!-- <table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><b>Released By:</b></td>
|
||||
<td style="text-align:right;"><b>Released On:</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $detail->FirstName;?></td>
|
||||
<td style="text-align:right;"><?php echo $releasedOn->format('d-m-Y');?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table> -->
|
||||
|
||||
<p> </p>
|
||||
<div align="Left"> <b>Released By : </b><?php echo $detail->FirstName;?></div>
|
||||
<div align="Left"> <b>Released On : </b><?php echo $releasedOn->format('d-m-Y');?></div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user