FIX_RACK_RATE
This commit is contained in:
parent
16e791ba2b
commit
aa67f3dcf9
@ -673,8 +673,12 @@ $('#grid').change(function()
|
||||
|
||||
if(unit_length == 1 || unit_length == 0){
|
||||
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv').find('input').removeAttr('required');
|
||||
// $('.unitDiv').hide();
|
||||
// $('.unitDiv').find('input').removeAttr('required');
|
||||
setTimeout(() => {
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv input').removeAttr('required');
|
||||
}, 1000); // Run after DOM updates
|
||||
}else{
|
||||
$('.unitDiv').show();
|
||||
$('.unitDiv').find('input').attr('required', true);
|
||||
@ -1341,8 +1345,13 @@ function addGridHTML(event = false, data = false, ui_type = false, si_or_bp = fa
|
||||
}
|
||||
|
||||
if(unit_length == 1 || unit_length == 0){
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv').find('input').removeAttr('required');
|
||||
// alert("Hello World");
|
||||
// $('.unitDiv').hide();
|
||||
// $('.unitDiv').find('input').removeAttr('required');
|
||||
setTimeout(() => {
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv input').removeAttr('required');
|
||||
}, 1000); // Run after DOM updates
|
||||
}else{
|
||||
$('.unitDiv').show();
|
||||
$('.unitDiv').find('input').attr('required', true);
|
||||
@ -1840,8 +1849,12 @@ function appendGridtHtml(ui_type = false, secondary = false, data = false)
|
||||
// Count++
|
||||
|
||||
if(unit_length == 1 || unit_length == 0){
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv').find('input').removeAttr('required');
|
||||
// $('.unitDiv').hide();
|
||||
// $('.unitDiv').find('input').removeAttr('required');
|
||||
setTimeout(() => {
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv input').removeAttr('required');
|
||||
}, 1000); // Run after DOM updates
|
||||
}else{
|
||||
$('.unitDiv').show();
|
||||
$('.unitDiv').find('input').attr('required', true);
|
||||
@ -3936,8 +3949,12 @@ function appendFourthAndSixthRackRate(data = null, uniqueId = null)
|
||||
grid_container.insertAdjacentHTML('beforeend', grid_html);
|
||||
|
||||
if(unit_length == 1 || unit_length == 0){
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv').find('input').removeAttr('required');
|
||||
// $('.unitDiv').hide();
|
||||
// $('.unitDiv').find('input').removeAttr('required');
|
||||
setTimeout(() => {
|
||||
$('.unitDiv').hide();
|
||||
$('.unitDiv input').removeAttr('required');
|
||||
}, 1000); // Run after DOM updates
|
||||
}else{
|
||||
$('.unitDiv').show();
|
||||
$('.unitDiv').find('input').attr('required', true);
|
||||
|
||||
@ -10,9 +10,9 @@ class ExcelMergeHelperTest extends TestCase
|
||||
{
|
||||
// Use the paths you provided
|
||||
$filePaths = [
|
||||
['file_path' =>WRITEPATH.'uploads/lead_files/Member_Data.xlsx','sheets' => []],
|
||||
['file_path' =>'/home/venba/Downloads/RFQ_qw_Office Package_20250326112828.xlsx','sheets' => []],
|
||||
|
||||
['file_path' =>WRITEPATH.'/tmp/RFQ_ABC_GMC_20241220140640.xlsx','sheets' => []],
|
||||
['file_path' =>'/home/venba/Downloads/RFQ_qw_Office Package_20250326112828 (copy).xlsx','sheets' => []],
|
||||
|
||||
// ['file_path' =>'/home/venba/Downloads/Employee_data.xlsx','sheets' => []],
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user