Commit 27a16981 by Francisco Salazar

distance = 0

parent ab9c859b
......@@ -322,6 +322,7 @@ class AdminProductController extends Controller
}
$client = $sale->client;
$orden = $sale->items;
$distance = 0;
if ($client->shipping != null) {
$shipping = $client->shipping;
$shipping_price = $shipping->shipping_price;
......@@ -357,7 +358,7 @@ class AdminProductController extends Controller
if ($sale->status == 4) {
$estado = "Cancelado/Reembolsado";
}
return $distance;
return view('shop::clients.orden')
->with('sale', $sale)
->with('client', $client)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment