Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
onestartup-shop-ceramica-gtz
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Francisco Salazar
onestartup-shop-ceramica-gtz
Commits
27a16981
Commit
27a16981
authored
Oct 15, 2018
by
Francisco Salazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distance = 0
parent
ab9c859b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
AdminProductController.php
src/controllers/AdminProductController.php
+2
-1
No files found.
src/controllers/AdminProductController.php
View file @
27a16981
...
@@ -322,6 +322,7 @@ class AdminProductController extends Controller
...
@@ -322,6 +322,7 @@ class AdminProductController extends Controller
}
}
$client
=
$sale
->
client
;
$client
=
$sale
->
client
;
$orden
=
$sale
->
items
;
$orden
=
$sale
->
items
;
$distance
=
0
;
if
(
$client
->
shipping
!=
null
)
{
if
(
$client
->
shipping
!=
null
)
{
$shipping
=
$client
->
shipping
;
$shipping
=
$client
->
shipping
;
$shipping_price
=
$shipping
->
shipping_price
;
$shipping_price
=
$shipping
->
shipping_price
;
...
@@ -357,7 +358,7 @@ class AdminProductController extends Controller
...
@@ -357,7 +358,7 @@ class AdminProductController extends Controller
if
(
$sale
->
status
==
4
)
{
if
(
$sale
->
status
==
4
)
{
$estado
=
"Cancelado/Reembolsado"
;
$estado
=
"Cancelado/Reembolsado"
;
}
}
return
$distance
;
return
view
(
'shop::clients.orden'
)
return
view
(
'shop::clients.orden'
)
->
with
(
'sale'
,
$sale
)
->
with
(
'sale'
,
$sale
)
->
with
(
'client'
,
$client
)
->
with
(
'client'
,
$client
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment