feat: update sms units to kilogram transactions notes price source label and trading closed message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user