Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme
This commit is contained in:
commit
ff8ef6db72
@ -53,7 +53,7 @@ class Expense extends BaseController
|
||||
// If no last serial number exists, start with 00001
|
||||
$lastNumber = $lastSerial ? (int)explode('/', $lastSerial)[1] : 0;
|
||||
$newNumber = str_pad($lastNumber + 1, 5, '0', STR_PAD_LEFT);
|
||||
return "$financialYear/$newNumber";
|
||||
return "NonIGR/$financialYear/$newNumber";
|
||||
}
|
||||
|
||||
public function addExpense()
|
||||
|
||||
@ -407,7 +407,7 @@ $currentday = date('d');
|
||||
$WH = 'WH' . $col;
|
||||
$OT = 'OT' . $col;
|
||||
|
||||
?>
|
||||
?>
|
||||
<td <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
class="celda_normal"
|
||||
@ -422,7 +422,7 @@ $currentday = date('d');
|
||||
<?php if (!empty($a->$WH)) {
|
||||
echo $a->$WH;
|
||||
} else {
|
||||
echo '0';
|
||||
echo '';
|
||||
} ?></td>
|
||||
<td <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
@ -438,7 +438,7 @@ $currentday = date('d');
|
||||
<?php if (!empty($a->$OT)) {
|
||||
echo $a->$OT;
|
||||
} else {
|
||||
echo '0';
|
||||
echo '';
|
||||
} ?></td>
|
||||
|
||||
<?php $flag = 0;
|
||||
|
||||
@ -181,8 +181,8 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#hdate").datepicker({
|
||||
format: 'dd-mm-yyyy', // Correct format for Bootstrap Datepicker
|
||||
startDate: new Date(), // Replace `d` with `new Date()` if `d` is not defined
|
||||
format: 'dd-mm-yyyy',
|
||||
// startDate: new Date(),
|
||||
autoclose: true,
|
||||
todayHighlight: true,
|
||||
clearBtn: true
|
||||
|
||||
@ -286,7 +286,7 @@
|
||||
<a href="#"
|
||||
class="editable-field"
|
||||
data-invoice-id="<?php echo $invoice->invoice_id; ?>">
|
||||
<?php echo !empty($invoice->received_qty) ? $invoice->received_qty : "Click to Edit"; ?>
|
||||
<?php echo !empty($invoice->received_qty) ? $invoice->received_qty : "0"; ?>
|
||||
</a>
|
||||
<div class="edit-container" style="display:none;">
|
||||
<input type="text" class="edit-input-field" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user