Printable Invoice Extension

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
Hi there,

Does anybody know if the Printable Invoice Beta works with v1.30?

Or has anyone else created a module for it?

Thanks.

Dave.
14 years ago
It looks like it worked for me.
14 years ago
Cheers, I will give it a shot then :o)
14 years ago
I'm having a bit of trouble with this extension.

This is the error I receive when I am trying to view an order...

We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.


And this is the error that is logged...

d:\hosting\5005096\html\Administration\Modules\OrderDetails.ascx(467): error CS1061: 'ASP.administration_modules_orderdetails_ascx' does not contain a definition for 'printbutton_Click' and no extension method 'printbutton_Click' accepting a first argument of type 'ASP.administration_modules_orderdetails_ascx' could be found (are you missing a using directive or an assembly reference?)

I have tried twice now to install the additional files and to make the required changes to existing files with no luck.

Any suggestions?
14 years ago
Same error... and when i build the project I see this error "C:\NAC2010\NopCommerceStore\Administration\Modules\OrderDetails.ascx.cs(621,19): error CS1518: Expected class, delegate, enum, interface, or struct

Compile complete -- 1 errors, 0 warnings
========== Build: 30 succeeded or up-to-date, 1 failed, 0 skipped =========="

The line number references are not correct in 1.3 so I'm not sure the placement of the code "  /// <summary>
        /// ADDED BY USRFobiwan
        /// Print Button Invoice printing
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void printbutton_Click(object sender, EventArgs e)
        {
    Order PrintOrder = OrderManager.GetOrderByID(this.OrderID);
        Response.Redirect("OrderPrint.aspx?orderId="+ PrintOrder.OrderID.ToString());          
        }" is correct either... I just placed it before the last closing "}" and noticed the void was calling the error.

Also, why is there no SKU in the order details for the products?
14 years ago
Ok I fixed the error... It was to close to the end of the code... I placed the code before the last 2 closing tags rather than the before the very last one. Built the app and it works no errors.
This however does not solve the issue of displaying the product SKUs anywhere within the order details, nor does this display the payment information like CC# expiry, name on card, etc...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.