FleetCart/Modules/Order/Http/Controllers/Admin/OrderPrintController.php
2023-06-11 13:14:03 +01:00

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'));
}
}