feat: update sms units to kilogram transactions notes price source label and trading closed message

This commit is contained in:
2026-11-18 18:25:34 +03:30
parent 0004192cbc
commit 3ce2c48438
19 changed files with 382 additions and 49 deletions
+2 -2
View File
@@ -280,7 +280,7 @@ class MontzarReconcileService
{
$gold = 0.0;
$cash = 0.0;
$goldUnit = 'گرم';
$goldUnit = 'کیلوگرم';
$cashUnit = 'ریال';
foreach ($raw as $item) {
@@ -291,7 +291,7 @@ class MontzarReconcileService
$value = (float) ($item['value'] ?? 0);
if ($eng === 'gold' || ($item['name_fa'] ?? '') === 'طلا') {
$gold = $value;
$goldUnit = (string) ($item['unit'] ?? 'گرم');
$goldUnit = (string) ($item['unit'] ?? 'کیلوگرم');
}
if ($eng === 'cash' || ($item['name_fa'] ?? '') === 'ریال') {
$cash = $value;