| @@ 93-100 (lines=8) @@ | ||
| 90 | $date |
|
| 91 | ); |
|
| 92 | ||
| 93 | if ($row['foreign_exchange_buying'] > 0) { |
|
| 94 | $rates[] = $this->buildRate( |
|
| 95 | $row['foreign_exchange_buying'] / $row['unit'], |
|
| 96 | $row['currencyCode'], |
|
| 97 | 'foreign_exchange_buying', |
|
| 98 | $date |
|
| 99 | ); |
|
| 100 | } |
|
| 101 | ||
| 102 | if ($row['foreign_exchange_selling'] > 0) { |
|
| 103 | $rates[] = $this->buildRate( |
|
| @@ 102-109 (lines=8) @@ | ||
| 99 | ); |
|
| 100 | } |
|
| 101 | ||
| 102 | if ($row['foreign_exchange_selling'] > 0) { |
|
| 103 | $rates[] = $this->buildRate( |
|
| 104 | $row['foreign_exchange_selling'] / $row['unit'], |
|
| 105 | $row['currencyCode'], |
|
| 106 | 'foreign_exchange_selling', |
|
| 107 | $this->date |
|
| 108 | ); |
|
| 109 | } |
|
| 110 | ||
| 111 | if ($row['foreign_cash_buying'] > 0) { |
|
| 112 | $rates[] = $this->buildRate( |
|
| @@ 111-118 (lines=8) @@ | ||
| 108 | ); |
|
| 109 | } |
|
| 110 | ||
| 111 | if ($row['foreign_cash_buying'] > 0) { |
|
| 112 | $rates[] = $this->buildRate( |
|
| 113 | $row['foreign_cash_buying'] / $row['unit'], |
|
| 114 | $row['currencyCode'], |
|
| 115 | 'foreign_cash_buying', |
|
| 116 | $this->date |
|
| 117 | ); |
|
| 118 | } |
|
| 119 | ||
| 120 | if ($row['foreign_cash_selling'] > 0) { |
|
| 121 | $rates[] = $this->buildRate( |
|
| @@ 120-127 (lines=8) @@ | ||
| 117 | ); |
|
| 118 | } |
|
| 119 | ||
| 120 | if ($row['foreign_cash_selling'] > 0) { |
|
| 121 | $rates[] = $this->buildRate( |
|
| 122 | $row['foreign_cash_selling'] / $row['unit'], |
|
| 123 | $row['currencyCode'], |
|
| 124 | 'foreign_cash_selling', |
|
| 125 | $this->date |
|
| 126 | ); |
|
| 127 | } |
|
| 128 | } |
|
| 129 | }); |
|
| 130 | ||