@@ 84-96 (lines=13) @@ | ||
81 | <tbody> |
|
82 | <?php |
|
83 | $no = 1; |
|
84 | foreach ($pending as $exception) : |
|
85 | $item = $exception->position; |
|
86 | ?> |
|
87 | <tr> |
|
88 | <td class="text-center text-bold"><?= $no++ ?></td> |
|
89 | <td> |
|
90 | <?= $item->renderDescription() ?><br> |
|
91 | <?= $exception->getMessage() ?> |
|
92 | </td> |
|
93 | <td align="right" |
|
94 | class="text-bold"><?= Yii::$app->formatter->asCurrency($item->cost, $item->getCurrency()) ?></td> |
|
95 | <td></td> |
|
96 | </tr> |
|
97 | <?php endforeach; ?> |
|
98 | </tbody> |
|
99 | </table> |
|
@@ 129-138 (lines=10) @@ | ||
126 | </thead> |
|
127 | <tbody> |
|
128 | <?php $no = 1 ?> |
|
129 | <?php foreach ($success as $purchase) : ?> |
|
130 | <?php $item = $purchase->position ?> |
|
131 | <tr> |
|
132 | <td class="text-center text-bold"><?= $no++ ?></td> |
|
133 | <td><?= $item->renderDescription() ?></td> |
|
134 | <td><?= $purchase->renderNotes() ?></td> |
|
135 | <td align="right" |
|
136 | class="text-bold"><?= Yii::$app->formatter->asCurrency($item->cost, $item->getCurrency()) ?></td> |
|
137 | <td></td> |
|
138 | </tr> |
|
139 | <?php endforeach; ?> |
|
140 | </tbody> |
|
141 | </table> |