Better incorporate fixture data into reporting
Before this commit, if a portfolio wasn't present in the spending fixture data, the reporting screen would be empty -- even if the portfolio had applications and environments associated with it on the database. Now, 0s appear if an application and / or environment isn't present in the fixture data.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<span v-html='formatDollars(application.last_month || 0)'></span>
|
||||
</td>
|
||||
<td class="table-cell--align-right">
|
||||
<span v-html='formatDollars(application.total)'></span>
|
||||
<span v-html='formatDollars(application.total || 0)'></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
@@ -67,7 +67,7 @@
|
||||
<span v-html='formatDollars(environment.last_month || 0)'></span>
|
||||
</td>
|
||||
<td class="table-cell--align-right">
|
||||
<span v-html='formatDollars(environment.total)'></span>
|
||||
<span v-html='formatDollars(environment.total || 0)'></span>
|
||||
</td>
|
||||
</tr>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user