(function () {
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

  (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["default~compras-compras-module-ngfactory~inventarios-inventarios-module-ngfactory"], {
    /***/
    "C7nh": function C7nh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ComprasOrdenesService", function () {
        return ComprasOrdenesService;
      });
      /* harmony import */


      var app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! app/constants/endpoints.constant */
      "AohF");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "8Y7J");
      /* harmony import */


      var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common/http */
      "IheW");

      var ComprasOrdenesService = /*#__PURE__*/function () {
        //   apiProveedoresUrl = '/api/administracion/proveedores';
        function ComprasOrdenesService(http) {
          _classCallCheck(this, ComprasOrdenesService);

          this.http = http;
        }

        _createClass(ComprasOrdenesService, [{
          key: "comprasOrdenes_list",
          value: function comprasOrdenes_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/view"), idEmpresa);
          }
        }, {
          key: "tipoDocumento_list",
          value: function tipoDocumento_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/list"), idEmpresa);
          }
        }, {
          key: "hrmDepartamentos_list",
          value: function hrmDepartamentos_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msOtros.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msOtros.hrmDepartamentos, "/list-departamentos"), idEmpresa);
          }
        }, {
          key: "monedas_list",
          value: function monedas_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msOtros.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msOtros.monedas, "/list-monedas"), idEmpresa);
          }
        }, {
          key: "proveedores_list",
          value: function proveedores_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCXP.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCXP.proveedores, "/list"), idEmpresa);
          }
        }, {
          key: "ordenesCompra_create",
          value: function ordenesCompra_create(ordenCompra) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/create"), ordenCompra);
          }
        }, {
          key: "ordenesCompra_delete",
          value: function ordenesCompra_delete(ordenCompra) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/delete"), ordenCompra);
          }
        }, {
          key: "ordenesCompra_createDetail",
          value: function ordenesCompra_createDetail(producto) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/create-detail"), producto);
          }
        }, {
          key: "ordenesCompra_createDelete",
          value: function ordenesCompra_createDelete(producto) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/delete-detail"), producto);
          }
        }, {
          key: "comprasOrdenes_detail",
          value: function comprasOrdenes_detail(comprasOrdenes) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/detail"), comprasOrdenes);
          }
        }, {
          key: "comprasOrdenes_update",
          value: function comprasOrdenes_update(comprasOrdenes) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/update"), comprasOrdenes);
          }
        }, {
          key: "comprasOrdenes_detalleList",
          value: function comprasOrdenes_detalleList(id) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/detalle-list"), id);
          }
        }, {
          key: "comprasOrdenes_addDetail",
          value: function comprasOrdenes_addDetail(producto) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/add-detail"), producto);
          }
        }, {
          key: "comprasOrdenes_updateStatus",
          value: function comprasOrdenes_updateStatus(status) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/update-status"), status);
          }
        }, {
          key: "comprasOrdenes_detailCar",
          value: function comprasOrdenes_detailCar(idComprasOrdenes) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/list-cart"), idComprasOrdenes);
          }
        }]);

        return ComprasOrdenesService;
      }();

      ComprasOrdenesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
        factory: function ComprasOrdenesService_Factory() {
          return new ComprasOrdenesService(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]));
        },
        token: ComprasOrdenesService,
        providedIn: "root"
      });
      /***/
    },

    /***/
    "Iab2": function Iab2(module, exports, __webpack_require__) {
      var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

      (function (a, b) {
        if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = b, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
      })(this, function () {
        "use strict";

        function b(a, b) {
          return "undefined" == typeof b ? b = {
            autoBom: !1
          } : "object" != typeof b && (console.warn("Deprecated: Expected third argument to be a object"), b = {
            autoBom: !b
          }), b.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob(["\uFEFF", a], {
            type: a.type
          }) : a;
        }

        function c(a, b, c) {
          var d = new XMLHttpRequest();
          d.open("GET", a), d.responseType = "blob", d.onload = function () {
            g(d.response, b, c);
          }, d.onerror = function () {
            console.error("could not download file");
          }, d.send();
        }

        function d(a) {
          var b = new XMLHttpRequest();
          b.open("HEAD", a, !1);

          try {
            b.send();
          } catch (a) {}

          return 200 <= b.status && 299 >= b.status;
        }

        function e(a) {
          try {
            a.dispatchEvent(new MouseEvent("click"));
          } catch (c) {
            var b = document.createEvent("MouseEvents");
            b.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), a.dispatchEvent(b);
          }
        }

        var f = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof global && global.global === global ? global : void 0,
            a = f.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent),
            g = f.saveAs || ("object" != typeof window || window !== f ? function () {} : "download" in HTMLAnchorElement.prototype && !a ? function (b, g, h) {
          var i = f.URL || f.webkitURL,
              j = document.createElement("a");
          g = g || b.name || "download", j.download = g, j.rel = "noopener", "string" == typeof b ? (j.href = b, j.origin === location.origin ? e(j) : d(j.href) ? c(b, g, h) : e(j, j.target = "_blank")) : (j.href = i.createObjectURL(b), setTimeout(function () {
            i.revokeObjectURL(j.href);
          }, 4E4), setTimeout(function () {
            e(j);
          }, 0));
        } : "msSaveOrOpenBlob" in navigator ? function (f, g, h) {
          if (g = g || f.name || "download", "string" != typeof f) navigator.msSaveOrOpenBlob(b(f, h), g);else if (d(f)) c(f, g, h);else {
            var i = document.createElement("a");
            i.href = f, i.target = "_blank", setTimeout(function () {
              e(i);
            });
          }
        } : function (b, d, e, g) {
          if (g = g || open("", "_blank"), g && (g.document.title = g.document.body.innerText = "downloading..."), "string" == typeof b) return c(b, d, e);
          var h = "application/octet-stream" === b.type,
              i = /constructor/i.test(f.HTMLElement) || f.safari,
              j = /CriOS\/[\d]+/.test(navigator.userAgent);

          if ((j || h && i || a) && "undefined" != typeof FileReader) {
            var k = new FileReader();
            k.onloadend = function () {
              var a = k.result;
              a = j ? a : a.replace(/^data:[^;]*;/, "data:attachment/file;"), g ? g.location.href = a : location = a, g = null;
            }, k.readAsDataURL(b);
          } else {
            var l = f.URL || f.webkitURL,
                m = l.createObjectURL(b);
            g ? g.location = m : location.href = m, g = null, setTimeout(function () {
              l.revokeObjectURL(m);
            }, 4E4);
          }
        });
        f.saveAs = g.saveAs = g, true && (module.exports = g);
      }); //# sourceMappingURL=FileSaver.min.js.map

      /***/

    },

    /***/
    "ewer": function ewer(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ComprasService", function () {
        return ComprasService;
      });
      /* harmony import */


      var app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! app/constants/endpoints.constant */
      "AohF");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "8Y7J");
      /* harmony import */


      var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common/http */
      "IheW");

      var ComprasService = /*#__PURE__*/function () {
        function ComprasService(http) {
          _classCallCheck(this, ComprasService);

          this.http = http;
        }

        _createClass(ComprasService, [{
          key: "compras_list",
          value: function compras_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/view"), idEmpresa);
          }
        }, {
          key: "compras_create",
          value: function compras_create(compra) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/create"), compra);
          }
        }, {
          key: "compras_createDetalle",
          value: function compras_createDetalle(compra) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/create-detalle"), compra);
          }
        }, {
          key: "compras_pendientes",
          value: function compras_pendientes(compra) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/list"), compra);
          }
        }, {
          key: "compras_deletePendiente",
          value: function compras_deletePendiente(value) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/delete-detalle"), value);
          }
        }, {
          key: "compras_delete",
          value: function compras_delete(value) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/delete"), value);
          }
        }, {
          key: "compras_update_detalle",
          value: function compras_update_detalle(producto) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.compras, "/update-detalle"), producto);
          } // Obtengo las ordenes de compra

        }, {
          key: "comprasOrdenes_list",
          value: function comprasOrdenes_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/view"), idEmpresa);
          } // Obtener carrito

        }, {
          key: "comprasOrdenes_detalleList",
          value: function comprasOrdenes_detalleList(id) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/detalle-list"), id);
          }
        }, {
          key: "proveedores_list",
          value: function proveedores_list(idEmpresa) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCXP.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCXP.proveedores, "/list"), idEmpresa);
          }
        }, {
          key: "comprasOrdenes_updateId",
          value: function comprasOrdenes_updateId(ids) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_0__["ENDPOINT"].msCompras.ordenesCompras, "/update-id"), ids);
          }
        }]);

        return ComprasService;
      }();

      ComprasService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
        factory: function ComprasService_Factory() {
          return new ComprasService(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]));
        },
        token: ComprasService,
        providedIn: "root"
      });
      /***/
    },

    /***/
    "vU+2": function vU2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ReportesService", function () {
        return ReportesService;
      });
      /* harmony import */


      var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! rxjs */
      "qCKp");
      /* harmony import */


      var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! rxjs/operators */
      "kU1M");
      /* harmony import */


      var app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! app/constants/endpoints.constant */
      "AohF");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/core */
      "8Y7J");
      /* harmony import */


      var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/common/http */
      "IheW");

      var ReportesService = /*#__PURE__*/function () {
        function ReportesService(http) {
          var _this = this;

          _classCallCheck(this, ReportesService);

          this.http = http; // * CONSTANTES

          this.apiReportesUrl = '/api/reportes';
          this.downloadReporte = '/download-reporte';
          this.reporteFecha = '/reporte-fecha';
          this.reporteFechaDetalle = '/reporte-fecha-detalle';
          this.reporteProducto = '/reporte-producto';
          this.reporteFactura = '/reporte-factura'; // ! REPORTE POR FECHA DETALLADO

          this.generarReporteFechaDetalle = function (fechaI, fechaF, extRepo) {
            return _this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + _this.reporteFechaDetalle, {
              fechaInicio: fechaI,
              fechaFin: fechaF,
              extReporte: extRepo
            });
          }; // ! REPORTE POR PRODUCTO


          this.generarReporteProducto = function (fechaI, fechaF, extRepo) {
            return _this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + _this.reporteProducto, {
              fechaInicio: fechaI,
              fechaFin: fechaF,
              extReporte: extRepo
            });
          };
        } // ! DESCARGAR REPORTE


        _createClass(ReportesService, [{
          key: "downloadReporteFecha",
          value: function downloadReporteFecha() {
            return this.http.get("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + this.downloadReporte, {
              responseType: 'blob'
            }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["catchError"])(function (err) {
              console.log('Error: ', err);
              return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__["throwError"])(err);
            }));
          }
        }, {
          key: "downloadReportePDF",
          value: function downloadReportePDF() {
            return this.http.get("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + this.downloadReporte, {
              responseType: 'blob'
            }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["catchError"])(function (err) {
              console.log('Error: ', err);
              return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__["throwError"])(err);
            }));
          }
        }, {
          key: "reporte_tipo_list",
          value: function reporte_tipo_list(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-tipo-list"), reporte);
          }
        }, {
          key: "reporte_tipo_detail",
          value: function reporte_tipo_detail(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-tipo-detail"), reporte);
          }
        }, {
          key: "reporte_info_list",
          value: function reporte_info_list(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-info-list"), reporte);
          }
        }, {
          key: "reporte_info_detail",
          value: function reporte_info_detail(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-info-detail"), reporte);
          }
        }, {
          key: "reporte_create",
          value: function reporte_create(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-create"), reporte);
          } // ! REPORTE POR FACTURA

        }, {
          key: "generarReporteFactura",
          value: function generarReporteFactura(fechaI, fechaF, extRepo) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + this.reporteFactura, {
              fechaInicio: fechaI,
              fechaFin: fechaF,
              extReporte: extRepo
            });
          } // ! REPORTE POR FECHA

        }, {
          key: "generarReporteFecha",
          value: function generarReporteFecha(dbname, hostname, empresa, fechaI, fechaF, extRepo) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes) + this.reporteFecha, {
              dbname: dbname,
              hostname: hostname,
              idEmpresas: empresa,
              fechaInicio: fechaI,
              fechaFin: fechaF,
              extReporte: extRepo
            });
          } // ! OPTMIZACION DE REPORTERIA

        }, {
          key: "reportePrueba",
          value: function reportePrueba(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-prueba"), reporte);
          }
        }, {
          key: "reporteFisherman1",
          value: function reporteFisherman1(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-fishermans1"), reporte);
          }
        }, {
          key: "reporteFisherman2",
          value: function reporteFisherman2(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-fishermans2"), reporte);
          }
        }, {
          key: "reporteFisherman3",
          value: function reporteFisherman3(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-fishermans3"), reporte);
          }
        }, {
          key: "reporteFisherman4",
          value: function reporteFisherman4(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-fishermans4"), reporte);
          }
        }, {
          key: "generarReportePDF",
          value: function generarReportePDF(reporte) {
            return this.http.post("".concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.api).concat(app_constants_endpoints_constant__WEBPACK_IMPORTED_MODULE_2__["ENDPOINT"].msReporteria.reportes, "/reporte-PDF"), reporte);
          }
        }]);

        return ReportesService;
      }();

      ReportesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({
        factory: function ReportesService_Factory() {
          return new ReportesService(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]));
        },
        token: ReportesService,
        providedIn: "root"
      });
      /***/
    }
  }]);
})();
//# sourceMappingURL=default~compras-compras-module-ngfactory~inventarios-inventarios-module-ngfactory-es5.c1594f3fed9842df04c1.js.map