$subject = '=?UTF-8?B?' . base64_encode($pagetitle) . '?=';computed: {
filteredProducts() {
return this.products
.filter((p) => p.name.toLowerCase().includes(this.nameFilter.toLowerCase()))
.map((p) => {
p.summ = p.price * p.count * (1 - p.discount / 100);
return p;
});
},
totalSumm() {
return this.filteredProducts.reduce((acc, p) => acc + p.summ, 0);
},
}. Unlike most other types of Apps Scripts, custom functions never ask users to authorize access to personal data. Consequently, they can only call services that do not have access to personal data, specifically the following:
...
Spreadsheet Read only (can use most get*() methods, but not set*()). Cannot open other spreadsheets (SpreadsheetApp.openById() or SpreadsheetApp.openByUrl()).
из-за чего это происходит?