Can't print vouchers
mymanga opened this issue · comments
The following error occurs when trying to print voucher from admin dashboard;
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'v.plan_id' in 'on clause' (SQL: select v
.pin
, v
.expires_on
, sp
.name
as plan_name
, sp
.plan_type
, sp
.validity
, sp
.validity_unit
, sp
.sim_sessions
, sp
.interim_updates
, sp
.price
from prepaid_vouchers
as v
inner join service_plans
as sp
on v
.plan_id
= sp
.id
where v
.id
in (6))
fixed in dev-master.
new error now occurs;
Undefined index: service_name
please share the screenshot. And process to re-produce.
How to re-produce this? Also share the content of the voucher template.
I get this error when i select a few vouchers, click print, the on the second page its asks about number per row i select, click print, opens up a new window and shows this error....
voucher code from the forum that i used;
table style="background-color: red; border:1px;">
Service Plan:{service_name} Time Quota:{time_limit} {time_unit}service_name is not a valid variable in v2 . Service Plan name is available with {plan_name}
Thanks, but now getting the same error but with "time_limit"
On 7 Aug 2014 15:59, "Rahul makhija" notifications@github.com wrote:
—
Reply to this email directly or view it on GitHub
#3 (comment)
.
As of now variables are available for prepaid_vouchers table only. None other than that will work.
Thank you, works
On 7 Aug 2014 16:07, "Rahul makhija" notifications@github.com wrote:
As of now variables are available for prepaid_vouchers table only. None
other than that will work.—
Reply to this email directly or view it on GitHub
#3 (comment)
.