Skip to content

Instantly share code, notes, and snippets.

@kennyhorna
Last active June 1, 2020 17:25
Show Gist options
  • Save kennyhorna/8a0d9900c9203bcacc886601d9131fbe to your computer and use it in GitHub Desktop.
Save kennyhorna/8a0d9900c9203bcacc886601d9131fbe to your computer and use it in GitHub Desktop.
Matriz de precios
{"id":1,"name":"Pac\u00edfico","image":"company\/pacifico.jpg","flagactive":1,"price":"100","image_url":"http:\/\/maszeguroapp.test\/dinamic\/company\/pacifico.jpg","usecars":[{"id":1,"name":"Particular","company_usecar":1,"matrices":[{"id":1,"broker_usecar_id":1,"classcar_id":1,"brand_id":null,"flagactive":1,"modalitymodel":2,"modalityprice":1,"modalitybrand":1,"price":null,"classcar":{"id":1,"name":"Autom\u00f3vil"},"models":[],"prices":[{"id":27,"price":"29.00","matrix_id":1,"company_id":null,"ubigeos":[{"id":"369","department":"Arequipa","province":null,"district":null,"ubigeo":"040000","pivot":{"price_id":27,"ubigeo_id":369}}]},{"id":28,"price":"31.00","matrix_id":1,"company_id":null,"ubigeos":[{"id":"93","department":"\u00c1ncash","province":null,"district":null,"ubigeo":"020000","pivot":{"price_id":28,"ubigeo_id":93}},{"id":"369","department":"Arequipa","province":null,"district":null,"ubigeo":"040000","pivot":{"price_id":28,"ubigeo_id":369}}]},{"id":29,"price":"12.00","matrix_id":1,"company_id":null,"ubigeos":[{"id":"93","department":"\u00c1ncash","province":null,"district":null,"ubigeo":"020000","pivot":{"price_id":29,"ubigeo_id":93}}]}]},{"id":7,"broker_usecar_id":1,"classcar_id":6,"brand_id":null,"flagactive":1,"modalitymodel":0,"modalityprice":1,"modalitybrand":1,"price":null,"classcar":{"id":6,"name":"Motocicleta"},"models":[{"id":46,"name":"Optima","brand_id":3,"flagactive":1,"pivot":{"matrix_id":7,"model_id":46}},{"id":49,"name":"Rio","brand_id":3,"flagactive":1,"pivot":{"matrix_id":7,"model_id":49}}],"prices":[{"id":20,"price":"200.00","matrix_id":7,"company_id":null,"ubigeos":[{"id":"280","department":"Apur\u00edmac","province":null,"district":null,"ubigeo":"030000","pivot":{"price_id":20,"ubigeo_id":280}}]},{"id":21,"price":"180.00","matrix_id":7,"company_id":null,"ubigeos":[{"id":"93","department":"\u00c1ncash","province":null,"district":null,"ubigeo":"020000","pivot":{"price_id":21,"ubigeo_id":93}}]}]},{"id":8,"broker_usecar_id":1,"classcar_id":1,"brand_id":null,"flagactive":1,"modalitymodel":1,"modalityprice":2,"modalitybrand":1,"price":null,"classcar":{"id":1,"name":"Autom\u00f3vil"},"models":[{"id":19,"name":"Avensis","brand_id":2,"flagactive":1,"pivot":{"matrix_id":8,"model_id":19}},{"id":20,"name":"Camry","brand_id":2,"flagactive":1,"pivot":{"matrix_id":8,"model_id":20}},{"id":22,"name":"Chaser","brand_id":2,"flagactive":1,"pivot":{"matrix_id":8,"model_id":22}}],"prices":[{"id":22,"price":"100.00","matrix_id":8,"company_id":null,"ubigeos":[{"id":"1406","department":"Lima","province":null,"district":null,"ubigeo":"150000","pivot":{"price_id":22,"ubigeo_id":1406}}]},{"id":23,"price":"120.00","matrix_id":8,"company_id":null,"ubigeos":[{"id":"1","department":"Amazonas","province":null,"district":null,"ubigeo":"010000","pivot":{"price_id":23,"ubigeo_id":1}},{"id":"93","department":"\u00c1ncash","province":null,"district":null,"ubigeo":"020000","pivot":{"price_id":23,"ubigeo_id":93}},{"id":"280","department":"Apur\u00edmac","province":null,"district":null,"ubigeo":"030000","pivot":{"price_id":23,"ubigeo_id":280}},{"id":"369","department":"Arequipa","province":null,"district":null,"ubigeo":"040000","pivot":{"price_id":23,"ubigeo_id":369}},{"id":"487","department":"Ayacucho","province":null,"district":null,"ubigeo":"050000","pivot":{"price_id":23,"ubigeo_id":487}},{"id":"616","department":"Cajamarca","province":null,"district":null,"ubigeo":"060000","pivot":{"price_id":23,"ubigeo_id":616}},{"id":"757","department":"Callao","province":null,"district":null,"ubigeo":"070000","pivot":{"price_id":23,"ubigeo_id":757}},{"id":"766","department":"Cusco","province":null,"district":null,"ubigeo":"080000","pivot":{"price_id":23,"ubigeo_id":766}},{"id":"891","department":"Huancavelica","province":null,"district":null,"ubigeo":"090000","pivot":{"price_id":23,"ubigeo_id":891}},{"id":"996","department":"Hu\u00e1nuco","province":null,"district":null,"ubigeo":"100000","pivot":{"price_id":23,"ubigeo_id":996}},{"id":"1085","department":"Ica","province":null,"district":null,"ubigeo":"110000","pivot":{"price_id":23,"ubigeo_id":1085}},{"id":"1134","department":"Jun\u00edn","province":null,"district":null,"ubigeo":"120000","pivot":{"price_id":23,"ubigeo_id":1134}},{"id":"1268","department":"La Libertad","province":null,"district":null,"ubigeo":"130000","pivot":{"price_id":23,"ubigeo_id":1268}},{"id":"1364","department":"Lambayeque","province":null,"district":null,"ubigeo":"140000","pivot":{"price_id":23,"ubigeo_id":1364}},{"id":"1588","department":"Loreto","province":null,"district":null,"ubigeo":"160000","pivot":{"price_id":23,"ubigeo_id":1588}},{"id":"1650","department":"Madre de Dios","province":null,"district":null,"ubigeo":"170000","pivot":{"price_id":23,"ubigeo_id":1650}},{"id":"1665","department":"Moquegua","province":null,"district":null,"ubigeo":"180000","pivot":{"price_id":23,"ubigeo_id":1665}},{"id":"1689","department":"Pasco","province":null,"district":null,"ubigeo":"190000","pivot":{"price_id":23,"ubigeo_id":1689}},{"id":"1722","department":"Piura","province":null,"district":null,"ubigeo":"200000","pivot":{"price_id":23,"ubigeo_id":1722}},{"id":"1796","department":"Puno","province":null,"district":null,"ubigeo":"210000","pivot":{"price_id":23,"ubigeo_id":1796}},{"id":"1919","department":"San Mart\u00edn","province":null,"district":null,"ubigeo":"220000","pivot":{"price_id":23,"ubigeo_id":1919}},{"id":"2007","department":"Tacna","province":null,"district":null,"ubigeo":"230000","pivot":{"price_id":23,"ubigeo_id":2007}},{"id":"2039","department":"Tumbes","province":null,"district":null,"ubigeo":"240000","pivot":{"price_id":23,"ubigeo_id":2039}},{"id":"2056","department":"Ucayali","province":null,"district":null,"ubigeo":"250000","pivot":{"price_id":23,"ubigeo_id":2056}}]}]}],"pivot":{"company_id":1,"usecar_id":1,"flagactive":1,"id":1}},{"id":3,"name":"Transporte de Pasajeros","company_usecar":3,"matrices":[{"id":3,"broker_usecar_id":3,"classcar_id":2,"brand_id":null,"flagactive":1,"modalitymodel":1,"modalityprice":0,"modalitybrand":1,"price":"12.00","classcar":{"id":2,"name":"Station Wagon"},"models":[{"id":1,"name":"Accent","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":1}},{"id":2,"name":"Atos","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":2}},{"id":3,"name":"Azera","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":3}},{"id":4,"name":"Coupe","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":4}},{"id":5,"name":"Elantra","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":5}},{"id":6,"name":"Eon","brand_id":1,"flagactive":1,"pivot":{"matrix_id":3,"model_id":6}},{"id":42,"name":"Cadenza","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":42}},{"id":43,"name":"Cerato","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":43}},{"id":44,"name":"Forte Koup","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":44}},{"id":45,"name":"Lotze","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":45}},{"id":46,"name":"Optima","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":46}},{"id":47,"name":"Picanto","brand_id":3,"flagactive":1,"pivot":{"matrix_id":3,"model_id":47}}],"prices":[{"id":11,"price":"12.00","matrix_id":3,"company_id":null,"ubigeos":[{"id":"1","department":"Amazonas","province":null,"district":null,"ubigeo":"010000","pivot":{"price_id":11,"ubigeo_id":1}},{"id":"93","department":"\u00c1ncash","province":null,"district":null,"ubigeo":"020000","pivot":{"price_id":11,"ubigeo_id":93}},{"id":"280","department":"Apur\u00edmac","province":null,"district":null,"ubigeo":"030000","pivot":{"price_id":11,"ubigeo_id":280}},{"id":"369","department":"Arequipa","province":null,"district":null,"ubigeo":"040000","pivot":{"price_id":11,"ubigeo_id":369}},{"id":"487","department":"Ayacucho","province":null,"district":null,"ubigeo":"050000","pivot":{"price_id":11,"ubigeo_id":487}},{"id":"616","department":"Cajamarca","province":null,"district":null,"ubigeo":"060000","pivot":{"price_id":11,"ubigeo_id":616}},{"id":"757","department":"Callao","province":null,"district":null,"ubigeo":"070000","pivot":{"price_id":11,"ubigeo_id":757}},{"id":"766","department":"Cusco","province":null,"district":null,"ubigeo":"080000","pivot":{"price_id":11,"ubigeo_id":766}},{"id":"891","department":"Huancavelica","province":null,"district":null,"ubigeo":"090000","pivot":{"price_id":11,"ubigeo_id":891}},{"id":"996","department":"Hu\u00e1nuco","province":null,"district":null,"ubigeo":"100000","pivot":{"price_id":11,"ubigeo_id":996}},{"id":"1085","department":"Ica","province":null,"district":null,"ubigeo":"110000","pivot":{"price_id":11,"ubigeo_id":1085}},{"id":"1134","department":"Jun\u00edn","province":null,"district":null,"ubigeo":"120000","pivot":{"price_id":11,"ubigeo_id":1134}},{"id":"1268","department":"La Libertad","province":null,"district":null,"ubigeo":"130000","pivot":{"price_id":11,"ubigeo_id":1268}},{"id":"1364","department":"Lambayeque","province":null,"district":null,"ubigeo":"140000","pivot":{"price_id":11,"ubigeo_id":1364}},{"id":"1406","department":"Lima","province":null,"district":null,"ubigeo":"150000","pivot":{"price_id":11,"ubigeo_id":1406}},{"id":"1588","department":"Loreto","province":null,"district":null,"ubigeo":"160000","pivot":{"price_id":11,"ubigeo_id":1588}},{"id":"1650","department":"Madre de Dios","province":null,"district":null,"ubigeo":"170000","pivot":{"price_id":11,"ubigeo_id":1650}},{"id":"1665","department":"Moquegua","province":null,"district":null,"ubigeo":"180000","pivot":{"price_id":11,"ubigeo_id":1665}},{"id":"1689","department":"Pasco","province":null,"district":null,"ubigeo":"190000","pivot":{"price_id":11,"ubigeo_id":1689}},{"id":"1722","department":"Piura","province":null,"district":null,"ubigeo":"200000","pivot":{"price_id":11,"ubigeo_id":1722}},{"id":"1796","department":"Puno","province":null,"district":null,"ubigeo":"210000","pivot":{"price_id":11,"ubigeo_id":1796}},{"id":"1919","department":"San Mart\u00edn","province":null,"district":null,"ubigeo":"220000","pivot":{"price_id":11,"ubigeo_id":1919}},{"id":"2007","department":"Tacna","province":null,"district":null,"ubigeo":"230000","pivot":{"price_id":11,"ubigeo_id":2007}},{"id":"2039","department":"Tumbes","province":null,"district":null,"ubigeo":"240000","pivot":{"price_id":11,"ubigeo_id":2039}},{"id":"2056","department":"Ucayali","province":null,"district":null,"ubigeo":"250000","pivot":{"price_id":11,"ubigeo_id":2056}}]}]}],"pivot":{"company_id":1,"usecar_id":3,"flagactive":1,"id":3}},{"id":5,"name":"Escolar","company_usecar":5,"matrices":[],"pivot":{"company_id":1,"usecar_id":5,"flagactive":1,"id":5}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment