Streamline expense reimbursement by extracting information from fiscal documents using image processing, simplifying the finance department workflow, eliminating errors, and saving time.
Criação da classe InternalReceiptResponse: ele exibe "Saved Image" quando o objeto possuí uma imagem e só para controle exibe "The file is missing" caso de alguma forma um objeto seja criado sem imagem.
Uso desta mesma response no metodo Validate (InternalValidatorService) que é chamada na EntryController.
Precisamos ver o programa rodar com as endpoints finais para ver onde mais precisa ser concertado.
Mudei o comentado de um método na mesma classe, mas não muda o funcionamento, aquela do tipo de arquivo que ainda tem que ser arrumada.
Criação da classe InternalReceiptResponse: ele exibe "Saved Image" quando o objeto possuí uma imagem e só para controle exibe "The file is missing" caso de alguma forma um objeto seja criado sem imagem.
Uso desta mesma response no metodo Validate (InternalValidatorService) que é chamada na EntryController.
Precisamos ver o programa rodar com as endpoints finais para ver onde mais precisa ser concertado.
Mudei o comentado de um método na mesma classe, mas não muda o funcionamento, aquela do tipo de arquivo que ainda tem que ser arrumada.