added rahimi dashboard 2

This commit is contained in:
2026-08-03 22:21:07 +03:30
parent 406ab4387f
commit fab3c2270a
+5 -5
View File
@@ -53,7 +53,7 @@ class MontzarReconcileService
foreach ($uncovered as $order) {
$diffs[] = [
'code' => 'local_uncovered',
'reason' => 'خرید/فروش آبشده کیف اصلی در اپ هست ولی به همکار مچ نشده (بدون provider_id / مبلغ منتظر).',
'reason' => 'خرید یا فروش آبشده در اپ ثبت شده ولی نزد همکار ثبت نشده است.',
'colleague' => null,
'local' => $order,
];
@@ -96,7 +96,7 @@ class MontzarReconcileService
}
$diffs[] = [
'code' => 'colleague_site_only',
'reason' => 'سند «از سایت» روی دفتر همکار هست ولی سفارش پوشش‌شدهٔ متناظر در اپ پیدا نشد.',
'reason' => 'سند «از سایت» در دفتر همکار هست ولی سفارش متناظر در اپ پیدا نشد.',
'colleague' => $this->publicColleagueRow($row),
'local' => null,
];
@@ -109,7 +109,7 @@ class MontzarReconcileService
}
$diffs[] = [
'code' => 'local_covered_not_in_ledger',
'reason' => 'سفارش در اپ پوشش همکار دارد ولی در ریز دفتر همکار (بازه) پیدا نشد.',
'reason' => 'سفارش در اپ نزد همکار ثبت شده ولی در ریز دفتر همکار این بازه پیدا نشد.',
'colleague' => null,
'local' => $order,
];
@@ -121,7 +121,7 @@ class MontzarReconcileService
}
$diffs[] = [
'code' => 'gift_uncovered',
'reason' => 'پاداش در اپ ثبت شده؛ سند پوشش روی دفتر همکار در بازه جور نشد.',
'reason' => 'پاداش در اپ ثبت شده؛ سند متناظر در دفتر همکار این بازه پیدا نشد.',
'colleague' => null,
'local' => $gift,
];
@@ -381,7 +381,7 @@ class MontzarReconcileService
'id' => (int) $row->id,
'type' => 'gift',
'direction' => 1,
'direction_label' => 'خرید پوشش پاداش',
'direction_label' => 'خرید پاداش از همکار',
'amount' => round((float) $row->gold, 3),
'cash' => 0,
'montzar_cash' => 0,