text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b2971"],{2580:function(e,t,m){"use strict";m.r(t);var i=function(){var e=this,t=e.$createElement,m=e._self._c||t;return m("Layout",[m("div",{staticClass:"row page-title align-items-center"},[m("div",{staticClass:"col-md-3 col-xl-6"},[m("h4",{staticClass:"mb-1 mt-0"},[e._v("Proveedores")])]),m("div",{staticClass:"col-md-9 col-xl-6 text-md-right"},[m("div",{staticClass:"mt-4 mt-md-0"})])]),m("div",{staticClass:"row"},[m("div",{staticClass:"col-12"},[m("div",{staticClass:"card"},[m("div",{staticClass:"card-body"},[m("h4",{staticClass:"header-title mt-0 mb-1"},[e._v("Lista de Proveedores")]),m("p",{staticClass:"text-muted font-13 mb-4"}),m("div",{staticClass:"row mb-md-2"},[m("div",{staticClass:"col-sm-12 col-md-6 col-lg-4"},[m("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[m("label",{staticClass:"d-inline-flex align-items-center"},[e._v("\n                                    Mostrar \n                                    "),m("b-form-select",{attrs:{size:"sm",options:e.pageOptions},model:{value:e.perPage,callback:function(t){e.perPage=t},expression:"perPage"}})],1)])]),m("div",{staticClass:"col-sm-12 col-md-6 col-lg-4"},[m("label",{staticClass:"d-inline-flex align-items-center"},[m("flat-pickr",{staticClass:"form-control",attrs:{config:e.dateConfig,name:"date"},model:{value:e.selectedDate,callback:function(t){e.selectedDate=t},expression:"selectedDate"}})],1)]),m("div",{staticClass:"col-sm-12 col-md-6 col-lg-4"},[m("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[m("label",{staticClass:"d-inline-flex align-items-center"},[e._v("\n                                    Buscador:\n                                    "),m("b-form-input",{staticClass:"form-control form-control-sm ml-2",attrs:{type:"search",placeholder:"Buscar..."},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1),m("button",{staticClass:"btn btn-primary btn-sm mx-md-2",attrs:{id:"btn-new-event"},on:{click:function(t){e.showmodal=!0}}},[m("i",{staticClass:"uil-plus mr-1"}),e._v(" Crear proveedor\n                                ")]),m("b-modal",{attrs:{size:"lg",title:"Formulario proveedores","title-class":"font-18","hide-footer":""},model:{value:e.showmodal,callback:function(t){e.showmodal=t},expression:"showmodal"}},[m("vendor-form"),m("div",{staticClass:"text-right"},[m("button",{staticClass:"btn btn-success",attrs:{type:"submit"}},[e._v("Guardar")]),m("b-button",{staticClass:"ml-1",attrs:{variant:"light"},on:{click:e.hideModal}},[e._v("Cerrar")])],1)],1)],1)])]),m("div",{staticClass:"table-responsive mb-0"},[m("b-table",{attrs:{items:e.tableData,fields:e.fields,responsive:"sm","per-page":e.perPage,"current-page":e.currentPage,"sort-by":e.sortBy,"sort-desc":e.sortDesc,filter:e.filter,"filter-included-fields":e.filterOn},on:{"update:sortBy":function(t){e.sortBy=t},"update:sort-by":function(t){e.sortBy=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t},filtered:e.onFiltered},scopedSlots:e._u([{key:"cell(image)",fn:function(e){return[m("b-img",{attrs:{src:e.value,fluid:"",alt:"Fluid image",width:"80"}})]}},{key:"cell(action)",fn:function(){return[m("div",[m("button",{staticClass:"btn btn-warning btn-sm mx-1 mx-md-2",on:{click:function(t){e.showmodal=!0}}},[m("i",{staticClass:"uil-edit"})]),m("button",{staticClass:"btn btn-danger btn-sm mx-1 mx-md-2",on:{click:function(t){e.showmodal=!0}}},[m("i",{staticClass:"uil-cancel"})])])]},proxy:!0}])})],1),m("div",{staticClass:"row"},[m("div",{staticClass:"col"},[m("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[m("ul",{staticClass:"pagination pagination-rounded mb-0"},[m("b-pagination",{attrs:{"total-rows":e.rows,"per-page":e.perPage},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1)])])])])])])])])},s=[],a=m("c2a4"),n=m("444f"),r=[{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"},{name:"lorem ipsum",email:"lorem_ipsum@gmail.com",address:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",phone_number:"809-000-0000",creation_date:"17-09-2020"}],o=function(){var e=this,t=e.$createElement,m=e._self._c||t;return m("b-form",{staticClass:"form-horizontal"},[m("div",{staticClass:"row"},[m("div",{staticClass:"col-lg-12"},[m("b-form-group",{attrs:{"label-cols-sm":"12","label-cols-lg":"12",label:"Organizacion Nombre","label-for":"input-horizontal"}},[m("b-form-input",{attrs:{id:"input-horizontal",value:""}})],1)],1),m("div",{staticClass:"col-lg-6"},[m("b-form-group",{attrs:{"label-cols-sm":"12","label-cols-lg":"12",label:"Correo electronico","label-for":"input-horizontal"}},[m("b-form-input",{attrs:{id:"input-horizontal",value:""}})],1)],1),m("div",{staticClass:"col-lg-6"},[m("b-form-group",{attrs:{"label-cols-sm":"12","label-cols-lg":"12",label:"Numero de contacto","label-for":"input-horizontal"}},[m("b-form-input",{attrs:{id:"input-horizontal",value:""}})],1)],1),m("div",{staticClass:"col-lg-12"},[m("b-form-group",{attrs:{"label-cols-sm":"12","label-cols-lg":"12",label:"Direccion","label-for":"input-horizontal"}},[m("b-form-textarea",{attrs:{id:"example-textarea",size:"lg",rows:"4"}})],1)],1)])])},l=[],d=m("2877"),p={},u=Object(d["a"])(p,o,l,!1,null,null,null),c=u.exports,y={page:{title:"Vendors",meta:[{name:"description",content:a.description}]},components:{Layout:n["a"],vendorForm:c},data:function(){return{dateConfig:{mode:"range"},selectedDate:[(new Date).setDate((new Date).getDate()-7),new Date],showmodal:!1,tableData:r,title:"Vendors",items:[{text:"Shreyu",href:"/"},{text:"Apps",href:"/"},{text:"proveedores",active:!0}],totalRows:1,currentPage:1,perPage:10,pageOptions:[10,25,50,100],filter:null,filterOn:[],sortBy:"age",sortDesc:!1,fields:[{key:"name",sortable:!0,label:"Nombre"},{key:"email",sortable:!0,label:"Correo Electronico"},{key:"address",sortable:!0,label:"Direccion"},{key:"phone_number",sortable:!0,label:"Telefono"},{key:"creation_date",sortable:!0,label:"Fecha de creacion"}]}},computed:{rows:function(){return this.tableData.length}},mounted:function(){this.totalRows=this.items.length},methods:{onFiltered:function(e){this.totalRows=e.length,this.currentPage=1},hideModal:function(e){this.showmodal=!1}}},g=y,_=Object(d["a"])(g,i,s,!1,null,null,null);t["default"]=_.exports}}]);
  //# sourceMappingURL=chunk-2d0b2971-legacy.441839fd.js.map