Hello. I’m able to print mass vouchers, but without identifying those vouchers belong to which profile, and belong to which month, also if i create new vouchers, the old vouchers will be included in the printed new vouchers
What criteria should we used in order to print the right vouchers that include:
1- date the vouchers created to avoid print old vouchers.
2- actual profile set as i have three profiles,1 month, 1week, 1day
Like for example
print only the vouchers i create for date august 30, 2022 and profile 1 month that i set when i create those vouchers
used same date and profile 1 week and print it and so on
Thanks in advance
I can’t test and can not guarantee anything, but following routeros syntax can be:
/user-manager/user/generate-voucher [f] voucher-template=printable_vouchers.html numbers=[find where group=montlyseptemper and profile=monthlyseptember]
Thank you for your kind reply. It’s not intend to work because of profile tag as it’s return error, seems the profile name have different name approach in MT database. Thank you again