-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fees: create direct link to fee record from the loan pid
* Adds loan.pid , patron.pid, and organisation.currency to the resource fee es index. * Fixes units testing problem with overdue fees creation. * Increases fees unit testing fixtures and third organisation fixtures. * Removes currency field from resource fee. * Removes the option --fee from the loan creation cli. Co-Authored-by: Aly Badr <[email protected]>
- Loading branch information
Aly Badr
committed
Jan 27, 2020
1 parent
2d19c6d
commit 70da644
Showing
13 changed files
with
126 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -939,5 +939,26 @@ | |
"street": "Lungolago 118", | ||
"communication_channel": "email", | ||
"communication_language": "ita" | ||
}, | ||
{ | ||
"$schema": "https://ils.rero.ch/schema/patrons/patron-v0.0.1.json", | ||
"barcode": "999999", | ||
"birth_date": "1970-01-01", | ||
"city": "Flueli-Ranft", | ||
"email": "[email protected]", | ||
"first_name": "Guillaume", | ||
"roles": [ | ||
"patron" | ||
], | ||
"last_name": "de Baskerville", | ||
"password": "123456", | ||
"patron_type": { | ||
"$ref": "https://ils.rero.ch/api/patron_types/5" | ||
}, | ||
"phone": "+41324993585", | ||
"postal_code": "6073", | ||
"street": "Ranftweg 1", | ||
"communication_channel": "email", | ||
"communication_language": "eng" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
"fee_type", | ||
"location", | ||
"amount", | ||
"currency", | ||
"status" | ||
], | ||
"properties": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1916,7 +1916,6 @@ | |
"$ref": "https://ils.rero.ch/api/locations/loc1" | ||
}, | ||
"amount": 0.5, | ||
"currency": "CHF", | ||
"status": "open" | ||
} | ||
} |