allow zero amount for expenses
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
</a> -->
|
</a> -->
|
||||||
|
|
||||||
<h1 align="center" style="margin-bottom:0">Hammond</h1>
|
<h1 align="center" style="margin-bottom:0">Hammond</h1>
|
||||||
<p align="center">Current Version - 2021.08.13</p>
|
<p align="center">Current Version - 2021.09.20</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
A self-hosted vehicle expense tracking system with support for multiple users.
|
A self-hosted vehicle expense tracking system with support for multiple users.
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ type UpdateExpenseRequest struct {
|
|||||||
type CreateExpenseRequest struct {
|
type CreateExpenseRequest struct {
|
||||||
VehicleID string `form:"vehicleId" json:"vehicleId" binding:"required"`
|
VehicleID string `form:"vehicleId" json:"vehicleId" binding:"required"`
|
||||||
|
|
||||||
Amount float32 `form:"amount" json:"amount" binding:"required"`
|
Amount float32 `form:"amount" json:"amount"`
|
||||||
OdoReading int `form:"odoReading" json:"odoReading"`
|
OdoReading int `form:"odoReading" json:"odoReading"`
|
||||||
|
|
||||||
Comments string `form:"comments" json:"comments" `
|
Comments string `form:"comments" json:"comments" `
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ export default {
|
|||||||
<table class="table is-hoverable">
|
<table class="table is-hoverable">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current Version</td>
|
<td>Current Version</td>
|
||||||
<td>2021.08.13</td>
|
<td>2021.09.20</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Website</td>
|
<td>Website</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user