Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
onestartup-product-primer_plano
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-product-primer_plano
Commits
5cdf52d8
Commit
5cdf52d8
authored
Sep 04, 2018
by
Francisco Salazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asesores y migracion
parent
77d3594a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
11 deletions
+14
-11
AdminProductController.php
src/controllers/AdminProductController.php
+2
-0
2018_09_03_211112_add_extras_to_products_table.php
...ations/2018_09_03_211112_add_extras_to_products_table.php
+8
-8
autoload_psr4.php
vendor/composer/autoload_psr4.php
+1
-1
autoload_static.php
vendor/composer/autoload_static.php
+2
-2
installed.json
vendor/composer/installed.json
+1
-0
No files found.
src/controllers/AdminProductController.php
View file @
5cdf52d8
...
...
@@ -81,8 +81,10 @@ class AdminProductController extends Controller
$categories
=
Category
::
pluck
(
'name'
,
'id'
);
$subcategories
=
SubCategory
::
where
(
"category_id"
,
$product
->
category_id
)
->
pluck
(
'name'
,
'id'
);
$variable
=
Variable
::
first
();
$asesores
=
Asesor
::
pluck
(
'nombre'
,
'id'
);
return
view
(
'product::product.edit'
)
->
with
(
'asesores'
,
$asesores
)
->
with
(
'categories'
,
$categories
)
->
with
(
'subcategories'
,
$subcategories
)
->
with
(
'product'
,
$product
)
...
...
src/migrations/2018_09_03_211112_add_extras_to_products_table.php
View file @
5cdf52d8
...
...
@@ -15,20 +15,20 @@ class AddExtrasToProductsTable extends Migration
{
Schema
::
table
(
'products'
,
function
(
Blueprint
$table
)
{
$table
->
double
(
'precio_renta'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'precio_renta'
,
12
,
2
)
->
nullable
();
$table
->
string
(
'tipo_moneda_renta'
,
455
)
->
nullable
();
$table
->
string
(
'precio_renta_tiene_oferta'
)
->
nullable
();
$table
->
double
(
'precio_renta_oferta'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'precio_renta_oferta'
,
12
,
2
)
->
nullable
();
$table
->
double
(
'precio_venta'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'precio_venta'
,
12
,
2
)
->
nullable
();
$table
->
string
(
'tipo_moneda_venta'
,
455
)
->
nullable
();
$table
->
string
(
'precio_venta_tiene_oferta'
)
->
nullable
();
$table
->
double
(
'precio_venta_oferta'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'precio_venta_oferta'
,
12
,
2
)
->
nullable
();
$table
->
double
(
'metros_construccion'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'metros_terreno'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'metros_frente'
,
8
,
2
)
->
nullable
();
$table
->
double
(
'metros_fondo'
,
8
,
2
)
->
nullable
();
$table
->
string
(
'metros_construccion'
)
->
nullable
();
$table
->
string
(
'metros_terreno'
)
->
nullable
();
$table
->
string
(
'metros_frente'
)
->
nullable
();
$table
->
string
(
'metros_fondo'
)
->
nullable
();
$table
->
integer
(
'banos'
)
->
nullable
();
$table
->
integer
(
'medios_banos'
)
->
nullable
();
...
...
vendor/composer/autoload_psr4.php
View file @
5cdf52d8
...
...
@@ -6,5 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir
=
dirname
(
$vendorDir
);
return
array
(
'Onestartup\\Product\\'
=>
array
(
$baseDir
.
'/src'
),
'Onestartup\\Product
PrimerPlano
\\'
=>
array
(
$baseDir
.
'/src'
),
);
vendor/composer/autoload_static.php
View file @
5cdf52d8
...
...
@@ -9,12 +9,12 @@ class ComposerStaticInit7173633b0cb420d97a2e8a09a0590ba0
public
static
$prefixLengthsPsr4
=
array
(
'O'
=>
array
(
'Onestartup\\Product
\\'
=>
19
,
'Onestartup\\Product
PrimerPlano\\'
=>
30
,
),
);
public
static
$prefixDirsPsr4
=
array
(
'Onestartup\\Product\\'
=>
'Onestartup\\Product
PrimerPlano
\\'
=>
array
(
0
=>
__DIR__
.
'/../..'
.
'/src'
,
),
...
...
vendor/composer/installed.json
0 → 100644
View file @
5cdf52d8
[]
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