text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["patient-document"],{
  
  /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js&":
  /*!****************************************************************************************************************************************************************************!*\
    !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js& ***!
    \****************************************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _components_DataTable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../components/DataTable */ "./resources/js/components/DataTable.vue");
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    components: {
      DataTable: _components_DataTable__WEBPACK_IMPORTED_MODULE_0__["default"]
    },
    data: function data() {
      return {
        doctors: [],
        headers: [{
          text: "SL",
          key: "sl"
        }, {
          text: "Patient ID",
          key: "patient_id",
          search: true
        }, {
          text: "Doctor Name",
          key: "doctor_name",
          search: true
        }, {
          text: "Description",
          key: "description",
          search: true
        }, {
          text: "Date",
          key: "date",
          search: true
        }, {
          text: "Upload By",
          key: "upload_by",
          search: true
        }, {
          text: "Action",
          key: "action"
        }]
      };
    },
    created: function created() {
      for (var i = 0; i < 50; i++) {
        this.doctors.push({
          id: i + 1,
          patient_id: Math.random().toString(36).substring(7).toUpperCase(),
          doctor_name: "Doctor ".concat(i + 1, " Name"),
          description: "Description ".concat(i + 1),
          date: new Date().toISOString().slice(0, 10),
          upload_by: "Admin"
        });
      }
    }
  });
  
  /***/ }),
  
  /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true&":
  /*!********************************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true& ***!
    \********************************************************************************************************************************************************************************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  var render = function() {
    var _vm = this
    var _h = _vm.$createElement
    var _c = _vm._self._c || _h
    return _c("div", [
      _c("div", { staticClass: "card shadow mb-4" }, [
        _c("div", { staticClass: "card-header py-3" }, [
          _c("div", { staticClass: "clearfix" }, [
            _vm._m(0),
            _vm._v(" "),
            _c(
              "div",
              { staticClass: "float-right" },
              [
                _c(
                  "router-link",
                  {
                    staticClass: "btn btn-sm btn-primary",
                    attrs: { to: "/patient/document/add" }
                  },
                  [
                    _c("i", { staticClass: "fa fa-plus" }),
                    _vm._v(" Add New\n          ")
                  ]
                )
              ],
              1
            )
          ])
        ]),
        _vm._v(" "),
        _c(
          "div",
          { staticClass: "card-body" },
          [
            _c("data-table", {
              attrs: { headers: _vm.headers, resources: _vm.doctors },
              scopedSlots: _vm._u(
                [
                  {
                    key: "sl",
                    fn: function(ref) {
                      var i = ref.i
                      var start = ref.start
                      return [_vm._v(_vm._s(i + start + 1))]
                    }
                  },
                  {
                    key: "status",
                    fn: function(ref) {
                      var item = ref.item
                      return [
                        item.status
                          ? _c("div", { staticClass: "badge badge-success" }, [
                              _vm._v("Active")
                            ])
                          : _vm._e(),
                        _vm._v(" "),
                        !item.status
                          ? _c("div", { staticClass: "badge badge-danger" }, [
                              _vm._v("Inactive")
                            ])
                          : _vm._e()
                      ]
                    }
                  },
                  {
                    key: "action",
                    fn: function(ref) {
                      var item = ref.item
                      return [
                        _c(
                          "router-link",
                          {
                            staticClass: "btn btn-sm btn-info",
                            attrs: {
                              to: "/patient/document/" + item.id + "/edit"
                            }
                          },
                          [_c("i", { staticClass: "fa fa-edit" })]
                        ),
                        _vm._v(" "),
                        _c("button", { staticClass: "btn btn-sm btn-danger" }, [
                          _c("i", { staticClass: "fa fa-trash" })
                        ])
                      ]
                    }
                  }
                ],
                null,
                true
              )
            })
          ],
          1
        )
      ])
    ])
  }
  var staticRenderFns = [
    function() {
      var _vm = this
      var _h = _vm.$createElement
      var _c = _vm._self._c || _h
      return _c("div", { staticClass: "float-left" }, [
        _c("h4", { staticClass: "m-0 font-weight-bold text-primary" }, [
          _vm._v("Document List")
        ])
      ])
    }
  ]
  render._withStripped = true
  
  
  
  /***/ }),
  
  /***/ "./resources/js/views/patient/document/Index.vue":
  /*!*******************************************************!*\
    !*** ./resources/js/views/patient/document/Index.vue ***!
    \*******************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Index.vue?vue&type=template&id=0d93c6c7&scoped=true& */ "./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true&");
  /* harmony import */ var _Index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Index.vue?vue&type=script&lang=js& */ "./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
  
  
  
  
  
  /* normalize component */
  
  var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
    _Index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
    _Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
    false,
    null,
    "0d93c6c7",
    null
    
  )
  
  /* hot reload */
  if (false) { var api; }
  component.options.__file = "resources/js/views/patient/document/Index.vue"
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
  /***/ "./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js&":
  /*!********************************************************************************!*\
    !*** ./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js& ***!
    \********************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Index.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/patient/document/Index.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); 
  
  /***/ }),
  
  /***/ "./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true&":
  /*!**************************************************************************************************!*\
    !*** ./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true& ***!
    \**************************************************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Index.vue?vue&type=template&id=0d93c6c7&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/patient/document/Index.vue?vue&type=template&id=0d93c6c7&scoped=true&");
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Index_vue_vue_type_template_id_0d93c6c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  
  
  
  /***/ })
  
  }]);