AC Team,
It looks like there is a bug in your invoice functionality (a few different pages) where you don't properly display the "Other" portion of an order.
From the Admin/Order/Print/Invoices.aspx
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) > 0 %>'>
Note that the above line will never display if you have a coupon or a credit amount (since you are checking for an amount greater than zero to trigger the display). I updated to the following and now my coupons/discounts show up on the invoice.
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) != 0 %>'>
Thanks,
Mike
Admin Invoices Etc.
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Admin Invoices Etc.
Good catch. I always wondered why they didnt show but never looked into it.
Re: Admin Invoices Etc.
Also on the HTML side of the invoice page file you will find some commented code near the bottom.
Uncomment it to gain additional information on invoice.
Uncomment it to gain additional information on invoice.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Admin Invoices Etc.
Code: Select all
AC Team,
It looks like there is a bug in your invoice functionality (a few different pages) where you don't properly display the "Other" portion of an order.
From the Admin/Order/Print/Invoices.aspx
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) > 0 %>'>
Note that the above line will never display if you have a coupon or a credit amount (since you are checking for an amount greater than zero to trigger the display). I updated to the following and now my coupons/discounts show up on the invoice.
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) != 0 %>'>
Thanks,
Mike
AC Team,
It looks like there is a bug in your invoice functionality (a few different pages) where you don't properly display the "Other" portion of an order.
From the Admin/Order/Print/Invoices.aspx
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) [b]> 0[/b] %>'>
Note that the above line will never display if you have a coupon or a credit amount (since you are checking for an amount greater than zero to trigger the display). I updated to the following and now my coupons/discounts show up on the invoice.
<tr id="trOther" runat="server" visible='<%# GetTotal(Container.DataItem, OrderItemType.Charge, OrderItemType.Coupon, OrderItemType.Credit, OrderItemType.Discount, OrderItemType.GiftCertificate, OrderItemType.GiftWrap) [b]!= 0[/b] %>'>
Thanks,
Mike
http://bugs.ablecommerce.com/show_bug.cgi?id=7362