Make budget ID mandatory for reimbursements

This commit is contained in:
Yingtong Li 2022-01-26 21:44:35 +11:00
parent 7d337c92d1
commit 5c8c4750a5
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -2,7 +2,7 @@
{#
Society Self-Service
Copyright © 2018-2019 Yingtong Li (RunasSudo)
Copyright © 2018-2022 Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -43,8 +43,8 @@
</div>
</div>
</div>
<div class="ui inline grid field">
<label class="three wide column">Budget ID (if known)</label>
<div class="ui required grid field">
<label class="three wide column">Budget ID</label>
<input class="eleven wide column" type="text" name="budget_id" value="{{ claim.budget_id }}">
</div>
<div class="ui required inline grid field">
@ -156,7 +156,8 @@
keyboardShortcuts: false,
fields: {
purpose: 'empty',
date: 'empty'
date: 'empty',
budget_id: 'empty'
},
onSuccess: function(event, fields) {
var items_data = [];