Jump to content

Edit History

MrTouch

MrTouch

Okay, I looked for this function and found it still in usage in themes\default\template\controllers\orders\_documents.tpl

{if get_class($document) eq 'OrderInvoice'}
	{if isset($document->is_delivery)}
		{$document->getDeliveryNumberFormatted($current_id_lang, $order->id_shop)}
	{else}
		{$document->getInvoiceNumberFormatted($current_id_lang, $order->id_shop)}
	{/if}
{elseif get_class($document) eq 'OrderSlip'}
	{$document->getCreditSlipsNumberFormatted($current_id_lang, $order->id_shop)}
{/if}

I did comment out those lines. And the error is gonne. But the page still doesn't load correctly. I dont see any more errors (except for a depricated mycript function, which i solved like stated in this post: 

Edit: I also added full text search results.

sdfa.JPG

MrTouch

MrTouch

Okay, I looked for this function and found it still in usage in themes\default\template\controllers\orders\_documents.tpl

{if get_class($document) eq 'OrderInvoice'}
	{if isset($document->is_delivery)}
		{$document->getDeliveryNumberFormatted($current_id_lang, $order->id_shop)}
	{else}
		{$document->getInvoiceNumberFormatted($current_id_lang, $order->id_shop)}
	{/if}
{elseif get_class($document) eq 'OrderSlip'}
	{$document->getCreditSlipsNumberFormatted($current_id_lang, $order->id_shop)}
{/if}

I did comment out those lines. And the error is gonne. But the page still doesn't load correctly. I dont see any more errors (except for a depricated mycript function, which i solved like stated in this post: 

 

×
×
  • Create New...