mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-23 22:34:19 +00:00
multiple po and invoice fix
This commit is contained in:
@@ -200,7 +200,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getExtension(path){
|
||||
return path.lastIndexOf('.') + 1;
|
||||
let index = path.lastIndexOf('.') + 1;
|
||||
return path.slice(index);
|
||||
},
|
||||
isImage(path){
|
||||
var ext = this.getExtension(path);
|
||||
|
||||
Reference in New Issue
Block a user