22 lines
472 B
PHP
22 lines
472 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Order\Http\Controllers\Admin;
|
||
|
|
||
|
use Modules\Order\Entities\Order;
|
||
|
|
||
|
class OrderPrintController
|
||
|
{
|
||
|
/**
|
||
|
* Show the specified resource.
|
||
|
*
|
||
|
* @param \Modules\Order\Entities\Order $order
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function show(Order $order)
|
||
|
{
|
||
|
$order->load('products', 'coupon', 'taxes');
|
||
|
|
||
|
return view('order::admin.orders.print.show', compact('order'));
|
||
|
}
|
||
|
}
|