"Допустим максимальный номер инвойса - четыре знака, тогда
let nr = String(ee.field('Invoice Nr')).padStart(4,'0');// будет 0002, 0061, 0155
Допустим максимальное название магазина 10 знаков, тогда
let shop = ee.field('Shop').padEnd(10,'\t');
понедельник, 20 января 2025 г. в 21:21:31 UTC+3, Mmm: "
I noticed that it wasn't aligned and I knew there should be commands to align it, but since I have few stores I thought it would be faster to what follows below than to look for and learn the commands (not that I don't want to learn, I like to learn everything, just I didn't want to lose focus, at the moment I'm focused on the goal of sorting by dates).
So, to align the invoice numbers, I replaced the invoice Nr field with a Java field and added this code:
if(
field("invoice_id") < 99){
"0"+field("invoice_id");
} else {
field("invoice_id");
}
To align the stores as I have few I went to the field of each store and added spaces!
Don't laugh, lol
In the end I will change and replace with the commands you were kind enough to mention, :)
On Wednesday, January 22, 2025 at 3:40:46 PM UTC Beet Juice wrote:
Mmm,
The message wasn't for you, it was for some moderator who might think this post should be deleted because it's garbage :) I know we can delete messages, in fact I've deleted some because I forget to attach what I meant to attach. But I was referring to the post, it says, when you hover the mouse cursor over it, that I don't have permission to delete it.
Whatever, I've noticed that here in this post my messages appear straight away, while in the other post they don't appear, or maybe they're there and I'm short-sighted lol. You posted a message today at 9:30 am and I also posted one at that time and I still can't see it. Isn't it strange? what am I doing wrong? Can you see it?
By the way, if I do "reply to the author", is it published here or does it go to the author's email?
On Wednesday, January 22, 2025 at 9:22:39 AM UTC Mmm wrote:
Я обычный пользователь, не модератор, не из группы разработчиков MDB. Удалить СВОЕ сообщение могу через три точки справа от сообщения => Удалить.
среда, 22 января 2025 г. в 12:22:00 UTC+3, Mmm:
Я обычный пользователь, не модератор, не из группы разработчиков MDB. Удалить СВОЕ сообщение могу через три точки справа от сообщении => Удалить.
Sorry, I changed my mind. If moderators don't mind, I would like to keep that post so I can do tests to learn how to work with google groups since it's my first time and
and it seems that I still have a lot to learn, namely that there is a translator :)
On Tuesday, January 21, 2025 at 11:16:11 AM UTC Mmm wrote:
Отключите перевод на странице перед созданием и отправкой сообщения.