Commit 3a97bb11 by hcy001
parents 588ac347 2b721374
Showing with 1 additions and 1 deletions
...@@ -238,7 +238,7 @@ class QuoteModel extends Model ...@@ -238,7 +238,7 @@ class QuoteModel extends Model
foreach ($data as &$v) { foreach ($data as &$v) {
$v["inquiry_sn_origin"] = $v["inquiry_sn"]; $v["inquiry_sn_origin"] = $v["inquiry_sn"];
$currency_sign = $v['currency'] == 1 ? '¥' : '$'; $currency_sign = array_get(Config('quote.currency_sign'), $v['currency'], '¥');
$v['currency_val'] = array_get(Config('quote.currency'), $v['currency'], '人民币'); $v['currency_val'] = array_get(Config('quote.currency'), $v['currency'], '人民币');
$v['price'] = $v['currency'] == 1 ? $currency_sign.$v['price_rmb'] : $currency_sign.$v['price_origin']; $v['price'] = $v['currency'] == 1 ? $currency_sign.$v['price_rmb'] : $currency_sign.$v['price_origin'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment