Autosave: 20260203-074408
This commit is contained in:
parent
e2dbd8b86f
commit
762a54dd3e
@ -58,8 +58,8 @@ foreach ($all_days_data as $day_data) {
|
||||
|
||||
<style>
|
||||
.table thead th {
|
||||
background-color: #e9ecef;
|
||||
color: #495057;
|
||||
background-color: #337ab7;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
@ -176,7 +176,16 @@ include 'layout_header.php';
|
||||
<td><?php echo htmlspecialchars($pedido['monto_total']); ?></td>
|
||||
<td><?php echo htmlspecialchars($pedido['monto_debe']); ?></td>
|
||||
<td class="editable" data-id="<?php echo $pedido['id']; ?>" data-field="codigo_rastreo"><?php echo htmlspecialchars($pedido['codigo_rastreo'] ?? 'N/A'); ?></td>
|
||||
<td class="editable" data-id="<?php echo $pedido['id']; ?>" data-field="codigo_tracking"><?php echo htmlspecialchars($pedido['codigo_tracking'] ?? 'N/A'); ?></td>
|
||||
<td class="editable" data-id="<?php echo $pedido['id']; ?>" data-field="codigo_tracking">
|
||||
<?php
|
||||
$tracking = htmlspecialchars($pedido['codigo_tracking'] ?? 'N/A');
|
||||
echo $tracking;
|
||||
if ($tracking !== 'N/A' && !empty($tracking)) {
|
||||
$tracking_url = 'https://shalom.com.pe/rastrea?guia=' . urlencode($tracking);
|
||||
echo ' <a href="' . $tracking_url . '" target="_blank" class="btn btn-sm btn-outline-info p-1" title="Rastrear en Shalom">🔎</a>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td class="editable" data-id="<?php echo $pedido['id']; ?>" data-field="clave"><?php echo htmlspecialchars($pedido['clave'] ?? 'N/A'); ?></td>
|
||||
<td><span class="badge" style="<?php echo getStatusStyle($pedido['estado']); ?>"><?php echo ($pedido['estado'] == 'Gestion') ? 'GESTIONES ⚙️' : htmlspecialchars($pedido['estado']); ?></span></td>
|
||||
<?php if ($user_role !== 'Asesor'): ?><td><?php echo htmlspecialchars($pedido['asesor_nombre'] ?? 'N/A'); ?></td><?php endif; ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user