Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
@@ -337,7 +337,11 @@ if($rma['header']['servicereport_available'] == 0 ){
|
||||
$view .='<a href="#">'.($rma_return_tab2 ?? 'Questions').'</a>';
|
||||
}
|
||||
|
||||
$view .= '</div>';
|
||||
$view .= '</div>';
|
||||
|
||||
$view .= '<div class="tabs">
|
||||
<a href="#" class="active">'.$tab1.'</a>
|
||||
</div>';
|
||||
|
||||
$view .= '<div class="content-block tab-content active">
|
||||
<div class="form responsive-width-100">
|
||||
@@ -356,6 +360,10 @@ $view .= '<div class="content-block tab-content active">
|
||||
</div>
|
||||
</div>';
|
||||
|
||||
$view .= '<div class="tabs">
|
||||
<a href="#">'.$tab2.'</a>
|
||||
</div>';
|
||||
|
||||
$view .= '<div class="content-block tab-content">
|
||||
<div class="form responsive-width-100">';
|
||||
if($rma['header']['servicereport_available'] == 0 ){
|
||||
|
||||
Reference in New Issue
Block a user