Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme

This commit is contained in:
aadhavan valli 2024-09-19 11:33:22 +05:30
commit ab54ba815a
7 changed files with 623 additions and 607 deletions

View File

@ -46,6 +46,14 @@
td {
white-space: nowrap;
}
.th-total-order-value{
text-align:"right" !important;
width:55%;
}
</style>
@ -84,7 +92,8 @@
<th>PONO</th>
<th>PO Type</th>
<th>Supplier Name</th>
<th>Total Order Value</th>
<th class="th th-total-order-value">
Total Order Value</th>
<th>PO Status</th>
<th>Delivery Option</th>
<th>Delivery Date</th>
@ -108,7 +117,7 @@
<td><?php echo $record->PONO ?></td>
<td><?php echo $record->ReqType ?></td>
<td><?php echo $record->SupplierName ?></td>
<td><?php echo $record->TotalOrderValue ?></td>
<td align="right"><?php echo $record->TotalOrderValue ?></td>
<!-- <td><?php echo $record->StatusName ?></td> -->
<td><?php
@ -130,7 +139,7 @@
}
?>
</td>
<td><?php $option = 'By Deliver Date';
<td align="center"><?php $option = 'By Deliver Date';
if ($record->DeliveryOption == 1) {
$option = "By Schedule";
} else if ($record->DeliveryOption == 2) {
@ -146,7 +155,7 @@
$Deliverydt = '';
echo $Deliverydt;
} ?></td>
<td><?php echo $record->DeliverySchedule ?></td>
<td align="center"> <?php echo $record->DeliverySchedule ?></td>

View File

@ -1075,7 +1075,7 @@
<label>File</label>
<input type="file" name="emp_file[]" class="form-control">
</div>
<div class="col-md-4" style="margin-top: 23px;">
<div class="col-md-4" style="margin-top: 32px;">
<button type="button" class="btn btn-primary btn-sm a1"
onclick="appendFilesFileds()" id="day">
Add
@ -1472,7 +1472,8 @@
});
if (!isValid) {
console.log('Validation failed. Please fill all required fields.');
alert('Validation failed. Please fill all required fields.');
return; // Stop the submission if validation fails
}

View File

@ -1024,14 +1024,14 @@ if (!empty($EmpDetails)) {
</div>
<div class="col-md-1" style="margin-top: 25px;">
<div class="col-md-1" style="margin-top: 32px;">
<a href="<?php echo base_url() . 'public/uploads/images/emp_files/' . $value['emp_file']; ?>"
download>
<i class="fa fa-download" aria-hidden="true"
style="font-size: 25px;"></i>
</a>
</div>
<div class="col-md-4" align="left" style="margin-top: 23px;">
<div class="col-md-4" align="left" style="margin-top: 32px;">
<button type="button" class="btn btn-danger btn-sm"
id="<?= $value['id']; ?>"
onclick="removeContact(this)">Delete
@ -1057,7 +1057,7 @@ if (!empty($EmpDetails)) {
<label>File</label>
<input type="file" name="emp_file[]" class="form-control">
</div>
<div class="col-md-4" style="margin-top: 23px;">
<div class="col-md-4" style="margin-top: 32px;">
<button type="button" class="btn btn-primary btn-sm a1"
onclick="appendFilesFileds()" id="day">
Add

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,10 @@ if (!empty($ReqPOType)) {
$strReqPOType = $ReqPOType;
}
?>
<style>
.btn-soft-primary {
color: white;
background-color: rgb(42, 206, 150);
@ -76,6 +79,11 @@ td {
width:15%;
}
.th-Sno{
text-align:center !important;
width:15%;
}
</style>
<script type="text/javascript">
window.onload = function() {
@ -183,7 +191,7 @@ td {
<table id="Items" class="table table-striped table-hover mb-0" style="font-size:12px;">
<thead>
<tr>
<th class="th">SNo</th>
<th class="th th-Sno" >SNo</th>
<th class="th th-materialCode">Material Code</th>
<th class="th th-materialName">Material Name</th>
<th class="th">Uom</th>
@ -201,8 +209,8 @@ td {
$index = $index + 1;
$materialdesc = isset($record->MaterialDescription) ? $record->MaterialDescription : "";
//echo $materialdesc;
?>
<tr id="<?php echo $index; ?>">
?>
<tr id="<?php echo $index; ?>">
<td align="center"><?php echo $index; ?></td>
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'te' . $index ?>" value="<?php echo $record->MaterialCode; ?>" />
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'tes' . $index ?>" value="<?php echo $record->Quantity; ?>" />

0
deletableFile.php Normal file → Executable file
View File

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>