API for object groups.

This commit is contained in:
James Cole
2020-06-20 16:28:23 +02:00
parent c40f6f2864
commit 1a154a8d45
11 changed files with 416 additions and 2 deletions

View File

@@ -1684,5 +1684,6 @@ return [
'update_object_group' => 'Update group',
'updated_object_group' => 'Succesfully updated group ":title"',
'deleted_object_group' => 'Succesfully deleted group ":title"',
'object_group' => 'Group',
];

View File

@@ -36,6 +36,12 @@
<td style="width:40%;">{{ 'account'|_ }}</td>
<td><a href="{{ route('accounts.show', piggyBank.account_id) }}">{{ piggyBank.account.name }}</a></td>
</tr>
{% if piggy.object_group_title %}
<tr>
<td style="width:40%;">{{ 'object_group'|_ }}</td>
<td>{{ piggy.object_group_title }}</a></td>
</tr>
{% endif %}
<tr>
<td>{{ 'target_amount'|_ }}</td>
<td>