fix some bugs from accounting 4
This commit is contained in:
@@ -194,6 +194,20 @@ class AccountingProductDocMapper
|
||||
return 'طلا';
|
||||
}
|
||||
|
||||
/**
|
||||
* برچسب ستون type جدول sync زرین: تعدادی → سکه/شمش/کارساخته؛ وزنی → طلا/نقره.
|
||||
*
|
||||
* @param Product|array|null $product
|
||||
*/
|
||||
public function zarinSyncTypeLabel($product): string
|
||||
{
|
||||
if ($this->isCountDoc($product)) {
|
||||
return $this->kindLabel($this->resolveKind($product));
|
||||
}
|
||||
|
||||
return $this->metalLabel($product);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve Product model from storeTrade/walletGold payload.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user