Skip to content

Commit

Permalink
Merge branch 'release/v0.0.94'
Browse files Browse the repository at this point in the history
* release/v0.0.94:
  fix: return fractional path in invoice value
  • Loading branch information
namnhce committed May 4, 2023
2 parents 475e1b3 + d1f4d50 commit 7198172
Show file tree
Hide file tree
Showing 13 changed files with 123 additions and 146 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ air:
cronjob:
go run ./cmd/cronjob/main.go

test:
test:
golangci-lint run
docker rm --volumes -f ${POSTGRES_TEST_CONTAINER}
docker-compose up -d ${POSTGRES_TEST_SERVICE}
@while ! docker exec $(POSTGRES_TEST_CONTAINER) pg_isready > /dev/null; do \
Expand Down
40 changes: 20 additions & 20 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7939,13 +7939,13 @@ const docTemplate = `{
"type": "object",
"properties": {
"cost": {
"type": "integer"
"type": "number"
},
"description": {
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"isExternal": {
"type": "boolean"
Expand All @@ -7954,7 +7954,7 @@ const docTemplate = `{
"type": "number"
},
"unitCost": {
"type": "integer"
"type": "number"
}
}
},
Expand Down Expand Up @@ -7992,7 +7992,7 @@ const docTemplate = `{
"type": "string"
},
"discount": {
"type": "integer",
"type": "number",
"minimum": 0
},
"dueDate": {
Expand Down Expand Up @@ -8035,15 +8035,15 @@ const docTemplate = `{
"type": "string"
},
"subtotal": {
"type": "integer",
"type": "number",
"minimum": 0
},
"tax": {
"type": "integer",
"type": "number",
"minimum": 0
},
"total": {
"type": "integer",
"type": "number",
"minimum": 0
}
}
Expand Down Expand Up @@ -10179,7 +10179,7 @@ const docTemplate = `{
}
},
"conversionAmount": {
"type": "integer"
"type": "number"
},
"conversionRate": {
"type": "number"
Expand All @@ -10188,7 +10188,7 @@ const docTemplate = `{
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"dueAt": {
"type": "string"
Expand Down Expand Up @@ -10239,16 +10239,16 @@ const docTemplate = `{
"type": "string"
},
"subTotal": {
"type": "integer"
"type": "number"
},
"tax": {
"type": "integer"
"type": "number"
},
"threadID": {
"type": "string"
},
"total": {
"type": "integer"
"type": "number"
},
"year": {
"type": "integer"
Expand Down Expand Up @@ -10277,7 +10277,7 @@ const docTemplate = `{
"$ref": "#/definitions/view.CompanyInfo"
},
"conversionAmount": {
"type": "integer"
"type": "number"
},
"conversionRate": {
"type": "number"
Expand All @@ -10286,7 +10286,7 @@ const docTemplate = `{
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"dueAt": {
"type": "string"
Expand Down Expand Up @@ -10340,16 +10340,16 @@ const docTemplate = `{
"type": "string"
},
"subTotal": {
"type": "integer"
"type": "number"
},
"tax": {
"type": "integer"
"type": "number"
},
"threadID": {
"type": "string"
},
"total": {
"type": "integer"
"type": "number"
},
"year": {
"type": "integer"
Expand All @@ -10360,13 +10360,13 @@ const docTemplate = `{
"type": "object",
"properties": {
"cost": {
"type": "integer"
"type": "number"
},
"description": {
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"isExternal": {
"type": "boolean"
Expand All @@ -10375,7 +10375,7 @@ const docTemplate = `{
"type": "number"
},
"unitCost": {
"type": "integer"
"type": "number"
}
}
},
Expand Down
40 changes: 20 additions & 20 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7931,13 +7931,13 @@
"type": "object",
"properties": {
"cost": {
"type": "integer"
"type": "number"
},
"description": {
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"isExternal": {
"type": "boolean"
Expand All @@ -7946,7 +7946,7 @@
"type": "number"
},
"unitCost": {
"type": "integer"
"type": "number"
}
}
},
Expand Down Expand Up @@ -7984,7 +7984,7 @@
"type": "string"
},
"discount": {
"type": "integer",
"type": "number",
"minimum": 0
},
"dueDate": {
Expand Down Expand Up @@ -8027,15 +8027,15 @@
"type": "string"
},
"subtotal": {
"type": "integer",
"type": "number",
"minimum": 0
},
"tax": {
"type": "integer",
"type": "number",
"minimum": 0
},
"total": {
"type": "integer",
"type": "number",
"minimum": 0
}
}
Expand Down Expand Up @@ -10171,7 +10171,7 @@
}
},
"conversionAmount": {
"type": "integer"
"type": "number"
},
"conversionRate": {
"type": "number"
Expand All @@ -10180,7 +10180,7 @@
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"dueAt": {
"type": "string"
Expand Down Expand Up @@ -10231,16 +10231,16 @@
"type": "string"
},
"subTotal": {
"type": "integer"
"type": "number"
},
"tax": {
"type": "integer"
"type": "number"
},
"threadID": {
"type": "string"
},
"total": {
"type": "integer"
"type": "number"
},
"year": {
"type": "integer"
Expand Down Expand Up @@ -10269,7 +10269,7 @@
"$ref": "#/definitions/view.CompanyInfo"
},
"conversionAmount": {
"type": "integer"
"type": "number"
},
"conversionRate": {
"type": "number"
Expand All @@ -10278,7 +10278,7 @@
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"dueAt": {
"type": "string"
Expand Down Expand Up @@ -10332,16 +10332,16 @@
"type": "string"
},
"subTotal": {
"type": "integer"
"type": "number"
},
"tax": {
"type": "integer"
"type": "number"
},
"threadID": {
"type": "string"
},
"total": {
"type": "integer"
"type": "number"
},
"year": {
"type": "integer"
Expand All @@ -10352,13 +10352,13 @@
"type": "object",
"properties": {
"cost": {
"type": "integer"
"type": "number"
},
"description": {
"type": "string"
},
"discount": {
"type": "integer"
"type": "number"
},
"isExternal": {
"type": "boolean"
Expand All @@ -10367,7 +10367,7 @@
"type": "number"
},
"unitCost": {
"type": "integer"
"type": "number"
}
}
},
Expand Down
Loading

0 comments on commit 7198172

Please sign in to comment.