Fix: ProductLedger was crapping out because of ambiguous join in opening balace. (Probably triggered by upgrade in sqlalchemy)

Chore: Updated the dev dependencies as Angular 7 does not support Typescript 3.2 and further
This commit is contained in:
Amritanshu
2019-04-15 11:02:54 +05:30
parent 72e8801472
commit 403b9a207a
5 changed files with 8 additions and 9 deletions

View File

@ -20,8 +20,8 @@ export class LedgerService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {
}
list(date: string, startDate: string, finishDate): Observable<Ledger> {
const listUrl = (date === null) ? url : `${url}/${date}`;
list(id: string, startDate: string, finishDate): Observable<Ledger> {
const listUrl = (id === null) ? url : `${url}/${id}`;
const options = {params: new HttpParams()};
if (startDate !== null) {
options.params = options.params.set('s', startDate);