Update media file interface and how bills are returned.
This commit is contained in:
@@ -5,6 +5,7 @@ interface MediaFile {
|
||||
thumbnail: string;
|
||||
thumbnailHeight: number;
|
||||
thumbnailWidth: number;
|
||||
filename: string;
|
||||
}
|
||||
|
||||
export default MediaFile;
|
||||
|
||||
@@ -8,6 +8,6 @@ export function PathToRoFolder(jobid: string) {
|
||||
export function PathToRoBillsFolder(jobid: string) {
|
||||
return path.join(FolderPaths.Jobs, jobid, FolderPaths.BillsSubDir);
|
||||
}
|
||||
export function PathToVendorBillsFile(vendor: string) {
|
||||
return path.join(FolderPaths.Vendors, vendor);
|
||||
export function PathToVendorBillsFile(vendorid: string) {
|
||||
return path.join(FolderPaths.Vendors, vendorid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user