+ {/* Mobile: horizontal scroll row */}
+
+ {MOCK_BALANCES.map(rb => {
+ const debt = Math.max(0, rb.totalAmount - rb.paidAmount)
+ const paid = debt === 0
+ const sel = selectedRoom?.roomId === rb.roomId
+ return (
+
+ )
+ })}
+
+ {/* Desktop: vertical list */}
+
{MOCK_BALANCES.map(rb => {
const debt = Math.max(0, rb.totalAmount - rb.paidAmount)
const paid = debt === 0
@@ -313,7 +340,7 @@ export function PosPage() {
{/* ── Center: payment form ── */}
-
+
{selectedRoom ? (
<>
{/* Guest info */}
@@ -781,7 +808,7 @@ export function PosPage() {
{/* ── Receipt success overlay ── */}
{lastReceipt && (
-
+
Оплата принята
@@ -815,7 +842,7 @@ export function PosPage() {
{/* ── Close shift confirmation modal ── */}
{closeConfirm && (
-
+
diff --git a/src/pages/ReportsPage.tsx b/src/pages/ReportsPage.tsx
index 32f012f..36f888c 100644
--- a/src/pages/ReportsPage.tsx
+++ b/src/pages/ReportsPage.tsx
@@ -21,7 +21,7 @@ const maxOcc = Math.max(...OCC)
export function ReportsPage() {
return (
-
+
@@ -33,7 +33,7 @@ export function ReportsPage() {
{/* KPI cards */}
-
+
{KPI.map(k => (
{k.label}
diff --git a/src/pages/TariffsPage.tsx b/src/pages/TariffsPage.tsx
index ced2f09..fb00878 100644
--- a/src/pages/TariffsPage.tsx
+++ b/src/pages/TariffsPage.tsx
@@ -200,8 +200,8 @@ function TariffModal({
>
{/* Name + Code */}
-
-
+
+
@@ -223,7 +223,7 @@ function TariffModal({
-
+
{mealPlans.map(mp => (