From a8d2f9cb0aceb23f919b146fa3b130325a872a35 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Mon, 18 May 2026 23:36:50 +0000 Subject: [PATCH] Autosave: 20260518-233649 --- assets/css/style.css | 2 +- calculo_costos_v2.php | 374 +++++++++------- calculo_costos_v3.php | 398 ++++++++++++++++++ ...provincia_costs_to_marketing_costos_v3.sql | 4 + delete_marketing_video_v3.php | 33 ++ layout_header.php | 6 +- save_marketing_video_v3.php | 58 +++ update_marketing_costos_field.php | 16 +- update_marketing_costos_field_v3.php | 76 ++++ 9 files changed, 794 insertions(+), 173 deletions(-) create mode 100644 calculo_costos_v3.php create mode 100644 db/migrations/025_add_provincia_costs_to_marketing_costos_v3.sql create mode 100644 delete_marketing_video_v3.php create mode 100644 save_marketing_video_v3.php create mode 100644 update_marketing_costos_field_v3.php diff --git a/assets/css/style.css b/assets/css/style.css index 54567d01..00f57bf5 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -116,7 +116,7 @@ body { body.sidebar-active .content { /* Don't push content, but apply a visual effect */ filter: blur(3px) brightness(0.6); - pointer-events: none; /* Prevent interaction with content when sidebar is open */ + /* pointer-events: none; REMOVED to allow interaction even if sidebar is active */ } /* The body itself gets an overlay to darken it */ diff --git a/calculo_costos_v2.php b/calculo_costos_v2.php index 6f6b9760..c63276d8 100644 --- a/calculo_costos_v2.php +++ b/calculo_costos_v2.php @@ -1,4 +1,6 @@ fetchAll(PDO::FETCH_ASSOC); -
-
-
-

Cálculo de Costos Versión 2

-

Edición directa mediante cuadros de texto. Escribe y presiona "Guardar".

-
-
- -
+
+
+

Edición directa: Escribe en los cuadros y los cambios se guardarán al salir del cuadro.

+
+ + +
+
- - - + + + -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - +
+
+
OrdenProductoImagenCosto Prod.FilmAsesoraDeliveryPublicidadInversión TotalPromo 1Recaudo 1Promo 2Recaudo 2Promo 3Recaudo 3Acción
+ + + + + + + + + + + + + + + + + + + + + + + 0 ? $p1 - $inversion_total : null; - $r2 = $p2 > 0 ? $p2 - $inversion_total : null; - $r3 = $p3 > 0 ? $p3 - $inversion_total : null; - ?> - - - + + - - - - - - - + - - - - - - - - - - - - - - -
OrdenProductoImagenCosto Prod.FilmAsesoraDeliveryPublicidadInversión TotalPromo 1Recaudo 1Promo 2Recaudo 2Promo 3Recaudo 3Acción
+ $r1 = $p1 > 0 ? $p1 - $inversion_total : null; + $r2 = $p2 > 0 ? $p2 - $inversion_total : null; + $r3 = $p3 > 0 ? $p3 - $inversion_total : null; + ?> +
+
-
- - - - -
- S/ +
+
+ + + +
+
-
-
- - -
-
-
+ + + + + + + + +
+ S/ +
+ + + +
+ + +
+ + +
+ + + + + + + +
-