po , amend po listing dispatch instruction issues and edit store requistion issue fixed
This commit is contained in:
parent
3bebd53661
commit
c9863762b5
@ -57,14 +57,19 @@
|
||||
<td><?php echo $record->StatusName ?></td>
|
||||
<td><?php $option = 'By Deliver Date';
|
||||
if($record->DeliveryOption == 1){
|
||||
$option = "By Schedule" ; }
|
||||
$option = "By Schedule" ; }
|
||||
else if($record->DeliveryOption == 2){
|
||||
$option = "By Dispatch Instruction" ;
|
||||
}
|
||||
echo $option ?></td>
|
||||
<td align="right"><?php
|
||||
$Ddt = new DateTime($record->DeliveryDate);
|
||||
<td align="right"><?php
|
||||
if($record->DeliveryOption == 0){ $Ddt = new DateTime($record->DeliveryDate);
|
||||
$Deliverydt = $Ddt->format('d-m-Y');
|
||||
echo $Deliverydt;
|
||||
}
|
||||
|
||||
if($record->DeliveryOption == 1){$Deliverydt = '';}
|
||||
echo $Deliverydt ?></td>
|
||||
else if($record->DeliveryOption == 1){$Deliverydt = '';
|
||||
echo $Deliverydt; }?></td>
|
||||
<td><?php echo $record->DeliverySchedule ?></td>
|
||||
|
||||
|
||||
|
||||
@ -54,16 +54,21 @@
|
||||
<td align="right"><?php echo $record->TotalOrderValue ?></td>
|
||||
|
||||
<td><?php echo $record->StatusName ?></td>
|
||||
<td><?php $option = 'By Deliver Date';
|
||||
<td><?php $option = 'By Deliver Date';
|
||||
if($record->DeliveryOption == 1){
|
||||
$option = "By Schedule" ; }
|
||||
$option = "By Schedule" ; }
|
||||
else if($record->DeliveryOption == 2){
|
||||
$option = "By Dispatch Instruction" ;
|
||||
}
|
||||
echo $option ?></td>
|
||||
<td align="right"><?php
|
||||
$Ddt = new DateTime($record->DeliveryDate);
|
||||
<td align="right"><?php
|
||||
if($record->DeliveryOption == 0){ $Ddt = new DateTime($record->DeliveryDate);
|
||||
$Deliverydt = $Ddt->format('d-m-Y');
|
||||
echo $Deliverydt;
|
||||
}
|
||||
|
||||
if($record->DeliveryOption == 1){$Deliverydt = '';}
|
||||
echo $Deliverydt ?></td>
|
||||
else if($record->DeliveryOption == 1){$Deliverydt = '';
|
||||
echo $Deliverydt; }?></td>
|
||||
<td><?php echo $record->DeliverySchedule ?></td>
|
||||
|
||||
<?php $statusCode = $record->StatusCode;
|
||||
|
||||
@ -447,7 +447,7 @@ if(!empty($RequistionDetails))
|
||||
<!-- <?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'=>'checked')); ?> </td>
|
||||
<td>
|
||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
||||
|
||||
|
||||
@ -460,7 +460,7 @@ if(!empty($RequistionDetails))
|
||||
<b><u>Select Delivery By</u></b><br/>
|
||||
<tr>
|
||||
<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'=>'checked')); ?> </td>
|
||||
<td>
|
||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
||||
|
||||
|
||||
@ -466,7 +466,7 @@ $(function() {
|
||||
type: 'hidden',
|
||||
id: 'Quantity' + j,
|
||||
name: 'Quantity'+ j,
|
||||
value:obj.Quantity
|
||||
value:obj.QuantityRequired
|
||||
}).appendTo('form');
|
||||
|
||||
$('<input>').attr({
|
||||
|
||||
@ -353,7 +353,7 @@ function vaildateBeforeOpenModal()
|
||||
<b><u>Select Delivery By</u></b><br/>
|
||||
<tr>
|
||||
<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'=>'checked')); ?> </td>
|
||||
<td>
|
||||
<?php echo form_label('Schedule', 'Schedule') ." ". form_radio(array("name"=>"DateRange", "id"=>"Schedule", "value"=>"1")); ?>
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@ span.highlight {
|
||||
|
||||
<td><?php echo $record->StatusName ?></td>
|
||||
<td align="right"><?php $dt = new DateTime($record->ReqDate);
|
||||
$ReqDate = $dt->format('d-m-y'); echo $ReqDate ?>
|
||||
$ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
||||
</td><td><?php echo $record->Remarks ?></td>
|
||||
|
||||
<td> <a data-toggle="tooltip" href="<?php echo base_url().'EditStoreRequisition?StoreReqNo='.$record->StoreReqNo; ?>"><i class="fa fa-pencil" data-toggle="tooltip" title="<?php echo $record->StoreReqNo; ?> - Click here to view addstorerequisitionslip"></i> </a> <a data-toggle="tooltip" onclick="DeleteRow('<?php echo $record->StoreReqNo; ?>' )" ><span class="glyphicon glyphicon-trash" title="<?php echo $record->StoreReqNo; ?> - Click here to Delete Requisition details"></span></a> </td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user