{"version":3,"sources":["webpack:///./src/modules/report-max-min/actions.js","webpack:///./src/modules/products/mutations.js","webpack:///./src/modules/despatch-packing/actions.js","webpack:///./src/modules/accounting-detail/mutations.js","webpack:///./src/modules/reservationProduct/mutations.js","webpack:///./src/modules/manage-inventory-documents/actions.js","webpack:///./src/modules/report-log/actions.js","webpack:///./src/modules/despatch-packing/state.js","webpack:///./src/modules/incorporate-bank-statement/actions.js","webpack:///./src/modules/cash-registers-updates/actions.js","webpack:///./src/modules/report-reult-eri/actions.js","webpack:///./src/modules/accounting_concept/actions.js","webpack:///./src/modules/report-user-document/mutations.js","webpack:///./src/modules/portfolio_reclassification/mutations.js","webpack:///./src/modules/branchoffices-warehouses/actions.js","webpack:///./src/modules/report-reult-eri/mutations.js","webpack:///./src/modules/customerDiscountBrand/mutations.js","webpack:///./src/modules/report-log/state.js","webpack:///./src/modules/report-log/mutations.js","webpack:///./src/modules/report-log/index.js","webpack:///./src/modules/subscribers/actions.js","webpack:///./src/modules/report-picking/mutations.js","webpack:///./src/modules/physical-inventory/actions.js","webpack:///./src/modules/prospective-client/actions.js","webpack:///./src/modules/inventory-reconciliation/mutations.js","webpack:///./src/modules/base-documents/mutations.js","webpack:///./src/modules/inventory-movements/state.js","webpack:///./src/modules/report-sales-referrals/actions.js","webpack:///./src/modules/reception_documents/mutations.js","webpack:///./src/modules/guarantees_admin/actions.js","webpack:///./src/util/domains.js","webpack:///./src/modules/reception_documents/actions.js","webpack:///./src/modules/inventory-movements/mutations.js","webpack:///./src/modules/product-pricing/mutations.js","webpack:///./src/plugins/bootstrap-vue.js","webpack:///./src/plugins/element-ui.js","webpack:///./src/plugins/moment.js","webpack:///./src/plugins/toggle-switch.js","webpack:///./src/plugins/vee-vaidate.js","webpack:///./src/plugins/vue-currency-filter.js","webpack:///./src/plugins/vue-columns-resizable.js","webpack:///src/App.vue","webpack:///./src/App.vue?5fb0","webpack:///./src/App.vue","webpack:///./src/router/routes.js","webpack:///./src/b2b/router/index.js","webpack:///./src/reports-aggrid/router/index.js","webpack:///./src/point_of_sale/router/index.js","webpack:///./src/store/mutations.js","webpack:///./src/modules/licenses/state.js","webpack:///./src/modules/licenses/mutations.js","webpack:///./src/modules/licenses/actions.js","webpack:///./src/modules/licenses/getters.js","webpack:///./src/modules/licenses/index.js","webpack:///./src/modules/param-tables/state.js","webpack:///./src/modules/param-tables/mutations.js","webpack:///./src/modules/param-tables/actions.js","webpack:///./src/modules/param-tables/getters.js","webpack:///./src/modules/param-tables/index.js","webpack:///./src/modules/parameters/state.js","webpack:///./src/modules/parameters/mutations.js","webpack:///./src/modules/parameters/actions.js","webpack:///./src/modules/parameters/getters.js","webpack:///./src/modules/parameters/index.js","webpack:///./src/modules/tabs/mutations.js","webpack:///./src/modules/tabs/actions.js","webpack:///./src/modules/tabs/index.js","webpack:///./src/modules/tabs/state.js","webpack:///./src/modules/subscribers/state.js","webpack:///./src/modules/subscribers/mutations.js","webpack:///./src/modules/subscribers/getters.js","webpack:///./src/modules/subscribers/index.js","webpack:///./src/modules/vouchers-types/state.js","webpack:///./src/modules/vouchers-types/mutations.js","webpack:///./src/modules/vouchers-types/getters.js","webpack:///./src/modules/vouchers-types/index.js","webpack:///./src/modules/branch-offices/state.js","webpack:///./src/modules/branch-offices/mutations.js","webpack:///./src/modules/branch-offices/actions.js","webpack:///./src/modules/branch-offices/getters.js","webpack:///./src/modules/branch-offices/index.js","webpack:///./src/modules/projects/state.js","webpack:///./src/modules/projects/mutations.js","webpack:///./src/modules/projects/actions.js","webpack:///./src/modules/projects/index.js","webpack:///./src/modules/branchoffices-warehouses/mutations.js","webpack:///./src/modules/branchoffices-warehouses/index.js","webpack:///./src/modules/branchoffices-warehouses/state.js","webpack:///./src/modules/contacts/actions.js","webpack:///./src/modules/contacts/getters.js","webpack:///./src/modules/contacts/index.js","webpack:///./src/modules/contacts-clerks/state.js","webpack:///./src/modules/contacts-clerks/mutations.js","webpack:///./src/modules/contacts-clerks/actions.js","webpack:///./src/modules/contacts-clerks/getters.js","webpack:///./src/modules/contacts-clerks/index.js","webpack:///./src/modules/contacts-warehouses/state.js","webpack:///./src/modules/contacts-warehouses/mutations.js","webpack:///./src/modules/contacts-warehouses/actions.js","webpack:///./src/modules/contacts-warehouses/getters.js","webpack:///./src/modules/contacts-warehouses/index.js","webpack:///./src/modules/contacts-documents/state.js","webpack:///./src/modules/contacts-documents/mutations.js","webpack:///./src/modules/contacts-documents/actions.js","webpack:///./src/modules/contacts-documents/getters.js","webpack:///./src/modules/contacts-documents/index.js","webpack:///./src/modules/departments/mutations.js","webpack:///./src/modules/departments/actions.js","webpack:///./src/modules/departments/index.js","webpack:///./src/modules/departments/state.js","webpack:///./src/modules/cities/mutations.js","webpack:///./src/modules/cities/actions.js","webpack:///./src/modules/cities/index.js","webpack:///./src/modules/cities/state.js","webpack:///./src/modules/lines/state.js","webpack:///./src/modules/lines/mutations.js","webpack:///./src/modules/lines/actions.js","webpack:///./src/modules/lines/getters.js","webpack:///./src/modules/lines/index.js","webpack:///./src/modules/cash-register-square/index.js","webpack:///./src/modules/cash-register-square/state.js","webpack:///./src/modules/balance-crossing/state.js","webpack:///./src/modules/balance-crossing/mutations.js","webpack:///./src/modules/balance-crossing/actions.js","webpack:///./src/modules/balance-crossing/getters.js","webpack:///./src/modules/balance-crossing/index.js","webpack:///./src/modules/data_sheet/state.js","webpack:///./src/modules/data_sheet/mutations.js","webpack:///./src/modules/data_sheet/actions.js","webpack:///./src/modules/data_sheet/getters.js","webpack:///./src/modules/data_sheet/index.js","webpack:///./src/modules/star-jobs/state.js","webpack:///./src/modules/modaldocs/mutations.js","webpack:///./src/modules/modaldocs/actions.js","webpack:///./src/modules/modaldocs/index.js","webpack:///./src/modules/modaldocs/state.js","webpack:///./src/modules/transfer/state.js","webpack:///./src/modules/transfer/mutations.js","webpack:///./src/modules/transfer/actions.js","webpack:///./src/modules/transfer/index.js","webpack:///./src/modules/account/mutations.js","webpack:///./src/modules/account/actions.js","webpack:///./src/modules/account/index.js","webpack:///./src/modules/account/state.js","webpack:///./src/modules/Aurora/actions.js","webpack:///./src/modules/Aurora/mutations.js","webpack:///./src/modules/Aurora/index.js","webpack:///./src/modules/Aurora/state.js","webpack:///./src/modules/star-jobs/mutations.js","webpack:///./src/modules/star-jobs/actions.js","webpack:///./src/modules/star-jobs/index.js","webpack:///./src/modules/various-vouchers/mutations.js","webpack:///./src/modules/various-vouchers/index.js","webpack:///./src/modules/various-vouchers/state.js","webpack:///./src/modules/transfer-rot/state.js","webpack:///./src/modules/transfer-rot/mutations.js","webpack:///./src/modules/transfer-rot/actions.js","webpack:///./src/modules/transfer-rot/index.js","webpack:///./src/modules/kardex/state.js","webpack:///./src/modules/kardex/mutations.js","webpack:///./src/modules/kardex/actions.js","webpack:///./src/modules/kardex/getters.js","webpack:///./src/modules/kardex/index.js","webpack:///./src/modules/clear-erp/mutations.js","webpack:///./src/modules/clear-erp/actions.js","webpack:///./src/modules/clear-erp/index.js","webpack:///./src/modules/clear-erp/state.js","webpack:///./src/modules/seller-route/mutations.js","webpack:///./src/modules/seller-route/actions.js","webpack:///./src/modules/availability-inquiry/state.js","webpack:///./src/modules/seller-route/index.js","webpack:///./src/modules/seller-route/state.js","webpack:///./src/modules/rebuild/actions.js","webpack:///./src/modules/rebuild/index.js","webpack:///./src/modules/rebuild/state.js","webpack:///./src/modules/availability-inquiry/actions.js","webpack:///./src/modules/availability-inquiry/index.js","webpack:///./src/modules/sublines/state.js","webpack:///./src/modules/sublines/mutations.js","webpack:///./src/modules/sublines/actions.js","webpack:///./src/modules/sublines/getters.js","webpack:///./src/modules/sublines/index.js","webpack:///./src/modules/users/state.js","webpack:///./src/modules/users/mutations.js","webpack:///./src/modules/users/actions.js","webpack:///./src/modules/users/getters.js","webpack:///./src/modules/users/index.js","webpack:///./src/modules/login/state.js","webpack:///./src/modules/login/mutations.js","webpack:///./src/modules/login/actions.js","webpack:///./src/modules/login/getters.js","webpack:///./src/modules/login/index.js","webpack:///./src/modules/brands/state.js","webpack:///./src/modules/brands/mutations.js","webpack:///./src/modules/brands/actions.js","webpack:///./src/modules/brands/getters.js","webpack:///./src/modules/brands/index.js","webpack:///./src/modules/subbrands/state.js","webpack:///./src/modules/subbrands/mutations.js","webpack:///./src/modules/subbrands/actions.js","webpack:///./src/modules/subbrands/getters.js","webpack:///./src/modules/subbrands/index.js","webpack:///./src/modules/categories/state.js","webpack:///./src/modules/categories/mutations.js","webpack:///./src/modules/categories/actions.js","webpack:///./src/modules/categories/getters.js","webpack:///./src/modules/categories/index.js","webpack:///./src/modules/subcategories/state.js","webpack:///./src/modules/subcategories/mutations.js","webpack:///./src/modules/subcategories/actions.js","webpack:///./src/modules/subcategories/getters.js","webpack:///./src/modules/subcategories/index.js","webpack:///./src/modules/menu/state.js","webpack:///./src/modules/menu/mutations.js","webpack:///./src/modules/menu/actions.js","webpack:///./src/modules/menu/getters.js","webpack:///./src/modules/menu/index.js","webpack:///./src/modules/banners-b2b/state.js","webpack:///./src/modules/banners-b2b/actions.js","webpack:///./src/modules/banners-b2b/mutations.js","webpack:///./src/modules/banners-b2b/index.js","webpack:///./src/b2b/modules/home/state.js","webpack:///./src/b2b/modules/home/actions.js","webpack:///./src/b2b/modules/home/mutations.js","webpack:///./src/b2b/modules/home/index.js","webpack:///./src/b2b/modules/catalog/actions.js","webpack:///./src/b2b/modules/catalog/mutations.js","webpack:///./src/b2b/modules/catalog/getters.js","webpack:///./src/b2b/modules/catalog/index.js","webpack:///./src/b2b/modules/catalog/state.js","webpack:///./src/modules/ecommerce/state.js","webpack:///./src/modules/ecommerce/actions.js","webpack:///./src/modules/ecommerce/mutations.js","webpack:///./src/modules/ecommerce/index.js","webpack:///./src/b2b/modules/product-detail/state.js","webpack:///./src/b2b/modules/product-detail/actions.js","webpack:///./src/b2b/modules/product-detail/mutations.js","webpack:///./src/b2b/modules/product-detail/getters.js","webpack:///./src/b2b/modules/product-detail/index.js","webpack:///./src/b2b/modules/cart/state.js","webpack:///./src/b2b/modules/cart/actions.js","webpack:///./src/b2b/modules/cart/mutations.js","webpack:///./src/b2b/modules/cart/index.js","webpack:///./src/b2b/modules/relative-products-form/actions.js","webpack:///./src/b2b/modules/relative-products-form/mutations.js","webpack:///./src/b2b/modules/relative-products-form/index.js","webpack:///./src/b2b/modules/relative-products-form/state.js","webpack:///./src/b2b/modules/orders-history/actions.js","webpack:///./src/b2b/modules/orders-history/mutations.js","webpack:///./src/b2b/modules/orders-history/getters.js","webpack:///./src/b2b/modules/orders-history/index.js","webpack:///./src/b2b/modules/orders-history/state.js","webpack:///./src/b2b/modules/receivable/actions.js","webpack:///./src/b2b/modules/receivable/mutations.js","webpack:///./src/b2b/modules/receivable/getters.js","webpack:///./src/b2b/modules/receivable/index.js","webpack:///./src/b2b/modules/receivable/state.js","webpack:///./src/b2b/modules/replacement-assistant/actions.js","webpack:///./src/b2b/modules/replacement-assistant/mutations.js","webpack:///./src/b2b/modules/replacement-assistant/getters.js","webpack:///./src/b2b/modules/replacement-assistant/index.js","webpack:///./src/b2b/modules/replacement-assistant/state.js","webpack:///./src/modules/prospective-client/state.js","webpack:///./src/modules/prospective-client/mutations.js","webpack:///./src/modules/prospective-client/getters.js","webpack:///./src/modules/prospective-client/index.js","webpack:///./src/modules/payment-managment/actions.js","webpack:///./src/modules/payment-managment/mutations.js","webpack:///./src/modules/payment-managment/index.js","webpack:///./src/modules/payment-managment/state.js","webpack:///./src/modules/products/getters.js","webpack:///./src/modules/products/index.js","webpack:///./src/modules/visits/state.js","webpack:///./src/modules/visits/mutations.js","webpack:///./src/modules/visits/actions.js","webpack:///./src/modules/visits/getters.js","webpack:///./src/modules/visits/index.js","webpack:///./src/modules/listproducts/actions.js","webpack:///./src/modules/listproducts/mutations.js","webpack:///./src/modules/listproducts/index.js","webpack:///./src/modules/listproducts/state.js","webpack:///./src/modules/prices/mutations.js","webpack:///./src/modules/prices/actions.js","webpack:///./src/modules/prices/getters.js","webpack:///./src/modules/prices/index.js","webpack:///./src/modules/prices/state.js","webpack:///./src/modules/documents/mutations.js","webpack:///./src/modules/documents/actions.js","webpack:///./src/modules/documents/getters.js","webpack:///./src/modules/documents/index.js","webpack:///./src/modules/documents/state.js","webpack:///./src/modules/inventories/mutations.js","webpack:///./src/modules/inventories/actions.js","webpack:///./src/modules/inventories/getters.js","webpack:///./src/modules/inventories/index.js","webpack:///./src/modules/inventories/state.js","webpack:///./src/modules/types-operations/state.js","webpack:///./src/modules/types-operations/mutations.js","webpack:///./src/modules/types-operations/actions.js","webpack:///./src/modules/types-operations/getters.js","webpack:///./src/modules/types-operations/index.js","webpack:///./src/modules/models/state.js","webpack:///./src/modules/models/mutations.js","webpack:///./src/modules/models/actions.js","webpack:///./src/modules/models/getters.js","webpack:///./src/modules/models/index.js","webpack:///./src/modules/taxes/mutations.js","webpack:///./src/modules/taxes/actions.js","webpack:///./src/modules/taxes/index.js","webpack:///./src/modules/taxes/state.js","webpack:///./src/modules/promotions/state.js","webpack:///./src/modules/promotions/mutations.js","webpack:///./src/modules/promotions/actions.js","webpack:///./src/modules/promotions/getters.js","webpack:///./src/modules/promotions/index.js","webpack:///./src/modules/base-documents/actions.js","webpack:///./src/modules/base-documents/getters.js","webpack:///./src/modules/base-documents/index.js","webpack:///./src/modules/base-documents/state.js","webpack:///./src/modules/request-headers/mutations.js","webpack:///./src/modules/request-headers/actions.js","webpack:///./src/modules/request-headers/getters.js","webpack:///./src/modules/request-headers/index.js","webpack:///./src/modules/request-headers/state.js","webpack:///./src/modules/request-products/state.js","webpack:///./src/modules/request-products/mutations.js","webpack:///./src/modules/request-products/actions.js","webpack:///./src/modules/request-products/getters.js","webpack:///./src/modules/request-products/index.js","webpack:///./src/modules/inventory-movements/getters.js","webpack:///./src/modules/inventory-movements/index.js","webpack:///./src/modules/certificates-retentions/state.js","webpack:///./src/modules/certificates-retentions/mutations.js","webpack:///./src/modules/certificates-retentions/actions.js","webpack:///./src/modules/certificates-retentions/getters.js","webpack:///./src/modules/certificates-retentions/index.js","webpack:///./src/modules/nuevo-informe/state.js","webpack:///./src/modules/nuevo-informe/mutations.js","webpack:///./src/modules/nuevo-informe/actions.js","webpack:///./src/modules/nuevo-informe/index.js","webpack:///./src/modules/orders_retained/state.js","webpack:///./src/modules/orders_retained/mutations.js","webpack:///./src/modules/orders_retained/actions.js","webpack:///./src/modules/orders_retained/index.js","webpack:///./src/modules/despatch/state.js","webpack:///./src/modules/despatch/mutations.js","webpack:///./src/modules/despatch/actions.js","webpack:///./src/modules/despatch/getters.js","webpack:///./src/modules/despatch/index.js","webpack:///./src/modules/despatch-packing/getters.js","webpack:///./src/modules/despatch-packing/index.js","webpack:///./src/modules/discount/mutations.js","webpack:///./src/modules/discount/actions.js","webpack:///./src/modules/discount/index.js","webpack:///./src/modules/discount/state.js","webpack:///./src/modules/auxiliary-book/mutations.js","webpack:///./src/modules/auxiliary-book/index.js","webpack:///./src/modules/auxiliary-book/state.js","webpack:///./src/modules/auxiliary-book-contact/mutations.js","webpack:///./src/modules/auxiliary-book-contact/actions.js","webpack:///./src/modules/auxiliary-book-contact/index.js","webpack:///./src/modules/auxiliary-book-contact/state.js","webpack:///./src/modules/report-commisions/mutations.js","webpack:///./src/modules/report-commisions/actions.js","webpack:///./src/modules/report-commisions/index.js","webpack:///./src/modules/report-commisions/state.js","webpack:///./src/modules/report-bo/mutations.js","webpack:///./src/modules/report-bo/actions.js","webpack:///./src/modules/report-bo/index.js","webpack:///./src/modules/report-bo/state.js","webpack:///./src/modules/conciliation-balances/mutations.js","webpack:///./src/modules/conciliation-balances/actions.js","webpack:///./src/modules/conciliation-balances/index.js","webpack:///./src/modules/conciliation-balances/state.js","webpack:///./src/modules/account-balance/mutations.js","webpack:///./src/modules/account-balance/actions.js","webpack:///./src/modules/account-balance/index.js","webpack:///./src/modules/account-balance/state.js","webpack:///./src/modules/estados-financieros/state.js","webpack:///./src/modules/estados-financieros/mutations.js","webpack:///./src/modules/estados-financieros/actions.js","webpack:///./src/modules/estados-financieros/index.js","webpack:///./src/modules/trial-balance/state.js","webpack:///./src/modules/trial-balance/mutations.js","webpack:///./src/modules/trial-balance/actions.js","webpack:///./src/modules/trial-balance/index.js","webpack:///./src/modules/trial-balance-contact/state.js","webpack:///./src/modules/trial-balance-contact/mutations.js","webpack:///./src/modules/trial-balance-contact/actions.js","webpack:///./src/modules/trial-balance-contact/index.js","webpack:///./src/modules/account-comparison/state.js","webpack:///./src/modules/account-comparison/mutations.js","webpack:///./src/modules/account-comparison/actions.js","webpack:///./src/modules/account-comparison/index.js","webpack:///./src/modules/discount-inconsistencies/state.js","webpack:///./src/modules/discount-inconsistencies/mutations.js","webpack:///./src/modules/discount-inconsistencies/actions.js","webpack:///./src/modules/discount-inconsistencies/getters.js","webpack:///./src/modules/discount-inconsistencies/index.js","webpack:///./src/modules/request-service/state.js","webpack:///./src/modules/request-service/mutations.js","webpack:///./src/modules/request-service/actions.js","webpack:///./src/modules/request-service/getters.js","webpack:///./src/modules/request-service/index.js","webpack:///./src/modules/incorporate-bank-statement/mutations.js","webpack:///./src/modules/incorporate-bank-statement/getters.js","webpack:///./src/modules/incorporate-bank-statement/index.js","webpack:///./src/modules/incorporate-bank-statement/state.js","webpack:///./src/modules/incorporation-consumption/mutations.js","webpack:///./src/modules/incorporation-consumption/actions.js","webpack:///./src/modules/incorporation-consumption/index.js","webpack:///./src/modules/incorporation-consumption/state.js","webpack:///./src/modules/discount-soon-payment/mutations.js","webpack:///./src/modules/discount-soon-payment/actions.js","webpack:///./src/modules/discount-soon-payment/index.js","webpack:///./src/modules/discount-soon-payment/state.js","webpack:///./src/modules/automatic_portfolio_delivery/state.js","webpack:///./src/modules/automatic_portfolio_delivery/actions.js","webpack:///./src/modules/automatic_portfolio_delivery/mutations.js","webpack:///./src/modules/automatic_portfolio_delivery/index.js","webpack:///./src/modules/operations-report/mutations.js","webpack:///./src/modules/operations-report/index.js","webpack:///./src/modules/operations-report/state.js","webpack:///./src/modules/roles/state.js","webpack:///./src/modules/roles/mutations.js","webpack:///./src/modules/roles/actions.js","webpack:///./src/modules/roles/index.js","webpack:///./src/modules/inventory-users/state.js","webpack:///./src/modules/inventory-users/mutations.js","webpack:///./src/modules/inventory-users/actions.js","webpack:///./src/modules/inventory-users/index.js","webpack:///./src/modules/ordersManagement/mutations.js","webpack:///./src/modules/ordersManagement/actions.js","webpack:///./src/modules/ordersManagement/getters.js","webpack:///./src/modules/ordersManagement/index.js","webpack:///./src/modules/cashReceipts/state.js","webpack:///./src/modules/ordersManagement/state.js","webpack:///./src/modules/cashReceipts/mutations.js","webpack:///./src/modules/cashReceipts/actions.js","webpack:///./src/modules/cashReceipts/getters.js","webpack:///./src/modules/cashReceipts/index.js","webpack:///./src/modules/notifications/mutations.js","webpack:///./src/modules/notifications/actions.js","webpack:///./src/modules/notifications/index.js","webpack:///./src/modules/notifications/state.js","webpack:///./src/modules/payment-methods/state.js","webpack:///./src/modules/payment-methods/mutations.js","webpack:///./src/modules/payment-methods/index.js","webpack:///./src/modules/customer_account_statement/state.js","webpack:///./src/modules/customer_account_statement/mutations.js","webpack:///./src/modules/customer_account_statement/actions.js","webpack:///./src/modules/customer_account_statement/index.js","webpack:///./src/modules/invoice_detail/mutations.js","webpack:///./src/modules/invoice_detail/actions.js","webpack:///./src/modules/invoice_detail/index.js","webpack:///./src/modules/invoice_detail/state.js","webpack:///./src/modules/reassign_seller/mutations.js","webpack:///./src/modules/reassign_seller/actions.js","webpack:///./src/modules/reassign_seller/index.js","webpack:///./src/modules/reassign_seller/state.js","webpack:///./src/modules/suggested_replacement/mutations.js","webpack:///./src/modules/suggested_replacement/actions.js","webpack:///./src/modules/suggested_replacement/index.js","webpack:///./src/modules/suggested_replacement/state.js","webpack:///./src/modules/audit/mutations.js","webpack:///./src/modules/audit/actions.js","webpack:///./src/modules/audit/index.js","webpack:///./src/modules/audit/state.js","webpack:///./src/modules/send_documents/mutations.js","webpack:///./src/modules/send_documents/actions.js","webpack:///./src/modules/send_documents/index.js","webpack:///./src/modules/send_documents/state.js","webpack:///./src/modules/report/mutations.js","webpack:///./src/modules/report/actions.js","webpack:///./src/modules/report/index.js","webpack:///./src/modules/report/state.js","webpack:///./src/reports-aggrid/modules/dynamic-matrix/mutations.js","webpack:///./src/reports-aggrid/modules/dynamic-matrix/actions.js","webpack:///./src/reports-aggrid/modules/dynamic-matrix/index.js","webpack:///./src/reports-aggrid/modules/dynamic-matrix/state.js","webpack:///./src/reports-aggrid/modules/sales-products/mutations.js","webpack:///./src/reports-aggrid/modules/sales-products/actions.js","webpack:///./src/reports-aggrid/modules/sales-products/index.js","webpack:///./src/reports-aggrid/modules/sales-products/state.js","webpack:///./src/modules/update_balances/mutations.js","webpack:///./src/modules/update_balances/actions.js","webpack:///./src/modules/update_balances/index.js","webpack:///./src/modules/update_balances/state.js","webpack:///./src/modules/fixAssets/state.js","webpack:///./src/modules/fixAssets/mutations.js","webpack:///./src/modules/fixAssets/actions.js","webpack:///./src/modules/fixAssets/index.js","webpack:///./src/modules/dateFirm/state.js","webpack:///./src/modules/dateFirm/mutations.js","webpack:///./src/modules/dateFirm/actions.js","webpack:///./src/modules/dateFirm/index.js","webpack:///./src/modules/receivable/mutations.js","webpack:///./src/modules/receivable/actions.js","webpack:///./src/modules/receivable/index.js","webpack:///./src/modules/receivable/state.js","webpack:///./src/modules/receivable-report/state.js","webpack:///./src/modules/receivable-report/mutations.js","webpack:///./src/modules/receivable-report/actions.js","webpack:///./src/modules/receivable-report/index.js","webpack:///./src/modules/commission-sale-brand/mutations.js","webpack:///./src/modules/commission-sale-brand/actions.js","webpack:///./src/modules/commission-sale-brand/index.js","webpack:///./src/modules/commission-sale-brand/state.js","webpack:///./src/modules/inventory-report/state.js","webpack:///./src/modules/inventory-report/mutations.js","webpack:///./src/modules/inventory-report/actions.js","webpack:///./src/modules/inventory-report/index.js","webpack:///./src/modules/inventory-reposition/mutations.js","webpack:///./src/modules/inventory-reposition/actions.js","webpack:///./src/modules/inventory-reposition/index.js","webpack:///./src/modules/inventory-reposition/state.js","webpack:///./src/modules/project-movements/mutations.js","webpack:///./src/modules/project-movements/actions.js","webpack:///./src/modules/project-movements/index.js","webpack:///./src/modules/project-movements/state.js","webpack:///./src/modules/historical-by-document/state.js","webpack:///./src/modules/historical-by-document/mutations.js","webpack:///./src/modules/historical-by-document/actions.js","webpack:///./src/modules/historical-by-document/index.js","webpack:///./src/modules/accounting-inventory-movements/actions.js","webpack:///./src/modules/accounting-inventory-movements/mutations.js","webpack:///./src/modules/accounting-inventory-movements/index.js","webpack:///./src/modules/accounting-inventory-movements/state.js","webpack:///./src/modules/movements-account-contact/mutations.js","webpack:///./src/modules/movements-account-contact/actions.js","webpack:///./src/modules/movements-account-contact/index.js","webpack:///./src/modules/movements-account-contact/state.js","webpack:///./src/modules/protractor-guide/actions.js","webpack:///./src/modules/protractor-guide/getters.js","webpack:///./src/modules/protractor-guide/index.js","webpack:///./src/modules/prices-contacts/state.js","webpack:///./src/modules/prices-contacts/mutations.js","webpack:///./src/modules/prices-contacts/actions.js","webpack:///./src/modules/prices-contacts/getters.js","webpack:///./src/modules/prices-contacts/index.js","webpack:///./src/modules/incorporate_inventory_initial_balance/mutations.js","webpack:///./src/modules/incorporate_inventory_initial_balance/index.js","webpack:///./src/modules/incorporate_inventory_initial_balance/state.js","webpack:///./src/modules/accounting-detail/actions.js","webpack:///./src/modules/accounting-detail/index.js","webpack:///./src/modules/accounting-detail/state.js","webpack:///./src/modules/report-commisions-collection/mutations.js","webpack:///./src/modules/report-commisions-collection/actions.js","webpack:///./src/modules/report-commisions-collection/index.js","webpack:///./src/modules/report-commisions-collection/state.js","webpack:///./src/modules/import-saldos-contables/mutations.js","webpack:///./src/modules/import-saldos-contables/actions.js","webpack:///./src/modules/import-saldos-contables/index.js","webpack:///./src/modules/import-saldos-contables/state.js","webpack:///./src/modules/manage-inventory-documents/index.js","webpack:///./src/modules/manage-inventory-documents/state.js","webpack:///./src/modules/report-picking/actions.js","webpack:///./src/modules/report-picking/index.js","webpack:///./src/modules/report-picking/state.js","webpack:///./src/modules/excel-inventory/state.js","webpack:///./src/modules/excel-inventory/mutations.js","webpack:///./src/modules/excel-inventory/actions.js","webpack:///./src/modules/excel-inventory/index.js","webpack:///./src/modules/balance-for-contacts/state.js","webpack:///./src/modules/balance-for-contacts/actions.js","webpack:///./src/modules/balance-for-contacts/mutations.js","webpack:///./src/modules/balance-for-contacts/index.js","webpack:///./src/modules/import-payment-methods-document/mutations.js","webpack:///./src/modules/import-payment-methods-document/actions.js","webpack:///./src/modules/import-payment-methods-document/index.js","webpack:///./src/modules/import-payment-methods-document/state.js","webpack:///./src/modules/products_equivalent/mutations.js","webpack:///./src/modules/products_equivalent/actions.js","webpack:///./src/modules/products_equivalent/index.js","webpack:///./src/modules/products_equivalent/state.js","webpack:///./src/modules/delete-documents/state.js","webpack:///./src/modules/delete-documents/mutations.js","webpack:///./src/modules/delete-documents/index.js","webpack:///./src/modules/balance_reconciliation/state.js","webpack:///./src/modules/balance_reconciliation/actions.js","webpack:///./src/modules/balance_reconciliation/mutations.js","webpack:///./src/modules/balance_reconciliation/index.js","webpack:///./src/modules/check-consignment/state.js","webpack:///./src/modules/check-consignment/mutations.js","webpack:///./src/modules/portfolio_reclassification/state.js","webpack:///./src/modules/check-consignment/index.js","webpack:///./src/modules/portfolio_reclassification/index.js","webpack:///./src/modules/table-parameters/mutations.js","webpack:///./src/modules/table-parameters/actions.js","webpack:///./src/modules/table-parameters/index.js","webpack:///./src/modules/table-parameters/state.js","webpack:///./src/modules/dataphones/actions.js","webpack:///./src/modules/dataphones/state.js","webpack:///./src/modules/dataphones/mutations.js","webpack:///./src/modules/dataphones/index.js","webpack:///./src/modules/report-max-min/state.js","webpack:///./src/modules/report-max-min/mutations.js","webpack:///./src/modules/report-user-document/state.js","webpack:///./src/modules/report-max-min/index.js","webpack:///./src/modules/reception_documents/index.js","webpack:///./src/modules/report-user-document/index.js","webpack:///./src/modules/contact-balance/state.js","webpack:///./src/modules/contact-balance/mutations.js","webpack:///./src/modules/contact-balance/actions.js","webpack:///./src/modules/contact-balance/index.js","webpack:///./src/modules/update-withholdings/mutations.js","webpack:///./src/modules/update-withholdings/index.js","webpack:///./src/modules/update-withholdings/state.js","webpack:///./src/modules/report-transfers/state.js","webpack:///./src/modules/report-transfers/mutations.js","webpack:///./src/modules/report-transfers/actions.js","webpack:///./src/modules/report-transfers/index.js","webpack:///./src/modules/accounting_concept/state.js","webpack:///./src/modules/accounting_concept/mutations.js","webpack:///./src/modules/accounting_concept/index.js","webpack:///./src/modules/b2c_integration/mutations.js","webpack:///./src/modules/b2c_integration/actions.js","webpack:///./src/modules/b2c_integration/index.js","webpack:///./src/modules/b2c_integration/state.js","webpack:///./src/modules/report-document-pending-dispatch-order/mutations.js","webpack:///./src/modules/report-document-pending-dispatch-order/index.js","webpack:///./src/modules/report-document-pending-dispatch-order/state.js","webpack:///./src/modules/report-sales-referrals/index.js","webpack:///./src/modules/report-sales-referrals/state.js","webpack:///./src/modules/physical-inventory/index.js","webpack:///./src/modules/physical-inventory/state.js","webpack:///./src/modules/selling-prices-above-cost/mutations.js","webpack:///./src/modules/selling-prices-above-cost/actions.js","webpack:///./src/modules/selling-prices-above-cost/index.js","webpack:///./src/modules/selling-prices-above-cost/state.js","webpack:///./src/modules/sales-detail/mutations.js","webpack:///./src/modules/sales-detail/actions.js","webpack:///./src/modules/sales-detail/index.js","webpack:///./src/modules/sales-detail/state.js","webpack:///./src/modules/sales-budgets/state.js","webpack:///./src/modules/sales-budgets/mutations.js","webpack:///./src/modules/sales-budgets/actions.js","webpack:///./src/modules/sales-budgets/getters.js","webpack:///./src/modules/sales-budgets/index.js","webpack:///./src/modules/sales_budget_by_contacts_warehouses/state.js","webpack:///./src/modules/sales_budget_by_contacts_warehouses/mutations.js","webpack:///./src/modules/sales_budget_by_contacts_warehouses/actions.js","webpack:///./src/modules/sales_budget_by_contacts_warehouses/getters.js","webpack:///./src/modules/sales_budget_by_contacts_warehouses/index.js","webpack:///./src/reports-aggrid/modules/sales-budget/mutations.js","webpack:///./src/reports-aggrid/modules/sales-budget/actions.js","webpack:///./src/reports-aggrid/modules/sales-budget/index.js","webpack:///./src/reports-aggrid/modules/sales-budget/state.js","webpack:///./src/reports-aggrid/modules/sales-budget-detail/mutations.js","webpack:///./src/reports-aggrid/modules/sales-budget-detail/actions.js","webpack:///./src/reports-aggrid/modules/sales-budget-detail/index.js","webpack:///./src/reports-aggrid/modules/sales-budget-detail/state.js","webpack:///./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/mutations.js","webpack:///./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/actions.js","webpack:///./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/index.js","webpack:///./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/state.js","webpack:///./src/modules/masive-mails/mutations.js","webpack:///./src/modules/masive-mails/actions.js","webpack:///./src/modules/masive-mails/index.js","webpack:///./src/modules/masive-mails/state.js","webpack:///./src/modules/consolidated_kardex/state.js","webpack:///./src/modules/consolidated_kardex/mutations.js","webpack:///./src/modules/consolidated_kardex/actions.js","webpack:///./src/modules/consolidated_kardex/index.js","webpack:///./src/modules/magneticMedia/state.js","webpack:///./src/modules/magneticMedia/mutations.js","webpack:///./src/modules/magneticMedia/actions.js","webpack:///./src/modules/magneticMedia/getters.js","webpack:///./src/modules/magneticMedia/index.js","webpack:///./src/modules/leadership/state.js","webpack:///./src/modules/leadership/mutations.js","webpack:///./src/modules/leadership/actions.js","webpack:///./src/modules/leadership/getters.js","webpack:///./src/modules/leadership/index.js","webpack:///./src/modules/schedule/state.js","webpack:///./src/modules/schedule/mutations.js","webpack:///./src/modules/schedule/actions.js","webpack:///./src/modules/schedule/getters.js","webpack:///./src/modules/schedule/index.js","webpack:///./src/modules/import-terceros/mutations.js","webpack:///./src/modules/import-terceros/actions.js","webpack:///./src/modules/import-terceros/index.js","webpack:///./src/modules/import-terceros/state.js","webpack:///./src/modules/import-products/mutations.js","webpack:///./src/modules/import-products/actions.js","webpack:///./src/modules/import-products/index.js","webpack:///./src/modules/import-products/state.js","webpack:///./src/modules/load_images/mutations.js","webpack:///./src/modules/load_images/actions.js","webpack:///./src/modules/load_images/index.js","webpack:///./src/modules/load_images/state.js","webpack:///./src/modules/clients-component/actions.js","webpack:///./src/modules/clients-component/index.js","webpack:///./src/modules/payments-methods-modal/index.js","webpack:///./src/modules/payments-methods-modal/state.js","webpack:///./src/modules/customerDiscountBrand/index.js","webpack:///./src/modules/customerDiscountBrand/state.js","webpack:///./src/point_of_sale/modules/point_of_sale/index.js","webpack:///./src/modules/incorporate_inventory_operations/state.js","webpack:///./src/modules/incorporate_inventory_operations/mutations.js","webpack:///./src/modules/incorporate_inventory_operations/actions.js","webpack:///./src/modules/incorporate_inventory_operations/index.js","webpack:///./src/modules/inventory-reconciliation/actions.js","webpack:///./src/modules/inventory-reconciliation/index.js","webpack:///./src/modules/inventory-reconciliation/state.js","webpack:///./src/modules/document_finder/state.js","webpack:///./src/modules/document_finder/mutations.js","webpack:///./src/modules/document_finder/actions.js","webpack:///./src/modules/document_finder/index.js","webpack:///./src/modules/import-ideal-balances/index.js","webpack:///./src/modules/import-ideal-balances/state.js","webpack:///./src/modules/provider_account_statement/state.js","webpack:///./src/modules/provider_account_statement/mutations.js","webpack:///./src/modules/provider_account_statement/actions.js","webpack:///./src/modules/provider_account_statement/index.js","webpack:///./src/modules/report-sales-purchases/mutations.js","webpack:///./src/modules/report-sales-purchases/actions.js","webpack:///./src/modules/report-sales-purchases/index.js","webpack:///./src/modules/report-sales-purchases/state.js","webpack:///./src/modules/import-accounts-plans/mutations.js","webpack:///./src/modules/import-accounts-plans/index.js","webpack:///./src/modules/import-accounts-plans/state.js","webpack:///./src/modules/report-reult-eri/state.js","webpack:///./src/modules/report-reult-eri/index.js","webpack:///./src/modules/incorporate_accounting_movements/state.js","webpack:///./src/modules/incorporate_accounting_movements/mutations.js","webpack:///./src/modules/incorporate_accounting_movements/actions.js","webpack:///./src/modules/incorporate_accounting_movements/index.js","webpack:///./src/modules/quotations/state.js","webpack:///./src/modules/quotations/mutations.js","webpack:///./src/modules/quotations/actions.js","webpack:///./src/modules/quotations/index.js","webpack:///./src/modules/whatsapp-api/state.js","webpack:///./src/modules/whatsapp-api/mutations.js","webpack:///./src/modules/whatsapp-api/actions.js","webpack:///./src/modules/whatsapp-api/index.js","webpack:///./src/b2b/modules/guarantees/index.js","webpack:///./src/modules/guarantees_admin/state.js","webpack:///./src/modules/guarantees_admin/mutations.js","webpack:///./src/modules/guarantees_admin/index.js","webpack:///./src/modules/validate-kardex/state.js","webpack:///./src/modules/validate-kardex/mutations.js","webpack:///./src/modules/validate-kardex/actions.js","webpack:///./src/modules/validate-kardex/index.js","webpack:///./src/modules/reservationProduct/actions.js","webpack:///./src/modules/reservationProduct/getters.js","webpack:///./src/modules/reservationProduct/index.js","webpack:///./src/modules/cash-registers-updates/mutations.js","webpack:///./src/modules/cash-registers-updates/index.js","webpack:///./src/modules/cash-registers-updates/state.js","webpack:///./src/modules/replacement_points_of_sale/state.js","webpack:///./src/modules/replacement_points_of_sale/mutations.js","webpack:///./src/modules/replacement_points_of_sale/actions.js","webpack:///./src/modules/replacement_points_of_sale/index.js","webpack:///./src/modules/modal-list-product-wms/state.js","webpack:///./src/modules/modal-list-product-wms/mutations.js","webpack:///./src/modules/modal-list-product-wms/actions.js","webpack:///./src/modules/modal-list-product-wms/getters.js","webpack:///./src/modules/modal-list-product-wms/index.js","webpack:///./src/modules/product-pricing/actions.js","webpack:///./src/modules/product-pricing/index.js","webpack:///./src/modules/product-pricing/state.js","webpack:///./src/store/store.js","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/modules/import-accounts-plans/actions.js","webpack:///./src/modules/protractor-guide/state.js","webpack:///./src/b2b/modules/guarantees/state.js","webpack:///./src/modules/availability-inquiry/mutations.js","webpack:///./src/modules/customerDiscountBrand/actions.js","webpack:///./src/modules/incorporate_inventory_initial_balance/actions.js","webpack:///./node_modules/leaflet/dist/images/marker-icon.png","webpack:///./src/modules/products/state.js","webpack:///./src/modules/payment-methods/actions.js","webpack:///./src/modules/reservationProduct/state.js","webpack:///./src/modules/cash-register-square/mutations.js","webpack:///./src/modules/auxiliary-book/actions.js","webpack:///./node_modules/pako/dist/pako.esm.mjs","webpack:///./src/modules/contacts/mutations.js","webpack:///./src/modules/physical-inventory/mutations.js","webpack:///./src/modules/manage-inventory-documents/mutations.js","webpack:///./src/modules/inventory-movements/actions.js","webpack:///./src/modules/products/actions.js","webpack:///./src/modules/protractor-guide/mutations.js","webpack:///./src/axios/index.js","webpack:///./src/modules/vouchers-types/actions.js","webpack:///./src/modules/clients-component/state.js","webpack:///./src/modules/delete-documents/actions.js","webpack:///./src/b2b/modules/guarantees/mutations.js","webpack:///./src/modules/cash-register-square/actions.js","webpack:///./src/modules/operations-report/actions.js","webpack:///./src/modules/check-consignment/actions.js","webpack:///./src/modules/various-vouchers/actions.js","webpack:///./src/modules/import-ideal-balances/actions.js","webpack:///./src/point_of_sale/modules/point_of_sale/mutations.js","webpack:///./src/modules/import-ideal-balances/mutations.js","webpack:///./src/modules/report-user-document/actions.js","webpack:///./src/modules/report-document-pending-dispatch-order/actions.js","webpack:///./node_modules/leaflet/dist/images/marker-icon-2x.png","webpack:///./src/b2b/modules/guarantees/actions.js","webpack:///./src/modules/reception_documents/state.js","webpack:///./src/modules/clients-component/mutations.js","webpack:///./node_modules/moment/locale ^\\.\\/.*$","webpack:///./src/point_of_sale/modules/point_of_sale/actions.js","webpack:///./src/modules/despatch-packing/mutations.js","webpack:///./src/modules/contacts/state.js","webpack:///./src/point_of_sale/modules/point_of_sale/state.js","webpack:///./node_modules/leaflet/dist/images/marker-shadow.png","webpack:///./src/modules/payments-methods-modal/actions.js","webpack:///./src/modules/update-withholdings/actions.js","webpack:///./src/modules/rebuild/mutations.js","webpack:///./src/assets/sounds/sound.mp3","webpack:///./src/modules/payments-methods-modal/mutations.js","webpack:///./src/util/roleFunctions.js","webpack:///./src/modules/portfolio_reclassification/actions.js","webpack:///./src/modules/report-sales-referrals/mutations.js"],"names":["_ref","_ref3","_ref5","_ref7","fetchBranchOffices","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator___default","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default","a","mark","_callee","_ref2","commit","state","wrap","_context","prev","next","$http","get","then","response","data","catch","error","Notification","title","message","type","duration","customClass","stop","this","_x","apply","arguments","fetchLines","_callee2","_ref4","dispatch","rootState","_context2","params","paginate","only_lines_unlocked_b2b","root","lines","_x2","fetchBrand","_callee3","_ref6","_context3","brands","_x3","_x4","fetchMinMaxReport","_callee4","_ref8","_context4","loading","module","_x5","products","data_sheets","JSON","parse","localStorage","getItem","identification","data_sheets_from_b2b","filter","item","includes","data_sheet_detail","internal_name","product","subcategory_id_1","subcategory_id","selectedProduct","providers","find","prov","id","provider","length","provider_contact","push","inventory","branchoffice_warehouse_id","Number","product_id","minimum_stock","maximum_stock","location","classification","selectedClassification","products_attachments","map","pa","encodedSrc","encodeURI","src","replace","encodedThump","thumb","getApiDomain","parameters_status","action","errorMessage","getProductEdit","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_assign___default","defaultSelectedProduct","price","price_list_id","image","url","data_sheet","products_technnical_data","link_data_sheet","sublines","p","value","label","subline_code","subline_description","description","subbrands","categories","categorie_code","el","category_id","subcategories","subcategorie_code","productType","size","color","rotationType","applicationUnit","branch","search_params","new_params","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default","np","add","errorFileImport","loadFileImport","tableProduct","pagination","ds","index","data_sheet_id","row","parameters","paramtable_id","warehouse_id","branchoffice","contact_id","rotationclassification","packing_units","images","loadImages","totalCuantity","loadedQuantity","processedQuantity","errors","has","modal_combos","products_combo","product_combo","show","types","generic_products","price_lists","general_price_list","pl","code_parameter","branchsWare","name","warehouse_description","loader","preloader","auditProduct","parameter_rotation_classification","bool","subscriber","code","parseInt","_ref9","_ref11","_ref13","_ref15","_ref17","_ref19","_ref21","_ref23","_ref25","_ref27","_ref29","_ref31","_ref33","_ref35","_ref37","_ref39","_ref41","getProducts","selected_branchoffice_warehouse","documents_products","finalizePacking","post","invoice","success","generatePdfStickers","link","number_stickers","method","responseType","window","URL","createObjectURL","Blob","document","createElement","href","setAttribute","body","appendChild","click","getStates","states","console","fetchDespatchInvoice","_callee5","_ref10","_context5","branchoffice_id","selected_branchoffice","tableDespatch","_x6","fetchParametersZone","_callee6","_ref12","_context6","_x7","fetchConveyor","_callee7","_ref14","_context7","_x8","updateDespatchInvoice","_callee8","_ref16","_context8","put","_x9","_x10","updateDespatchStatus","_callee9","_ref18","state_code","despatch","_context9","invoices","pack_off","_x11","_x12","updateDespatchStatusOA","_callee10","_ref20","productLot","send","_context10","tableDocumentsProductsLot","give_back","options","admin_operations","sent","t0","_x13","fetchContacts","_callee11","_ref22","requestParameters","undefined","paramsquery","_context11","_x14","generatePdf","_callee12","_ref24","validate_pro","validate","_context12","forEach","element","documents_information","protractor","fromDate","date","toDate","model_id","contact_branchoffice_id","MessageBox","alert","confirmButtonText","cancelButtonText","_x16","generatePickin","_callee13","_ref26","_context13","packing","_x17","updateDespatchStatusOne","_callee14","_ref28","_context14","_x18","_x19","updatelocation","_callee15","_ref30","_context15","branchoffice_warehouse","status","_x20","generateexcel","_callee16","_ref32","_context16","_x21","generateexcelPickin","_callee17","_ref34","_context17","_x22","printLabels_","_callee18","_ref36","_context18","page","currentPage","perPage","search","zone_id","guide","consecutive","_x23","_x24","fetchDeleteProduct","_callee19","_ref38","document_product_id","_context19","delete","_x25","_x26","fetchupdatePacking","_callee20","_ref40","document_product","_context20","document_id","_x27","_x28","updateDocumentProduct","_callee21","_ref42","_context21","_x29","_x30","voucherTypes","data_report","paramsVoucherType","reservationProducts","Array","isArray","userReleaseFullName","userReleaseFullNameWithDate","user_release","contact","full_name_with_identification","username","moment","release_date","format","userCreateOrEditFullName","user_create_or_update","userCreateOrEditFullNameWithDate","create_or_update_date","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default","shipmentDateFormatted","shipment_date","dueDateFormatted","due_date","contactFullName","productFullName","reservationProduct","form","lot","observation","quantity","contacts","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default","defaultFormProduct","searchDocuments","__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_asyncToGenerator___default","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_regenerator___default","tableDocuments","searchDocumentById","fetchModelsLite","fetchWarehousesContact","fetchSellers","fetchAccountsDoc","fetchTypesOperation","res","searchProductsDocs","validateRounding","api_response","log","abrupt","_x15","cancelDocumentDocs","updateDocumentDocs","update_document","fetchStatesBackOrder","fetchBranchOfficeWarehousesDocs","calculateRetentions","fetchProjectsActive","text","updateDocumentFilesDocs","formData","FormData","document_files_new","fn","append","document_files_delete","downloadFile","file","_x31","getDocumentById","doc","vouchertype","code_voucher_type","_x32","_x33","fetchReportLogs","fetchTypesIntegration","fetchTypesInformationIntegration","downloadLogIntegration","logIntegration","log_integration_id","date_generate","Date","__webpack_require__","d","__webpack_exports__","documentProduct","__WEBPACK_IMPORTED_MODULE_0_moment__","__WEBPACK_IMPORTED_MODULE_0_moment___default","n","product_attachment_main","pack_quantity","contact_branchoffices","stickers","default_document_product","modal_packing","is_customer","is_provider","is_employee","filter_customer","filter_provider","filter_employee","query","sortBy","sort","despatchInvoiceList","conyevors","fields","fieldSubTable","key","variant","tdClass","state_despatch_id","dataFilter","brandsSelected","contactZone","dates","protractor_id","per_page","loading_report_butons","print_sticker","excel_despatch","excel_pickin","pdf_pickin","pdf_proactor","document_product_modal","getAccountsWithContactProviderFinancialInstitutionCategory","__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_asyncToGenerator___default","__WEBPACK_IMPORTED_MODULE_3_babel_runtime_regenerator___default","importBankStatement","confirmation","__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_entries___default","formBankStatement","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_slicedToArray___default","headers","Content-Type","account_id","csvContent","join","blob","style","visibility","removeChild","getBankConciliation","formBankConciliation","generateBankConciliation","saveBankConcilOperTransactions","_state$bankConciliati","informationExtract","accountingInformation","payload","bankConciliationOperTransactions","getBankConcilOperTransactions","deleteAllBankConcilOperTransactions","_state$bankConciliati2","all_delete","validateDescriptionBankReconciliationReport","bankReconciliationReportPdf","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default","bankReconciliationReport","getAuxAccounts","notAux","onlyAux","searchchconsecutive","voucherType_id","createVouchers","voucherPayload","finalizeAccountingDocument","status_concil","target","fetchTypesUpdate","getNextId","getListCashUpdates","branchofficesWarehouses","bw","branchoffices_warehouses_all","getListCashUpdatesExcel","getCashRegisterUpdate","newCashRegisterUpdate","_this","selectedCashRegisterUpdate","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default","resolve","reject","updateCashRegisterUpdate","deleteCashRegisterUpdate","generateCashRegisterPdf","fetchAccountReportResultEri","setPerPagePagination","setPagePagination","setFilterAction","getAccountingConcepts","createAccountingConcept","selectedAccountingConcept","getAccountingConceptById","updateAccountingConcept","createAccountingConceptTransaction","selectedAccountingConceptTransaction","accounting_concept_id","updateAccountingConceptTransaction","deleteAccountingConceptById","deleteAccountingConceptByIdTransaction","fetchAccounts","uploadExcel","archivoUrl","urlCompleta","downloadTemplate","download_info","getParameters","users_select","reportUserDocuments","user_id","reportData","branch_offices","formAlokstosResponse","formAlokstosProccessResponse","show_pdf","file_name","accounting_link","fetchBranchOfficeWarehouses","fetchWarehousesByBranchOfficeId","Object","defineProperty","account_report","monts_fields","params_contacts","discount","brand_id","discount_percentage","line_id","discounts","client","line","brand","percentage","upload_file","setLoading","setReportData","report_data","clearParams","assign_default","type_integration","type_information_integration","is_error","setDateRangeParam","dt","getFullYear","getMonth","toString","padStart","getDate","setDate","d1","setTypesIntegration","types_integration","setTypesInformationIntegration","types_information_integration","namespaced","paramsQuery","ag_grid","selectedTheme","mutations","actions","getters","myNit","vpri","x","y","z","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectDestructuringEmpty___default","isNaN","i","substr","dv","digito","check","logo","fetchSubscribers","addSubscriber","selectedSubscriber","getSubscriber","getSubscriberEdit","updateSubscriber","removeSubscriber","mapParameters","name_parameter","fetchDocumentTypes","identificationTypes","idParamTable","fetchPersonClasses","classPersons","fetchTaxpayerTypes","taxpayerTypes","fetchTaxRegimens","taxRegimens","fetchCompanyTypes","companyTypes","fetchLicenses","licenses","_ref44","_ref46","_ref48","fetchDepartments","departments","fetchCities","branch_office","city","department_id","cities","getTooltips","getParamTableEdit","tooltip","paramTables","selectedParamTable","fetchAccountss","fetchCustomerAdvanceAccount","params_income_account","_ref43","fetchUsers","_ref45","fetchFiscalResponsibilitys","_ref47","fiscalResponsibilitys","fetchTypeOfBusinessProcess","_ref49","toISOString","substring","subscriber_id","users","fetchBrands","params_config","searchProducts","branch_office_id","branch_office_warehouse_id","fetchPhysicalInventory","fetchAddProductPhysicalInventory","physicalInventory_id","physicalInventory","searchPhysicalInventoryByUser","messagee","updatePhysicalInventoryProduct","consolidateCountingPhysicalInventory","applySettingsPhysicalInventory","finalizePhysicalInventory","getCounts","fetchFinalizeCountingUser","fetchRevertCountingUser","physical_inventory_id","fetchResetCountingState","fetchCountingStateUsers","resetInventory","addBrand","selectedBrand","dangerouslyUseHTMLString","getBrand","getBrandEdit","updateBrand","removeBrand","addNewClient","idClient","prospective","newSessionClient","confirm","center","assignNewClientIdent","ident","cleanInputCity","setTargetImg","img","fetchProviders","surname","setItem","setTimeout","open","disabledGo","depart_id","swal","fetchInterestProducts","interestProducts","from_date","tot_dif","model","baseDocuments","select_validate_wms","disable_select","wms_reception_dispatch","selected_rows","select_base_document","selected_base_document","unds","und","total_backorder_quantity","total_unds","loading_unds","branchoffices","warehouses","loadingBaseDocuments","documentsByAuthorize","filterDate","loadingAuthorizedDocuments","selected_document","selected_documents","findIndex","splice","disabled_select","dp","selected_dp","selected_documents_products","sdp","quantity_doc","all_quantities","credit_note","backorder_quantity","new_dp","total_value_brut","base_document","closed","retained","rejected","seller_id","city_id","state_auth","state_backorder","detailed_by_product","defaultNewContact","defaultNewVehicle","defaultSelectedDocument","defaultSelectedDocumentProduct","user","identification_type","check_digit","address","address_object","type_of_road","way_number","generating_way_number","plate_number","complement","main_telephone","cell_phone","email","tradename","vehicle","class_person","taxpayer_type","tax_regime","fiscal_responsibility_id","declarant","self_retainer","vehicle_type_id","year","license_plate","serial_number","average_daily_kilometers","width","rin","profile","observations","trm_value","pay_days","warehouse","telephone","credit_limit","total_receivable","available","term_days","prefix_invoice","number_invoice","cufe_invoice","purchase_order","document_date","delivery_warehouse","center_cost_id","warehouse_address","observations_one","observationes_two","observations_shipping","price_list","document_name","date_entry","guide_number","additional_contact_id","payment_method","money","ret_fte_account_id","ret_ica_account_id","in_progress","name_voucher_type","seller","auditContacts","invoice_date","ret_ica_total","ret_iva_total","ret_fue_total","total_value","applies_inventory","base_quantity","bonus_quantity","consumption_tax_percentage","discount_value","freight_value","iva_percentage","original_quantity","subbrand_id","subline_id","unit_value","import_params","trm","applied_expenses","authorize_documents","name_pdf","updating","mails","backup_documents_products","selected_model","add_products","add_promotions_button","backorder_quantity_control","basic_contact_information","button_360","capt_delivery_address","capt_license","cash_drawer_opens","cents_values","consecutive_handling","contact_capture","contact_category","contact_type","crossing_document_dates","currency","discount_foot_bill","doc_base_management","doc_cruce_management","down_excel_button","edit_bonus_amount","edit_discount","edit_lots","edit_physical_cant","edit_product_observation","edit_seller","edit_unit_value","final_function","financial_info","footnotes","handle_payment_methods","hands_free_operation","hide_value","modify_prices","observation_tittle_1","observation_tittle_2","operationType_id","payment_methods_allowed_id","print","print_template","print_tittle","product_order","purchase_difference_management","quantity_control","recalc_iva_base","recalc_iva_less_cost","retention_management","return_model_id","see_applied_promotion","see_backorder","see_bonus_amount","see_cant_backorder","see_discount","see_location","see_lots","see_physical_cant","see_product_observation","see_seller","see_seller_doc","see_vrunit_base","select_branchoffice","select_conveyor","select_cost_center","select_warehouse","seller_mode","send_contact_email","tittle","total_letters","up_excel_button","valid_exist","value_control","voucher_type_id","voucher_type","voucher_type_selected_branchoffice","selected_model_list_document","selected_document_product","branchoffices_warehouses","contacts_lite","contacts_aditional","contacts_warehouses","documents_for_back_order","fetch_data","show_promotions_modal","promotions","products_filtered","params_list_products","manager_wms","only_active","params_contacts_lite","params_contacts_aditional","columnsTable","models","typeImpresions","TableSearchGlobal","columns","isDisabled","from","to","total","dateFrom","dateTo","vouchertype_id","filterText","project_id","consecutive_ini","consecutive_end","type_impresion","copies","report_back_order","tableRetention","prefix","base_value","base_serv_value","edit_base_value","edit_base_serv_value","vr_limit","edit_vr_limit","edit_percentage","parametersTable","branchofficeWarehouses","doc_product_default_branchoffice_warehouse_id","edit_retention","edit_base_retention","selected_contact_warehouse","accounts","accounts_rete_fte","accounts_rete_ica","center_costs","finalizing_document","document_products_edit_iva","newContact","modalNewContact","step","vehicles","brandsVehicles","vehiclesContact","itemsInspection","documents_products_import","expenses","dataVehicle","personClasses","taxRegimes","payments","saveDocument","modalPaymentMethods","showModal","row_create","payment_method_id","authorization_number","check_number","entity","value_change","new","row_selected","paymentMethods","modalDocumentThreadHistory","documents","additional_documents","conveyors","projects","moneys","back_order","data_report_exist_products","dp_edited","iva","impo","brut","loading_request","errors_percentage_discount","fetchVoucherType","params_voucher_type","params_query","fetchReportSalesReferrals","finally","fetchDocumentProducts","fetchDocumentProductsProductID","product_id_details_document_query","fetchDocumentReferrals","downloadDocument","documentDownload","num_doc","createPDf","pdf","fetchNameColumnStatus","fetchTemplates","paramsTemplates","reception_documents","rd","reception_document","show_left_panel","accounting_document","issue_date","name_file","bo","main","voucher_types","vo","params_referrals","consecutive_number","concepts","concept","rule","fiscal_responsibility","r","tax_ret_ica","contact_warehouse","ret_ica_provider_account","tax","c","debits","credits","accounting_concept_transactions","act","cost_center_1","parameter","account","minimum_base","Math","round","ret_iva","transactions_type","fiscal_responsibilities","modal_pdf","support_document_mode","fr","business_name","full_name","identification_number","mode_referrals","manages_referral","code_voucher_type_referrals","referrals","causation_voucher_type","referral_voucher_type","referral_id","referrals_ids","ids","params_concepts","document_number","matches","match","affects_prefix_document","affects_number_document","cost_centers","cc","modal_rejection","rejection_reasons","authorized","state_id","modal_authorization","modal_attachments","attachments","attachment","__WEBPACK_IMPORTED_MODULE_0__state__","_ref51","_ref53","_ref56","_ref60","_ref62","_ref64","_ref68","_ref70","_ref72","fetchDocuments","__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_asyncToGenerator___default","__WEBPACK_IMPORTED_MODULE_2_babel_runtime_regenerator___default","fetchStates","fetchRequestTypes","fetchDevolutionReasons","fetchGuaranteeReasons","fetchApprovalStates","fetchApprovalReasons","fetchOptions","fetchModel","findAll","filters","getTypesStates","e","getTypesStatesEvaluation","getApprovalReasons","getParametersByCodeTable","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_promise___default","getProductsRequest","_this2","getProductsToSend","getProductsToSendTwo","getProductsToSendThree","create","_callee24","files","_this3","_context24","_callee23","form_data","user_b2b","property","_context23","request_guarantee","_callee22","_context22","_x35","_x34","update","_callee26","_this4","_context26","return","_callee25","_context25","_x37","_x36","updateWithNewState","_callee28","keys","_this5","_context28","attachments_deleted","_ref50","_callee27","_context27","_x40","_x38","_x39","findForId","_callee29","_ref52","_context29","requested_quantity","_dpi","dpi","received_quantity","authorized_quantity","last_state","request_guarantee_states","s","step_code","step_obj","steps","request_types","t","type_id","approval_status","_x41","_x42","deleteAttachment","_callee31","_ref54","_this6","_context31","_ref55","_callee30","result","_context30","_x45","_x43","_x44","destroy","_callee34","_ref57","_this7","_context34","inputPlaceholder","_ref58","_callee33","_context33","_ref59","_callee32","_context32","_x49","_x48","_x46","_x47","downloadAttachment","_callee35","_ref61","_context35","original_name","_x50","_x51","getSellers","_callee36","_ref63","leadership_id","_context36","_x52","finalizeRequestGuarantee","_callee39","_ref65","_this8","_context39","_ref66","_callee38","_context38","_ref67","_callee37","_context37","_x56","_x54","_x55","_x53","fetchDocumentsByThread","_callee40","_ref69","_context40","invoice_id","_x57","fetchModels","_callee41","_ref71","_context41","codes","_x58","validateInventory","_callee42","_ref73","_context42","return_id","ssdp","stock","_x59","subscribers","origin","api_domain","domain","pusher_app_key","getReceptionDocuments","getReceptionDocument","getPdfOfReceptionDocument","fetchContactsLite","getBranchOffices","getVoucherTypes","getConcepts","reset_paginate","getConceptById","getFiscalResponsibilities","updateContact","getAccounts","createAccountingDocument","getDetailReferral","getContacts","getContact","getDocuments","restart_page","getCostCenters","getRejectionReasons","rejectionDocument","rejection_reason_id","getContactWarehouse","authorizeDocument","fetchAttachments","createAttachment","attachmentId","closeDocuments","documents_product_import","erp","visible_columns","import_number","project","select_projects","sortable","type_aditional","filename","indexdp","promotion","applied_promotion","document_products","key_p","bdp","b","document_nature","contact_warehouse_id","cw","temp_document_product","total_value_brut_us","total_value_us","discount_value_us","unit_value_before_taxes","physical_unit","discount_value_unit","is_benefit","inventory_cost_value_unit","inventory_cost_value","pay_taxes","document_product_taxes","dpt","iva_5","total_value_iva5","total_value_iva","total_value_impo","icui","total_value_icui","keyBackupDocuments","pr","hasOwnProperty","disable_button","show_icui_column","some","base_doc_title","field","visible","editable","capture_accounting_account","branchoffice_change","stock_control","hide_values","back_order_control","TRM_value","type_currency","edit_value_iva","manage_nonconsumption","edit_tariff","edit_cost","index_d","document_vouchertype_name","backorder","backorder_value","operation_type","operationType","invoice_link","warehousesUpdated","w","iw","selected_warehouse","retention","ret_fue_prod_vr_limit","ret_fue_prod_percentage","ret_fue_serv_vr_limit","ret_fue_serv_percentage","ret_iva_prod_vr_limit","ret_iva_prod_percentage","ret_iva_serv_vr_limit","ret_iva_serv_percentage","ret_ica_prod_vr_limit","ret_ica_prod_percentage","ret_ica_serv_vr_limit","ret_ica_serv_percentage","baseDocument","retentions","getTotalIvaProducts","getTotalIvaServices","getValBrutInProducts","getValBrutInServices","taxes","retencion","ret_fue_prod_total","ret_fue_base_value","ret_fue_serv_total","ret_fue_serv_base_value","ret_iva_prod_total","ret_iva_base_value","ret_iva_serv_total","ret_iva_serv_base_value","ret_ica_prod_total","ret_ica_base_value","ret_ica_serv_total","ret_ica_serv_base_value","dpdoc","dpd","total_wallet","credit_quota","customer","indexd","total_balance","credit_quota_available","key_document_product","documents_products_ids","extension","split","path","key_file","f","key_file_new","preserveIdentification","vehicle_id","v","brand_vehicle","class_vehicle","servicio","power","cylinder_capacity","weight","box_type","doors","fuel","nationality","passenger_capacity","transmission","preserveLicencePlate","licence_plate","Moneys","payment_methods","sum_back_order","allColumns","paramsFile","isShoppingRole","dataParse","decompressData","prices","listPrices","pricesMap","reduce","updatedProducts","productPrices","minWidth","resizable","fullName","isListPrice","headerName","valueFormatter","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","floor","productsPrices","columnsPrices","base64Data","binaryString","Buffer","compressedData","Uint8Array","char","charCodeAt","decompressedData","pako","inflate","Vue","use","BootstrapVue","ElementUI","locale","prototype","Moment","ToggleSwitch","VeeValidate","fieldsBagName","events","Validator","localize","es","VueCurrencyFilter","symbol","thousandsSeparator","fractionCount","fractionSeparator","symbolPosition","symbolSpacing","VueColumnsResizable","App","created","setUserLogued","setUserLoguedB2b","permissions","setPermissions","setSubscriber","$router","methods","extends_default","vuex_esm","computed","selectortype_template_index_0_src_App","render","_h","$createElement","_c","_self","attrs","staticRenderFns","src_App","normalizeComponent","ssrContext","router","component","require","__WEBPACK_AMD_REQUIRE_ARRAY__","bind","oe","children","meta","breadcrumb","reports_aggrid_router","permission","point_of_sale_router","routes","redirect","props","function_execute","asyncToGenerator_default","regenerator_default","stringify_default","routes__this","model_id_create","model_id_view","model_id_update","model_id_update_doc","table_id","table","code_table","name_table","concat","b2bRoutes","reports_routes","reports_point_of_sale","left_menu","option","left_open","getElementsByTagName","classList","remove","getElementById","select","rightside_bar","right_open","rightside_cart","cart_open","routeChange","hideCart","cart","ADD_VISITED_VIEWS","view","visitedViews","DEL_VISITED_VIEWS","indexOf","defaultSelectedLicense","license_code","start_date","end_date","maximum_users","trial_license","range_date","licenses_state","selectedLicense","getLicenseEdit","setLicenses","setLicense","license","setAction","licensesError","setGetLicense","resetSelectedLicense","setFilter","setPerPage","setPage","setSortBy","setSort","addLicense","getLicense","updateLicense","removeLicense","setFilterPagination","setSortByPagination","setSortPagination","getParams","defaultSelectedParamTable","desc_code_parameter","desc_name_parameter","desc_alphanum_data_first","desc_alphanum_data_second","desc_alphanum_data_third","desc_numeric_data_first","desc_numeric_data_second","desc_numeric_data_third","desc_date_data_first","desc_date_data_second","desc_date_data_third","desc_image","protected","subline","branchoffice_warehouses","defaultSelectedParameter","alphanum_data_first","alphanum_data_second","alphanum_data_third","numeric_data_first","numeric_data_second","numeric_data_third","date_data_first","date_data_second","date_data_third","param_tables_state","tableParamTable","paramTablesList","paramTableEdit","selectedParameter","actionParameter","getParameterEdit","branchOffices","setParamTables","setParamTablesList","setParamTable","paramTable","paramTableError","setGetParamTableEdit","resetSelectedParamTable","setParameters","parameterError","resetSelectedParameter","setLines","setGroups","setCities","fetchBranchOfficeWarehouse","fetchParamTables","fetchParamTablesList","addParamTable","getParamTable","updateParamTable","removeParamTable","fetchParameters","fetchSublines","category_params","filter_lines","filter_brands","filter_groups","department","departament","actions_fetchBranchOfficeWarehouse","param_tables","parameters_state","parametersByTable","setParameter","setParameterBytable","setActionParameters","clearParametersByTable","setImagenCarga","actions_fetchParameters","addParameter","getParameter","updateParameter","removeParameter","listParameter","requestsParameters","imagenCarga","modules_parameters","addVisitedViews","route","exists","len","tabs","slice","removeVisitedViews","removeLastVisitedViews","removeVisitedViewUndefined","removeInventoryMovimentRepeat","pathAdd","addVisitedView","removeVisitedView","defaultSelectedSubscriber","license_id","tax_regimen","company_type","short_name","web_page","id_legal_representative","name_legal_representative","type_transfer_utility","account_utility","account_lost","account_results","uvt_value","uvt_electronic_invoice","configuration","product_digits","seller_management","brand_management","line_management","category_management","line_description","category_description","subcategory_description","type_description","recalculate_sales_price","percentage_minimum_variation","rounding_factor","type_voucher_inventory","account_entry","account_exit","consecutive_product_code","consecutive_transfer","consecutive_sales_orders","consecutive_purchase_orders","folios_electronic_invoice","last_date_close","firm_date","base_retention_source_products","percentage_retention_source_products","base_retention_source_services","percentage_retention_source_services","percentage_reteiva","code_activity_ica","code_ciiu","percentage_reteica","bill_to_pay","receivable","account_heritage_utility","account_heritage_lost","account_pyg_result_exercise","monthly_utility_transfer_or_lost","annual_utility_transfer_or_lost","type_voucher_result_exercise","first_logo","year_month_from_util","fax","latitude","branchoffice_type","firmDate","phone","sender_email","customer_advance_account_id","active_collection","frequency_message","collection_message","users_notification_collection","type_of_business_process","authorizing_users_reception_docs_ids","b2c_integration_id","update_test_database","departure_start_date","manage_niifs","wms_json_auth","password","setSubscribers","customerAdvanceAccounts","customer_advance_account","setAccountss","accountss","subscribersError","setGetSubscriberEdit","resetSelectedSubscriber","setIdentificationTypes","setPersonClasses","setTaxpayerTypes","setTaxRegimens","setCompanyTypes","setLogo","setFirstLogo","setDepartments","setTooltipParamTable","setContacts","setCustomerAdvanceAccount","setUsers","setFiscalResponsibilitys","setTypeOfBusinessProcess","defaultSelectedVouchersType","electronic_bill","unreferenced_document","resolution","affectation","only_consecutive","range_from","range_up","origin_document","print_firms","electronic_document_id","document_nature_id","select_seller","select_correreria","setVouchersTypes","vouchersTypes","setVouchersType","vouchersType","selectedVouchersType","vouchersTypeError","setGetVouchersTypeEdit","getVouchesTypeEdit","setElectronicDocuments","electronic_documents","setDocumentsNature","documents_nature","resetSelectedVouchersType","setBranchOffices","vouchers_types","defaultSelectedBranchOffice","minimum_order_amount","stop_invoice","income_account_id","income_return_account_id","retIcaAccount","branch_offices_state","accountsInventory","paramsAccountInventory","level","ListBranchOffices","selectedBranchOffice","selectedWarehouse","warehouse_code","warehouse_status","update_inventory","negative_balances","last_date_physical_inventory","number_physical_inventory","code_previous","manages_availability","inventories_account","exits_no_exist","actionWarehouse","getBranchOfficeEdit","branchOfficeNames","incomingAccounts","setBranchOffice","branchOffice","branchOfficeError","setGetBranchOfficeEdit","resetSelectedBranchOffice","setAccountsInventory","setWarehouses","setWarehouse","setActionWarehouses","setIncomingAccounts","setAccounts","fetchAccountsInventory","getBranchs","addBranchOffice","getBranchOffice","updateBranchOffice","removeBranchOffice","actions_fetchCities","addWareHouse","updateWareHouse","wh","deleteWareHouse","fetchIncomingAccounts","fetchIncomingAccountsLite","projects_state","projectsTypes","errorForm","projectsStatus","paramsTable","statusProjects","1","8","9","selectedProjects","projectsTable","items","setProjects","setProjectsTable","setProjectsTypes","setErrors","resetSelectedProjects","setSelectedProjects","fetchProjects","findProjectsById","deleteProjects","createProjects","updateProjects","fetchProjectsTypes","setBranchofficeWarehouses","modules_branchoffices_warehouses","fetchcountries","addContact","selectedContact","identificationt","tax_payer_typep","getContactForIdentification","contactEdit","erp_id","removeContact","actions_fetchLines","actions_fetchDepartments","country_id","contacts_actions_fetchCities","downloadClientsTemplate","objectDestructuringEmpty_default","fetchPointsOfSale","pointsOfSale","fetchTaxRegimes","fetchTradeClassifications","tradeClassificationCustomers","fetchCategoriesCustomers","categoriesCustomers","fetchSellersCustomers","sellersCustomers","fetchPriceListsCustomers","priceListsCustomers","fetchZones","zones","logoChangeCustomer","fetchCategoriesProviders","categoriesProviders","fetchSellersProviders","sellersProviders","fetchPriceListsProviders","priceListsProviders","fetchPaymentBanks","paymentBanks","logoChangeProvider","fetchCategoriesEmployees","categoriesEmployees","fetchCostCenters","costCenters","fetchSellerZones","sellerZones","fetchPositions","positions","photoChangeEmployee","photo","_ref75","_ref77","_ref80","_ref82","_ref84","_ref86","_ref88","_ref90","fetchIcaCodes","icaCodes","listContact","_ref74","getContactsModal","_ref76","downloadExcelDataCredit","_ref78","_ref79","str","keys_default","dataCsv","values_default","hiddenElement","download","fetchCategoriesOthers","_ref81","categoriesOthers","getAuditContact","_ref83","id_contact","fetchContactsSelect","_ref85","fetchWalletAccounts","_ref87","wallet_account","_ref89","branch_office_main","_ref91","getCustomerCategories","customerCategories","getProviderCategories","providerCategories","getEmployeeCategories","employeeCategories","modules_contacts","defaultSelectedClerk","gender","birthdate","stratum","secondary_telephone","position","contacts_clerks_state","clerks","selectedClerk","actionClerk","citiesClerks","documentsTypes","getContactEdit","setClerks","setClerk","clerk","setActionClerks","clerkError","setCitiesClerks","resetSelectedClerk","fetchClerks","requestParams","addClerk","getClerk","updateClerk","removeClerk","fetchCitiesClerks","contacts_clerks","defaultSelectedWarehouse","excluded_taxes","creation_date","other_telephones","payment_type_id","types_negotiation_portfolio","zone_despatch_id","ret_ica_provider_account_id","retIcaProvideerAccount","ret_fue_provider_account_id","ret_fue_account_id","retFueAccount","retFueProviderAccount","no_base_value","contacts_warehouses_state","citiesWarehouses","sellers","zones_despatch","warehouseError","resetSelectedWarehouse","setSellers","setPaymentMethods","setTypeNegotiationPortfolio","setZones","setZonesDespatch","contacts_warehouses_actions_fetchCities","fetchWarehouses","addWarehouse","updateWarehouse","removeWarehouse","contacts_warehouses_actions_fetchDepartments","fetchsellers","getTypePayment","getTypeNegotiationPortfolio","actions_fetchZones","fetchZonesDespatch","actions_fetchAccounts","document_type_id","contacts_documents_state","selectedDocument","actionDocument","setDocuments","setDocument","setActionDocuments","documentError","setDocumentsTypes","resetSelectedDocument","setSelectedDocumentFile","setViewDocument","viewDocument","addDocument","set","getDocument","documentObject","getUrlDocument","updateDocument","removeDocument","fetchDocumentsTypes","contacts_documents","setDepartment","selectedDepartment","departmentError","todo","departments_actions_fetchDepartments","setCity","selectedCity","cityError","cities_actions_fetchCities","defaultSelectedLine","line_code","short_description","lock_buy","block_sale","margin_cost","calculates_sale_price","lock_b2b","account_cost","sales_account","barcode","sub_brand","category","subcategory","serial","Photos","owner","maker","registration_invima","exp_date_invima","generic","conformity_certificate","exp_date_certified","volume","height","old_product_code","new_product_code","commission_portion","mg_of_utility","contact_income","reduction_management","high_price","high_risk","refrigerated","type_rotation","handling_formula","outline","utqg","load_index","speed_index","cum_code","sgsss_code","application_unit","number_applications","pharmacy_code","concentration","controlled_sale","belongs_to_pos","purchase_present_packaging","purchase_quantity_present","local_purchase","observation_buy","present_sale_packaging","sale_quantity_packaging","observation_of_sale","channel_point_sale","channel_amazon","channel_b2c","channel_b2b","tipe","data_sheet_link","video_link","prod_desc_config","act_prod_conf","line_code_wms","defaultSelectedTax","base","lines_state","accountsCost","paramsAccountCost","accountsSales","paramsAccountSales","linesList","tableCreateData","selectedLine","dataSheetsLine","dataSheetsList","actionSubline","lineEdit","getLineEdit","selectedTax","lineTaxes","setDataSheetsLine","setDataSheetsList","clearDataSheetsList","setLine","setAccountsCost","setAccountsSales","lineError","setGetLineEdit","resetSelectedLine","setError","setTaxes","setSelectedTax","setTaxesByLine","resetTaxesForm","setLinesList","clearDataSheetsLine","chageTableCreateData","val","actions_fetchAccountsInventory","fetchAccountsCost","fetchAccountsSales","lines_actions_fetchLines","addLine","getLine","getLineForIdentification","updateLine","removeLine","fetchTaxes","fetchTaxesByLine","saveTax","deleteTax","getDataSheetLine","getDataSheetList","addDataSheetToLine","removeDataSheetToLine","updateDataSheetToLine","dataSheetLayout","getLinesList","cash_register_square","showPdfCashRegisterSquare","fileNamePdfCashRegisterSquare","fileNamePdfCashRegisterSquareEmail","itemHistoryTableSelected","loadingPdf","itemsHistoryTable","cash_registers","fieldsHistoryTable","paramsGeneratePdf","timeFrom","timeTo","cash_register_id","note","paramsHistoryTable","listBranchOfficesWarehouses","defaultFiltersCrossBalances","monthDate","defaultDocumentCrossBalance","document_transactions","balance_crossing_state","gridBalancesFavor","gridBalancesContact","defineProperty_default","gridCrossBalances","filtersCrossBalances","accountDefault","selectedBalancesFavor","selectedBalancesContact","showModalBalanceContact","modalBalanceContact","crossPendingValue","crossValue","documentCrossBalance","documentInitiatedByAnotherUser","finalizeDocument","setInfoDataEdit","resetFiltersCrossBalances","setAccountDefault","setFavorBalanceContact","setPendingBalanceContact","checked","cross_value","setSelectedBalancesFavor","setSelectedBalancesContact","triggerShowModalBalanceContact","setShowModalBalanceContact","setCrossPendingValue","setCrossValue","calculateCrossingValueItem","final_balance_favor","final_balance_contact","final_balance","calculateCrossingValueAvaiable","setDocumentCrossBalance","resetDocumentCrossBalance","setDocumentInitiatedByAnotherUser","setFinalizeDocument","resetGridBalancesFavor","resetGridBalancesContact","accountsDefaultCrossBalances","fetchFavorBalanceContact","dataparams","fetchPendingBalanceContact","actions_fetchWarehouses","paramsData","createDocumentByCrossBalance","createTransactionsByDocumentCrossBalance","deleteDocumentTransactionsBySequence","checkDocumentInitiatedByAnotherUser","finalizeDocumentCrossBalance","getDocumentCross","totalBalanceCrossing","balance_crossing","data_sheet_state","dataSheets","visible_name","type_value","typeValueDataSheet","repeatedDataSheet","tableDataSheets","setDataSheets","setTypeValDataSheet","setDataSheet","emptyDataSheet","setDataSheetsTable","setRepeatedDataSheet","fetchDataSheets","getDataSheetsTable","findById","actions_create","actions_update","destroyDataSheet","getTypeVal","checkExistDataSheet","ListDataSheetsTable","defaultJob","user_creation_id","closing_date","limit_date","interactions","interactions_docs","members","star_jobs_state","job","interaction","users_params","modalAttachment","userName","userNamesId","newmembers","addInteraction","starJob","arrayAvatars","modal","jobs_interactions_docs_id","jobs_docs_id","jobs_interactions_docs_name","jobs_docs_name","setModalAttachment","setMails","setsendingMail","satte","searchmails","updatemail","sendmail","modaldocs","sendingMail","paramsmail","subject","updateEmailContact","send_mail","transfer_state","error_from_setProductsGridFromCsv","loading_","products_csv_","transfer","branchOffices_entry","branchoffice_warehouses_entry","products_transfer","transferDocument","list_code_products","additional_contact_warehouse_id","sede_salida","bodega_salida","documentEntry","sede_entrada","bodega_entrada","conveyor_id","showPdf","setBranchOffices_entry","setBranchofficeWarehousesEntry","setContactsWarehouses","setSedeSalida","setBodegaSalida","setTransferDocument","setShowPdf","setConsecutive","setStockProducts","ptr","minimum_amount","setTransfer","setParamsTransfer","pending_authorization","pp","found","documents_product_id","setParamsTransferupdate","setSelectedModel","setList_code_products","setProducts_csv_","setProductsGridFromCsv","manage_inventory","element2","generic_product_id","product_type_id","product_type","setLoading_","seterror_from_setProductsGridFromCsv","setConveyors","fetchConsecutive","fetchBranchOfficeWarehousesEntry","brancheoffice","actions_fetchBranchOffices","name_a","toUpperCase","name_b","createtransfer","promise_default","documentid","fetchTransferDocument","fetchTransfer","fetchTransferForUpdate","deletedocumentproduct","getProductByCode","actions_fetchContacts","fetchContactsWarehouses","fetchConveyors","groups","setLevels","levels","setCategories","fetchBranchOffice","setWalletType","wallet_types","setcost_center_1","setcost_center_2","cost_center_2","setcost_center_3","cost_center_3","setlevelToValidate","level_to_validate","loading_form","serLoading_","setParamsAccounts","setInfoDataClone","code_to_clone","params_create","debit_credit","group","account_id_totalize","contact_resume","manage_contact_balances","is_others","resume_beginning_year","wallet_type","document_description","manage_quota_balances","manage_document_balances","manage_projects","manage_projects_stage","manage_bank_document","manage_way_to_pay","tax_id","Active_account","pevious_account","manage_base_value","bank_account","id_bank_account","capture_contact","capture_document","document_transactions_count","application","code_to_edit","id_to_edit","account_for_search_document","commissionable_concept","results_account","user_last_modification","user_modification","updated_at","setcommissionable_concepts","commissionable_concepts","setloading","setDisabled_input","disabled_input","setBanks","banks","banks_accounts","account_actions_fetchAccounts","fetchGroups","fetchBanks","fetchLevels","fetchAccountssWithParams","fetchCategories","actions_fetchBranchOffice","account_actions_fetchBranchOfficeWarehouse","account_actions_fetchLines","account_actions_fetchContacts","fetchWalletType","fetchcost_center_1","fetchcost_center_2","fetchcost_center_3","actions_fetchTaxes","params_taxes","searchLevel","level_id","createAccount","updateAccount","fetchAccountForClone","id_account_clone","fetchAccountForEdit","id_account_edit","deleteAccount","fetchcommissionable_concepts","manage_documents","order","createProcess","process","getProcess","deleteProcess","addProcess","frequency","period","hour","Hour_input","minutes","active","options_select","manage_hour","manage_days","days","setItems","Aurora","random","setUsersNames","setJob","elu","user_inviting_id","setDefaultJob","setModalUrl","fetchUsersName","fetchJob","fetDocument","fetDocumentinteraction","closeJob","createJob","updateJob","createInteraction","addFileJob","addMembers","downloadDoc","downloadInteractionDoc","star_jobs","setContactsdt","contactsdt","setContactdt","contactdt","setContacts_filterdt","order_account_select","contact_select","setTemplates","templates","setProjectsdt","projectsdt","code_voucherType","setselected_document","setbranchOffice","setprojects_column_visible","projects_column_visible","setcontact_column_visible","contact_column_visible","setcost_center_column_visible","cost_center_column_visible","setpayment_column_visible","payment_column_visible","setmanage_bank_document","setcross_date_visible","cross_date_visible","setmanage_document","manage_document","setcommissionable_concept","setaccount_selects","account_selects","account_select","settotal_debit","total_debit","settotal_credit","total_credit","setParamsdocumentid","document_transaction","selected_document_title","id_document_transactions","affects_document_id","setParamsdocument_id","setOrderForAccountSelectToChange","setshowInputs","showInputs","center_cost","observation1","observation2","cross_doc","cross_doc_date","attach_file","cross_title","validations_model","setaccountselect","setpayment_methods","setmodel_code","model_code","setmodel_accounting_generate","model_accounting_generate","setloading_form","setloading_create_transaction","loading_create_transaction","setloading_cancel_accounting_document","loading_cancel_accounting_document","setorigin_document","listTransactions","transactions","account_code","account_name","projects_id","operation_value","bank_document_number","commissionable_concept_id","quota_number","base_value_column_visible","manage_contact_balance","edit_document","Watch_documument","documet_id","no_doc","affects_document","trim","crossing_number","crossing_consecutive","crossing_date","crossing_due_date_document","mode","affects_prefix","affects_consecutive","setloading_transactions","loading_transactions","setParamsEdit","loading_totals","user_accounting_modification","user_cancellation","cancellation_date","cancellation_reason_param","ref_update_doc","created_at","accounting_date_last_modification","template_id","observation_two","id_correria","affects_date_document","original_document","accounting_transactions","by_origin_document","totals","total_quantity","total_discount","total_vr_brut","total_vr_iva","total_","total_items","total_inventory_cost_value","setParamsClone","validation_no_doc","pay_day","disabled_account_select","setEditDocument","setloading_totals","setloading_accounting_document","loading_accounting_document","setloading_csv","loading_csv","settotal_difference","total_difference","setbase_value_column_visible","setWatchDocumument","setCancellationReasons","cancellation_reasons","pdf_clear_params","voucherType","Boolean","correrias","toLocaleDateString","day","month","term_days_crossing","setDocumentFile","deleteDocumentFile","setFiles","setShowToModalAlert","modal_alert","setOldDocument","old_document","setFilesSearchDocument","files_search_document","setAudit","auditDocuments","setContactsAudit","paramsDocument","setValidateFirmDateAccount","validate_firm_date_account","setPdfDocument","pdf_document_name","setExpiration","expiration","validateFieldsVoucherType","vouherType","setCorrerias","setParams","setBalancesByContacts","balances_by_contacts","various_vouchers","column_visible","modalAttach","s_title_modal","cancellation_reason","paramsquerydt","paramstemplates","Concenpts","contactsAudit","transfer_rot_state","setSedeEntrada","actions_fetchConsecutive","br","actions_fetchBranchOfficeWarehousesEntry","actions_fetchBranchOfficeWarehouses","transfer_rot_actions_fetchBranchOffices","actions_createtransfer","actions_generatePdf","actions_fetchTransferDocument","actions_fetchVoucherType","actions_fetchTransfer","actions_fetchTransferForUpdate","actions_deletedocumentproduct","actions_fetchModel","actions_getProductByCode","transfer_rot_actions_fetchContacts","actions_fetchContactsWarehouses","transfer_rot","defaultContacts","kardex_state","download_pdf","kardex","products_kardex","button","from_request","params_reconstructor","paramsProducts","validate_exhausted","resetContacts","setStateProducts","setKardex","setInventory","kardex_actions_fetchBranchOfficeWarehouses","kardex_actions_fetchBranchOffices","kardex_actions_fetchContacts","getKardex","validateExistencesByDocumentProductId","fixvalues","actions_downloadDocument","documentToPdf","thread","operationtype_id","settypes_operations","types_operations","setDateSusbs","date_subs","setloading_","fetchTypesOperations","fetchTdateSubs","clearErp","clear_erp","type_operations","setdates","setshow_current_location","show_current_location","setCoordinates","coordinates","setVisits","visits","fecha","before","actions_fetchsellers","fetchDates","fetchCordinate","currentLocation","fetchVisits","seller_route","actions_searchProducts","fetchVoucherTypes","actions_fetchDocuments","rebuild_actions_fetchBranchOffices","rebuild","type_refactor","modules_rebuild","code_branch_office","product_ids","availability_inquiry_state","destination_branchoffice_warehouse_id","destination_branchoffice","inactives","with_stock","titleBranchoffice","productspagination","availability","availability_totals","justify_availability","params_location","branch_offices_warehouses","params_history_products","date_from","String","history_products","availability_inquiry_actions_searchProducts","justifyAvailability","availability_inquiry_actions_fetchContacts","fetchHistoryProductsContacts","downloadPdfInventory","nro_voucher","nro_doc","getBranchofficeWarehouse","fetchBranchOfficesWarehouses","availability_inquiry","defaultSelectedSubline","sublines_state","sublinesList","selectedSubline","setSublines","setSubline","setActionSublines","sublineError","resetSelectedSubline","setSublineList","sublines_actions_fetchAccountsInventory","actions_fetchAccountsCost","actions_fetchAccountsSales","actions_fetchSublines","addSubline","getSubline","updateSubline","removeSubline","listSublines","getSublineByLineId","defaultSelectedUser","modules","module_id","session_id","clerk_id","deleted_at","user_u2","roles","role","signature","email_cash_receipts_app","point_of_sale_box_id","users_state","selectedUser","point_of_sale_boxes","getUserEdit","subscribers_filtered","modules_filtered","grouped_contacts","disabledClerk","clearDataUser","setUser","UserError","setGetUser","resetSelectedUser","setSubscribersFiltered","setBranchOfficeWarehouses","setModules","setRoles","setModulesFiltered","photoChange","signatureChange","setContact","setGroupedContacts","setFindForId","setClearDataUser","setDataUser","setContactId","setClerkId","setDisabledClerk","clearContactId","setPointOfSaleBoxes","actions_fetchUsers","addUser","updateUser","getUser","fetchSubscribersFiltered","selected_subscribers","return_subscriber","ss","users_actions_fetchBranchOffices","users_actions_fetchBranchOfficeWarehouses","branchOfficeWarehouses","fetchModules","fetchModulesFiltered","selected_modules","return_module","m","fetchRoles","users_actions_fetchContacts","typeuser","fetchGroupedContacts","dataUserClerk","dataUserContact","employee","verifica","getPointOfSaleBoxes","defaultUserLogued","token","login_state","auth","user_logued","logued_type","forgot","password_confirmation","change","current_branchoffice","login","loginFail","logout","authentication","setForgotPassword","setLoguedType","setLowerCaseAuthEmail","toLowerCase","setBranchOfficesWarehouses","branchoffices_warehouses_temp","setSelectedBranchOffice","found_branchoffice","setSelectedBranchOfficeWarehouse","found_branchoffice_warehouse","resetSelectedBranchofficeWarehouse","setCurrentBranchoffice","role_and_permisions","forgotPassword","getTokenResetPassword","resetPassword","changePassword","password_changed","fetchUserB2b","ide","loginB2b","actions_logout","clear","actions_getSubscriber","isVI","modules_login","defaultSelectedBrand","brand_code","thumbnails","image_file","provider_id","maker_id","deploy_sales_force_app","deploy_b2c","deploy_b2b","percentage_commision","brands_state","brandsList","actionSubbrand","brandEdit","setBrands","setBrandsList","setBrand","brandError","setGetBrandEdit","resetSelectedBrand","setProviders","setImageToSelectedBrand","updated_image","logoBrand","getBrandList","modules_brands","defaultSelectedSubbrand","subbrand_code","margin_cost_percentage","subbrands_state","subbrandsList","selectedSubbrand","setSubbrands","setSubbrand","subbrand","setActionSubbrands","subbrandError","resetSelectedSubbrand","setDocumentPath","setSubBrandList","fetchSubbrands","addSubbrand","getSubbrand","updateSubbrand","removeSubbrand","cargaSubmarca","documentChangePath","subbrands_actions_downloadDocument","pop","listSubbrands","getSubBrandByBrandId","subBrandsList","defaultSelectedCategory","categories_state","categoriesList","selectedCategory","actionSubcategory","categoryEdit","getCategoryEdit","setCategory","categoryError","setGetCategoryEdit","resetSelectedCategory","setCategoriesList","actions_fetchCategories","addCategory","getCategory","updateCategory","removeCategory","getCategoriesBySublineId","defaultSelectedSubcategory","subcategories_state","subCategoriesList","selectedSubcategory","setSubcategories","setSubcategory","setActionSubcategories","subcategoryError","setSubCategoriesList","resetSelectedSubcategory","fetchSubcategories","addSubcategory","categorie_id","subcategory_code","getSubcategory","updateSubcategory","removeSubcategory","listSubcategories","getSubCategoriesByCategorieId","defaultSelectedMenu","icon","menu_id","second_level","menu_state","menu","selected_menu","parents_menu","menus","menus_filtered","error_message","get_menu_subscriber","menuVideoTutorial","setMenu","first_level","fl","setSelectedMenu","setMenus","setMenusFiltered","setParentsMenus","cleanMenuId","menuError","setGetMenu","get_menu","resetSelectedMenu","refactorMenu","sl","setSelectedMenuUser","selected_menu_user","setMenuVideoTutorial","notes","getMenu","getPermissions","store","fetchParentsMenus","actions_fetchModules","fetchMenus","actions_fetchSubscribers","copyMenuItem","menu_copy","current_menu","copied","third_level","deleteMenuItem","menu_delete","deleted","ifl","isl","tl","itl","addMenuItem","added","updateMenuItem","updated","filterMenus","changeVisible","menu_change","findAllMenuVideoTutorial","createMenuVideoTutorial","updateMenuVideoTutorial","deleteMenuVideoTutorial","modules_menu","defaultSelectedBanner","parameter_id","big_banner","small_banner","since","until","banners_b2b_state","banners","selectedBanner","getBannerEdit","bannerSize","fetchBanners","addBanner","getBanner","updateBanner","removeBanner","banner","banners_b2b_actions_fetchLines","banners_b2b_actions_fetchParameters","bigBannerImage","smallBannerImage","listBanner","setBanners","setBanner","bannerError","resetSelectedBanner","setGetBannerEdit","setBigBannerImage","setSmallBannerImage","banners_b2b","home_state","selectedHome","reference","prods","idParameter","fetchBanner","bannerB2b","fetchProducts","catalog","big","small","setProds","home","actions_fetchProducts","moedel_id","branchoffice_storage","user_connect","from_catalog","getProductsById","catalog_actions_fetchLines","catalog_actions_fetchSublines","actions_fetchBrand","actions_fetchSubbrands","catalog_actions_fetchCategories","fetchPricesProducts","setRole","getPromotions","fetchProductsByClasification","getModalPromotions","validateAllPromotionRules","changePromotionProduct","promotion_product","promotion_id","validatePromotionRules","setBenefitProduct","product_benefit","min_val","selectedPromotion","gift_type","products_promotions","index_pp","val_brut","val_iva","specific_product","specific_product_id","getBenefitProductById","getBranchOfficesWarehousesAvailableByProduct","getProduct","indexProduct","getModelBycode","setProducts","index_p","calculated","hasPromotion","product_promotions","comply","priceInventory","pi","quantity_available","setProduct","selectedProductItem","productError","imagen","setProductsData","setBranchOfficesWarehousesAvailableProduct","branchOfficesWarehousesAvailableProduct","previous_product_id","resetBranchOfficesWarehousesAvailableProduct","branchOfficesAvailable","setReference","setFilterLine","setFilterSublines","filter_subline","setFilterBrand","setFilterGroup","setFilterCategories","filter_categories","setFilterSubbrands","filter_subbrands","setPromotions","pay_soon","cash_payment","setSelectedPromotion","setSelectedProduct","setProductsFiltered","productsFiltered","setShowPromotionsModal","showPromotionsModal","setProductsPromotionsTable","promo","ppp","samePromotion","sp","hasPrice","setProductsBenefitTable","setLoader","validatePromotion","total_val_brut","minimum_gross_value","setPromotionUpdate","prod","index_sp","exist_product_key","setlabelButtonPromotion","labelButtonPromotion","setAddingProduct","adding","quitAddingProduct","setGettingPromotions","gettingPromotions","quitGettingPromotions","role_user","setDateOfFetch","date_of_fetch","getShowPromotionsModal","type_user","filter_sublines","only_promotions","clasification","minimumPriceProducts","long_description","cant","ecommerce_state","customers","selectedCustomer","typeIdentifications","employee_type","fetchCustomers","actions_loginB2b","runGetTypeIdentification","extra_parameters","createCartCustomerCopy","setCustomers","ecommerceError","getTypeIdentification","setSelectedCustomer","ecommerce","product_detail_state","related","products_attachments_carrusel","actions_getProduct","getrelated","actions_getModelBycode","product_detail_actions_fetchBrand","product_detail_actions_fetchCategories","product_detail_actions_fetchSublines","setProductsAttachments","productAttachment","related_products","setImagen","setProductCant","setRelated","product_detail","cart_state","cartInitial","last_cart","lockAdd","lockPromotions","pathPdf","addCartItems","two_days_ago","return_document","removeCartItems","newCart","fetchCart","is_cart_copy","addToCartFinalize","percentage_iva_sale","addInformation","information","finalizeOrderAction","inventory_operation","pay_condition","send_point","dps_new_price","finalizeQuotation","getVouchertype","cart_actions_getModelBycode","getPdf","getCustomerCategoty","contact_customer_id","contactCustomer","cart_actions_downloadDocument","addToCart","calculate_discount","addProduct","combo","parseFloat","unit_list_value","checkCart","addPromotionToCart","productAdd","applyBenefit","cart_actions_fetchModel","setCart","edit_discount_value","setCartItems","setPathPdf","setInformation","cartError","setTotal","setPdf","addItemCart","deleteItemCart","setLastCart","setLockAdd","setLockPromotions","serDpNewPrice","dp_np","_rowVariant","modules_cart","actions_getrelated","setProductsForm","productsForm","setRelatedCart","relative_products_form","fetchOrders","orders_history_actions_fetchBrand","orders_history_actions_fetchSublines","orders_history_actions_fetchCategories","getStatesAuth","fetchDocumentStatus","setFilterReference","setOrders","orders","setDocumentStatus","setFilterDate","filter_date","setFilterStatus","filter_status","setStates","setStatesAuth","states_auth","orders_history","transporter","filter_status_auth","fetchReceivables","fetchReceivablesByContactId","getReceivableCSV","setReceivables","receivables","totalReceivables","invoice_balance","receivableError","color_text","color_backg","style_line","background_c","company","color_text_soft","replacement_assistant_actions_fetchProducts","actions_fetchPricesProducts","actions_fetchBrands","replacement_assistant_actions_getModelBycode","replacement_assistant","defaultProspective","interest_products_ids","contact_name","latitud","longitud","prospective_client_state","person","showRotate","setProspective","setPhotoFile","prospectiveError","resetProspectiveForm","getProspectiveWarehouseId","setInterestProducts","seStatImage","getTypePerson","typePerson","prospective_client","getDaysDebt","customDay","payment_managment","getProductDataSheet","ListProductsTable","detailLoadFile","modules_products","visits_state","selectedVisit","visit_type","longitude_checkin","latitude_checkin","latitude_checkout","longitude_checkout","motive","test","distance","checkin_date","checkout_date","checkout_ok","sellerError","visitError","actions_fetchVisits","reportGenerate","getBranchsWare","listproducts","setBranchs","branchs","setListPrices","listPrice","setPrice","idChangedPrice","setFilterPrice","setFilterPriceList","list","setList","setPrices","new_price","setparamsUpdatePrices","paramsUpdatePrices","setMsgErrorLoadExcel","msgErrorLoadExcel","auditPriceList","setPricesExcel","pricesExcel","getPrices","updatedPrice","updatedPriceExcel","excel","prices_actions_fetchBranchOffices","prices_actions_fetchBrand","fetchList","prices_actions_fetchLines","uploadFilePrice","getAuditListPrice","id_price_list","branchOffice_id","optionsSelect","voucher","setFilterCategory","setFilterVouchersType","setFilterBranch","getVouchersType","actions_getCategory","getCategories","modules_documents","setInventories","inventary","inventories","inventoriesError","setInventoryAge","inventoryAge","balance_unds","balance_vrs","cost_prom","fetchInventories","getInventoryAge","defaultSelectedTypeOperation","inventory_cost","types_operations_state","typesOperation","selectedTypeOperation","getTypeOperationEdit","setTypesOperation","setTypeOperation","typeOperation","setGetTypeOperation","resetSelectedTypeOperation","typesOperationError","addTypeOperation","getTypeOperation","updateTypeOperation","removeTypeOperation","getParametersByCode","defaultSelectedModel","condition","quantity_decimals","select_date_entry","select_import","observation_tittle_3","capture_pay_days","days_number","recalculate_prices","apply_discount_percentage","branchoffice_vouchertype_id","business","cost_center","inherit_products","iva_theoretical","multiple_documents","capture_money","expiration_date","invoice_cufe","email_sends","whatsapp_numbers","subject_mail","body_mail","capture_rt_fte","capture_cta_ret_ica","user_created","capture_cufe_sist_ant","point_of_sale","default_point_of_sale","type_point_of_sale_id","assign_automatic_electronic_invoice_uvt","dispatch_request","contact_warehouse_point_of_sale_id","default_hands_free","printing_format_point_of_sale_id","contact_warehouse_point_of_sale","dispatch_change_document_daterequest","type_contact","manage_contact","capture_seller","show_box","capture_sale_order","show_availability","suspend_and_resume","model_id_for_prods_without_availability","availability_remains","use_observation","general_discount","models_state","typesOperations","currencys","contactCategories","priceLists","selectedModel","contactSelected","getModelEdit","contactParams","accountingConcept","accountingAccording","accountingAccount","debitCreditArray","accounting","order_accounting","accounting_concept","accounting_according","accounting_account","balancing_account","templateTransaction","backgroundColor","account_aux_id","account_root_id","db_cr","cap_contact","default_contact_id","create_contact","default_detail","square_match","doc_bank","row_selected_type","types_point_of_sale","contacts_warehouses_point_of_sale","printing_formats","contacts_options","setModels","setModel","modelError","setGetModelEdit","resetSelectedModel","setVoucherTypes","setCosts","costs","setCurrencys","setCategoryContact","setPriceLists","setContactSelected","resetBranchofficeWarehouseId","setAccountingConcept","setAccountingAccording","setAccountingAccount","setRegisterAccounting","according","concept_id","according_id","template_accountings","ta","currentValue","array","resetRegisterAccounting","deleteRegisterAccounting","editRegisterAccounting","setTemplateTransaction","resetTemplateTransaction","addNewRowTemplateTransaction","last_data","shortid","generate","deleteRowTemplateTransaction","deleteAccountTemplateTransaction","transaction","account_root","account_aux","setTemplateTransactionOnlyAux","setTemplateTransactionNotAux","setTemplateTransactionRowSelectedType","setTemplateTransactionRowSelected","resetTemplateTransactionRowSelected","setContactsWarehousesPointOfSale","models_actions_fetchContacts","addModel","sesion_branchoffice_id","getModel","updateModel","removeModel","fetchCostCenter","fetchCategoryContact","fetchCurrencys","fetchPriceLists","fetchPaymentMethods","actions_fetchVoucherTypes","from_session","models_actions_fetchLines","models_actions_fetchUsers","sub_id","actions_fetchTypesOperation","getContactById","actions_fetchParamTables","actions_fetchList","fetchAccountingConcept","fetchAccountingAccording","fetchAccountingAccount","saveTemplateAccounting","templateAccountings","fetchVoucherTypesByBranchofficeId","getContactsWarehouses","getAction","clearTax","modifyIsDisabled","bol","getTaxes","getTaxesNotFilter","getTax","newTax","updateTax","actions_deleteTax","context","defaultSelectedPromotion","image2","description2","promotions_state","selected_promotion","original_copy_selected_promotion","promotionLoader","promotionsActives","columnsGrid","mixColumnsGrid","defaultColumnsGrid","benefitSelected","setDefaultSelectedPromotion","setPromotion","setPromotionSelectes","setSubLines","setImage","setImage2","setBranchoffices","setPromotionLoader","setPromotionsActives","setBenefitSelected","mutations_setSelectedPromotion","promotion_type_id","promotionHandlesDiscount","emptyProductsFiltered","calculateValuesProductDiscount","productKey","setStatusPromotion","setPromotionByProduct","indexpp","product_promotion","setSpecificProducts","actions_getPromotions","getPromotionById","getLines","getSubLines","getBrands","getSubBrands","getProductByParam","param","getProductById","deletePromotion","re","createPromotion","updatePromotion","getBranchoffices","getPromotionsActives","actions_fetchProductsByClasification","validateBenefitPromotion","comply_quantity_promotion","specificProductRepeat","percentage_sale","selected","productRepeat","updatePromotions","getSelectedPromotion","modules_promotions","base_documents_actions_fetchModel","base_documents_actions_searchProducts","fetchBaseDocuments","sa","state_wallet","total_rows","inventory_movement","fetchUnds","documents_id","chunks","docs","fetchBranchoffices","fetchBranchofficeWarehouses","fetchStatus","filterSearch","closeDocument","fetchListOrderReject","motiveOrder","getDocumentByAuthorize","params_","downloadDocumentsMissingBackOrder","objArray","objArrayDetail","dataDetail","name_excel","typeof_default","arrayDetail","header","DESCRIP_PROD","str2","headerDetail","generateReportAuthorizedDocuments","base_documents_actions_fetchCities","base_documents_actions_fetchUsers","base_documents_actions_fetchContacts","fectchProducts","loading_base","products_ids","getSelectedRows","base_documents","setRequestHeaders","requestHeaders","setCopyRequestHeaders","copyRequestHeaders","requestHeadersError","setContactB2B","contactB2B","selectedRequestProduct","request_products","setContactWarehouses","contactWarehouse","contactsWarehouse","setTypeUser","typeUser","setRenderB2B","renderB2B","contactId","setParamRole","setParamTypeUser","setParamWarehouse","fetchRequestHeaders","updateRequestHeaders","contactWarehousesBiId","contactWarehousesBiContact","request_headers","requestType","status_request","defaultSelectedRequesProduct","contacts_warehouse_id","request_date","request_type","maintenance_type","units","direc_observation","customer_observation","provider_observation","request_products_state","requestProducts","formEditable","resetForm","paramsRP","setRequestsProduct","requestProductsError","setRequestProduct","requestProduct","setRequestProductwithName","$array","resetdefaultSelectedRequesProduct","setFormEditable","setContactsWarehouseId","contactWarehouseId","setResetForm","contacts_id","setParamContactId","actions_fetchRequestHeaders","addRequestProduct","actions_getContactsWarehouses","getRequestHeraderBiId","actions_contactWarehousesBiId","actions_contactWarehousesBiContact","getByIdArray","getSubTotal","sub_total","vr_brut","getTotalIva","getTotalTaxes","iva_retention","ica_retention","source_retention","retention_iva","retention_source","tax_percentage","increase","getTotal","total_taxes","getPurchaseDifference","documentsProduct","productPurchaseDifference","difference_quantity","difference_value","type_difference","base_unit_value","dpRepeat","ppd","valDif","getBranchofficeWarehousesSelect","branchofficeWarehousesArray","dataWarehouse","footerTotalTotalValueIva","total_value_iva_dp","inventory_movements","certificates_retentions_state","clients","year_month_from","year_month_up","paramsEmail","authenticatedRole","setClients","setParamMailTo","mail","setParamDefault","paramsDefault","setPreloader","setAuthenticatedRole","pdfCertificateRetention","certificates_retentions","defaultSelectedDate","nuevo_informe_state","account_from","account_up","description_account_from","description_account_up","view_delete_from","view_delete_up","filter_text","params_accounts_from","params_accounts_up","accounts_from","accounts_up","auxiliary_book","trial_balance","iconAcordion","setAccountsFrom","setAccountsUp","settrial_balance","actions_fetchLevels","orden","fetchAccountsFrom","fetchAccountsUp","fetchContactWarehouses","params_contact_warehouse","fetchTrialBalance","nuevo_informe","orders_retained_state","orderReject","tableOrderReject","fieldsMyActivity","thStyle","min-width","typeMotive","statusOrder","sede","myActivity","dateFromMyActivity","dataApproved","observation_authorized","max_value_authorized","status_id_authorized","user_id_authorizes","states_backorder","setListOrdersReject","tor","isSelected","removeDocumentListOrdersRejectById","keyDoc","resetDataApproved","setStatesBackOrder","actions_getModel","actions_fetchListOrderReject","motive_rejected","detained","changeStatusOrder","retainOrderById","getDocumentProducts","orders_retained","despatch_state","setDespatchInvoiceList","setContactBranchoffice","setDespatchInvoiceTable","index_val","setParametersZone","setconyevors","setDocumentsProductsLot","dd","products_lots","num_lot","dpl","index_dpl","db","setConsecutiveProductLot","setExpirationDateProductLot","df","searchProductLotByBrand","setColumnTableDespatch","thClass","setloading_print_sticker","loading_print_sticker","actions_getProducts","despatch_actions_fetchContacts","despatch_actions_generatePdf","actions_updatelocation","invoicesToDispatch","countDocumentsProductsLot","modules_despatch","despatch_packing","setParamsContacts","setDiscount","setDiscounts","discount_actions_fetchContacts","discount_actions_fetchLines","discount_actions_fetchBrands","createDiscount","fetchDiscounts","fetchDiscount","updateDiscount","deleteDiscount","discount_actions_fetchParameters","name_complete","contact_warehouses","setauxiliary_book","setTotals","setRequiredFields","requiredFields","consecutive_doc_afecta","prex_doc_afecta","params_cotact","sales","loading_report","auxiliary_book_contact_actions_fetchContacts","search_contact","fetchAuxiliaryBookContact","auxiliary_book_contact_actions_getSubscriber","auxiliary_book_contact","contact_identification","setreporte_comisiones","reporte_comisiones","setreporte_comisiones_descuento","reporte_comisiones_descuentos","setreporte_comisiones_pagos","reporte_comisiones_pagos","report_commisions_actions_fetchContacts","fetchReportCommisions","fetchReportCommisionsDisccounts","fetchReportCommisionsPays","report_commisions_actions_fetchLines","downloadAccountingPdf","name_cont","cash_receipt","downloadDocumentPdf","name_inv","report_commisions","seller_type","type_query","setreporte_bo","reporte_bo","stateAuthOption","defaults","setUnds","actions_fetchSellers","report_bo_actions_fetchContacts","params_contact","fetchReportBo","fetchStatesAuth","actions_fetchUnds","report_bo","disable","Branchoffices","Warehouses","setconciation_balances","conciliation_balances","conciliation_balances_actions_fetchBranchOffices","conciliation_balances_actions_fetchWarehouses","fetchReportConciliation","warehouses_id","only_exist","setaccount_balance","account_balance","setcontact_balance","contact_balance","setdocument_balance","document_balance","account_balance_actions_fetchBranchOffices","actions_fetchAccountsFrom","actions_fetchAccountsUp","actions_fetchContactWarehouses","account_balance_actions_fetchContacts","fetchVouchertype","fetchAccountBalance","getBalanceContact","getBalanceDocument","account_client","year_month","estados_financieros_state","state_finaze","setstate_finanze","estados_financieros_actions_fetchContacts","fetchstatefinaze","estados_financieros","trial_balance_state","filter_tag","balance_account_contact","balance_account_contact_document","set_balance_account_contact","setdocument_balance_account_contact","trial_balance_actions_fetchLevels","trial_balance_actions_fetchAccountsFrom","trial_balance_actions_fetchAccountsUp","trial_balance_actions_fetchContactWarehouses","actions_fetchTrialBalance","getBalanceContactAccount","getBalanceContactAccountDocument","trial_balance_actions_getSubscriber","trial_balance_contact_state","trial_balance_contact_actions_fetchLevels","trial_balance_contact_actions_fetchAccountsFrom","trial_balance_contact_actions_fetchAccountsUp","trial_balance_contact_actions_fetchContactWarehouses","trial_balance_contact_actions_fetchTrialBalance","actions_getBalanceContactAccount","actions_getBalanceContactAccountDocument","trial_balance_contact_actions_fetchContacts","trial_balance_contact","account_comparison_state","count_months","months","account_comparsion","setAccountComparsion","fetchAccountComparsion","account_comparison","discount_inconsistencies_state","discountInconsistencies","types_validates","type_validate","date_ini","date_end","setDiscountInconsistencies","discount_inconsistencies_actions_fetchBranchOfficeWarehouses","discount_inconsistencies_actions_fetchBranchOffices","discount_inconsistencies_actions_fetchContacts","getDiscountInconsistencies","cleanDiscountInconsistencies","discount_inconsistencies_actions_searchProducts","actions_fixvalues","discount_inconsistencies_actions_downloadDocument","discount_inconsistencies","defaultSelectedServiceRequest","historyStates","stateSelectedUpdate","request_service_state","transfer_ch_cr","transfer_ch_pro","serviceRequestsStates","tableServiceRequests","close","dateRange","subtract","startOf","service_requests_types_id","service_requests_state_id","selectedServiceRequest","contactsWarehouses","fileName","showModalPdf","paramsProduct","code_line_filter","rotationRefreshmentProducts","photographicEvidences","typePhotographicEvidence","typesRotationRefreshmentProducts","responseUploadFilesRequest","purchaseOptions","vehicleDataByPlate","listReasonsApprovals","listReasonsRejection","productsSublineScrap","productsLineBatteries","productsLineBatteriesScrap","responseCreateRequest","errorUpdateStatus","responseSelectedServiceRequest","pathsDocumentsStatus","finalizeUpdateState","typeImageCodesRequired","invoicesContact","creditNoteDocuments","loadingServiceRequests","requestServiceApproveForm","motive_id","isActionUpdateStateView","scrapReceptionProducts","batteryMaintenanceProducts","createDocumentCurrentStateError","selectedMails","fetchData","resetSellers","setContactsWarehouse","setProductsLineBatteries","setProductsLineBatteriesScrap","setTypes","setReplacePhotographicEvidence","photographic_evidences","setRequestServiceApproveForm","setIsActionUpdateStateView","resetFormRequestService","setServiceRequests","setSelectedServiceRequest","setErrorUpdateStatus","setResponseSelectedServiceRequest","setPathsDocumentsStatus","setFinalizeUpdateState","setTypeImageCodesRequired","setInvoicesContact","setCreditNoteDocuments","setLoadingServiceRequests","setHistoryStateServiceRequest","actual_state","serviceRequest","allStatesByType","completedStates","status_history","historyStatesReturn","ast","astIndex","stateExists","cp","service_requests_status_history_id","completed","path_file_document","path_file_document_customer","path_file_document_reverse","hs","indexhs","hhs","keyA","keyB","finalizeSelectedServiceRequest","setResponseCreateRequest","setStateLoaderSelectedServiceRequest","setStateLoadertableServiceRequests","setPDf","setShowModalPdf","setServiceRequestsStates","setDocumentActualState","stateUpdate","setDefaulrSelectedServiceRequest","setdoccument_id","doccument_id","setTypePhotographicEvidence","setPurchaseOptions","setListReasonsApprovals","setListReasonsRejection","setProductsSublineScrap","setPhotographicEvidence","addPhotographicEvidence","type_image_id","newFile","fileNameFull","fileType","fileExtensions","lastIndexOf","notRepeated","countRepeated","_loop","fileNameNew","existsNewFileName","File","validateAndRenameFileDuplicate","type_image","updatePhotographicEvidence","deletePhotographicEvidence","setTypesRotationRefreshmentProducts","setRotationRefreshmentProducts","addRotationRefreshmentProducts","updateRotationRefreshmentProducts","deleteRotationRefreshmentProducts","setResponseUploadFilesRequest","updatePhotographicEvidences","all","itemFound","path_s3","setRequest","contacts_warehouse","setVehicleDataByPlate","setCreateDocumentCurrentStateError","setScrapReceptionProducts","addScrapReceptionProducts","updateScrapReceptionProducts","deleteScrapReceptionProducts","setBatteryMaintenanceProducts","addBatteryMaintenanceProducts","updateBatteryMaintenanceProducts","deleteBatteryMaintenanceProducts","setSelectedMails","deleteLastItemSelectedMails","setFetchData","getServiceRequests","updateStateServiceRequest","emails","stateServiceRequest","createDocumentByStateId","request_service_actions_fetchContacts","fetchContactsWarehouse","isSeller","isCustomer","userIsSeller","userIsCustomer","fetchTypes","fetchInvoicesContact","fetchCreditNoteDocuments","updateStateHistoryById","request_service_actions_fetchsellers","request_service_actions_searchProducts","branchoffice_warehouse_code","searchProductsLineBatteries","searchProductsLineBatteriesScrap","searchProductsLineBatteriesAndScrap","desc_subline_filter","createRequest","updateRequest","uploadFilesRequest","requestServiceReplacePhotographicEvidence","fetchRequestById","fetchVehicleDataByPlate","plate","getStateByServiceRequestType","service_requests_type_id","fetchTypePhotographicEvidence","codeParamTable","fetchTypesRotationRefreshmentProducts","fetchPurchaseOptions","request_service_actions_fetchCities","fetchListReasonsApprovals","fetchListReasonsRejection","createReverseApprovalDocument","obj","request_service_actions_downloadDocument","searchDocumentNc","simpleUpdateServiceRequestById","isActionCreate","isActionEdit","isActionUpdateState","isActionIncome","isBatteryMaintenanceTransfer","request_service","setFormBankStatement","setFormBankConciliation","setDataBankConciliation","newDocumentTransactions","documentTransactions","cod_contact_transaction","dataBankConciliation","setFormBankStatementResponse","formBankStatementResponse","setFormBankStatementLoading","formBankStatementLoading","setDataBankConciliationLoading","dataBankConciliationLoading","setBankConciliationOperTransactions","setBankConciliationTransactionsDetail","bankConciliationTransactionsDetail","setBankConciliationStatus","bankConciliationStatus","setDataBankConciliationTransactions","dataBankConciliationTransactions","setGenerateBankConciliationResponse","generateBankConciliationResponse","orderByItemBankDocumentTransactions","_params$items","keyTable","_params$prioritySelec","prioritySelected","_params$totalValue","totalValue","bankConcilOper","isSort","isEqualValue","tableUpdateKey","keysPropObj","cod_contact","keysPropArr","dataSortVal","data1","data2","diffValorA","abs","diffValorB","diffDateA","diff","diffDateB","isCodContactMatchA","isCodContactMatchB","localeCompare","diffA","diffB","setDataBankConciliationSelectedPriority","dataReorder","informationExtractIds","accountingInformationIds","bankConcilOperSelected","documentTransactionsSelected","bankConcilOperNotSelected","documentTransactionsNotSelected","toConsumableArray_default","bankConcilOperUnique","self","documentTransactionsUnique","setBankReconciliationReport","setBankReconciliationReportResponse","bankReconciliationReportResponse","setAuxiliaryAccounts","auxiliary_accounts","setDataVoucherTransaction","updateVoucherPayload","setFinalizeVoucher","clearParamsModalTransaction","ids_conciliation","setIdsConciliation","setModalloading","modal_loading","setConsignedData","update_document_payments_methods","getReconciledTotal","sum1","accumulator","oper_value","sum2","isBankConciliationDone","btnIsBankConciliationSuccess","btnIsBankDesConciliationSuccess","incorporate_bank_statement","optionsGenerate","delete_items","setFormIncorporationConsumption","formIncorporationConsumption","setFormIncorporationUsersConsumption","setFormIncorporationConsumptionLoading","formIncorporationConsumptionLoading","sumTotalValue","acc","setDocumentsByUserIdLoading","documentsByUserIdLoading","importIncorporationConsumption","entries_default","slicedToArray_default","importIncorporationUsersConsumption","formIncorporationUsersConsumption","getDocumentsByUserId","reportConsumptionForm","getSubscriberById","incorporation_consumption_actions_fetchContacts","actions_getContact","incorporation_consumption","formIncorporationConsumptionResponse","sub_lines","discounts_soon_payment","discount_soon_payment","discount_soon_payment_actions_fetchLines","fetchSubLines","actions_createDiscount","actions_fetchDiscounts","actions_fetchDiscount","actions_updateDiscount","actions_deleteDiscount","actions_getBranchs","actions_getBrands","sub_line","days_up","defaultAutomaticPortfolioDelivery","expiration_days_from","expiration_days_until","frecuency","time","pre_legal_charge","automatic_portfolio_delivery_state","portfolio","copyPortfolio","automaticPortfolioDelivery","automatic_portfolio_delivery_actions_create","getPortfolioShipments","deletePortfolioShipments","updatePortfolioShipments","setResponse","setData","value1","setCopyData","setAutomaticPortfolioDelivery","automatic_portfolio_delivery","setTemplatesExclude","templates_exlude","setDepartaments","departaments","template","f_exclude_lines","f_exclude_template","include_prod_excludes","is_combo","operations_report","paramstemplates_exclude","roleDefault","stocks","roles_state","categories_specials","permissions_specials","copyPermissions","actionForm","categories_filte","setCategoriesSpecials","setCategorySelected","category_selected","setPermissionsSpecials","permission_role","permissions_specials_fil","pemision_speacial","category_role_id","setModule","setRoleDefault","setActionForm","setPermissionsRole","setStocks","getRoles","deleteRole","actions_getPermissions","getPermissionsSpecials","createRol","getRoleById","updateRol","pemrmision_filter","permition","getUsers","updateRoll","updateCosts","updateStocks","inventory_users_state","mainThird","thirdBranch","setDefaultParams","defaultParams","getReport","inventory_users","setSellerId","actions_fetchOrders","document_ids","fetchOrdersProvider","ordersManagement_actions_getProducts","fetchThreadDocuments","document_thread","getProviders","actions_getStates","ordersManagement_actions_downloadDocument","ordersManagement_actions_getContact","ordersManagement_actions_fetchUnds","end","start","ordersManagement","cashReceipts_state","cashReceipts","setTime","getTime","filter_document","setCashReceipts","fetchCashReceipts","actions_getPdf","cashReceipt","setNotifications","notifications","addNotification","notification","addNotifications","newNotifications","deleteNotificationForIndex","setAuthorizingUser","authorizing_user","seGenerateExpenseUser","generate_expense_user","getDocumentsToAuthorize","notificationDesktopShow","currentNotifications","requestPermission","onclick","getJobs","user_creation","validateAuthorizingUser","validateGenerateExpenseUser","modules_notifications","defaultPaymentMethods","accounting_account_id","commission_percentage","online_payment","rte_fte_percentage","rte_iva_percentage","rte_ica_percentage","entity_id","commission_account_id","rte_fte_account_id","rte_iva_account_id","rte_ica_account_id","code_dian_id","validate_customer_balance","clearSelectedModel","selectedPaymentMethods","setdisabledInputs","disabled","disabledInputs","setSelectedPaymentMethods","setDianCodes","dian_codes","logos","legalrepresentative","customer_account_statement_state","customer_account_statement_actions_getPdf","getAllClients","nameClient","getPdfNegativeValue","pdfPrejuridico","searchMails","customer_account_statement","actions_getDocument","invoice_detail_actions_getPdf","invoice_detail","actions_getSellers","massReassignSeller","sellerParam","reassign_seller","incoming_seller","outgoing_seller","setDateGenerate","setSuggestedReplacement","suggestedReplacement","actions_reportGenerate","getSuggestedReplacement","noDownload","suggested_replacement","setDefaultView","prop","setAudits","audits","audit_actions_getDocument","getAudits","auditsDocument","audit","selectedProducts","selectedTaxes","setMessageLoading","messageLoading","setSelectedDocument","setQr","qr","setCufe","cufe","setModalShow","send_documents_actions_fetchDocuments","sendDocument","showCancelButton","updateCufeAndQr","downloadJson","document_data","send_documents","setSales","getSales","report","actions_getSales","dynamic_matrix","sales_products_actions_getSales","sales_products","setParamsYearMonth","setMessagePreloader","message_preloader","updateBalances","actions_addNotification","today","new_notification","Notifications","getHours","getMinutes","getSeconds","unshift","update_balances_actions_getSubscriber","update_balances","fixAssets_state","tableFixAssets","short","tableFixAssetAdditions","tableFixAssetMonthlyDepreciation","tableFixAssetDocumentDepreciation","tableFixAssetDocumentDepreciationLoading","fixAsset","fixAssetAddition","activeGroups","classes","contactsSale","derecognizedTypes","maintenanceProviders","policyProviders","contactResponsibles","setFixAssets","setFixAssetAdditions","setFixAssetMonthlyDepreciation","setTableFixAssetDocumentDepreciationLoading","setFixAssetDocumentDepreciation","setActiveGroups","setClasses","setCostCenters","setPolicyProviders","setMaintenanceProviders","setContactResponsibles","setContactsSale","setDerecognizedTypes","setErrorForm","setFixAsset","setFixAssetAddition","setAttributeFixAsset","resetFixAsset","resetFixAssetAddition","apiName","routePathAdditions","getLastConsecutiveSuggested","fetchFixAssets","fetchFixAssetById","createFixAsset","updateFixAsset","deleteFixAsset","fixAssets_actions_fetchCities","fetchActiveGroups","fetchClasses","actions_fetchCostCenters","fetchDerecognizedTypes","actions_fetchProviders","fetchMaintenanceProviders","fetchPolicyProviders","fetchContactResponsibles","fetchContactsSale","downloadFixAssets","fetchFixAssetAdditions","fetchFixAssetAdditionById","createFixAssetAddition","fix_asset_id","updateFixAssetAddition","deleteFixAssetAddition","fetchFixAssetMonthlyDepreciation","routePathMonthlyDepreciation","respons","fetchFixAssetDocumentDepreciation","regenerateFixAssetDocumentDepreciation","createFixAssetDocumentDepreciation","yearMonth","createAndFetchFixAssetMonthlyDepreciation","generateExcelFixAssetDocumentDepreciation","_response$data","nameFile","fixAssets","dateFirm_state","tableDateFirms","dateFirm","firm_date_general","firm_date_modification","setDateFirms","setDateFirm","resetDateFirm","firm_date_account","setSubscriberDate","user_f_d","firm_date_modification_date","setAttributeDateFirm","fetchDateFirms","fetchDteFirmSubscriber","fetchDateFirmById","createDateFirm","updateDateFirmSubs","updateDateFirm","deleteDateFirm","executeClosing","modules_receivable","fechaActual","receivable_report_state","include_account_no_manage_doc","acepted","approved","paid","function","fun_code","identification_contact","modalTc","cw_id","functions","parameterContactWarehouse","conceptsParameters","wallet","transactions_wallet","accounts_bank","pay","form_generate_expenses","documentsIds","account_bank","account_bank_description","created_documents","g_e_vouchers_types","tracings","tracing_fields","tracing","getUserLogedId","is_lock_record_button","setwallet","settransactions_wallet","update_user","tracing_user_update","tracing_user_updates","setParamsWalletType","setbankaccount","setConcepts","setParameterContactWarehouse","setConceptsParameters","setFunctions","setGEVouchers_types","setCreatedDocuments","setTracings","setTracingDataDefault","date_time","fechaEnFormato","setTracingDataDefaultFileds","doc_id","updateTracingsRow","last_tracing","date_tracing","setUpdatedTracing","setIsLockRecordButton","getWallet","getPaysAndWallet","getAccountBank","actions_fetchWalletType","getTransactions","updateTracing","attributs","updatePay","receivable_report_actions_downloadDocument","sendEmailMasiveWallet","contacs_selecteds","aceptPay","verifyPay","loadXml","error_cw","receivable_report_actions_fetchBranchOfficeWarehouses","fetchConcepts","fetchConceptsParameter","deleteParameterContactBd","id_parameter_contact","fetchConceptsParameters","contact_provider_id","downFilesBank","wallet_filter_bancolombia","parameters_excel_bancolombia","new_wallet_filter_bancolombia","parms_excel_bancolombia","bancolombia","wallet_filter_bancodebogota","parameters_excel_bancodebogota","new_wallet_filter_bancodebogota","parms_excel_bogota","bancodebogota","_message","passed","code_bank","objNecesary","value_pay","document_affect","id_account_bank","fetchFunctions","declinePay","fetchVouchertypeA","brachOffice","generateExpenses","notifyBanks","getTracings","obtener_seguimientos","addTracings","deleteTracings","receivable_report_actions_getSubscriber","receivable_report","setCommisionSaleBrands","commisionSaleBrands","commission_sale_brand_actions_fetchSellers","getCommisionSaleBrand","date_up","commission_sale_brand","inventory_report_state","lots_info","info_lots_id","setBranchofficesWarehouses","clearParamsBranchofficesWarehouseId","setDataReport","setDownloadExcel","inventory_report_actions_fetchBranchOffices","actions_fetchBranchOfficesWarehouses","inventory_report_actions_fetchLines","inventory_report_actions_fetchBrands","inventory_report_actions_reportGenerate","inventory_report","setOrdersProduct","orders_product","setProductSales","setBoProduct","back_orders","setTransit","transit","setOrderQuantity","orderQuantity","setPdfRoute","pdfRoute","setEntriesImport","entries_import","setDetailMonths","detail_months","detail_per_months","columns_detail_months","setEntraces","entraces","inventory_reposition_actions_fetchContacts","actions_getTransactions","inventory_reposition_actions_fetchLines","getOrders","getEntraces","getOrdersMasive","inventory_reposition_actions_getProducts","updateProducts","getSalesMonth","getBoProduct","inventory_reposition_actions_fetchProviders","getTransit","insertQuantityOrder","insertAllOrder","original","getOrderQuantity","getEntryImport","updateTransit","getDetailMonts","delivery_days","average_sales_month","closeOrder","inventory_reposition","delivery_date","setTransactions","getDocumentTransactions","proyect_id","actions_fetchProjects","project_movements","historical_by_document_state","defaultSelectedDateFrom","actions_getWallet","historical_by_document_actions_fetchWalletType","historical_by_document_actions_getTransactions","actions_getAllClients","historical_by_document_actions_fetchContacts","historical_by_document","accountingInventoryOperations","paramsAccounting","accountingInventoryOperationsCountDocuments","setLoadingAccounting","loadingAccounting","setDetailAccounting","detailAccounting","setAccountingCountDocuemnts","accountingCountDocuemnts","accounting_inventory_movements","document_balance_account_contact","movements_account_contact_actions_fetchContacts","fetchMovementsAccountContact","getBalanceDocumentContactAccount","movements_account_contact","generateFileExportCsv","type_file","uploadFileProviderGuides","productsDataSheets","createProductsDataSheets","updateProductsDataSheets","deleteProductsDataSheets","getProductsTable","createProduct","deleteProduct","getParameterByTable","protractor_guide_actions_fetchLines","protractor_guide_actions_fetchProviders","protractor_guide_actions_reportGenerate","getImages","deleteImage","product_attachment_id","setMainToImage","protractor_guide","update_wsm_tag","inventory_management","purchase","sale","kit","has_lot","has_serial","products_risk_id","rotation_type","cooled","reusable","production_formula","tariff_position","export_product","pos","lock_buy_observations","lock_sale","lock_sale_observations","percentage_iva_buy","percentage_tax_consumer_buy","percentage_tax_consumer_sale","balance_units","balance_value","average_cost","start_date_inventory","modify_description_buy","modify_price_buy","presentation_packaging_buy","presentation_quantity_buy","presentation_unit_buy","presentation_assembled_buy","minimum_quantity_buy","local_buy","calculate_price_buy","automatic_reposition","point_of_sale_deployment","amazon_deployment","free_market_deployment","modify_description_sale","modify_price_sale","observation_sale","allow_invoices_sales_zeros","presentation_packaging_sale","presentation_quantity_sale","presentation_unit_sale","presentation_assembled_sale","minimum_quantity_sale","commision_percentage","profit_margin_percentage","entry_third_party","product_of_continuous_use","link_manufacturer_one","link_manufacturer_two","year_model","series","products_technical_datacol","link_video","used","invima_registry","expiration_date_invima","velocity_index","runflat","lt","code_cum","code_secretary_of_health","aplication_unit","number_aplications","pharmacological_indication_code","pharmaceutical_form","form_unit","number_of_doses","ium_cod","exclude_sales_report","prices_contacts_state","productEdit","showData","showCreateNewProduct","line_param","update_wsm","contacts_find","pricesContactData","setProductsDataSheets","setGetProductEdit","resetSelectedProduct","setProductType","setSize","setColor","setRotationType","setApplicationUnit","setErrorFileImport","setChangeStateLoadFile","clearDataSheets","setProductsTable","setParametersTableInRow","setbranchoffice_warehouse_id","setBranchoffice","setContactIdParams","setQuery","setPriceContacts","actions_generateFileExportCsv","actions_uploadFileProviderGuides","actions_productsDataSheets","actions_createProductsDataSheets","actions_updateProductsDataSheets","actions_deleteProductsDataSheets","actions_getProductsTable","actions_createProduct","actions_deleteProduct","actions_getParameterByTable","prices_contacts_actions_fetchLines","prices_contacts_actions_fetchProviders","prices_contacts_actions_reportGenerate","actions_getImages","actions_deleteImage","actions_setMainToImage","prices_contacts_actions_fetchContacts","getPricesContact","updatePriceProduct","prices_contacts","resetData","setFile","validated","setValidationdata","reset_state","incorporate_inventory_initial_balance","actions_fetchVouchertype","fetchReportData","accounting_detail","pagos","descuentos","pagos_find","descuentos_find","g","pagos_amount","discounts_amount","pay_total","days_to","percentage_or","days_pay","vr_commision","vr_commision_lost","report_commisions_collection_actions_fetchContacts","actions_fetchReportCommisions","actions_fetchReportCommisionsDisccounts","actions_fetchReportCommisionsPays","report_commisions_collection","uploadTemplate","rows_error","import_saldos_contables","message_loading","manage_inventory_documents","watchDocumument","documentsProdcuts","models_lite","contacts_customers","warehousesContacts","branchOfficeWarehousesDocs","fixed_cost","unit_balance","value_balance","product_repeat_number","document_files","fetchRepor","report_picking","excel_inventory_state","setMonth","dia","mes","anio","defaultSelectedDateUp","fetchExcelInvetory","excel_inventory","balance_for_contacts_state","reporte_contacts","fetchReportBalanceForContacts","fetchContactsByType","balance_for_contacts_actions_fetchAccounts","setContactType","balance_for_contacts","actions_downloadTemplate","csv","fetchValidates_file","finish","url_report_error","import_payment_methods_document","setProductsEquivalent","products_equivalent","products_equivalent_actions_searchProducts","searchProductsEquivalents","addProductsEquivalents","product_equivalent_id","deleteProductsEquivalents","delete_documents_state","nuevoMes","nuevoAnio","setFullYear","vouchertype_code","serLoading","fechaMesAnterior","restarMesesAFecha","primerDiaMesAnterior","ultimoDiaMesAnterior","cantidadMeses","fechaClonada","delete_documents","balance_reconciliation_state","formatDate","type_balance","value_compare","accounts_form","accounts_voucher","balance_conciliation","formatDateToYYYYMMDDHHMMSS","document_payment_id","bank_only","only_manage_balance","getAccountsVoucher","loading_modal","pending_consigned","balance_reconciliation_actions_fetchContacts","fetchReport","setAccountsVoucher","setDefaultVoucher","default_v","ele","setDefaultContact","clearParamsTransaction","balance_reconciliation","check_consignment_state","state_check_id","check_states","documentSaved","setCheckState","setDefaultStateCheck","default_item","setReportDataConsigned","setDocumentSaved","setUpdateDocumentpp","setConsigned","setLoadingModal","setDocumentPaymentUpdate","transactionDebit","document_transaction_id","check_consignment","portfolio_reclassification_state","portfolio_reclassification","actions_getParamTable","table_parameters_actions_fetchParameters","table_parameters","dataphones_actions_setPerPagePagination","dataphones_actions_setPagePagination","getDataphones","createDataphones","selectedDataphone","getDataphoneById","updateDataphone","resposnse","deleteDataphoneById","defaultDataphone","code_dataphone","code_1","setDataphones","dataphones","setSelectedDataphone","branchOfices","boxes","report_max_min_state","product_code","optionQuery","type_quey","reportMinMax","setReportMinMax","oneMonthAgo","currentDate","report_max_min","report_user_document_state","dateUp","report_user_document","contact_balance_state","setContactsLite","contact_balance_actions_fetchAccounts","fetchContactBalanceReport","setTypeContact","update_withholdings","prod_vr_limit","new_prod_vr_limit","prod_percentage","new_prod_percentage","serv_vr_limit","new_serv_vr_limit","serv_percentage","new_serv_percentage","retentionsProvider","report_transfers_state","branch_office_id_out","branch_office_warehouse_id_out","branchOffices_out","branchoffice_warehouses_out","reportTransfer","setBranchOfficesWarehousesOut","setReportTransfers","setDocumentsProductsTransfer","report_transfers_actions_fetchBranchOffices","fetchReportTransfers","fetchDocumentsProducts","downloadDocumentTransfer","document_p","type_voucher","report_transfers","defaultAccountingConcept","defaultSelectedAccountingConceptTransaction","clearSelectedAccountingConceptTransaction","setActionFormTransactions","actionFormTransactions","setAccountingConcepts","accounting_concepts","setSelectedAccountingConcept","setAccountingConceptTransaction","b2c_integration_actions_getSubscriber","sync","b2c_integration","setDocumentProductReportData","subtractMonthsToDate","quantity_months","date_clone","new_month","new_year","date_current","date_month_previous","first_day_month_previous","report_document_pending_dispatch_order","pending_dispatch_order","report_sales_referrals","document_referrals","product_details_document","column_status","physical_inventory","show_modal_config","paymentMethodsSend","usersCount","counting_state_users","product_new_id","random_num_prod","user_res_id","show_stock_counting","setSellingPricesAboveCost","sellingPricesAboveCost","setSellingPricesAboveCosts","sellingPricesAboveCosts","selling_prices_above_cost_actions_fetchContacts","selling_prices_above_cost_actions_fetchLines","selling_prices_above_cost_actions_fetchBrands","createSellingPricesAboveCost","fetchSellingPricesAboveCosts","fetchSellingPricesAboveCost","updateSellingPricesAboveCost","deleteSellingPricesAboveCost","selling_prices_above_cost_actions_fetchParameters","selling_prices_above_cost","sales_detail_actions_getSales","sales_detail","sales_budgets_state","actions_addDocument","sales_budgets_actions_downloadTemplate","sales_budgets","sales_budget_by_contacts_warehouses_state","sales_budget","setSalesBudget","setShowToModal","sales_budget_by_contacts_warehouses_actions_addDocument","errores","keysAmount","keysCounter","encodeURIComponent","querySelector","sales_budget_by_contacts_warehouses_actions_downloadTemplate","getSalesBudget","sales_budget_by_contacts_warehouses","sales_budget_actions_getSales","sales_budget_detail_actions_getSales","sales_budget_detail","sales_budget_by_contacts_warehouses_actions_getSales","modules_sales_budget_by_contacts_warehouses","setcontacts_mails","contacts_mails","setcontacts_mails_send","contacs_selected","select_email","selecteds","car","setupdate_mails_send","type_format_change","dato","type_informe","fetchReportContactsMails","setContactsMails","updateTypeFormat","type_format","masive_mails_actions_fetchSellers","sendEmailMasive","printInforme","complete_name","masive_mails_actions_getSubscriber","masive_mails_actions_addNotification","masive_mails","types_format","defaultFilters","consolidated_kardex_state","consolidated_kardex","setConsolidatedKardex","resetFilters","setBranchOfficeFilter","setBranchOfficeWarehouseFilter","consolidated_kardex_actions_fetchBranchOffices","consolidated_kardex_actions_fetchBranchOfficeWarehouses","consolidated_kardex_actions_fetchLines","consolidated_kardex_actions_fetchBrands","getConsolidatedKardex","defaultMagneticMediaReport","cellStyle","type_ident","charAt","cellClass","colId","excelStyles","dataType","typesIdent","onlyInconsistencies","magneticMedia_state","magneticMediaFormats","magneticMediaConcepts","magneticMediaColumns","vrSelectionOptions","regimeOptions","number","vr_selection","limit_value","regime_id","magnetic_media_concept_id","magneticMediaRangeAccounts","account_from_id","account_to_id","magneticMediaReport","onChangeDep","magneticMediaCurrentEditContact","setFormats","setFormat","resetFormat","setLoadingCreateOrUpdateFormat","setLoadingTableFormat","setConcept","resetConcept","resetConcepts","setLoadingCreateOrUpdateConcept","setLoadingTableConcept","setColumns","setColumn","regime","resetColumn","resetColumns","setVrSelectionOptions","setRegimeOptions","setLoadingCreateOrUpdateColumn","setLoadingTableColumn","setRangeAccounts","setRangeAccount","resetRangeAccount","resetRangeAccounts","setLoadingCreateOrUpdateRangeAccount","setLoadingTableRangeAccount","setMagneticMediaReport","magneticMediaReportCopy","columnsStatics","columnsDynamic","isMoney","setLoadingMagneticMediaReport","setTypesIdent","setChangeDep","setMagneticMediaCurrentEditContact","baseUrl","fetchFormats","createFormat","updateFormat","deleteFormat","actions_fetchConcepts","format_id","createConcept","updateConcept","deleteConcept","fetchColumns","createColumn","updateColumn","deleteColumn","getVrSelectionOptions","getRegimeOptions","fetchRangeAccounts","column_id","createRangeAccount","updateRangeAccount","deleteRangeAccount","fetchGenerateReport","year2","getTypesIdent","actions_updateContact","magneticMedia","defaultSelectedLeadership","leadership","users_list","leadership_state","leaderships","selectedLeadership","setLeaderships","setLeadership","resetSelectedLeadership","leadership_actions_fetchUsers","fetchLeaderships","addLeadership","updateLeadership","deleteLeadership","getLeadership","event","event_id","start_time","end_time","repeat_id","repeat_every","repeat_on","end_id","repeat_until","repeat_count","attachments_loaded","edit_mode","startTime","endTime","user_creator_id","user_last_modified_id","user_creator","user_last_modified","visit_customer_id","visit_customer","attended","attended_date","attended_time","timePickerOptionsStart","timePickerOptionsEnd","schedule_state","would_you_just_run","modal_advanced","holidays","events_day","disabled_observation","loading_editor","time_picker_options_start","time_picker_options_end","endOf","allow_close","title_distance","leadership_users","l","get_roles","setTotalUsers","u","pattern","RegExp","lat1","lng1","distance_number","lat2","lng2","dLat","PI","dLong","dLat1","sin","cos","atan2","sqrt","updateDistance","navigator","geolocation","getCurrentPosition","coords","longitude","setModalAdvancedShow","setTimePickerOptions","current_date","current_hour","minute","setTimePickerOptionsEnd","resetEvent","event_data","setEvent","setEventDescription","setEventAddress","setEventTelephone","setEventEndTime","setEventEndDate","setEventLeaderShipId","setEventUserId","setEventContactWarehouseId","setEventEditMode","setDisabledObservation","setEvents","checkin_time","checkout_time","setEventsDay","setLoadingEditor","setParametersStartDate","setParametersEndDate","setParametersUserId","setLeadershipId","setEditMode","addAttachmentDeleteEvent","setAttendedEvent","deleteAttachmentEvent","index_attachment","setAllowClose","setCoordinatesUser","setHolidays","schedule_actions_fetchContactsWarehouses","schedule_actions_fetchContacts","userLogged","schedule_actions_fetchUsers","actions_fetchLeaderships","fetchEvents","fetchHolidays","fetchEvent","fetchLastEvent","fetchEventsDay","storeEvent","deleteEvent","closeEvent","updateEvent","_i","getCoordinates","schedule","actions_downloadClientsTemplate","uploadClientsTemplate","import_terceros","downloadProductsTemplate","uploadProductsTemplate","import_products","fetch","load_images","actions_addContact","email_electronic_invoice","actions_fetchDocumentTypes","clients_component_actions_fetchContacts","with_contact_warehouses","from_identification","pointOfSale","fetchContactById","fetchContactByIdAndContactWarehouseId","actions_fetchPriceLists","fetchTaxResponsibilities","tax_responsibilities","clients_component_actions_fetchModel","clients_component_actions_fetchCities","clients_component_actions_fetchDepartments","clients_component_actions_getSellers","clients_component_actions_getSubscriber","actions_getTaxes","actions_getBranchOffice","clients_component","payments_methods_modal","modal_component","balance","totalPay","complete","quota","from_inventory_documents","from_accounting_documents","customerDiscountBrand","disable_incorporation","only_validation","incorporate_inventory_operations_state","setDisableIncorporationToData","setOnlyValidationToData","incorporate_inventory_operations_actions_fetchVoucherTypes","downloadTemplateIncorporateInventoryOperations","incorporateInventoryOperations","now","deleteAllDocumentsByVoucherTypeId","incorporate_inventory_operations","actions_fetchReportData","accountingDoc","getReportByDocumentId","inventory_reconciliation","difer","document_finder_state","resetParams","setPageToParams","setDataDefault","setVoucherTypeIdToParams","setModelIdToParams","setBaseDocument","selectAll","setDocumentsWithOutSelected","newData","dataCopy","getBranchOfficesWarehouses","getModels","actions_getVoucherTypes","actions_getContacts","actions_getDocuments","document_finder_actions_fetchUnds","document_finder_actions_getDocument","document_finder","import_ideal_balances","provider_account_statement_state","provider_account_statement_actions_getPdf","getAllProviders","actions_getPdfNegativeValue","actions_pdfPrejuridico","actions_searchMails","provider_account_statement","setreporte","data_report_sales_purchases","report_sales_p","setStatesRadian","radiansState","radiansStateNames","update_row","documentInfo","fetchReportSalesPurchases","fetchStateRadian","updateobservationRadian","radian","radian_state","radian_state_id","report_sales_purchases","params_documents","import_accounts_plans","report_reult_eri_state","report_reult_eri","incorporate_accounting_movements_state","downloadTemplateIncorporateAccountingMovements","incorporateAccountingMovements","actions_deleteAllDocumentsByVoucherTypeId","incorporate_accounting_movements","quotations_state","quotations","setQuotations","setSellerIdParams","fetchQuotations","quotationToCart","quotations_actions_reportGenerate","quotations_actions_downloadDocument","quotations_actions_getSellers","whatsapp_api_state","defaultTemplate","sendMessagesPayload","responseApi","setSendMessagesPayload","setDefaultTemplate","setResponseApi","sendMessages","getTemplates","whatsapp_api","guarantees","branch_office_warehouse","branch_office_exit_id","branch_office_warehouse_exit_id","reason_id","option_id","approval_status_id","request_guarantee_attachments","request_guarantee_state","images_product","images_product_loaded","other_images","other_images_loaded","images_guide","images_guide_loaded","setContactWarehouseIdRequestGuarantee","setContactWarehouseIdRequestGuaranteeFilters","modal_show","setStep","obj_step","_state","setObservationRequestGuarantee","setStepAvailable","step_available","setRequestsGuarantees","requests_guarantees","rg","only_view","setRequestGuarantee","resetRequestGuarantee","addAttachmentDeleteRequestGuarantee","deleteAttachmentRequestGuarantee","resetPageFilters","setStatesEvaluation","states_evaluation","setProductsToSend","products_to_send","setProductsToSendTwo","products_to_send_two","setProductsToSendThree","products_to_send_three","setProductToSendId","products_to_send_id","product_to_send_id","setSending","sending","setLeadershipIdParams","changePaymentDate","payment_data","setRequestTypes","setDevolutionReasons","devolution_reasons","setUpdateDocumentValues","setShowToModalPdf","setApprovalStates","approval_states","setApprovalReasons","approval_reasons","setOptions","setDocumentsByThread","documents_by_thread","setGuaranteeReasons","guarantee_reasons","guarantees_admin","view_codes","validate_kardex_state","actions_getKardex","validate_kardex","apiEndpoint","fetchReservationProducts","fetchReservationProduct","createReservationProduct","updateReservationProduct","deleteReservationProduct","reservationProduct_actions_fetchContacts","reservationProduct_actions_searchProducts","isEdit","modules_reservationProduct","setTypeUpdates","type_updates","setNextId","update_type_id","number_document","id_sug","setListCashUpdates","listCashUpdates","setListCashUpdatesExcel","listCashUpdatesExcel","setSelectedCashUpdate","clearCashUpdate","box_id","setDefaultBoxUser","resetFileNamePdfCashRegister","fileNamePdfCashRegister","setShowPdfCashRegister","showPdfCashRegister","setFileNamePdfCashRegister","fileNamePdfCashRegisterEmail","setLoadingPdf","setIsLoadingReport","isLoadingReport","cash_registers_updates","date_update","detail","date_last_update","replacement_points_of_sale_state","replacement_points_of_sale_actions_fetchContacts","id_provider","replacement_points_of_sale_actions_fetchLines","downloadReport","replacement_points_of_sale","defaultData","modal_list_product_wms_state","dataProductsWms","availabilityWmsProducts","params_request","setAvailabilityWmsProducts","setProductIDDataProductsWms","resetDefaultFormProduct","searchProductsWms","Error","modal_list_product_wms","getProductsPrices","uploadFilePrices","putRevertPrices","product_pricing","Vuex","Store","picture","accountingInventoryMovements","ordersRetained","tabsViews","contactClerks","contactWarehouses","contactDocuments","productDetail","relativeProductsForm","ordersHistory","replacementAssistant","typeoperations","requestheaders","requestproducts","inventoryMovements","certificatesRetentions","nuevoInforme","dataSheet","statefinaze","cashRegisterSquare","auxiliarybook","accountbalance","auxiliarybookcontact","reportcommisions","reportbo","conciliationbalances","trialbalance","trialbalancecontact","aurora","starjobs","availabilityInquiry","requestService","incorporateBankStatement","incorporationConsumption","InventoryReport","InventoryReposition","ProjectMovements","inventoryUsers","customerAccountStatement","invoiceDetail","reassignSeller","replacementAssistantAdmin","sendDocuments","reportDynamicMatrix","reportSalesProducts","ReceivableReport","CommissionSaleBrand","HistoricalReport","Receivable","movementsAccountContact","balanceCrossing","protractorGuide","PriceContact","salesDetail","salesBudgets","reportSalesBudget","reportSalesBudgetDetail","mailsmasives","consolidatedKardex","contactImport","productsImport","despatchPacking","modalPaymentsMethods","CreateClientComponent","inventoryReconciliation","documentFinder","IncorporateInventoryInitialBalance","providerAccountStatement","reportSalesPurchases","reportAccountsPlans","AccountingDetail","reportcommisionsCollection","ImportAccountingBalances","ManageInventoryDocuments","reportResultEri","PickingReport","salesBudgetByContactsWarehouses","reportSalesBudgetByContactsWarehouses","BalanceForContacts","ImportDocumentsPaymentsMethods","ExcelInventory","ProductsEquivalent","CheckConsignment","DeleteDocument","guaranteesAdmin","BalanceReconciliation","PortfoliorReclassificationAlkosto","validateKardex","TableParameters","Datafonos","MaxMinReport","ReportUserDocuments","ContactBalance","updateWithholdings","TransfersReport","AccountingConcepts","CashRegistersUpdates","idealBalancesImport","replacementPointsOfSales","ReportDocumentPendingDispatch","modalListProductWms","ReportSalesReferrals","PhysicalInventory","ReportLog","productPricing","WhatsappApi","Router","linkActiveClass","beforeEach","authRequired","loggedIn","fullPath","afterEach","Icon","Default","_getIconUrl","mergeOptions","iconRetinaUrl","iconUrl","shadowUrl","config","productionTip","components","downloadAccountsTemplate","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectDestructuringEmpty___default","uploadAccountsTemplate","editing","inventory_0","destination_branchoffice_id","default_contact","uploadDiscounts","exports","manage_expire_date","buy_block","inevitable","b2c_description","url_producer","modify_price","block_buy","informative_discount_percentage","maximum_discount_percentage","supplyer_code","detailed_description","manage_lot","sale_type","percentage_consumption_tax","value_consumption_tax","previous_code_system","rotation_classification","packing_unit","ultra_processed_tax_percentage","company_type_parameter","only_combos","getPaymentMethods","createPaymentMethod","getPaymentMethodById","updatePaymentmethod","deletePaymentMethodById","fetchDianCodes","setInitialValuesDates","__WEBPACK_IMPORTED_MODULE_0__util_domains__","fetchAuxiliaryBook","limit_rows","warning","fetchAuxiliaryBookExcel","params_ag","filter_model","zero$1","buf","extra_lbits","extra_dbits","extra_blbits","bl_order","static_ltree","static_dtree","D_CODES$1","_dist_code","_length_code","MAX_MATCH$1","base_length","base_dist","StaticTreeDesc","static_tree","extra_bits","extra_base","elems","max_length","has_stree","static_l_desc","static_d_desc","static_bl_desc","TreeDesc","dyn_tree","stat_desc","max_code","d_code","dist","put_short","pending_buf","pending","send_bits","bi_valid","bi_buf","send_code","tree","bi_reverse","gen_codes","bl_count","next_code","MAX_BITS$1","bits","init_block","LITERALS$1","dyn_ltree","dyn_dtree","bl_tree","END_BLOCK","opt_len","static_len","sym_next","bi_windup","smaller","depth","_n2","_m2","pqdownheap","k","heap","j","heap_len","compress_block","ltree","dtree","lc","extra","sx","sym_buf","build_tree","desc","stree","node","heap_max","h","xbits","overflow","gen_bitlen","scan_tree","curlen","prevlen","nextlen","count","max_count","min_count","REP_3_6","REPZ_3_10","REPZ_11_138","send_tree","static_init_done","_tr_stored_block$1","stored_len","last","subarray","trees","_tr_init","LENGTH_CODES$1","L_CODES$1","tr_static_init","l_desc","d_desc","bl_desc","_tr_stored_block","_tr_flush_block","opt_lenb","static_lenb","max_blindex","strm","data_type","block_mask","detect_data_type","BL_CODES$1","build_bl_tree","strategy","lcodes","dcodes","blcodes","rank","send_all_trees","_tr_tally","sym_end","_tr_align","STATIC_TREES","adler32_1","adler","s1","s2","crcTable","Uint32Array","makeTable","crc32_1","crc","messages","2","0","-1","-2","-3","-4","-5","-6","constants$2","Z_NO_FLUSH","Z_PARTIAL_FLUSH","Z_SYNC_FLUSH","Z_FULL_FLUSH","Z_FINISH","Z_BLOCK","Z_TREES","Z_OK","Z_STREAM_END","Z_NEED_DICT","Z_ERRNO","Z_STREAM_ERROR","Z_DATA_ERROR","Z_MEM_ERROR","Z_BUF_ERROR","Z_NO_COMPRESSION","Z_BEST_SPEED","Z_BEST_COMPRESSION","Z_DEFAULT_COMPRESSION","Z_FILTERED","Z_HUFFMAN_ONLY","Z_RLE","Z_FIXED","Z_DEFAULT_STRATEGY","Z_BINARY","Z_TEXT","Z_UNKNOWN","Z_DEFLATED","Z_NO_FLUSH$2","Z_FULL_FLUSH$1","Z_FINISH$3","Z_BLOCK$1","Z_OK$3","Z_STREAM_END$3","Z_STREAM_ERROR$2","Z_DATA_ERROR$2","Z_BUF_ERROR$1","Z_DEFAULT_COMPRESSION$1","Z_DEFAULT_STRATEGY$1","Z_DEFLATED$2","L_CODES","LITERALS","D_CODES","BL_CODES","HEAP_SIZE","MAX_BITS","err","errorCode","msg","zero","slide_hash","wsize","w_size","hash_size","head","HASH","hash_shift","hash_mask","flush_pending","avail_out","output","pending_out","next_out","total_out","flush_block_only","block_start","strstart","put_byte","putShortMSB","read_buf","avail_in","input","next_in","total_in","longest_match","cur_match","chain_length","max_chain_length","scan","best_len","prev_length","nice_match","limit","_win","wmask","w_mask","strend","scan_end1","scan_end","good_match","lookahead","match_start","fill_window","_w_size","more","window_size","insert","ins_h","deflate_stored","flush","left","have","min_block","pending_buf_size","high_water","deflate_fast","hash_head","bflush","match_length","max_lazy_match","MIN_MATCH","deflate_slow","max_insert","prev_match","match_available","Config","good_length","max_lazy","nice_length","max_chain","func","configuration_table","deflateStateCheck","deflateResetKeep","last_flush","deflateReset","ret","lm_init","deflateInit2","windowBits","memLevel","gzhead","gzindex","w_bits","hash_bits","Uint16Array","lit_bufsize","deflate_1$2","deflateInit","deflateSetHeader","deflate","old_flush","level_flags","hcrc","comment","os","beg","copy","gzhead_extra","bstate","deflate_huff","deflate_rle","deflateEnd","deflateSetDictionary","dictionary","dictLength","tmpDict","avail","deflateInfo","_has","call","common","assign","sources","source","shift","TypeError","flattenChunks","chunk","STR_APPLY_UIA_OK","fromCharCode","__","_utf8len","q","strings","string2buf","TextEncoder","encode","c2","m_pos","str_len","buf_len","buf2string","max","TextDecoder","decode","out","utf16buf","c_len","buf2binstring","utf8border","zstream","toString$1","Z_NO_FLUSH$1","Z_FINISH$2","Z_OK$2","Z_STREAM_END$2","Z_DEFLATED$1","Deflate$1","chunkSize","opt","raw","gzip","ended","dict","_dict_set","deflate$1","deflator","flush_mode","_flush_mode","onData","onEnd","deflate_1$1","Deflate","deflateRaw","constants","inffast","_in","_out","dmax","whave","wnext","s_window","hold","lcode","dcode","lmask","dmask","here","op","from_source","lencode","distcode","lenbits","distbits","top","dolen","dodist","sane","lbase","lext","dbase","dext","inftrees","lens","lens_index","table_index","work","opts","incr","fill","low","mask","sym","min","curr","drop","huff","MAXBITS","offs","here_bits","here_op","here_val","Z_FINISH$1","Z_OK$1","Z_STREAM_END$1","Z_NEED_DICT$1","Z_STREAM_ERROR$1","Z_DATA_ERROR$1","Z_MEM_ERROR$1","BAD","zswap32","inflateStateCheck","inflateResetKeep","havedict","flags","lendyn","Int32Array","distdyn","back","inflateReset","inflateReset2","wbits","inflateInit2","offset","ncode","nlen","ndist","was","lenfix","distfix","virgin","fixedtables","updatewindow","inflate_1$2","inflateInit","last_bits","last_op","last_val","hbuf","inf_leave","done","xflags","extra_len","inflateEnd","inflateGetHeader","inflateSetDictionary","dictid","inflateInfo","gzheader","Inflate$1","inflate$1","inflator","last_avail_out","next_out_utf8","tail","utf8str","inflate_1$1","Inflate","inflateRaw","ungzip","countries","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_json_stringify___default","dataMarker","lng","lat","defaultSelectedContact","trade_classifications","contactsModal","setcontact","contactFromVariousVouchers","downloadExcelDataCreditLoading","contactsSelect","wallet_accounts","extractIdsFromCategories","only_diferences","pfd","mode_id","backQty","backValue","setSearchDocuments","SetNewTrmValue","new_value","SetNewTotalValue","_ref128","__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_promise___default","__WEBPACK_IMPORTED_MODULE_6_babel_runtime_helpers_asyncToGenerator___default","__WEBPACK_IMPORTED_MODULE_5_babel_runtime_regenerator___default","modelTemp","getBranchofficeWarehouses","getProjects","getDocumentsProductsImport","fetchTypesImpression","id_comprobante","typesImpression","date_start","createDocumentFromBase","additional_documents_products","update_doc","modify_price_list","info","error_manage_nonconsumption","fetchDocument","createDocument","fetchDocumentsForBackOrder","thread_id","fetchContactsAditional","fetchCenterCosts","getContactsWarehousesById","applyPercentageDiscount","data_request","percentage_discount","apply_discount_masive","branchoffice_warehouse_id_product","updateOrCreateDocumentProduct","tariff_percentage","from_inventory_maintenance","deleteQuantity","observation_three","select_business","business_id","capture_commission_percentage","commission_percentage_applies","contact_additional","pd","__WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_json_stringify___default","handling_other_parameters_state","handling_other_parameters_value","affects_year_month","state_ending_id","updateGeneralDataDocument","name_document","updateDocumentValues","updateDocumentProductsValues","editRetentioDocument","finalizeUpdateDocument","save_document","amount","minimum_gross","minimum_unit","_ref92","_ref94","_ref96","_ref98","_ref100","_ref102","_ref104","_ref106","_ref108","_ref110","_ref112","_ref114","_ref116","_ref119","_ref121","_ref123","_ref125","uploadFileProductsDocument","dataError","searchDocumentGlobal","_x60","searchDocumentGlobalMasive","_x61","getTraceDocumentProduct","_callee43","_context43","_x62","_x63","setConfigurationRetention","_callee44","_context44","_x64","_x65","calculateRetention","_callee45","valueToCalculate","totalValueRetention","_context45","inxf","_x66","_x67","validateRetentionData","_callee46","_context46","_x68","showPdfDocumentById","_callee47","_context47","appLink","_x69","_x70","getDocumentByIdUpdatedValues","_callee48","_context48","dataCommit","_x71","_x72","getReceivablesByContactId","_callee49","_ref93","_context49","_x73","_x74","deleteDocumentProduct","_callee50","_ref95","_context50","forceDelete","_x75","_x76","deleteDocumentsProducts","_callee51","_ref97","_context51","_x77","_x78","_callee52","_ref99","_context52","_x79","_x80","_callee53","_ref101","_context53","_x81","_x82","_x83","_callee54","_ref103","_context54","_x84","_x85","fetchParametersTable","_callee55","_ref105","_context55","_x86","_x87","_callee56","_ref107","_context56","nameDoc","__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_values___default","_x88","_x89","updateDocCruce","_callee57","_ref109","_context57","_x90","_callee58","_ref111","_context58","_x91","_x92","_callee59","_ref113","_context59","_x93","_x94","duplicateDocumentProduct","_callee60","_ref115","_context60","_x95","_x96","cancelDocument","_callee62","_ref117","_context62","_ref118","_callee61","_context61","_x98","_x97","_callee63","_ref120","_context63","_x99","_callee64","_ref122","_context64","_x100","_callee65","_ref124","_context65","_x101","storeContact","_callee67","_ref126","_context67","_ref127","_callee66","_context66","direct_invoice_blocking","_x103","_x104","_x102","_ref129","_ref131","_ref134","_ref137","_ref139","_ref141","_ref143","_ref145","_ref147","_ref149","_ref151","_ref153","_ref155","_ref157","_ref159","_ref161","_ref163","_ref165","_ref167","_ref169","_ref171","fetchVehicles","_callee68","_ref130","_context68","_x105","_x106","_callee70","_ref132","_context70","_ref133","_callee69","_context69","_x109","_x107","_x108","validateLicensePlate","_callee72","_ref135","_context72","_ref136","_callee71","_context71","vehicle_type","_x111","_x110","_callee73","_ref138","_context73","_x112","_callee74","_ref140","_context74","_x113","_callee75","_ref142","_context75","_x114","_callee76","_ref144","_context76","_x115","fetchPayments","_callee77","_ref146","_context77","_x116","getNewContact","_callee78","_ref148","_context78","_x117","_x118","_callee79","_ref150","_context79","_x119","documentsThreadHistoryByDocumentId","_callee80","_ref152","_context80","_x120","_x121","_callee81","_ref154","_context81","_x122","validateCrossDocument","_callee82","_ref156","_context82","crossing_prefix","crossing_number_document","_x123","fetchAccountsLite","_callee83","_ref158","_context83","_x124","fetchMoney","_callee84","_ref160","_context84","_x125","fetchAccountsICa","_callee85","_ref162","_context85","_x126","fetchDocumentsPaymentsMethods","_callee86","_ref164","_context86","_x127","downloadExcel","_callee87","_ref166","_context87","_x128","_callee88","_ref168","_context88","_x129","_x130","fetchReportExistProducts","_callee89","_ref170","params_data","_context89","_x131","_x132","validatePercentageDiscount","_callee90","_ref172","_context90","_x133","fetchparameters_status","getProductForCode","generic_product","updateProduct","fetchProductType","fetchSize","fetchColor","fetchRotationType","fetchApplicationUnit","generateFileExport","uploadFileProducts","fetchRotationClassification","fetchClassification","fetchPackingUnits","loadProductImage","manage_previus_code_system","getProductsCombo","saveProductCombo","combo_id","updateProductCombo","deleteProductCombo","updatePrice","sale_price","fetchGenericProducts","fetchPrice","updateOrCreatePrice","getBranchsWarehouses","getInventoryByProductId","fetchParametersRotationClassification","getMaxCodeProduct","getExistsProduct","code_product","exist","validateProductCodeUntilFalse","getAuditProduct","axios","interceptors","request","req","nar","Authorization","resp","atob","originalRequest","reload","fetchVouchersTypes","addVouchersType","getElectronicDocuments","getDocumentsNature","updateVouchersType","removeVouchersType","cloneVouchersType","selected_branch_office","required_purchase_order","only_active_api_search","show_component","modal_question","fetchDeleteDocuments","state_creation","unix","generateSquareCashRegisterPdf","saveSquareCashRegister","updateSquareCashRegister","getHistorySquareCashRegister","deleteHistorySquareCashRegister","fetchCashRegisters","fetchBranchOfficesWarehouse","fetchTemplatesExclude","fetchDepartaments","fetchReportRange","fetchChecksStatus","getReportData","updateObservationReport","fetDocumentPaymentMethods","createVoucherItem","accountingDocCheck","downloadAccountingDocument","__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_objectDestructuringEmpty___default","fetchpayment_methods","getcommissionable_concepts","fetchProjectsdt","fetchconsecutive","fetchContact","fetchContactAudit","fetchContactdt","findDocument","cloneAccountingDocument","copyAccountingDocument","fetchContactsdt","fetchContacts_filterdt","fetchBranchoffice","createVariousVouchers","fetchCancellationReasons","cancelAccountingDocument","fetchContactselect","contats","fetchAccountFromRoot","fetchAccount","fetchVoucherInModels","vouvherInModels","fetchTax","setTransactionsByCsv","transactions_csv","fetchFiles","accountingDocumentAttachment","fetchDocumentransactions","searchDocument","docu","editDocument","FinalizeUpdate","deleteAccountFromDocumentTransaction","$id","getAuditDocument","id_document","fetchCorrerias","fetchBalanceByContact","fetchBalanceByContacts","uploadIdealBalancesTemplate","all_models","key_inventory","is_ventas","finished_document","set_back_order","updated_at_as_time","unit_value_iva","toggle_table","down","index_product","unit_value_list","unit_value_after_taxes","modal_save_restore","saving","ultra","modal_mode","model_form","url_pdf","url_pdf_two","allow_rollback","cancel","temp_documents_products","pass_inventory_validation","with_existences","reverse_mode","original_document_id","new_product","iva_value","impo_value","include_taxes","factor_taxes","factor_impo","taxes_pct","iva_pct","impo_pct","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_number_epsilon___default","modal_detail","product_attachment","uvt_control","printers","selected_printer","uvt_limit_value","modal_options","exist_tax_combo","iva_five_combo_value","discount_pct","iva_five_combo_pct","sdp_id","contact_subscriber","documents_with_dispatch_request","balance_payable","defeated_balance","doc_for_prods_without_avail","contact_default","authorize_discount_user_id","user_id_authorize_wallet_payments_methods","fetchUserDocumentsReport","fetchProductsReportData","sendDocumentWmsDispatch","documentSend","updateDocInformationByDocumentId","reset_page","updateProductDocument","__WEBPACK_IMPORTED_MODULE_0_moment_moment__","__WEBPACK_IMPORTED_MODULE_0_moment_moment___default","correlative_company","status_dian_code","status_dian_description","status_dian_date","status_name","reception_date","issue_time","rete_iva","rete_fte","rete_ica","total_amount","document_type","issuer_type","identity_type","it","contacts_filtered","filter_parts","normalize","final_filter_parts","fp","match_contact","new_customer","focus","identification_code","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-SG","./en-SG.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-il","./en-il.js","./en-nz","./en-nz.js","./en-sg","./en-sg.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./ga","./ga.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it-ch","./it-ch.js","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ku","./ku.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mn","./mn.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./mt","./mt.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./tg","./tg.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./ug-cn","./ug-cn.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","webpackContext","webpackContextResolve","CancelToken","model_electronic_invoice","_document","confirmButtonClass","print_templates","pt","__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_promise___default","fetchContactSubscriber","fetchContactDefault","is_reposition_assistant","reg","_document_product","_quantity","_document2","audio","table_products","_table_products","sc","unit_value_list_before_taxes","Audio","sound","play","updateOrCreateDocument","copy_document","allowed","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default","addDocumentProduct","force_recalculate","cancelToken","getVoucherType","deleteDocument","_this9","fetchDocumentsSaved","_this10","fetchDocumentsWithDispatchRequest","_this11","_this12","saveDocumentByModelChange","key_information","_this13","changePriceListInDocument","_this14","show_alert","from_price_list","deleteDocumentDocumentProduct","_this15","_this16","createAndFinalizeDocument","_this17","_this18","generatePdfTicket","_this19","validateExistencesByDocumentId","_this20","_this21","reverseOperation","_this22","copyDocument","_this23","getProductDetail","getProductsDataSheets","fetchPrices","getBalanceByContactId","only_admin","validatePassword","_this24","validateBuyOrder","_this25","buy_order","calculateWalletProblem","_this26","validateStatusSalesDocument","_this27","is_other","ERP_code","seller_id_1","seller_id_2","callcenter_advisor_id","point_of_sale_id","electronic_invoice_shipping","b2b_portal_access","priority","trade_classification_id","expiration_date_credit_quota","days_soon_payment_1","percentage_soon_payment_1","days_soon_payment_2","percentage_soon_payment_2","days_soon_payment_3","percentage_soon_payment_3","last_purchase","blocked","retention_ica","date_financial_statement","assets","liabilities","heritage","code_ica_id","aut_rep_cent_riesgo","wallet_account_id","observation_customer_commerce","contract_number","replacement_days","electronic_order","update_shopping_list","calculate_sale_prices","percentage_retention_source","percentage_retention_iva","percentage_retention_ica","payment_bank_id","account_type","account_number","accounting_concepts_ids","causation_voucher_type_id","ultra_processed_tax","referral_voucher_type_id","cost_center_id","position_id","order_minimum_ammount","seller_zone_id","contact_other","physical_file_number","user_update","contact_date_update","contact_user_update","audit_contacts","discount_percentage_customer","document_last_state","delivery_observation","model_prods_without_availability","unique_product","modal_finder","data_json","postFormsOfPayment","is_modal_payment_methods","getBalance","reAccountingDoc","updateUserAuthorized","fetchUpdateMasiveRetentions","rows","tabIndex","validationsModalPaymentMethods","voidModalPaymentMethods","deleteRowModalPaymentMethodsData","userIsSuperAdmin","userIsTechnicalService","validateRoleLoggedUser","fetchProcess","fetchReportAlkosto","fetchBranchOfficesAlkosto","column"],"mappings":"gSAEAA,EAgBAC,EAOAC,EAMAC,oEA7BOC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,UACN+hL,QAAS,qBACTx6G,IAAK,oBAGbjrD,aACAqrE,SACIm0D,YACAkmC,gCACArmC,aACA9yE,aACA3yC,YACA+xD,SACA/iF,YACA+8K,kBACAtjK,YACAc,eACAlhB,cACA2jL,aACA37I,eACAyhB,iBACA3K,iBACAytC,0BACA98E,YACAm0K,iBACAC,qBACAC,oBACArjK,eACAK,UACAxnB,SACAyE,YACAmkB,SACA8rE,SACAp0F,UACA0E,aACAC,cACAI,iBACAi3F,QACA6F,aACAM,QACAJ,WACAgI,aACAogF,iBACAtpI,QACAupI,wBACAC,iBACAz+H,cACA0+H,wBACA/3E,sBACAG,qBACAhyG,YACA6qF,UACA0oB,gBACA56D,UACAzb,aACAg5E,eACA2zE,kBACA5wJ,UACAmc,SACAlqB,iBACA4+J,kBACAC,mBACAC,sBACAC,0BACAC,gBACAzxJ,cACA85G,gCACA43C,aACAC,eACA55C,yBACA65C,sBACA/oK,YACAgpK,iBACAC,kBACAC,wBACAC,oBACAC,YACAC,wBACAC,gBACAC,uBACA5uD,sBACAE,2BACA11C,oBACA/V,YACA7vC,WACAiqJ,UACAC,YACA3iG,gBACAI,UACA6B,aACAgB,gBACA2/F,uBACAhsJ,uBACAi0G,qBACAg4C,kBACAC,4BACAC,4BACAC,mBACAC,uBACAC,oBACA5/F,WACA6/F,kBACA70C,oBACAE,gBACAoH,iBACAhhH,kBACAwuJ,4BACAC,iBACAC,kBACAC,6BACA3vC,SACA4vC,iBACAxuC,UACAyuC,uBACAC,uBACAluC,kBACAmuC,oBACAC,uBACAC,oBACAC,cACAC,2BACAC,mBACAC,mBACAC,gBACAjlB,0BACAklB,eACAC,gBACAC,qBACAC,2BACAC,gBACAnb,eACA8H,aACAsT,sBACAC,kBACAC,mBACAhT,gBACA6B,0BACAxK,iBACA4b,mBACA1S,gBACA2S,yBACAC,0BACA9Q,mCACAyD,mCACAsN,4BACAC,mBACAC,sCACAC,6BACAC,yBACAC,wBACAC,oBACAC,8BACAC,4BACAC,4BACAC,oB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ACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,gBAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC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B6nE,GAnI1B91N,EAAA,aAwIO,SAAsB1b,EAAQ+/E,GACjC//E,EAAM+/E,UAAYA,GAzItBrkE,EAAA,YA+IO,SAAqB1b,EAAQ61I,GAChC71I,EAAM6B,OAAOg0I,SAAWA,GAhJ5B,IAAAj6H,EAAAJ,EAAA,QAAAK,EAAAL,EAAAM,EAAAF,GA4CO,SAASktJ,EAAqBl3J,EAAMm3J,GAYvC,IAXA,IAAMC,EAAa,IAAIztJ,KAAK3J,GAOxBq3J,EAJkBD,EAAWpjJ,WAIDmjJ,EAC5BG,EAJiBF,EAAWrjJ,cAOzBsjJ,EAAY,GACfA,GAAa,GACbC,IAOJ,OAHAF,EAAW/J,SAASgK,GACpBD,EAAWjI,YAAYmI,GAEhBF","file":"static/js/app.9cda684054ad6b92c331.js","sourcesContent":["import $http from \"../../axios\";import {Notification, MessageBox} from 'element-ui';\n\nexport async function fetchBranchOffices({commit, state}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n await dispatch(\"lines/fetchLines\",\n { params: { paginate: false, only_lines_unlocked_b2b: 1 } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n}\nexport async function fetchBrand({ dispatch, state, rootState, commit },params) {\n await dispatch(\"brands/fetchBrands\",\n {params: params },\n { root: true });\n commit(\"setBrands\", rootState.brands.brands);\n}\nexport async function fetchMinMaxReport({commit, state}) {\n state.loading.module = true;\n await $http.get('/api/reporte-maximos-minimos',{params : state.params}).then((response) => {\n state.loading.module = false;\n commit('setReportMinMax', response.data)\n })\n .catch((error) => {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-max-min/actions.js","import {\n defaultSelectedProduct, product_combo\n} from './state';\nimport {getApiDomain} from '../../util/domains';\n\n// trae todos los productos\nexport function setStateProducts(state, products) {\n state.products = products;\n}\n\n// Guardar los data sheets\nexport function setProductsDataSheets(state, data_sheets) {\n let subscriber = JSON.parse(localStorage.getItem(\"subscriber\"));\n\n //Para ventas instituvionales en portal clientes mostrar solo Peso y Refrigerado\n if (subscriber.identification === '800198348' && state.data_sheets_from_b2b){\n state.data_sheets = data_sheets.filter(item =>\n ['PESO','REFRIGERADO'].includes(item.data_sheet_detail.internal_name)\n );\n }else{\n state.data_sheets = data_sheets;\n }\n\n}\n\n// trae al estate un solo producto\nexport function setProduct(state, product) {\n product.subcategory_id_1 = product.subcategory_id;\n state.selectedProduct = product;\n let proovedor = state.providers.find(prov => prov.id === state.selectedProduct.provider )\n if ((!proovedor || !state.providers.length) && state.selectedProduct.provider_contact ){\n state.providers.push(state.selectedProduct.provider_contact)\n }\n if (product.inventory){\n state.inventory = product.inventory\n }else{\n state.inventory = {\n branchoffice_warehouse_id : Number(localStorage.getItem(\"selected_branchoffice_warehouse\")),\n product_id :null,\n minimum_stock :'',\n maximum_stock :'',\n location :'',\n }\n }\n}\n\n//Obtener clasificaciones de rotacion\nexport function setClassification(state, classification) {\n state.selectedClassification = classification;\n}\n\nexport function setProductsAttachments(state, products_attachments) {\n products_attachments.map(pa => {\n const encodedSrc = encodeURI(pa.src).replace(/#/g, '%23');\n const encodedThump = encodeURI(pa.thumb).replace(/#/g, '%23');\n\n pa.src = getApiDomain() + encodedSrc;\n pa.thumb = getApiDomain() + encodedThump;\n });\n state.products_attachments = products_attachments;\n}\n\nexport function setparameters_status(state, parameters_status) {\n state.parameters_status = parameters_status;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function productError(state, error) {\n state.error = true;\n state.errorMessage = error;\n state.products = [];\n}\n\nexport function setGetProductEdit(state, getProductEdit) {\n state.getProductEdit = getProductEdit;\n}\n\n//Establece el valor por defecto de selectedLine\nexport function resetSelectedProduct(state) {\n let id = state.selectedProduct.id;\n Object.assign(state.selectedProduct, defaultSelectedProduct());\n state.products_attachments = [];\n //state.selectedProduct.id = id;\n state.price = {\n price_list_id: null,\n price: 0,\n product_id: null\n }\n state.inventory = {\n branchoffice_warehouse_id : Number(localStorage.getItem(\"selected_branchoffice_warehouse\")),\n product_id :null,\n minimum_stock :'',\n maximum_stock :'',\n location :'',\n }\n}\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\nexport function setImagenCarga(state, image) {\n state.selectedProduct.products_attachments.url = image;\n}\n\nexport function setDocumentPath(state, data_sheet) {\n state.selectedProduct.products_technnical_data.link_data_sheet = data_sheet;\n}\n\nexport function setSublines(state, sublines) {\n\n if (sublines.length <= 0) {\n return;\n }\n\n state.sublines = sublines.map(p => {\n return {\n value: p.id,\n label: `${p.subline_code} - ${p.subline_description}`\n };\n });\n}\n\nexport function setBrands(state, brands) {\n\n if (brands.length <= 0) {\n return;\n }\n\n state.brands = brands.map(p => {\n return {\n value: p.id,\n label: p.description\n };\n });\n}\n\nexport function setSubbrands(state, subbrands) {\n state.subbrands = subbrands.map(p => {\n return {\n value: p.id,\n label: p.description\n };\n });\n}\n\nexport function setCategories(state, categories) {\n state.categories = categories.map(p => {\n return {\n value: p.id,\n label: p.categorie_code + ' - ' + p.description\n };\n });\n\n let cat_ = state.categories.find(el => el.value === state.selectedProduct.category_id);\n if (!cat_){\n state.selectedProduct.category_id = null;\n }\n}\n\nexport function setSubcategoriesMutation(state, subcategories) {\n state.subcategories = subcategories.map(p => {\n return {\n value: p.id,\n label: p.subcategorie_code + ' - ' + p.description\n };\n });\n\n let subcat_ = state.subcategories.find(el => el.value === state.selectedProduct.subcategory_id);\n if (!subcat_){\n state.selectedProduct.subcategory_id = null;\n }\n}\n\n// Establece un valor para tipo de producto\nexport function setProductType(state, productType) {\n state.productType = productType;\n}\n\n// Establece un valor para Talla\nexport function setSize(state, size) {\n state.size = size;\n}\n\nexport function setColor(state, color) {\n state.color = color;\n}\n\n// Establece un valor para taxpayerTypes\nexport function setRotationType(state, rotationType) {\n state.rotationType = rotationType;\n}\n\n// Establece un valor para taxRegimes\nexport function setApplicationUnit(state, applicationUnit) {\n state.applicationUnit = applicationUnit;\n}\n\nexport function setFilterBranch(state, branch) {\n state.search_params.branch = branch;\n}\n\nexport function setParams(state, new_params) {\n\n let params = JSON.parse(JSON.stringify(state.params));\n\n for (let np in new_params) {\n let add = false;\n for (let p in params) {\n if (p == np) {\n params[p] = new_params[np];\n add = true;\n }\n }\n\n if (!add) {\n params[np] = new_params[np];\n }\n }\n\n state.params = params;\n}\n\nexport function setErrorFileImport(state, data) {\n state.errorFileImport = data;\n}\n\nexport function setChangeStateLoadFile(state, data) {\n state.loadFileImport = data;\n}\n\nexport function clearDataSheets(state) {\n state.data_sheets = [];\n}\n\n\n/*\n * Estos mutadores se encargar de normalizar la informacion\n * para mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\n\nexport function setProductsTable(state, data) {\n //console.log(data.data);\n // Agregamos los datos de la tabla\n state.tableProduct.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.tableProduct.pagination = data;\n}\n\nexport function setParametersTableInRow(state, data) {\n state.data_sheets.map((ds, index) => {\n if (ds.data_sheet_id == data.row.data_sheet_id) {\n state.data_sheets[index].data_sheet_detail.parameters = data.data;\n state.data_sheets[index].data_sheet_detail.paramtable_id = data.paramtable_id;\n }\n });\n}\n\nexport function setbranchoffice_warehouse_id(state, warehouse_id) {\n state.params.branchoffice_warehouse_id = warehouse_id;\n}\n\nexport function setBranchoffice(state, branchoffice) {\n state.params.branchoffice = branchoffice;\n}\n\nexport function setContactIdParams(state, contact_id) {\n state.params.contact_id = contact_id;\n}\n\nexport function setProviders(state, providers) {\n state.providers = providers;\n let proovedor = state.providers.find(prov => prov.id === state.selectedProduct.provider )\n if ((!proovedor || !state.providers.length) && state.selectedProduct.provider_contact ){\n state.providers.push(state.selectedProduct.provider_contact)\n }\n}\n\nexport function setRotationClassification(state, rotationclassification) {\n state.rotationclassification = rotationclassification;\n}\n\nexport function setPackingUnits(state, packing_units) {\n state.packing_units = packing_units;\n}\nexport function setImagesFiles(state, images) {\n state.loadImages.images = images;\n state.loadImages.totalCuantity = images.length;\n state.loadImages.loadedQuantity = 0;\n state.loadImages.processedQuantity = 0;\n\n //Errors\n state.loadImages.errors.has = false;\n state.loadImages.errors.message = '';\n state.loadImages.errors.data = [];\n}\n\nexport function resetImagesFiles(state) {\n state.loadImages.images = [];\n state.loadImages.totalCuantity = 0;\n state.loadImages.loadedQuantity = 0;\n state.loadImages.processedQuantity = 0;\n\n //Errors\n state.loadImages.errors.has = false;\n state.loadImages.errors.message = '';\n state.loadImages.errors.data = [];\n}\n\n/**\n * Establecer un valor para la variable modal_combos.\n */\nexport function setModalCombos(state, modal_combos) {\n state.modal_combos = modal_combos;\n}\n\n/**\n * Establecer un valor para la variable products_combo.\n */\nexport function setProductsCombo(state, products_combo) {\n state.products_combo = products_combo;\n}\n\n/**\n * Establecer un valor para la variable product_combo.\n */\nexport function setProductCombo(state, product_combo) {\n state.product_combo = product_combo;\n}\n\n/**\n * Establecer el valor por defecto de la variable product_combo.\n */\nexport function resetProductCombo(state) {\n state.product_combo = product_combo();\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_combos.\n */\nexport function setShowToModalCombos(state, show) {\n state.product_combo = product_combo();\n state.modal_combos.show = show;\n}\n\n/**\n * Establecer un valor para la variable types.\n */\nexport function setTypes(state, types) {\n state.types = types;\n}\n\n/**\n * Establecer un valor para la variable generic_products.\n */\nexport function setGenericProducts(state, generic_products) {\n state.generic_products = generic_products;\n}\n\n/**\n * Establecer un valor para la variable price_lists.\n */\nexport function setPriceLists(state, price_lists) {\n state.price_lists = price_lists;\n\n const general_price_list = price_lists.find(pl => pl.code_parameter === '001');\n\n if (general_price_list) {\n state.price.price_list_id = general_price_list.id;\n }\n}\n\n/**\n * Establecer un valor para la variable price.\n */\nexport function setPrice(state, price) {\n state.price = price;\n}\n\nexport function setBranchsWarehouses(state,branchsWare){\n state.branchsWare = branchsWare.map(item =>{\n return {\n label: `${item.branchoffice ? item.branchoffice.name : ''} - ${item.warehouse_description}`,\n id: item.id\n }\n\n });\n}\n/**\n * Establecer un valor para la variable inventory.\n */\nexport function setProductInventory(state,inventory){\n state.inventory = inventory\n}\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setLoader(state,loader){\n state.preloader = loader;\n}\n\nexport function setAudit(state,data) {\n state.auditProduct = data;\n}\n\n/**\n * Establecer un valor por defecto para la variable inventory.\n */\nexport function setInventoryDefault(state){\n state.inventory = {\n branchoffice_warehouse_id : Number(localStorage.getItem(\"selected_branchoffice_warehouse\")),\n product_id :null,\n minimum_stock :'',\n maximum_stock :'',\n location :'',\n }\n}\n/**\n * Establece valor en la variable parameter_rotation_classification\n */\nexport function setParametersRotationClassification(state, parameters){\n state.parameter_rotation_classification = parameters;\n}\n\nexport function setDataSheetsFromB2b(state, bool){\n state.data_sheets_from_b2b = bool\n}\n\n/**\n * Establecer un valor para la variable subscriber.\n */\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber;\n}\n\n/**\n * Establecer un valor para la variable code.\n */\nexport function setCodeProduct(state, data) {\n state.selectedProduct.code = parseInt(data)+1;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products/mutations.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\nimport {getApiDomain} from '../../util/domains';\n\nexport async function getProducts({commit, state}, data) {\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n let params = {\n params: {\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n }\n };\n\n commit('setPreloader', true);\n\n await $http.get(`/api/despachos-productos/${data.id}`, params)\n .then((response) => {\n response.data.data.map(el => {\n if (el.product.inventory.length == 0) {\n el.product.inventory[0] = {location: null};\n }\n });\n data.row.documents_products = response.data.data;\n commit('setPreloader', false);\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setPreloader', false);\n });\n}\n\n/**\n * Finalizar packing\n */\nexport async function finalizePacking({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n\n await $http.post(`/api/finalizar-packing/`, state.invoice)\n .then((response) => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Muy bien!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setModalPackingShow', false);\n dispatch('fetchDespatchInvoice');\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.response.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Generar pdf Stickers\n */\nexport async function generatePdfStickers({state}) {\n\n const link = getApiDomain();\n\n await $http({\n url: '/api/descargar-pdf-stickers/' + state.invoice.id + '?link=' + link + '&number_stickers=' + state.invoice.number_stickers,\n method: 'GET',\n responseType: 'blob'\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'stickers.pdf');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function getStates({commit, state}) {\n if (!state.states.length) {\n\n commit('setPreloader', true);\n\n await $http.get(`/api/parametros-por-codigo/STDPA`)\n .then((response) => {\n commit('setStates', response.data.data);\n\n if (!!response.data.data[0]) {\n commit('setStateDespatchIdFilters', response.data.data[0].code_parameter);\n }\n\n commit('setPreloader', false);\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n });\n }\n}\n\n\nexport async function fetchDespatchInvoice({commit, state}) {\n\n let params = state.params;\n\n params.branchoffice_id = JSON.parse(localStorage.selected_branchoffice);\n params.branchoffice_warehouse_id = JSON.parse(localStorage.selected_branchoffice_warehouse);\n\n commit('setPreloader', true);\n\n await $http.get(`/api/listar-facturas-despachos-packing`, {params})\n .then(response => {\n commit('setInvoices', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n\n state.tableDespatch.loading = false;\n}\n\n//Obtener los parametros de una tabla\nexport async function fetchParametersZone({commit, rootState}) {\n await $http\n .get(`/api/parametros?paramtable_id=6`)\n .then(response => {\n commit('setParametersZone', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n//Obtener los transportadores\nexport async function fetchConveyor({commit, rootState}) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/lista-transportadores`)\n .then(response => {\n commit('setconyevors', response.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function updateDespatchInvoice({commit, state, dispatch}, data) {\n\n commit('setPreloader', true);\n\n await $http\n .put(`/api/despachos/${data.id}`, data)\n .then(response => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Exito!',\n message: 'Registro actualizado.',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n // dispatch('fetchDespatchInvoice')\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n// Actualizamos el registro.\nexport async function updateDespatchStatus({commit, state, dispatch}, state_code) {\n\n commit('setPreloader', true);\n\n const despatch = state.invoices.data.filter(value => {\n return value.pack_off;\n });\n\n await $http.put(`/api/despachos-masivo-packing/${state_code}`, {despatch})\n .then((response) => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('fetchDespatchInvoice');\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n// Actualizamos el registro.\nexport async function updateDespatchStatusOA({commit, state, dispatch}) {\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n\n var productLot = state.tableDocumentsProductsLot.data;\n var send = {\n despatch,\n productLot\n };\n\n send.give_back = state.tableDespatch.options.state === null ? false : true;\n send.admin_operations = true;\n\n try {\n var response = await $http.put(`/api/despachos-masivo`, send);\n commit('setPreloader', false);\n Notification.success({\n title: 'Exito!',\n message: response.data,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('fetchDespatchInvoice');\n } catch (error) {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n}\n\nexport async function fetchContacts({\n commit,\n state\n }, requestParameters = {\n params: state.paramsquery\n}) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data);\n commit('setPreloader', false);\n\n })\n .catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n // commit('contactError', error.message)\n });\n}\n\nexport async function generatePdf({commit, state}) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n\n var validate_pro = 0;\n var validate = false;\n var row;\n\n despatch.forEach(element => {\n if (element.documents_information != null) {\n if (element.documents_information.protractor == null) {\n validate_pro++;\n }\n }\n });\n\n despatch = despatch.map(function (item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch\n };\n\n if (validate_pro > 0) {\n await MessageBox.alert(\n 'Hay facturas sin Transportador. ¿Desea Continuar?',\n 'Error',\n {\n // dangerouslyUseHTMLString: true,\n confirmButtonText: 'Continual',\n cancelButtonText: 'Cancelar',\n type: 'warning'\n // customClass: 'notification-error'\n }\n )\n .then(() => {\n validate = true;\n })\n .catch(() => {\n validate = false;\n });\n } else {\n validate = true;\n }\n\n if (validate) {\n try {\n var response = await $http.get(`/api/pdfdespatch`, {\n params: send,\n responseType: 'blob'\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Transportador.pdf'); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n }\n}\n\nexport async function generatePickin({commit, state}) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function (item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch,\n packing: true\n };\n\n try {\n var response = await $http.get(`/api/pdfpickin`, {\n params: send,\n responseType: 'blob'\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'pickin.pdf'); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n}\n\n//Actualizar un registro uno a uno.\nexport async function updateDespatchStatusOne(\n {commit, state, dispatch},\n data\n) {\n try {\n var response = await $http.put(`/api/despachos-cambiar-estado/${data.id}`, {\n state: data.state\n });\n Notification.success({\n title: 'Exito!',\n message: response.data,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('fetchDespatchInvoice');\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n}\n\nexport async function updatelocation({state}) {\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n\n var params = {\n branchoffice_warehouse: selected_branchoffice_warehouse,\n product: state.params.product,\n location: state.params.location\n };\n\n try {\n var response = await $http.put(`/api/actualizar-localizacion`, params);\n if (response.data.status) {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n } else {\n Notification.error({\n title: 'Error!',\n message: response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n}\n\nexport async function generateexcel({commit, state}) {\n\n let params = state.params;\n\n params.branchoffice_id = JSON.parse(localStorage.selected_branchoffice);\n params.branchoffice_warehouse_id = JSON.parse(localStorage.selected_branchoffice_warehouse);\n\n // Definimos las opciones\n /* let params = {\n params: {\n page: state.tableDespatch.options.currentPage,\n // perPage: state.tableDespatch.options.perPage,\n search: state.tableDespatch.options.search,\n //date': null,\n zone_id: state.tableDespatch.options.zone_id,\n contact_id: state.tableDespatch.options.contact_id,\n state: state.tableDespatch.options.state,\n branchoffice_id: selected_branchoffice,\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n model_id: 1,\n guide: state.tableDespatch.options.guide,\n protractor: state.tableDespatch.options.protractor,\n perPage: state.tableDespatch.pagination.total,\n packing: true\n }\n };\n if (state.tableDespatch.options.date.length > 0) {\n params.params.fromDate = state.tableDespatch.options.date[0];\n params.params.toDate = state.tableDespatch.options.date[1];\n }*/\n\n await $http({\n url: `/api/exceldespachos`,\n method: 'GET',\n params: params,\n responseType: 'blob' // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'despachos.csv'); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function generateexcelPickin({commit, state}) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function (item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch,\n packing: true\n };\n\n await $http({\n url: `/api/excelpickin`,\n method: 'GET',\n params: send,\n responseType: 'blob' // important\n })\n .then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'pickin.csv'); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\nexport async function printLabels_({commit, state}, link) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function (item) {\n return item.id;\n });\n let params = {\n params: {\n page: state.tableDespatch.options.currentPage,\n perPage: state.tableDespatch.options.perPage,\n search: state.tableDespatch.options.search,\n //date': null,\n zone_id: state.tableDespatch.options.zone_id,\n contact_id: state.tableDespatch.options.contact_id,\n state: state.tableDespatch.options.state,\n branchoffice_id: selected_branchoffice,\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n model_id: 1,\n guide: state.tableDespatch.options.guide,\n protractor: state.tableDespatch.options.protractor,\n consecutive: state.tableDespatch.options.consecutive,\n link: link,\n despatch\n }\n };\n if (state.tableDespatch.options.date.length > 0) {\n params.params.fromDate = state.tableDespatch.options.date[0];\n params.params.toDate = state.tableDespatch.options.date[1];\n }\n\n await $http({\n url: `/api/excel-etiquetas`,\n method: 'GET',\n params: params.params,\n responseType: 'blob' // important\n })\n .then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Impresion-Stickers.csv'); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchDeleteProduct({commit, state},document_product_id){\n await $http\n .delete(`/api/document-product-packing/${document_product_id}`)\n .then(response => {\n Notification.success({\n title: \"Success!\",\n message: \"Producto Eliminado correctamente Correctamente\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"deleteDocumentProdcut\", document_product_id);\n commit(\"setDocumentProductModal\", null);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchupdatePacking({commit, state,dispatch},document_product){\n state.loading.module = true\n await $http.post(`/api/documento-packing/${document_product.document_id}`, document_product).then((response) => {\n state.loading.module = false\n dispatch('get',response.data.id);\n Notification.success({\n title: \"Success!\",\n message: \"Documento Actualizado Correctamente\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n let message = ''\n if (error.response && error.response.data && error.response.data.message){\n message = error.response.data.message\n }\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: message? message : \"Error Al Actualizar El Documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Request tipo PUT para actualizar document_product.\n * @author Jhon García\n */\nexport async function updateDocumentProduct({commit, state}, id) {\n await $http\n .put(`/api/actualizar-alistado/${id}`)\n .then(response => {\n Notification.success({\n title: \"Muy bien!\",\n message: response.data.message,\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.error(error);\n\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar el producto\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch-packing/actions.js","\nexport function setVouchersTypes(state, voucherTypes) {\n state.voucherTypes = voucherTypes\n}\n\nexport function setReportData(state, data_report) {\n state.data_report = data_report\n}\nexport function setParams(state, params){\n state.params = params\n}\nexport function setBranchParams(state) {\n let branchoffice_id = localStorage.getItem(\"selected_branchoffice\");\n state.paramsVoucherType.branchoffice = branchoffice_id;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-detail/mutations.js","import moment from \"moment\";\nimport {defaultFormProduct} from \"./state\";\n\nexport function setReservationProducts(state, reservationProducts) {\n const data = Array.isArray(reservationProducts) ? reservationProducts : [];\n\n state.reservationProducts = data.map(item => {\n let userReleaseFullName = \"\";\n let userReleaseFullNameWithDate = \"\";\n\n if (item.user_release) {\n userReleaseFullName =\n item.user_release && item.user_release.contact\n ? item.user_release.contact.full_name_with_identification\n : `${item.user_release.name} ${item.user_release.username}`;\n userReleaseFullNameWithDate = `${userReleaseFullName} ${moment(\n item.release_date\n ).format(\"YYYY-MM-DD HH:mm\")}`;\n }\n\n const userCreateOrEditFullName =\n item.user_create_or_update && item.user_create_or_update.contact\n ? item.user_create_or_update.contact\n .full_name_with_identification\n : `${item.user_create_or_update.name} ${item.user_create_or_update.username}`;\n const userCreateOrEditFullNameWithDate = `${userCreateOrEditFullName} ${moment(\n item.create_or_update_date\n ).format(\"YYYY-MM-DD HH:mm\")}`;\n\n return {\n ...item,\n shipmentDateFormatted: moment(item.shipment_date).format(\n \"YYYY-MM-DD\"\n ),\n dueDateFormatted: moment(item.due_date).format(\"YYYY-MM-DD\"),\n contactFullName: item.contact.full_name_with_identification,\n productFullName: `${item.product.code} - ${item.product.description}`,\n userCreateOrEditFullName: userCreateOrEditFullNameWithDate,\n userReleaseFullName: userReleaseFullNameWithDate\n };\n });\n}\n\nexport function setReservationProduct(state, reservationProduct) {\n state.reservationProduct = reservationProduct;\n\n if (reservationProduct) {\n state.form.id = reservationProduct.id;\n state.form.contact_id = reservationProduct.contact_id;\n state.form.shipment_date = reservationProduct.shipment_date;\n state.form.due_date = reservationProduct.due_date;\n state.form.product_id = reservationProduct.product_id;\n state.form.lot = reservationProduct.lot;\n state.form.observation = reservationProduct.observation;\n state.form.quantity = reservationProduct.quantity;\n }\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading;\n}\n\nexport function setError(state, error) {\n state.error = error;\n}\n\nexport function setContacts(state, data) {\n state.contacts = data;\n}\n\nexport function setProducts(state, data) {\n state.products = data;\n}\n\nexport function resetDefaultFormProduct (state) {\n Object.assign(state.form, defaultFormProduct());\n state.reservationProduct = null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reservationProduct/mutations.js","import $http from \"../../axios\";\nimport * as mutations from './mutations'\nimport {Notification} from \"element-ui\";\n\nexport async function searchDocuments({ commit, state,dispatch }) {\n\n var params = {\n params: state.tableDocuments.params\n };\n commit('setDefautlState')\n await $http\n .get(\"/api/documento/buscar/\", params)\n .then(response => {\n if (response.data.length){\n dispatch(\"getDocumentById\", response.data[0].id);\n }else {\n Notification.error({\n title: \"Error!\",\n message: \"No se han Encotrado Documentos\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al buscar el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n state.tableDocuments.loading = false;\n}\nexport async function searchDocumentById({ commit, state },id) {\n\n\n await $http\n .get(\"/api/buscar-documento/\"+id)\n .then(response => {\n commit(\"setSearchDocuments\", [response.data.data]);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al buscar el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n state.tableDocuments.loading = false;\n}\nexport async function fetchModelsLite({ commit, state }) {\n await $http\n .get(\"/api/modelos-lite\")\n .then(response => {\n commit(\"fetchModelsLite\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al obtener los documentos\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchWarehousesContact({commit,state}, requestParameters = {params: state.paramsquery}) {\n await $http.get('/api/warehouses-contact', requestParameters)\n .then((response) => {\n commit('setWarehousesContact', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchSellers({commit,state}, filter) {\n let params = { filter:filter }\n await $http.get('/api/lista-vendedores', {params})\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchAccountsDoc({commit, state}){\n let params = {\n params: {}\n };\n\n await $http\n .get(\"/api/cuentas-lite\", params)\n .then(response => {\n commit(\"setAccountsDoc\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchDeleteProduct({commit, state},document_product_id){\n await $http\n .delete(`/api/documento/eliminar-item-inventario/${document_product_id}`)\n .then(response => {\n Notification.success({\n title: \"Success!\",\n message: \"Producto Eliminado correctamente Correctamente\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"setDocumentProductDeleted\", true);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchTypesOperation({commit, state}) {\n let params = {\n params: {\n paginate: false\n }\n };\n\n await $http.get(\"/api/types_operations\", params).then(res => {\n commit(\"setTypesOperationDocsPro\", res.data.data);\n }).catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function searchProductsDocs({state,commit}, filter) {\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit('setProductsDocsPro', response.data.data.data)\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al buscar el producto\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function validateRounding({state,commit}, data) {\n let params = data\n let response = false \n await $http.get('/api/validar-redondeo', {params}).then((api_response) => {\n response = api_response.data.data\n }).catch(error => {\n log.error('error al validar redondeo')\n Notification.error({\n title: \"Error!\",\n message: \"Error\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return response\n}\nexport async function cancelDocumentDocs({state,commit},document_id, observation) {\n let params ={\n observation\n }\n\n await $http.post(`/api/anular-documento/${document_id}`, {params}).then((response) => {\n Notification.success({\n title: \"Success!\",\n message: \"Documento Anulado Correctamente\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n state.loading.module = false\n commit('setDefautlState', response.data)\n }).catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: \"Error Al Anular El Documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function updateDocumentDocs({state,commit, dispatch}) {\n\n state.message = 'Actualizando'\n state.loading.module = true\n await $http.post(`/api/documento/actualizar-documento-inventario/${state.update_document.id}`, state.update_document).then((response) => {\n state.message = 'Cargando ...'\n state.loading.module = false\n dispatch('updateDocumentFilesDocs', state.update_document.id)\n }).catch(error => {\n let message = ''\n if (error.response && error.response.data && error.response.data.message){\n message = error.response.data.message\n }\n\n state.message = 'Cargando ...'\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: message? message : \"Error Al Actualizar El Documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchStatesBackOrder({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/050\")\n .then(response => {\n commit(\"setStatesBackOrder\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function fetchBranchOfficeWarehousesDocs({dispatch, state, rootState, commit},branchoffice_id) {\n let params = {\n params: {\n branchoffice_id: branchoffice_id,\n paginate: false\n }\n };\n await $http.get(\"/api/bodegas-sedes\",params).then(res => {\n commit(\"setBranchofficeWarehousesDocs\", res.data.data);\n }).catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function calculateRetentions({ commit, state },id) {\n\n state.tableDocuments.loading = true;\n await $http\n .get(\"/api/retenciones/\"+id)\n .then(response => {\n Notification.success({\n title: \"Success!\",\n message: \"Retenciones Calculadas\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"setRetentionsDocument\", [response.data.data]);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al Calcular las retenciones\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n state.tableDocuments.loading = false;\n}\nexport async function fetchProjectsActive({commit, state}, text) {\n let params = { filter:text, status:1, paginate: false,}\n await $http.get('/api/proyectos-activos', {params} )\n .then((response) => {\n commit('setProjectsDocs', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function updateDocumentFilesDocs({state,commit},document_id) {\n\n let formData = new FormData();\n\n state.document_files_new.map(fn => {\n formData.append(\"filesUpload[]\", fn);\n });\n state.document_files_delete.map(fn => {\n formData.append(\"filesDelete[]\", JSON.stringify(fn));\n });\n\n state.message = 'Actualizando'\n state.loading.module = true\n await $http.post(`/api/documento/files/${document_id}`, formData).then((response) => {\n state.message = 'Cargando ...'\n state.loading.module = false\n Notification.success({\n title: \"Success!\",\n message: \"Documento Actualizado Correctamente\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit('setDefautlState', response.data)\n }).catch(error => {\n let message = ''\n if (error.response && error.response.data && error.response.data.message){\n message = error.response.data.message\n }\n\n state.message = 'Cargando ...'\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: message? message : \"Error Al Actualizar El Documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function downloadFile({commit, state}, file){\n await $http({\n url: `/api/descargar-archivo`,\n params : file,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', file.name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n // await $http\n // .get()\n // .then(response => {\n // // commit(\"setaccountselect\", response.data.data);\n // })\n // .catch(error => {\n // let data = error.response.data\n // Notification.error({\n // title: \"Error!\",\n // message: data.message,\n // type: \"error\",\n // duration: 1500,\n // customClass: \"notification-box\"\n // });\n // });\n}\n\nexport async function getDocumentById({commit, state}, id){\n await $http.get(`/api/buscar-documento/${id}`).then(response => {\n let doc = response.data.data\n if (doc){\n if (doc.vouchertype && doc.vouchertype.code_voucher_type === '100'){\n Notification.error({\n title: 'Error!',\n message: 'No es posible modificar traslados: Deber devolver los productos o realizar el ajuste de inventario respectivo',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n }else{\n commit(\"setSearchDocuments\", [doc]);\n }\n }\n\n }).catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory-documents/actions.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui';\nimport moment from \"moment\";\n\nexport async function fetchReportLogs({commit, state}) {\n state.loading = true;\n await $http.get('/api/get-report-logs', {params:state.params})\n .then((response) => {\n commit('setReportData', response.data.data)\n state.loading = false;\n })\n .catch((error) => {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchTypesIntegration ({commit, state}) {\n await $http.get('/api/get-types-integration', {params:state.params})\n .then((response) => {\n commit('setTypesIntegration', response.data.data)\n state.loading = false;\n })\n .catch((error) => {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function fetchTypesInformationIntegration ({commit, state}) {\n await $http.get('/api/get-types-information-integration', {params:state.params})\n .then((response) => {\n commit('setTypesInformationIntegration', response.data.data)\n state.loading = false;\n })\n .catch((error) => {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function downloadLogIntegration ({commit, state}, logIntegration) {\n const params = {\n log_integration_id: logIntegration,\n date_generate: moment(new Date()).format(\"YYYY/MM/DD HH:mm:ss\")\n }\n\n await $http({\n url: '/api/download-report-logs',\n method: 'GET',\n params: params,\n responseType: 'blob',\n }).then((response) => {\n console.log(response);\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Informe-Logs-Integraciones.xlsx');\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-log/actions.js","import moment from 'moment';\n\nconst tableDespatch = {\n loading: false,\n data: [],\n fields: [],\n fieldSubTable: [\n {\n key: 'product.code',\n label: 'Codigo'\n },\n {\n key: 'brand.description',\n label: 'Marca'\n },\n {\n key: 'product.description',\n label: 'Descripción'\n },\n {\n key: 'ubi',\n label: 'Ubicación',\n variant: 'success'\n },\n {\n key: 'backorder_quantity',\n label: 'Cant',\n tdClass: 'text-center'\n },\n {\n key: 'Num_-_Lote',\n label: 'Num - Lote'\n },\n {\n key: 'enlisted',\n label: 'Alistado'\n },\n {\n key: 'product.weight',\n label: 'Peso'\n },\n {\n key: 'unit_value_before_taxes',\n label: 'Vr-Unitario'\n },\n {\n key: 'total_value_brut',\n label: 'Vr-Bruto'\n },\n {\n key: 'total_value_iva',\n label: 'Vr-IVA'\n },\n {\n key: 'total_value',\n label: 'Vr-Total'\n }\n ],\n errors: {\n has: false,\n message: '',\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n zone_id: '',\n perPage: 100,\n search: '',\n currentPage: 1,\n date: [],\n state_despatch_id: null,\n guide: null,\n protractor: null,\n contact_id: null,\n consecutive: null\n\n\n }\n};\n\nvar tableDocumentsProductsLot = {\n data: [],\n dataFilter: [],\n brands: [],\n brandsSelected: null,\n fields: [\n {\n key: 'product.code',\n label: 'Codigo'\n },\n {\n key: 'product.description',\n label: 'Descripción'\n },\n {\n key: 'products_lots.num_lot',\n label: 'Num Lote'\n },\n {\n key: 'products_lots.expiration_date',\n label: 'Fecha Vencimiento'\n }\n ]\n};\n\nexport const documentProduct = () => {\n return {\n id: null,\n product_id: null,\n product: {\n code: null,\n description: null,\n product_attachment_main: {\n\n }\n },\n quantity: null,\n pack_quantity: 0\n }\n}\n\nexport default {\n contact_branchoffices: [],\n contacts: [],\n invoices: {\n data: []\n },\n preloader: false,\n stickers: null,\n invoice: {\n id: null,\n contact: {},\n number_stickers: null,\n documents_products:[],\n },\n document_product:documentProduct(),\n default_document_product:documentProduct(),\n modal_packing: {\n show: false\n },\n paramsquery: {\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n despatchInvoiceList: [],\n action: 'create',\n //ERROR STATE\n error: false,\n errorMessage: '',\n // Tabla\n conyevors: [],\n tableDespatch,\n tableDocumentsProductsLot,\n contactZone: [],\n states: [],\n params: {\n dates: [\n moment().format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ],\n state_despatch_id: null,\n contact_id: null,\n guide: null,\n protractor_id: null,\n consecutive: null,\n contact_branchoffice_id: null,\n page: 1,\n per_page: 30\n },\n loading_report_butons: {\n print_sticker: false,\n excel_despatch: false,\n excel_pickin: false,\n pdf_pickin: false,\n pdf_proactor: false,\n },\n document_product_modal: null,\n loading: {\n module:false,\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch-packing/state.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function getAccountsWithContactProviderFinancialInstitutionCategory({\n state,\n commit\n}) {\n await $http\n .get(\"/api/incorporate-bank-statement/accounts\")\n .then(response => {\n commit(\"setAccounts\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function importBankStatement({ state, commit }, confirmation) {\n const formData = new FormData();\n\n Object.entries(state.formBankStatement).forEach(([key, value]) => {\n formData.append(key, value);\n });\n\n if (confirmation) {\n formData.append(\"confirmation\", confirmation);\n }\n\n commit(\"setFormBankStatementLoading\", true);\n\n await $http\n .post(\"/api/incorporate-bank-statement/import\", formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n })\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n commit(\"setFormBankStatement\", {\n account_id: null,\n file: null\n });\n commit(\"setFormBankStatementLoading\", false);\n })\n .catch(error => {\n commit(\"setFormBankStatementLoading\", false);\n if (!error.response.data.data) {\n commit(\n \"setFormBankStatementResponse\",\n error.response ? error.response.data : \"Error al importar\"\n );\n } else {\n const csvContent = error.response.data.data\n .map(row => row.join(\";\"))\n .join(\"\\n\");\n\n const blob = new Blob([csvContent], {\n type: \"text/csv;charset=utf-8;\"\n });\n const link = document.createElement(\"a\");\n link.setAttribute(\"href\", URL.createObjectURL(blob));\n link.setAttribute(\"download\", \"errores-extracto-bancario.csv\");\n link.style.visibility = \"hidden\";\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n });\n}\n\nexport async function getBankConciliation({ state, commit }) {\n commit(\"setDataBankConciliationLoading\", true);\n await $http\n .get(\"/api/incorporate-bank-statement/bank-conciliation\", {\n params: state.formBankConciliation\n })\n .then(response => {\n commit(\"setDataBankConciliation\", response.data.data);\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", false);\n commit(\n \"setBankConciliationStatus\",\n state.formBankConciliation.state\n );\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", false);\n commit(\"setBankConciliationStatus\", null);\n\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function generateBankConciliation({ state, commit }) {\n commit(\"setDataBankConciliationLoading\", true);\n await $http\n .post(\n \"/api/incorporate-bank-statement/generate-bank-conciliation\",\n state.formBankConciliation\n )\n .then(response => {\n commit(\"setGenerateBankConciliationResponse\", response.data.data);\n commit(\"setDataBankConciliationLoading\", false);\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n Notification.error({\n title: \"Error!\",\n message: \"Error al generar.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n // console.error(error);\n });\n}\n\nexport async function saveBankConcilOperTransactions({\n state,\n commit,\n dispatch\n}) {\n const {\n informationExtract,\n accountingInformation\n } = state.bankConciliationOperTransactions;\n\n const payload = {\n informationExtract: informationExtract.map(item => item.id),\n accountingInformation: accountingInformation.map(item => item.id)\n };\n\n commit(\"setDataBankConciliationLoading\", true);\n\n await $http\n .post(\n \"/api/incorporate-bank-statement/bank-conciliation-transactions\",\n payload\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n commit(\"setBankConciliationOperTransactions\", {\n informationExtract: [],\n accountingInformation: []\n });\n commit(\"setDataBankConciliationLoading\", false);\n dispatch(\"getBankConciliation\");\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n });\n}\n\nexport async function getBankConcilOperTransactions({ state, commit }, data) {\n commit(\"setDataBankConciliationLoading\", true);\n await $http\n .get(\n \"/api/incorporate-bank-statement/get-bank-conciliation-transactions\",\n {\n params: data\n }\n )\n .then(response => {\n commit(\"setDataBankConciliationTransactions\", response.data.data);\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", true);\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", false);\n\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function deleteAllBankConcilOperTransactions(\n { state, commit, dispatch },\n all_delete = true\n) {\n if (!all_delete) {\n let {\n informationExtract,\n accountingInformation\n } = state.bankConciliationOperTransactions;\n\n (state.formBankConciliation.informationExtract = informationExtract.map(\n item => item.id\n )),\n (state.formBankConciliation.accountingInformation = accountingInformation.map(\n item => item.id\n ));\n } else {\n state.formBankConciliation.informationExtract = null;\n state.formBankConciliation.accountingInformation = null;\n }\n commit(\"setDataBankConciliationLoading\", true);\n await $http\n .delete(\n \"/api/incorporate-bank-statement/delete-bank-conciliation-transactions\",\n {\n params: state.formBankConciliation\n }\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setDataBankConciliationLoading\", false);\n dispatch(\"getBankConciliation\");\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n });\n}\n\nexport async function validateDescriptionBankReconciliationReport({\n state,\n commit\n}) {\n await $http\n .get(\n \"/api/incorporate-bank-statement/validate-description-bank-reconciliation-report\",\n {\n params: state.formBankConciliation\n }\n )\n .then(response => {\n commit(\"setBankReconciliationReport\", {\n form: {\n description: response.data.data.message\n }\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function bankReconciliationReportPdf({ state, commit, dispatch }) {\n const payload = {\n observation: state.bankReconciliationReport.form.description || \"\",\n ...state.formBankConciliation\n };\n\n commit(\"setDataBankConciliationLoading\", true);\n\n await $http\n .post(\n \"/api/incorporate-bank-statement/bank-reconciliation-report\",\n payload\n )\n .then(response => {\n commit(\"setBankReconciliationReportResponse\", response.data.data);\n commit(\"setDataBankConciliationLoading\", false);\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n });\n}\n\nexport async function getAuxAccounts({ state, commit }) {\n let params = {\n notAux: false,\n onlyAux: true,\n paginate: false\n };\n await $http\n .get(\"/api/cuentas\", { params })\n .then(response => {\n commit(\"setAuxiliaryAccounts\", response.data.data);\n })\n .catch(error => {});\n}\n\nexport async function searchchconsecutive({ commit, state }, data) {\n await $http\n .get(\"/api/tipos-de-comprobantes/\" + data.voucherType_id, {\n params: data\n })\n .then(response => {\n commit(\"setConsecutive\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createVouchers({ commit, state }) {\n await $http\n .post(\"/api/comprobantes-varios\", state.voucherPayload)\n .then(response => {\n state.voucherPayload.document_id = response.data.data.document.id;\n commit(\"updateVoucherPayload\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function finalizeAccountingDocument({ commit, state, dispatch }) {\n commit(\"setModalloading\", true);\n await $http\n .post(\"/api/finalizar-documento-contable\", state.voucherPayload)\n .then(response => {\n if (!response.data.status_concil) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al Crear la Conciliacion del Documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n commit(\"setFinalizeVoucher\", response.data.data);\n commit(\"setBankConciliationOperTransactions\", {\n informationExtract: [],\n accountingInformation: []\n });\n commit(\"setModalloading\", false);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate-bank-statement/actions.js","import $http from '../../axios'\nimport { Notification, MessageBox } from 'element-ui'\n\n/**\n * Servicioi para traer las sedes del cliente\n * @author Brayan Ramirez\n * @type GET\n */\nexport async function fetchBranchOffices ({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n/**\n * Servicioi para traer los parametros de la tabla 071P\n * @type GET\n * @author Brayan Ramirez\n */\nexport async function fetchTypesUpdate({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/071P\")\n .then(response => {\n commit(\"setTypeUpdates\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n/**\n * Servicioi para traer el priximo id de la tabla de novedades\n * @author Brayan Ramirez\n * @type GET\n */\nexport async function getNextId({ commit, state },validate = false) {\n $http\n .get(\"/api/next-id-novedad\").then(response => {\n commit(\"setNextId\", {data :response.data.data,validate :validate});\n })\n .catch(error => {\n console.log(error)\n });\n}\n\n\n/**\n * Servicioi para traer Las Novedades del sistema\n * @type GET\n * @author Brayan Ramirez\n */\nexport async function getListCashUpdates ({ commit, state }) {\n const branchofficesWarehouses = JSON.parse(localStorage.branchoffices_warehouses_all)\n\n let params = state.params;\n\n const findBw = branchofficesWarehouses.find(item => \n item.id === state.params.branchoffice_warehouse_id \n && item.branchoffice_id === state.params.branchoffice_id \n )\n\n if (!findBw) {\n const bw = branchofficesWarehouses.filter(item => item.branchoffice_id === state.params.branchoffice_id)\n\n if (bw && bw.length > 0) {\n params.branchoffice_warehouse_id = bw[0].id; \n }\n }\n\n await $http.get('/api/lista-novedades', { params: params })\n .then((response) => {\n commit('setListCashUpdates', response.data.data)\n });\n}\n\nexport async function getListCashUpdatesExcel ({ commit, state }) {\n commit('setIsLoadingReport', true);\n\n await $http.get('/api/lista-novedades-excel', { params: state.params })\n .then((response) => {\n commit('setIsLoadingReport', false);\n commit('setListCashUpdatesExcel', response.data.data)\n })\n .catch(() => {\n commit('setIsLoadingReport', false);\n console.error('error :>> ', error);\n Notification.error({\n title: 'Error!',\n message: error.response && error.response.data ? error.response.data.message : 'error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n });\n}\n\n/**\n * Servicioi para traer Las Novedad\n * @type GET\n * @author Brayan Ramirez\n */\nexport async function getCashRegisterUpdate ({ commit }, id) {\n await $http.get(`/api/novedad/${id}`).then((response) => {\n commit('setSelectedCashUpdate', response.data.data)\n }).catch((error) => {\n console.error(error.message)\n })\n}\n\n/**\n * Servicioi para Crear Novedad\n * @type Post\n * @author Brayan Ramirez\n */\nexport async function newCashRegisterUpdate({ state, dispatch }) {\n\n state.selectedCashRegisterUpdate.branchoffice_id = localStorage.selected_branchoffice;\n state.selectedCashRegisterUpdate.date = state.params.date;\n const params = state.selectedCashRegisterUpdate;\n\n return new Promise(async(resolve, reject) => {\n await $http.post('/api/crear-novedad', params)\n .then((response) => {\n dispatch('getListCashUpdates')\n Notification.success({\n title: 'Exito!',\n message: 'La novedad ha sido Creada correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n resolve(response)\n })\n .catch((error) => {\n console.error('error :>> ', error);\n Notification.error({\n title: 'Error!',\n message: error.response && error.response.data ? error.response.data.message : 'error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n reject(error);\n })\n })\n}\n\n/**\n * Servicioi para Actualizar la Novedad\n * @type PUT\n * @author Brayan Ramirez\n */\nexport async function updateCashRegisterUpdate({ state , dispatch}) {\n state.selectedCashRegisterUpdate.branchoffice_id = localStorage.selected_branchoffice;\n state.selectedCashRegisterUpdate.date = state.params.date;\n await $http.put(`/api/actualizar-novedad/${state.selectedCashRegisterUpdate.id}`, state.selectedCashRegisterUpdate).then(() => {\n dispatch('getListCashUpdates')\n Notification.success({\n title: 'Exito!',\n message: 'La novedad ha sido editado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n/**\n * Servicioi para Eliminar la Novedad\n * @author Brayan Ramirez\n * @type delete\n */\nexport async function deleteCashRegisterUpdate({state,dispatch}, id) {\n\n await $http.delete(`/api/eliminar-novedad/${id}`).then(() => {\n dispatch('getListCashUpdates')\n Notification.success({\n title: 'Exito!',\n message: 'El impuesto ha sido eliminado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch(error => {\n console.error(error.message)\n })\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('getListCashUpdates')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('getListCashUpdates')\n}\n\n\nexport async function generateCashRegisterPdf({ commit, state }) {\n commit('setIsLoadingReport', true);\n commit(\"setLoadingPdf\", true);\n commit(\"resetFileNamePdfCashRegister\");\n\n var params = {\n params: state.params\n };\n\n $http\n .get(\"/api/pdf-novedades\", params)\n .then(response => {\n commit('setIsLoadingReport', false);\n\n if(response.data === 'No hay registros'){\n Notification.success({\n title: \"¡success!\",\n message: \"No hay registros en las fechas seleccionadas\",\n type: \"success\",\n duration: 3500,\n customClass: \"notification-box\"\n });\n }else{\n commit(\"setFileNamePdfCashRegister\", response.data);\n commit(\"setShowPdfCashRegister\", true);\n }\n\n commit(\"setLoadingPdf\", false);\n })\n .catch(error => {\n commit('setIsLoadingReport', false);\n commit(\"setLoadingPdf\", false);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al crear el cuadre de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-registers-updates/actions.js","import $http from '../../axios';\nimport {Notification} from \"element-ui\";\n\nexport async function fetchAccountReportResultEri({ state, commit }) {\n await $http\n .get(\"/api/reporte-resultado-integral-eri\", { params : state.params})\n .then(response => {\n commit(\"setAccountReportResultEri\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-reult-eri/actions.js","import $http from \"../../axios\";\nimport {Notification, MessageBox} from \"element-ui\";\nimport {getApiDomain} from \"../../util/domains\";\n\nexport async function setPerPagePagination({commit, dispatch}, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"getAccountingConcepts\");\n}\n\nexport async function setPagePagination({commit, dispatch}, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"getAccountingConcepts\");\n}\nexport async function setFilterAction({commit, dispatch}, filter) {\n commit(\"setFilter\", filter);\n dispatch(\"getAccountingConcepts\");\n}\n\nexport async function getAccountingConcepts({state, commit}) {\n await $http.get('/api/conceptos-contables', {params: state.params}).then(response => {\n commit('setAccountingConcepts', response.data);\n }).catch(error => {\n })\n}\n\nexport async function createAccountingConcept({state, commit}) {\n $http.post('/api/conceptos-contables', state.selectedAccountingConcept).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: \"Concepto Contable Creado Correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n state.error = true;\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n}\n\nexport async function getAccountingConceptById({commit}, id) {\n await $http.get(`/api/conceptos-contables/${id}`).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n }).catch(error => {\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n}\n\nexport async function updateAccountingConcept({state,commit}) {\n\n $http.put(`/api/conceptos-contables/${state.selectedAccountingConcept.id}`, state.selectedAccountingConcept).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Actualizado Correctamente el Concepto Contable',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n}\n\nexport async function createAccountingConceptTransaction({state, commit}) {\n\n state.selectedAccountingConceptTransaction.accounting_concept_id = state.selectedAccountingConcept.id\n $http.post(`/api/conceptos-contables/transacciones`, state.selectedAccountingConceptTransaction).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Actualizado Correctamente la transacción del Concepto Contable',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n state.error = true\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n}\n\nexport async function updateAccountingConceptTransaction({state, commit}) {\n $http.put(`/api/conceptos-contables/transacciones/${state.selectedAccountingConceptTransaction.id}`, state.selectedAccountingConceptTransaction).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Actualizado Correctamente la transacción del Concepto Contable',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n}\n\nexport async function deleteAccountingConceptById({state,commit}, id) {\n await $http.delete(`/api/conceptos-contables/${id}`).then(response => {\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Eliminado Correctamente el Concepto Contable',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteAccountingConceptByIdTransaction({state, commit}, id) {\n await $http.delete(`/api/conceptos-contables/transacciones/${id}`).then(response => {\n commit('setSelectedAccountingConcept', response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Eliminado Correctamente el Concepto Contable',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n Notification.error({\n title: \"error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchAccounts({commit, state}, text) {\n await $http\n .get(\"/api/cuentas-lite\", {params: {filter: text}})\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function uploadExcel({state,dispatch}) {\n\n let formData = new FormData();\n formData.append('file', state.file);\n\n $http.post(`/api/conceptos-contables/importar`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(response => {\n dispatch(\"getAccountingConcepts\");\n if(response.data.url){\n\n Notification.error({\n title: \"Error!\",\n message: 'El archivo Contiene inconsistencias',\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n\n // Extraer la URL del archivo del objeto de respuesta\n const archivoUrl = response.data.url;\n // Construir la URL absoluta\n const urlCompleta = getApiDomain() + archivoUrl;\n console.log(urlCompleta)\n // Crear un enlace de descarga\n const link = document.createElement('a');\n link.href = urlCompleta;\n link.setAttribute('download', 'Conceptos_contables_error.xlsx'); // Nombre del archivo\n document.body.appendChild(link);\n\n // Simular un clic en el enlace para iniciar la descarga\n link.click();\n\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }\n\n })\n .catch(error => {\n state.loading.module = false ;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function downloadTemplate({state},download_info = false) {\n let name = 'Conceptos_contables_template.xlsx'\n await $http({\n url: '/api/conceptos-contables-template?download_data='+download_info,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\n\n/**\n * Obtener los parámetros.\n */\nexport async function getParameters({commit}) {\n await $http.get(`/api/parametros-por-codigo/C-015`)\n .then((response) => {\n commit('setParameters', response.data.data);\n })\n .catch((error) => {\n\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting_concept/actions.js","\nexport function setUsers(state, users_select){\n state.users_select = users_select\n}\nexport function setReport(state, data){\n state.reportUserDocuments = data\n}\nexport function clearParams(state){\n state.params.voucherType_id = null\n state.params.user_id = null\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-user-document/mutations.js","\nexport function setLoading(state, brands) {\n state.loading.module = brands;\n}\nexport function setDate(state, date) {\n state.params.date = date;\n}\nexport function setDataReport(state, data) {\n state.reportData = data\n}\nexport function setBranchOffices(state, branch_offices) {\n console.log(branch_offices)\n state.branch_offices = branch_offices.filter(el => ['070', '240', '200', '060'].includes(el.code));\n}\nexport function setResponseAlkostos(state, data) {\n state.formAlokstosResponse = data;\n}\nexport function setFormAlokstosProccessResponse(state, data) {\n state.formAlokstosProccessResponse = data;\n}\nexport function setFinalizeVoucherAlkosto(state,data){\n state.show_pdf = true\n state.file_name = data.accounting_link\n}\nexport function clearParamsAlkosto(state){\n state.show_pdf = false\n state.file_name = null\n state.reportData = [];\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/portfolio_reclassification/mutations.js","import $http from '../../axios';\nimport { Notification } from 'element-ui';\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses ({ commit, state }, requestParameters = { params: state.params }) {\n await $http.get('/api/bodegas-sedes', requestParameters)\n .then((response) => {\n commit('setBranchofficeWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener las por sede\nexport async function fetchWarehousesByBranchOfficeId ({ commit, state }, branchoffice_id) {\n let params = {\n params: {\n branchoffice_id: branchoffice_id,\n paginate: false\n }\n }\n await $http.get('/api/bodegas-sedes', params)\n .then((response) => {\n commit('setBranchofficeWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branchoffices-warehouses/actions.js","export function setLoading(state, loading) {\n state.loading = loading\n}\nexport function setAccountReportResultEri(state, account_report){\n state.account_report = account_report\n}\nexport function setMontsFields(state, monts_fields){\n state.monts_fields = monts_fields\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-reult-eri/mutations.js","export function setParamsContacts(state, filter) {\n state.params_contacts.filter = filter;\n}\nexport function setLines(state, lines) {\n state.lines = lines;\n}\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\nexport function setDiscount(state, discount) {\n state.discount = discount;\n state.params = {\n id: discount.id,\n contact_id: discount.contact_id,\n brand_id: discount.brand_id,\n discount_percentage: discount.discount_percentage,\n line_id: discount.line_id\n };\n}\nexport function setDiscounts(state, discounts) {\n console.log('discounts',discounts)\n state.discounts = discounts;\n}\nexport function setContacts(state, data) {\n state.contacts = data;\n}\n\nexport function resetFields(state) {\n state.params = {\n client: null,\n line: null,\n brand: null,\n percentage: null\n };\n}\n\nexport function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n console.log('mutation')\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setUploadFileButton(state) {\n state.upload_file = !state.upload_file;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customerDiscountBrand/mutations.js","export default {\n loading : false,\n params: {\n date : null,\n type_integration: null,\n type_information_integration: null,\n is_error:1,\n },\n paramsQuery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n report_data:[],\n types_integration: [],\n types_information_integration: [],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-log/state.js","export function setLoading(state, loading){\n state.loading = loading\n}\n\nexport function setReportData(state,data){\n state.report_data = data\n}\n\n/*\n Limpiar todos los filtros que tiene y los datos del reporte.\n */\nexport function clearParams (state) {\n state.report_data = [];\n Object.assign(state.params, {\n type_integration : null,\n type_information_integration : null,\n is_error:1,\n });\n state.params.date = this.setDateRangeParam();\n}\n\nexport function setDateRangeParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n\n // Fecha Actual\n let d = `${dt.getFullYear()}-${(dt.getMonth() + 1).toString().padStart(2, '0')}-${dt.getDate().toString().padStart(2, '0')}`;\n\n // Hace 30 días\n dt.setDate(dt.getDate() - 30);\n let d1 = `${dt.getFullYear()}-${(dt.getMonth() + 1).toString().padStart(2, '0')}-${dt.getDate().toString().padStart(2, '0')}`;\n\n state.params.date = [\n d1,\n d,\n ];\n}\n\nexport function setTypesIntegration (state,data){\n state.types_integration = data;\n}\n\nexport function setTypesInformationIntegration (state,data){\n state.types_information_integration = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-log/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-log/index.js","import $http from '../../axios';\nimport { Notification } from 'element-ui';\n\n// Obtiene la lista de suscriptores\nexport async function fetchSubscribers ({ commit, state }, requestParameters = { params: state.params }) {\n await $http.get('/api/suscriptores', requestParameters)\n .then((response) => {\n commit('setSubscribers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('subscribersError', error.message)\n })\n}\n\n// Crear un suscriptor\nexport async function addSubscriber ({ commit, state, dispatch }) {\n await $http.post('/api/suscriptores', state.selectedSubscriber)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El Suscriptor ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch(\"fetchSubscribers\")\n commit('resetSelectedSubscriber')\n state.error = false\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('subscribersError', error.message)\n })\n}\n\n//Consultar tabla de parametro por id\nexport async function getSubscriber ({ commit, state }, id) {\n if (state.getSubscriberEdit) {\n await $http.get(`/api/suscriptores/${id}`)\n .then((response) => {\n commit('setSubscriber', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('subscribersError', error.message)\n })\n commit('setGetSubscriberEdit', false)\n }\n}\n\n// Actualizar suscriptor\nexport async function updateSubscriber ({ commit, state, dispatch }) {\n await $http.put(`/api/suscriptores/${state.selectedSubscriber.id}`, state.selectedSubscriber)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El suscriptor ha sido actualizado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setSubscriber', response.data.data)\n dispatch('fetchLicenses')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('subscribersError', error.message)\n })\n}\nexport async function removeSubscriber ({ commit, dispatch }, subscriber) {\n await $http.delete(`/api/suscriptores/${subscriber.id}`).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El suscriptor ha sido eliminado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchSubscribers')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('subscribersError', error.message)\n })\n}\n\nvar dv;\n\n// Calcular el digito de verificación\nexport function calcularDv ({ }, myNit) {\n var vpri, x, y, dv, z;\n\n // Se limpia el Nit\n myNit = myNit.replace(/\\s/g, \"\"); // Espacios\n myNit = myNit.replace(/,/g, \"\"); // Comas\n myNit = myNit.replace(/\\./g, \"\"); // Puntos\n myNit = myNit.replace(/-/g, \"\"); // Guiones\n\n // Se valida el nit\n if (isNaN(myNit)) {\n console.log(\"El nit/cédula '\" + myNit + \"' no es válido(a).\");\n return \"\";\n };\n\n // Procedimiento\n vpri = new Array(16);\n z = myNit.length;\n\n vpri[1] = 3;\n vpri[2] = 7;\n vpri[3] = 13;\n vpri[4] = 17;\n vpri[5] = 19;\n vpri[6] = 23;\n vpri[7] = 29;\n vpri[8] = 37;\n vpri[9] = 41;\n vpri[10] = 43;\n vpri[11] = 47;\n vpri[12] = 53;\n vpri[13] = 59;\n vpri[14] = 67;\n vpri[15] = 71;\n\n x = 0;\n y = 0;\n for (var i = 0; i < z; i++) {\n y = (myNit.substr(i, 1));\n // console.log ( y + \"x\" + vpri[z-i] + \":\" ) ;\n\n x += (y * vpri[z - i]);\n // console.log ( x ) ;\n }\n\n y = x % 11;\n // console.log ( y ) ;\n\n this.dv = (y > 1) ? 11 - y : y;\n return this.dv;\n}\n\nexport function verificarDv ({ state }, digito) {\n\n if (digito != this.dv) {\n state.check = false\n } else {\n state.check = true\n }\n\n}\n\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchSubscribers')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchSubscribers')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchSubscribers')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchSubscribers')\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n commit('setSort', sort)\n // dispatch('fetchSubscribers')\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters (parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter }\n })\n}\n\n//-------Suscriptores-----------//\n// Obtiene los tipos de documento\nexport async function fetchDocumentTypes ({ dispatch, state, rootState, commit }) {\n if (!state.identificationTypes.length) {\n await dispatch('parameters/listParameter', { params: { idParamTable: 1, paginate: false } }, { root: true })//TODO: Determinar el idParamTable\n commit('setIdentificationTypes', mapParameters(rootState.parameters.parameters))\n }\n}\n\n// Obtiene las clases de personas\nexport async function fetchPersonClasses ({ dispatch, state, rootState, commit }) {\n if (!state.classPersons.length) {\n await dispatch('parameters/listParameter', { params: { idParamTable: 2, paginate: false } }, { root: true })//TODO: Determinar el idParamTable\n commit('setPersonClasses', mapParameters(rootState.parameters.parameters))\n }\n}\n\n// Obtiene los tipos de contribuyentes\nexport async function fetchTaxpayerTypes ({ dispatch, state, rootState, commit }) {\n if (!state.taxpayerTypes.length) {\n await dispatch('parameters/listParameter', { params: { idParamTable: 4, paginate: false } }, { root: true })//TODO: Determinar el idParamTable\n commit('setTaxpayerTypes', mapParameters(rootState.parameters.parameters))\n }\n}\n\n// Obtiene los regimenes tributarios\nexport async function fetchTaxRegimens ({ dispatch, state, rootState, commit }) {\n if (!state.taxRegimens.length) {\n await dispatch('parameters/listParameter', { params: { idParamTable: 3, paginate: false } }, { root: true })//TODO: Determinar el idParamTable\n commit('setTaxRegimens', mapParameters(rootState.parameters.parameters))\n }\n}\n\n// Obtiene los regimenes tributarios\nexport async function fetchCompanyTypes ({ dispatch, state, rootState, commit }) {\n if (!state.companyTypes.length) {\n await dispatch('parameters/listParameter', { params: { idParamTable: 11, paginate: false } }, { root: true })//TODO: Determinar el idParamTable\n commit('setCompanyTypes', mapParameters(rootState.parameters.parameters))\n }\n}\n\n// Obtiene las Licencias\nexport async function fetchLicenses ({ dispatch, state, rootState, commit }) {\n if (!state.licenses.length) {\n await dispatch('licenses/fetchLicenses', {}, { root: true })\n commit('setLicenses', rootState.licenses.licenses)\n }\n}\n\n// Carga los logos\nexport function logoSubscriber ({ commit }, logo) {\n commit('setLogo', logo)\n}\n\nexport function logoConfiguration ({ commit }, logo) {\n commit('setFirstLogo', logo)\n\n}\n\n// Obtiene los departamentos\nexport async function fetchDepartments ({ dispatch, state, rootState, commit }) {\n if (!state.departments.length) {\n await dispatch('departments/fetchDepartments', {}, { root: true })\n commit('setDepartments', rootState.departments.departments)\n }\n}\n\n// Obtiene las ciudades\nexport async function fetchCities ({ dispatch, state, rootState, commit }) {\n let id = state.selectedSubscriber.branch_office.city.department_id\n if (id) {\n await dispatch('cities/fetchCities', { params: { department_id: id } }, { root: true })\n commit('setCities', rootState.cities.cities)\n }\n}\n\nexport async function getTooltips ({ dispatch, state, rootState, commit }, id) {\n\n let parameter = state.parameters.find(p => p.paramtable_id == id);\n\n if (parameter.tooltip == '') {\n let getParamTableEdit = rootState.paramTables.getParamTableEdit\n commit('paramTables/setGetParamTableEdit', true, { root: true })\n await dispatch('paramTables/getParamTable', id, { root: true })\n commit('setTooltipParamTable', rootState.paramTables.selectedParamTable);\n commit('paramTables/setGetParamTableEdit', getParamTableEdit, { root: true })\n }\n}\n\n//cuentas para select\nexport async function fetchAccountss(\n { commit, state },\n requestParameters = { params: state.params }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountss\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n//cuentas para select\nexport async function fetchCustomerAdvanceAccount(\n { commit, state },\n requestParameters = { params: state.params_income_account }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setCustomerAdvanceAccount\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n //tercero\nexport async function fetchContacts({ commit, state, rootState }) {\n let params = {\n params: state.params_contacts\n }\n\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Obtener usuarios.\n */\nexport async function fetchUsers({commit, state}) {\n await $http.get('/api/usuarios').then((response) => {\n commit('setUsers', response.data.data);\n });\n}\n\n// Obtiene las responsabilidades fiscales\nexport async function fetchFiscalResponsibilitys({dispatch, state, rootState, commit}) {\n if (!state.fiscalResponsibilitys.length) {\n await dispatch(\"parameters/listParameter\", {params: {idParamTable: 96, paginate: false}}, {root: true});\n commit(\"setFiscalResponsibilitys\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function fetchTypeOfBusinessProcess ({ commit, state }, id) {\n await $http.get(`/api/parametros-por-codigo/C-017`)\n .then((response) => {\n commit('setTypeOfBusinessProcess', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subscribers/actions.js","\nexport function setParams(state, params){\n state.params = params\n}\nexport function setLoading(state,bool){\n state.loading.module = bool\n}\nexport function setDateParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n // Fecha Actual\n let d = dt.toISOString().substring(0, 10);\n //Hace 30 Dias\n dt.setDate(dt.getDate() - 30);\n let d1 = dt.toISOString().substring(0, 10);\n state.params.date = [\n d1,\n d,\n ];\n}\n\nexport function setReport(state, data){\n state.data_report = data\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-picking/mutations.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\nexport async function fetchUsers({commit, state,rootState,dispatch}, requestParameters = {params: state.params}\n) {\n let subscriber = JSON.parse(localStorage.getItem('subscriber'))\n\n await dispatch(\"users/fetchUsers\",\n {\n params: {\n subscriber_id: subscriber ? subscriber.id : 3,\n paginate: false\n }\n },\n { root: true }\n\n );\n commit(\"setUsers\", rootState.users.users);\n\n}\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n}\nexport async function fetchBrands({ dispatch, state, rootState, commit }) {\n await dispatch(\n \"brands/fetchBrands\",\n { params: { paginate: false, lines: state.params_config.lines } },\n { root: true }\n );\n commit(\"setBrands\", rootState.brands.brands);\n}\nexport async function searchProducts({ state, commit },filter){\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: state.params_config.branch_office_id ? state.params_config.branch_office_id : localStorage.selected_branchoffice,\n branchoffice_warehouse_id:state.params_config.branch_office_warehouse_id? state.params_config.branch_office_warehouse_id : localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit('setProducts', response.data.data.data)\n })\n\n}\nexport async function fetchPhysicalInventory({ state, commit }) {\n state.loading.module = true\n await $http\n .post(\"/api/physical-inventory\", state.params_config)\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchAddProductPhysicalInventory({ state, commit },product_id) {\n state.loading.module = true\n await $http\n .post(\"/api/physical-inventory/add-product\",{\n 'product_id' :product_id,\n 'physicalInventory_id' :state.physicalInventory.id,\n 'branch_office_warehouse_id' :state.physicalInventory.branch_office_warehouse_id,\n 'branch_office_id' :state.physicalInventory.branch_office_id,\n })\n .then(response => {\n state.loading.module = false\n commit(\"setPhysicalInventory\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function searchPhysicalInventoryByUser({ state, commit }, ) {\n state.params_config.branch_office_id = state.params_config.branch_office_id ? state.params_config.branch_office_id : localStorage.selected_branchoffice\n state.params_config.branch_office_warehouse_id = state.params_config.branch_office_warehouse_id ? state.params_config.branch_office_warehouse_id : localStorage.selected_branchoffice_warehouse\n\n await $http\n .get(\"/api/physical-inventory\", { params : state.params_config} )\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.messagee,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function updatePhysicalInventoryProduct({ state, commit },row) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/product/${row.id}`, row )\n .then(response => {\n state.loading.module = false\n commit(\"setPhysicalInventory\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function consolidateCountingPhysicalInventory({ state, commit },id) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/consolidate-counting/${id}`)\n .then(response => {\n state.loading.module = false\n commit(\"setPhysicalInventory\", response.data.data);\n })\n .catch(error => {\n state.loading.module = true\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function applySettingsPhysicalInventory({ state, commit },id) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/apply-settings/${id}`)\n .then(response => {\n state.loading.module = false\n commit(\"setPhysicalInventory\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message:error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function finalizePhysicalInventory({ state, commit },id) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/finalize/${id}`)\n .then(response => {\n commit(\"setFinalizeInventory\", response.data.data);\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getCounts({ state, commit },data) {\n state.loading.module = true\n await $http\n .get(`/api/physical-inventory/get-counts-by-product/${data[0]}/${data[1]}`)\n .then(response => {\n commit(\"setCounts\", response.data.data);\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchFinalizeCountingUser({ state, commit,dispatch }) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/update-counting-state/${state.physicalInventory.id}`)\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n Notification.success({\n title: \"Success!\",\n message: 'Se ha finalizado el conteo Exitosamente',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchRevertCountingUser({ state, commit,dispatch },row) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/revert-counting-state/${row.physical_inventory_id}/${row.user_id}`)\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n Notification.success({\n title: \"Success!\",\n message: 'Se ha finalizado el conteo Exitosamente',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchResetCountingState({ state, commit }) {\n state.loading.module = true\n await $http\n .post(`/api/physical-inventory/reset-counting-state/${state.physicalInventory.id}`)\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchCountingStateUsers({ state, commit }) {\n await $http\n .get(`/api/physical-inventory/get-counts-users/${state.physicalInventory.id}`)\n .then(response => {\n commit(\"setCountingStateUsers\", response.data.data);\n state.loading.module = false\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function resetInventory({ state, commit }) {\n await $http\n .post(`/api/physical-inventory/reset/${state.physicalInventory.id}`)\n .then(response => {\n commit(\"setPhysicalInventory\", response.data.data);\n state.loading.module = false\n Notification.success({\n title: \"Success!\",\n message: 'Se ha restablecido el conteo Exitosamente',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/physical-inventory/actions.js","import $http from '../../axios';\nimport { Notification, MessageBox } from 'element-ui';\n\n//Obtener los marcas\nexport async function fetchBrands ({ commit, state }, requestParameters = { params: state.params }) {\n\n await $http.get('/api/marcas', requestParameters)\n .then((response) => {\n commit('setBrands', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('brandError', error.message)\n })\n}\n\n//Crear tercero\nexport async function addBrand ({ commit, state }) {\n await $http.post('/api/marcas', state.selectedBrand)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Marca ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setBrand', response.data.data)\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la Marca ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n\n commit('brandError', error.message)\n })\n}\n\n//Consultar tercero por id\nexport async function getBrand ({ commit, state }, id) {\n\n if (state.getBrandEdit) {\n\n await $http.get(`/api/marcas/${id}`)\n .then((response) => {\n commit('setBrand', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('brandError', error.message)\n })\n\n commit('setGetBrandEdit', false)\n\n }\n}\n\n//Actualizar tercero\nexport async function updateBrand ({ commit, state }) {\n await $http.put(`/api/marcas/${state.selectedBrand.id}`, state.selectedBrand)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La marca ha sido actualizada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setBrand', response.data.data)\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la marca ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('brandError', error.message)\n })\n}\n\n\n//Eliminar tercero\nexport async function removeBrand ({ commit, dispatch }, brand) {\n\n await $http.delete(`/api/marcas/${brand.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La marca ha sido eliminada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n dispatch('fetchBrands')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('BrandError', error.message)\n })\n\n}\n\n//Crear nuevo Cliente\nexport async function addNewClient ({ commit, state }) {\n let idClient;\n await $http.post('/api/create-new-client', state.prospective)\n .then((response) => {\n idClient = response.data.data\n Notification.success({\n title: 'Exito!',\n message: 'El Usuario ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('resetProspectiveForm')\n newSessionClient(idClient)\n })\n .catch((error) => {\n let e=JSON.parse(JSON.stringify(error));\n\n MessageBox.confirm( 'Numero de Identificación ya registrado', '¡ALERTA!', {\n confirmButtonText: 'Continuar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n center: true\n }).then(response=>{\n commit('resetProspectiveForm')\n newSessionClient(idClient)\n }).catch();\n // commit('UserError', error.message)\n // commit('setError', true)\n })\n}\n\nexport async function assignNewClientIdent ({ commit, state }, payload) {\n commit('assignNewClientIdent', payload.ident)\n}\n\nexport async function cleanInputCity ({ commit, state }) {\n commit('cleanInputCity')\n}\n\nexport async function setTargetImg ({ commit, state }, payload) {\n commit('setTargetImg', payload.img)\n}\n\n\nfunction mapProviders (contacts) {\n return contacts.map(p => {\n let surname = p.surname == null ? '' : p.surname\n return { value: p.id, label: p.identification + ' ' + p.name + ' ' + surname }\n })\n}\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchBrands')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchBrands')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchBrands')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchBrands')\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n commit('setSort', sort)\n // dispatch('fetchBrands')\n}\n\n\n\n// Carga los logos\nexport function logoBrand ({ commit }, image) {\n commit('setLogo', image)\n}\n\nexport async function fetchProviders ({ dispatch, state, rootState, commit }) {\n if (!state.providers.length) {\n await dispatch('contacts/listContact', { params: { type: 'is_provider' } }, { root: true })\n commit('setProviders', mapProviders(rootState.contacts.contacts))\n }\n}\n\nexport async function newSessionClient (idClient) {\n await $http.get(`/api/check-new-client/${idClient}`).then((response) => {\n localStorage.setItem('user_b2b', JSON.stringify(response.data))\n // commit('login/setUserLoguedB2b', customer, {root:true})\n\n setTimeout(() => {\n window.open('/#/b2b/inicio', '_blank')\n this.disabledGo = false\n }, 1500);\n\n })\n}\n\n// Obtiene las ciudades\nexport async function fetchCities({ dispatch, state, rootState, commit }) {\n\n let id = state.prospective.depart_id;\n\n await $http.get('/api/ciudades', {params: {department_id: id}})\n .then((response) => {\n commit('setCities', response.data.data)\n })\n .catch((error) => {\n swal({\n title: \"error\",\n text: error.message,\n type: \"error\"\n });\n commit('CityError', error.message)\n })\n}\n\nexport async function fetchDepartments({ commit }) {\n await $http\n .get(\"/api/departamentos\")\n .then(response => {\n commit(\"setDepartments\", response.data.data);\n })\n .catch(error => {\n swal({\n title: \"error\",\n text: error.message,\n type: \"error\"\n });\n commit(\"DepartmentError\", error.message);\n });\n}\n\nexport async function fetchInterestProducts({ commit, state }) {\n\n if (!state.interestProducts.length) {\n await $http.get(`/api/parametros-por-codigo/083`)\n .then((response) => {\n commit('setInterestProducts', response.data.data)\n })\n .catch((error) => {\n swal({\n title: \"error\",\n text: error.message,\n type: \"error\"\n });\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prospective-client/actions.js","export function setParams(state, params){\n state.params = params\n}\nexport function setLoading(state, loading){\n state.loading.module = loading\n}\n\nexport function setReportData(state, data) {\n state.data_report = data;\n}\n\nexport function setDateRangeParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n // Fecha Actual\n let d = dt.toISOString().substring(0, 10);\n //Hace 30 Dias\n dt.setDate(dt.getDate() - 30);\n let date = dt.toISOString().substring(0, 10);\n\n state.params.from_date = date\n}\n\nexport function validate_search(state,data){\n\n const old_row = state.data_report.find( item => item.document_id == data.document_id)\n if (data.tot_dif === 0){\n state.data_report = state.data_report.filter(function(item) { return item.document_id !== data.document_id });\n }else{\n state.data_report = state.data_report.map(p =>\n p.document_id === data.document_id\n ? { ...p, tot_dif: data.tot_dif }\n : p\n );\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reconciliation/mutations.js","/** Asignar valor a model */\nexport function setModel(state, model) {\n state.model = model;\n}\n\n/** Asignar valor a baseDocuments */\nexport function setBaseDocuments(state, baseDocuments) {\n if (state.model.select_validate_wms) {\n baseDocuments.map(d => {\n d.disable_select = !d.wms_reception_dispatch\n })\n }\n\n if (state.selected_rows.length) {\n baseDocuments.map(d => {\n if (state.selected_rows.find(el => el.id == d.id)) {\n d.select_base_document = true\n d.selected_base_document = true\n }\n })\n }\n\n state.baseDocuments = baseDocuments;\n}\n\nexport function resetBaseDocuments(state) {\n state.baseDocuments = [];\n}\n\nexport function setUnds(state, unds) {\n\n state.baseDocuments.map(doc => {\n let und = unds.find(el => el.document_id == doc.id)\n if (und) {\n // setTimeout(() => {\n doc.total_backorder_quantity = und.total_backorder_quantity\n doc.total_unds = und.total_unds\n doc.loading_unds = false\n // }, 150);\n }\n })\n}\n\n/** Agrega un mensaje en caso de error*/\nexport function errorMessage(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n}\n\n/** Asignar valor a branchoffices */\nexport function setBranchoffices(state, branchoffices) {\n state.branchoffices = branchoffices.map(p => {\n return { value: p.id, label: p.name };\n });\n}\n\n/** Asignar valor a warehouses */\nexport function setWarehouses(state, warehouses) {\n state.warehouses = warehouses.map(p => {\n return { value: p.id, label: p.warehouse_description };\n });\n}\n\n/** Asignar valor a status */\nexport function setStatus(state, status) {\n state.status = status.map(p => {\n return { value: p.id, label: p.name_parameter };\n });\n}\n\n/** Filtrar por búsqueda */\nexport function setFilterSearch(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\nexport function setLoadingBaseDocuments(state, data) {\n state.loadingBaseDocuments = data;\n}\n\nexport function setDocumentsByAuthorize(state, data) {\n state.documentsByAuthorize = data;\n}\n\nexport function setDateRangeParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n\n // Fecha Actual\n let d = dt.toISOString().substring(0, 10);\n\n //Hace 30 Dias\n dt.setDate(dt.getDate() - 30);\n\n let d1 = dt.toISOString().substring(0, 10);\n\n state.params.filterDate = [\n d1,\n d,\n ];\n}\n\nexport function setDateNullRangeParams (state) {\n state.params.filterDate = [\n '',\n '',\n ];\n}\n\nexport function setLoadingAuthorizedDocuments(state, loadingAuthorizedDocuments){\n state.loadingAuthorizedDocuments = loadingAuthorizedDocuments;\n}\n\nexport function setSelectedRows(state, selected_rows){\n state.selected_rows = selected_rows;\n}\n\nexport function setProducts(state, products){\n state.products = products\n}\n\nexport function setselected_documents(state, selected_document){\n state.selected_documents.push(selected_document)\n}\nexport function deleteselected_documents(state, selected_document){\n let i = state.selected_documents.findIndex( element => element == selected_document);\n if (i >= 0) {\n state.selected_documents.splice(i, 1);\n }\n}\nexport function setDisabledSelect(state, disabled_select){\n state.disabled_select = disabled_select;\n}\nexport function setCities(state, cities){\n state.cities = cities\n}\nexport function reSetselected_documents(state, selected_document){\n state.selected_documents = []\n}\nexport function setUsers(state, users){\n state.users = users\n}\nexport function setContacts(state, contacts){\n state.contacts = contacts\n}\nexport function setDocumentsProducts(state, documents_products){\n state.documents_products = documents_products\n \n state.documents_products.map(dp => {\n let selected_dp = state.selected_documents_products.find(sdp => sdp.id == dp.id)\n dp.quantity_doc = selected_dp ? selected_dp.quantity_doc : (documents_products.all_quantities ? (state.model.credit_note ? 1 : dp.backorder_quantity) : 0)\n })\n}\nexport function addSelectedDocumentsProducts(state, documents_products){\n documents_products.map(new_dp => {\n let dp = state.selected_documents_products.find(sdp => sdp.id == new_dp.id)\n if (dp) {\n dp.quantity_doc = new_dp.quantity_doc\n dp.total_value_brut = new_dp.total_value_brut / new_dp.quantity * new_dp.quantity_doc\n }else{\n state.selected_documents_products.push({\n quantity_doc : new_dp.quantity_doc,\n total_value_brut : new_dp.total_value_brut,\n document_id : new_dp.document_id,\n id : new_dp.id,\n })\n }\n })\n}\n\nexport function deleteSelectedDocumentsProducts(state, document_id){\n state.selected_documents_products = state.selected_documents_products.filter(el => el.document_id != document_id)\n}\n\nexport function setselected_base_documents(state, base_document){\n if (!state.selected_rows.find(el => el.id == base_document.id))\n state.selected_rows.push(base_document)\n}\nexport function setselected_documents_products(state, selected_documents_products){\n state.selected_documents_products = selected_documents_products\n}\nexport function deleteselected_base_documents(state, base_document){\n let i = state.selected_rows.findIndex( element => element.id == base_document.id);\n if (i >= 0) {\n state.selected_rows.splice(i, 1);\n }\n}\n\nexport function setPagination (state, pagination) {\n state.pagination = pagination;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setDefaultParams (state) {\n Object.assign(state.params, {\n paginate: false,\n page: 1,\n perPage: 15,\n filter: \"\",\n filterDate: [],\n sortBy: \"voucher_date\",\n sort: \"DESC\",\n closed: false,\n retained: false,\n rejected: false,\n seller_id: [],\n user_id: null,\n city_id: null,\n state_auth: [\"03\", \"05\"],\n state_backorder: [\"1\", \"2\"],\n product: [],\n detailed_by_product: 1,\n contact: null,\n document: \"\"\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/base-documents/mutations.js","export const defaultModalDocumentThreadHistory = () => {\n return {\n documents: [],\n showModal: false\n };\n};\n\nexport const defaultModalPaymentMethods = () => {\n return {\n showModal: false,\n data: [],\n // columns: [\n // {\n // name: \"Metodo de pago\",\n // field: \"payment_method_id\",\n // style: { \"min-width\": \"200px !important\", backgroundColor: \"#d5f3d3\" }\n // },\n // {\n // name: \"Numero de autorización\",\n // field: \"authorization_number\",\n // style: { \"min-width\": \"200px !important\", backgroundColor: \"#d5f3d3\" }\n // },\n // {\n // name: \"Numero de cheque\",\n // field: \"check_number\",\n // style: { \"min-width\": \"200px !important\", backgroundColor: \"#d5f3d3\" }\n // },\n // {\n // name: \"Entidad\",\n // field: \"entity\",\n // style: { \"min-width\": \"200px !important\", backgroundColor: \"#d5f3d3\" }\n // },\n // {\n // name: \"Valor\",\n // field: \"value\",\n // style: { \"min-width\": \"200px !important\", backgroundColor: \"#d5f3d3\" }\n // },\n // {\n // name: \"Acciones\",\n // field: \"actions\"\n // }\n // ],\n row_create: {\n id: null,\n document_id: \"\",\n payment_method_id: \"\",\n authorization_number: \"\",\n check_number: \"\",\n entity: \"\",\n value: \"\",\n value_change: \"\",\n total_value: \"\",\n new: true\n },\n row_selected: {},\n params: {},\n paymentMethods: []\n };\n};\n\nexport const defaultNewContact = () => {\n return {\n id: null,\n subscriber_id: 1,\n identification_type: \"\",\n identification: \"\",\n check_digit: \"\",\n name: \"\",\n surname: \"\",\n city_id: \"\",\n address: \"\",\n address_object: {\n type_of_road: \"\",\n way_number: \"\",\n generating_way_number: \"\",\n plate_number: \"\",\n complement: \"\"\n },\n main_telephone: \"\",\n cell_phone: \"\",\n email: \"\",\n is_customer: false,\n is_provider: false,\n is_employee: false,\n tradename: \"\",\n department_id: \"\",\n vehicle: defaultNewVehicle(),\n class_person: null,\n taxpayer_type: null,\n tax_regime: null,\n fiscal_responsibility_id: null,\n declarant: null,\n self_retainer: null\n };\n};\n\nexport const defaultNewVehicle = () => {\n return {\n id: null,\n vehicle_type_id: \"\",\n contact_id: \"\",\n year: \"\",\n license_plate: \"\",\n serial_number: \"\",\n average_daily_kilometers: \"\",\n width: \"\",\n rin: \"\",\n profile: \"\",\n observations: \"\"\n };\n};\n\nexport const defaultSelectedDocument = () => {\n return {\n trm_value: null,\n branchoffice_id: \"\",\n branchoffice_warehouse_id: \"\",\n contact_id: \"\",\n contact: {\n pay_days:null,\n city: {\n city: \"\"\n }\n },\n warehouse_id: \"\",\n warehouse: {\n id: \"\",\n description: \"\",\n address: \"\"\n },\n address: \"\",\n city: \"\",\n telephone: \"\",\n credit_limit: \"\",\n total_receivable: \"\",\n available: \"\",\n term_days: \"\",\n due_date: \"\",\n prefix_invoice: \"\",\n number_invoice: \"\",\n cufe_invoice: \"\",\n purchase_order: \"\",\n document_date: \"\",\n user_id: \"\",\n delivery_warehouse: \"\",\n account_id:\"\",\n center_cost_id:\"\",\n warehouse_address: \"\",\n observations_one: \"\",\n observationes_two: \"\",\n observations_shipping: \"\",\n documents_products: [],\n documents_information: {\n price_list: \"\",\n document_name: \"\",\n date_entry: \"\",\n protractor: null,\n guide_number: null,\n additional_contact_id: null,\n payment_method: null,\n money:null,\n ret_fte_account_id:\"\",\n ret_ica_account_id:\"\",\n },\n in_progress: true,\n user: {\n name: \"\",\n surname: \"\"\n },\n vouchertype: {\n name_voucher_type: \"\"\n },\n document: {},\n seller: null,\n auditContacts: [],\n invoice_date: \"\",\n ret_ica_total:0,\n ret_iva_total:0,\n ret_fue_total:0,\n total_value:0\n };\n};\n\nexport const defaultSelectedModel = () => {\n return {\n add_products: 0,\n add_promotions_button: 0,\n backorder_quantity_control: null,\n basic_contact_information: null,\n button_360: 0,\n capt_delivery_address: 2,\n capt_license: 2,\n cash_drawer_opens: 0,\n cents_values: 0,\n code: \"\",\n consecutive_handling: 1,\n contact_capture: 0,\n contact_category: null,\n contact_id: null,\n contact_type: null,\n crossing_document_dates: 2,\n currency: 840,\n description: \"\",\n discount_foot_bill: 0,\n doc_base_management: 2,\n doc_cruce_management: 2,\n down_excel_button: 0,\n edit_bonus_amount: 0,\n edit_discount: 0,\n edit_lots: 0,\n edit_physical_cant: 0,\n edit_product_observation: 0,\n edit_seller: 0,\n edit_unit_value: 0,\n final_function: null,\n financial_info: 0,\n footnotes: null,\n handle_payment_methods: 2,\n hands_free_operation: 0,\n hide_value: 0,\n id: null,\n line_id: null,\n model_id: null,\n modify_prices: 0,\n observation_tittle_1: null,\n observation_tittle_2: null,\n operationType_id: null,\n payment_methods_allowed_id: null,\n price_list_id: null,\n print: 0,\n print_template: null,\n print_tittle: null,\n product_order: null,\n purchase_difference_management: 0,\n quantity_control: 0,\n recalc_iva_base: null,\n recalc_iva_less_cost: 0,\n retention_management: null,\n return_model_id: null,\n see_applied_promotion: 0,\n see_backorder: 0,\n see_bonus_amount: 0,\n see_cant_backorder: 0,\n see_discount: 0,\n see_location: 0,\n see_lots: 0,\n see_physical_cant: 0,\n see_product_observation: 0,\n see_seller: 0,\n see_seller_doc: 0,\n see_vrunit_base: 0,\n select_branchoffice: 0,\n select_conveyor: null,\n select_cost_center: 2,\n select_warehouse: 0,\n seller_mode: null,\n send_contact_email: null,\n tittle: null,\n total_letters: 0,\n up_excel_button: 0,\n valid_exist: null,\n value_control: 0,\n voucherType_id: 4,\n voucher_type_id: null,\n voucher_type: {\n code_voucher_type: null\n },\n voucher_type_selected_branchoffice: {\n id: null\n }\n };\n};\n\nexport const defaultsubscriberId = () => {\n let user = JSON.parse(localStorage.getItem(\"user\"));\n\n if (user) {\n return user.subscriber_id;\n }\n\n return \"\";\n};\n\nexport const defaultSelectedDocumentProduct = () => {\n return {\n applies_inventory: false,\n base_quantity: 0,\n bonus_quantity: 0,\n brand_id: \"\",\n consumption_tax_percentage: null,\n discount_value: null,\n document_id: \"\",\n freight_value: null,\n iva_percentage: null,\n line_id: \"\",\n observation: null,\n original_quantity: 0,\n product_id: \"\",\n quantity: 0,\n seller_id: \"\",\n subbrand_id: null,\n subline_id: \"\",\n unit_value: 0\n };\n};\n\nexport const defaultTableSearchGlobal = () => {\n return {\n data: [],\n columns:[],\n isDisabled: true,\n // columns: [\n // {\n // label: \"Fecha\",\n // key: \"document_date\"\n // },\n // {\n // label: \"Tipo Documento\",\n // key: \"vouchertype.name_voucher_type\"\n // },\n // {\n // label: \"Número\",\n // key: \"consecutive\",\n // sortable: true\n // },\n // {\n // label: \"Tercero\",\n // key: \"warehouse\"\n // },\n // {\n // label: \"Vendedor\",\n // key: \"seller.name\"\n // },\n // {\n // label: \"Valor Total\",\n // key: \"total_value\"\n // },\n // {\n // label: \"Erp\",\n // key: \"erp\"\n // },\n // // {\n // // label: \"Estado\",\n // // key: \"statu\"\n // // },\n // {\n // label: \"Acciones\",\n // key: \"actions\"\n // }\n // ],\n pagination: {\n from: 0,\n to: 0,\n total: 0\n },\n loading: false,\n params: {\n //paginacion\n perPage: 15,\n currentPage: 1,\n page: 1,\n warehouse_id:null,\n branchoffice_id:null,\n dateFrom:null,\n dateTo:null,\n vouchertype_id:null,\n model_id:null,\n contact_id:null,\n filterText:null,\n project_id:null,\n consecutive_ini:null,\n consecutive_end:null,\n type_impresion:null,\n copies:1,\n }\n }\n};\n\nexport default {\n import_params:{\n trm:null\n },\n applied_expenses : false,\n authorize_documents: false,\n name_pdf: null,\n updating: false,\n mails: [],\n selected_document: defaultSelectedDocument(),\n backup_documents_products: [],\n selected_model: defaultSelectedModel(),\n selected_model_list_document: null,\n selected_document_product: defaultSelectedDocumentProduct(),\n branchoffices: [],\n branchoffices_warehouses: [],\n contacts: [],\n contacts_lite: [],\n contacts_aditional: [],\n contacts_warehouses: [],\n documents_for_back_order: [],\n subscriber_id: defaultsubscriberId(),\n action: \"create\",\n error: false,\n fetch_data: true,\n show_promotions_modal: false,\n promotions: [],\n products_filtered: [],\n params_list_products: {},\n params: {\n manager_wms: null,\n },\n params_contacts: {\n only_active:true,\n filter: \"\",\n type: \"is_customer\",\n paginate: false\n },\n params_contacts_lite: {\n only_active:true,\n filter: \"\",\n paginate: false\n },\n params_contacts_aditional: {\n filter: \"\",\n // type: \"is_customer\",\n paginate: false\n },\n\n //Kevin\n columnsTable: [],\n models: [],\n typeImpresions:[],\n TableSearchGlobal: defaultTableSearchGlobal(),\n report_back_order: [],\n loading:false,\n // Retenciones\n tableRetention: [\n {\n title: \"Rete FTE\",\n prefix: \"FUE\",\n base_value: 0,\n base_serv_value: 0,\n edit_base_value: false,\n edit_base_serv_value: false,\n fields: [\n {\n //Products\n prefix: \"product\",\n label: \"Product\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n },\n {\n //Serv\n prefix: \"service\",\n label: \"Service\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n }\n ],\n total: 0\n },\n {\n title: \"Rete IVA\",\n prefix: \"IVA\",\n base_value: 0,\n base_serv_value: 0,\n edit_base_value: false,\n edit_base_serv_value: false,\n fields: [\n {\n //Products\n prefix: \"product\",\n label: \"Product\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n },\n {\n //Serv\n prefix: \"service\",\n label: \"Service\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n }\n ],\n total: 0\n },\n {\n title: \"Rete ICA\",\n prefix: \"ICA\",\n base_value: 0,\n base_serv_value: 0,\n edit_base_value: false,\n edit_base_serv_value: false,\n fields: [\n {\n //Products\n prefix: \"product\",\n label: \"Product\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n },\n {\n //Serv\n prefix: \"service\",\n label: \"Service\",\n vr_limit: 0,\n percentage: 0,\n total: 0,\n edit_vr_limit: false,\n edit_percentage: false\n }\n ],\n total: 0\n }\n ],\n\n // Otras opciones\n parametersTable: [],\n // branchoffice_warehouses\n branchofficeWarehouses: [],\n // Bodega por defcto en las bodegas\n doc_product_default_branchoffice_warehouse_id: null,\n // Editar retencion\n edit_retention: false,\n // Editar base retencion.\n edit_base_retention: false,\n // WarehouseById\n selected_contact_warehouse: null,\n accounts:[],\n accounts_rete_fte:[],\n accounts_rete_ica:[],\n center_costs:[],\n finalizing_document: false,\n document_files_new: [],\n document_files_delete: [],\n document_products_edit_iva: [],\n newContact: defaultNewContact(),\n modalNewContact: {\n show: false,\n step: 1\n },\n cities: [],\n departments: [],\n identificationTypes: [],\n vehicles: [],\n brandsVehicles: [],\n vehiclesContact: [],\n vehicle: {},\n itemsInspection: [],\n documents_products_import:[],\n expenses:[],\n dataVehicle: {},\n personClasses: [],\n taxpayerTypes: [],\n taxRegimes: [],\n fiscalResponsibilitys: [],\n payments:[],\n saveDocument: false,\n modalPaymentMethods: defaultModalPaymentMethods(),\n modalDocumentThreadHistory: defaultModalDocumentThreadHistory(),\n additional_documents: [],\n conveyors: [],\n projects: [],\n moneys: [],\n back_order: {},\n data_report_exist_products: [],\n dp_edited : {\n iva:[],\n impo:[],\n brut:[]\n },\n loading_request:{\n dp : false\n },\n errors_percentage_discount:[],\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-movements/state.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui';\nimport {getApiDomain} from \"../../util/domains\";\n\n/**\n * Obtener tipo de comprobante.\n */\nexport async function fetchVoucherType({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.params_voucher_type})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n/**\n * Obtener sedes.\n */\nexport async function fetchBranchOffices ({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n/**\n * Obtener Contactos\n */\nexport async function fetchContacts({commit,state}, requestParameters = {params: state.params_query}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n/**\n * Obtener la información del reporte\n */\nexport async function fetchReportSalesReferrals({commit, state, dispatch}) {\n commit('setLoading', true);\n await $http.get('/api/get-sales-referrals', {params:state.params})\n .then((response) => {\n commit('setReportData', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n }).finally(() => {\n commit('setLoading', false);\n });\n}\n/**\n * Obtener los productos de un documento\n */\nexport async function fetchDocumentProducts({commit, state}, id) {\n await $http.get('/api/get-products-documents-referrals/' + id)\n .then((response) => {\n commit('setProductDetailsDocument', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchDocumentProductsProductID({commit, state}, id) {\n await $http.get('/api/get-products-documents-referrals/' + id, {params: {product_id: state.product_id_details_document_query}})\n .then((response) => {\n commit('setProductDetailsDocument', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n/**\n * Obtener la información de la segunda tabla\n */\nexport async function fetchDocumentReferrals({commit, state}, params) {\n commit('setLoading', true);\n await $http.get('/api/get-sales-referrals', {\n params: { document_id: params.document_id, product_id: params.product_id }\n })\n .then((response) => {\n commit('setDocumentReferrals', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n }).finally(() => {\n commit('setLoading', false);\n //commit('setProductIDDetailsDocumentQuery', null);\n });\n}\n/**\n * Obtener la infomación de la descarga del pdf\n */\nexport async function downloadDocument({state}, documentDownload) {\n\n let name = documentDownload.voucher_type + ' No. ' + documentDownload.num_doc + '.pdf'\n\n let url = '/api/documentos/descargar-pdf/' + documentDownload.document_id\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\n/* PDF V2 */\nexport async function createPDf({ commit, state }, id) {\n await $http\n .get(`/api/pdf/${id}`)\n .then(response => {\n commit(\"setNamePdf\", response.data.data.pdf);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer el pdf del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/* PDF V2 */\nexport async function fetchNameColumnStatus({ commit, state }) {\n await $http\n .get(`/api/get-parameter-type-business`)\n .then(response => {\n commit(\"setColumnStatus\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer el pdf del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchTemplates({commit, state}) {\n await $http.get('/api/modelos', { params : state.paramsTemplates})\n .then((response) => {\n commit('setTemplates', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-referrals/actions.js","import {reception_document} from './state';\n\n/**\n * Establecer un valor para la variable reception_documents.\n */\nexport function setReceptionDocuments(state, reception_documents) {\n\n reception_documents.map(rd => {\n rd.check = false;\n rd.total_value_brut = +rd.total_value_brut;\n });\n\n state.reception_documents = reception_documents;\n}\n\n/**\n * Establecer un valor para la variable reception_document.\n */\nexport function setReceptionDocument(state, reception_document) {\n state.show_left_panel = 1;\n state.accounting_document.document_date = reception_document.issue_date;\n state.accounting_document.due_date = reception_document.issue_date;\n state.reception_document = reception_document;\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para el atributo pdf de la variable reception_document.\n */\nexport function setPdfToReceptionDocument(state, pdf) {\n if (pdf && pdf.format === '.pdf') {\n pdf.name_file = pdf.url;\n }\n\n state.reception_document.pdf = pdf;\n}\n\n/**\n * Establecer un valor para la variable branch_offices.\n */\nexport function setBranchOffices(state, branch_offices) {\n branch_offices.map(bo => {\n if (bo.main) {\n state.accounting_document.branch_office_id = bo.id;\n }\n });\n\n state.branch_offices = branch_offices;\n}\n\n/**\n * Establecer un valor para la variable voucher_types.\n */\nexport function setVoucherTypes(state, voucher_types) {\n voucher_types.map(vo => {\n if (vo.code_voucher_type === state.code_voucher_type) {\n state.params_referrals.voucher_type_id = vo.id;\n state.accounting_document.voucher_type_id = vo.id;\n state.accounting_document.prefix = vo.prefix;\n state.accounting_document.consecutive = vo.consecutive_number + 1;\n }\n });\n\n state.voucher_types = voucher_types;\n}\n\n/**\n * Establecer un valor para la variable concepts.\n */\nexport function setConcepts(state, concepts) {\n state.concepts = concepts;\n}\n\n/**\n * Establecer un valor para el atributo voucher_type_id de la variable accounting_document.\n */\nexport function setVoucherTypeIdToAccountingDocument(state, voucher_type_id) {\n state.accounting_document.voucher_type_id = voucher_type_id;\n}\n\n/**\n * Establecer un valor para la variable concept.\n */\nexport function setConcept(state, concept) {\n\n let rules = [\n // SUSCRIPTOR PROVEEDOR RTE-FTE RET-ICA RET-IVA\n ['R-99-PN', 'R-99-PN', true, true, false],\n ['R-99-PN', 'O-13', true, true, false],\n ['R-99-PN', 'O-15', false, false, false],\n ['O-13', 'R-99-PN', true, true, true],\n ['O-13', 'O-13', true, true, false],\n ['O-13', 'O-15', false, false, false],\n ['O-15', 'R-99-PN', true, true, true],\n ['O-15', 'O-13', true, true, false],\n ['O-15', 'O-15', false, false, false]\n ];\n\n let rule = null;\n\n if (state.subscriber.fiscal_responsibility // Si el suscriptor tiene responsabilidad fiscal\n && state.reception_document.contact.fiscal_responsibility) { // Si el tercer tiene responsabilidad fiscal\n rules.map(r => {\n if (r[0] === state.subscriber.fiscal_responsibility.code_parameter\n && r[1] === state.reception_document.contact.fiscal_responsibility.code_parameter) {\n rule = r;\n }\n });\n }\n\n let tax_ret_ica = null;\n let total_value_brut = +state.reception_document.total_value_brut;\n\n if (state.contact_warehouse.ret_ica_provider_account && state.contact_warehouse.ret_ica_provider_account.tax) {\n tax_ret_ica = state.contact_warehouse.ret_ica_provider_account.tax;\n }\n\n state.concepts.data.map(c => {\n if (c.id === concept.id) {\n let debits = 0;\n let credits = 0;\n\n c.accounting_concept_transactions = concept.accounting_concept_transactions;\n\n c.accounting_concept_transactions.map(act => {\n let value = 0;\n c.cost_center_1 = null;\n\n let parameter = act.parameter;\n\n if (parameter) {\n if (parameter.code_parameter === '01') { // VALOR BRUTO\n value = state.reception_document.total_value_brut;\n } else if (parameter.code_parameter === '02') {// IVA\n value = state.reception_document.iva;\n } else if (rule) {\n\n let account = act.account;\n\n if (account && account.tax) {\n if (rule[2] && total_value_brut > +account.tax.minimum_base && parameter.code_parameter === '03') { // RETE FUENTE\n value = Math.round(total_value_brut * account.tax.percentage / 100 * 100) / 100;\n } else if (rule[4] && total_value_brut > +account.tax.minimum_base && parameter.code_parameter === '04') { // RETE IVA\n value = Math.round(state.reception_document.ret_iva * account.tax.percentage / 100 * 100) / 100;\n } else if (rule[3] && tax_ret_ica && account.tax.code === tax_ret_ica.code && total_value_brut > +account.tax.minimum_base && parameter.code_parameter === '05') { // RETE ICA\n value = Math.round(total_value_brut * account.tax.percentage / 100 * 100) / 100;\n }\n }\n }\n }\n\n act.value = value;\n\n if (act.transactions_type === 'D') {\n debits += +value;\n } else {\n credits += +value;\n }\n });\n\n c.accounting_concept_transactions.map(act => {\n if (act.parameter.code_parameter === '06') {\n act.value = debits - credits;\n }\n });\n }\n });\n}\n\n/**\n * Establecer un valor para el atributo observation de la variable accounting_document.\n */\nexport function setObservationToAccountingDocument(state, observation) {\n state.accounting_document.observation = observation;\n}\n\n/**\n * Establecer un valor para la variable subscriber.\n */\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber;\n}\n\n/**\n * Establecer un valor para la variable fiscal_responsibilities.\n */\nexport function setFiscalResponsibilities(state, fiscal_responsibilities) {\n state.fiscal_responsibilities = fiscal_responsibilities;\n}\n\n/**\n * Establecer un valor para la variable accounts.\n */\nexport function setAccounts(state, accounts) {\n state.accounts = accounts;\n}\n\n/**\n * Establecer un valor para el atributo url de la variable modal_pdf.\n */\nexport function setUrlToModalPdf(state, url) {\n state.modal_pdf.url = url;\n state.modal_pdf.show = !!url;\n}\n\n/**\n * Establecer un valor para la variable support_document_mode.\n */\nexport function setSupportDocumentMode(state, support_document_mode) {\n state.support_document_mode = support_document_mode;\n}\n\n/**\n * Establecer un valor para la variable code_voucher_type.\n */\nexport function setCodeVoucherType(state, code_voucher_type) {\n state.code_voucher_type = code_voucher_type;\n}\n\n/**\n * Establecer un valor para la variable contacts.\n */\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\n/**\n * Establecer un valor para el atributo contact de la variable reception_document.\n */\nexport function setContactToReceptionDocument(state, contact) {\n let fiscal_responsibility = state.fiscal_responsibilities.find(fr => fr.id === contact.fiscal_responsibility_id);\n\n if (!fiscal_responsibility) {\n contact.fiscal_responsibility_id = null;\n }\n\n state.reception_document.business_name = contact.full_name;\n state.reception_document.identification_number = contact.identification;\n state.reception_document.contact = contact;\n\n state.mode_referrals = contact.provider && contact.provider.manages_referral ? contact.provider.manages_referral : 0;\n}\n\n/**\n * Establecer el valor por defecto de la variable reception_document.\n */\nexport function resetReceptionDocument(state) {\n state.support_document_mode = false;\n state.mode_referrals = 0;\n state.reception_document = reception_document();\n}\n\n/**\n * Establecer un valor para la variable mode_referrals.\n */\nexport function setModeReferrals(state, mode_referrals) {\n state.mode_referrals = mode_referrals;\n}\n\n/**\n * Establecer un valor para la variable code_voucher_type_referrals.\n */\nexport function setCodeVoucherTypeReferrals(state, code_voucher_type_referrals) {\n state.code_voucher_type_referrals = code_voucher_type_referrals;\n}\n\n/**\n * Establecer un valor para la variable show_left_panel.\n */\nexport function setShowLeftPanel(state, show_left_panel) {\n\n state.referrals = {data: []};\n state.concepts = {data: []};\n\n state.show_left_panel = show_left_panel;\n\n let contact = state.reception_document.contact;\n\n if (contact && contact.provider) {\n if (show_left_panel === 2) {\n if (contact.provider.causation_voucher_type) {\n state.code_voucher_type = contact.provider.causation_voucher_type.code_voucher_type;\n } else {\n state.code_voucher_type = '320';\n }\n } else if (show_left_panel === 3) {\n if (contact.provider.referral_voucher_type) {\n state.code_voucher_type = contact.provider.referral_voucher_type.code_voucher_type;\n } else {\n state.code_voucher_type = '200';\n }\n }\n } else {\n if (show_left_panel === 2) {\n state.code_voucher_type = '320';\n } else if (show_left_panel === 3) {\n state.code_voucher_type = '200';\n }\n }\n}\n\n/**\n * Establecer un valor para la variable referrals.\n */\nexport function setReferrals(state, referrals) {\n referrals.data.map(r => {\n r.check = false;\n });\n\n state.referrals = referrals;\n}\n\n/**\n * Establecer un valor para el atributo contact_id de la variable params_referrals.\n */\nexport function setContactIdToParamsReferrals(state, contact_id) {\n state.params_referrals.contact_id = contact_id;\n}\n\n/**\n * Establecer un valor para el atributo referrals_ids de la variable accounting_document.\n */\nexport function setReferralsIdsToAccountingDocument(state, referral_id) {\n\n if (!state.accounting_document.referrals_ids) {\n state.accounting_document.referrals_ids = [referral_id];\n } else {\n let index = state.accounting_document.referrals_ids.findIndex(r => +r === +referral_id);\n\n if (index < 0) {\n state.accounting_document.referrals_ids.push(referral_id);\n } else {\n state.accounting_document.referrals_ids.splice(index, 1);\n }\n }\n}\n\n/**\n * Establecer un valor para el atributo referrals_ids de la variable reception_document.\n */\nexport function resetReferralsIdsToAccountingDocument(state) {\n state.accounting_document.referrals_ids = [];\n}\n\n/**\n * Establecer un valor para el atributo ids de la variable params_concepts.\n */\nexport function setIdsToParamsConcepts(state, ids) {\n state.params_concepts.ids = ids;\n}\n\n/**\n * Establecer un valor para el atributo affects_prefix_document y affects_number_document de la variable accounting_document.\n */\nexport function setDataAffectsDocumentToAccountingDocument(state) {\n let prefix = null;\n let consecutive = null;\n\n if (state.reception_document.document_number !== null) {\n // Expresión regular para buscar letras seguidas de números\n const regex = /([A-Za-z]+)(\\d+)/;\n\n // Ejecutar regex en el código\n const matches = state.reception_document.document_number.match(regex);\n\n\n if (matches) {\n prefix = matches[1];\n consecutive = matches[2];\n } else {\n // En caso de no encontrar un prefijo y consecutivo válido\n consecutive = state.reception_document.document_number;\n }\n }\n\n state.accounting_document.affects_prefix_document = prefix;\n state.accounting_document.affects_number_document = consecutive;\n}\n\n/**\n * Establecer un valor para la variable cost_centers.\n */\nexport function setCostCenters(state, cost_centers) {\n cost_centers.map(cc => {\n cc.code = cc.code_parameter;\n cc.name = cc.name_parameter;\n });\n\n state.cost_centers = cost_centers;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_rejection.\n */\nexport function setShowToModalRejection(state, show) {\n state.modal_rejection.show = show;\n}\n\n/**\n * Establecer un valor para la variable rejection_reasons.\n */\nexport function setRejectionReasons(state, rejection_reasons) {\n state.rejection_reasons = rejection_reasons;\n}\n\n/**\n * Establecer un valor para la variable contact_warehouse.\n */\nexport function setContactWarehouse(state, contact_warehouse) {\n state.contact_warehouse = contact_warehouse;\n}\n\n/**\n * Establecer un valor para el atributo authorized de la variable reception_document.\n */\nexport function setAuthorizedToReceptionDocument(state, authorized) {\n state.reception_document.authorized = authorized;\n}\n\n/**\n * Establecer un valor para el atributo state_id de la variable params.\n */\nexport function setStateIdToParams(state, state_id) {\n state.params.state_id = state_id;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_authorization.\n */\nexport function setShowToModalAuthorization(state, show) {\n state.modal_authorization.show = show;\n state.modal_authorization.observation = '';\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_attachments.\n */\nexport function setShowToModalAttachments(state, show) {\n state.modal_attachments.show = show;\n state.modal_attachments.attachments = null;\n}\n\n/**\n * Establecer un valor para la variable attachments.\n */\nexport function setAttachments(state, attachments) {\n state.attachments = attachments;\n}\n\n/**\n * Establecer un valor para el atributo attachment de la variable modal_attachments.\n */\nexport function setAttachmentToModalAttachments(state, attachment) {\n state.modal_attachments.attachment = attachment;\n}\n\n/**\n * Establecer un valor para la variable contacts_lite.\n */\nexport function setContactsLite(state, contacts_lite) {\n contacts_lite.map(c => {\n c.code = c.identification\n c.name = c.full_name\n })\n\n state.contacts_lite = contacts_lite;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reception_documents/mutations.js","import $http from '../../axios';\nimport {Message, MessageBox, Notification} from 'element-ui';\n\nexport async function fetchDocuments({commit}, id) {\n\n let params = {\n warehouse_id: id\n };\n\n commit('setPreloader', true);\n\n await $http.get('/api/documentos-por-sucursal-cliente', {params})\n .then((response) => {\n commit('setDocuments', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener las solicitudes',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function fetchStates({commit}) {\n await $http\n .get('/api/parametros-por-codigo/GS01')\n .then(response => {\n commit('setStates', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchRequestTypes({commit}) {\n await $http\n .get('/api/parametros-por-codigo/RTGM')\n .then(response => {\n commit('setRequestTypes', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchDevolutionReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/136')\n .then(response => {\n commit('setDevolutionReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchGuaranteeReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/DRGM')\n .then(response => {\n commit('setGuaranteeReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchApprovalStates({commit}) {\n await $http\n .get('/api/parametros-por-codigo/GAS01')\n .then(response => {\n commit('setApprovalStates', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchApprovalReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/GAR01')\n .then(response => {\n commit('setApprovalReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchOptions({commit}) {\n await $http\n .get('/api/parametros-por-codigo/PGOP')\n .then(response => {\n commit('setOptions', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchModel({commit}) {\n await $http\n .get('/api/modelo-por-codigo/055')\n .then(response => {\n commit('setModel', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function findAll({commit, state, dispatch}) {\n commit('setPreloader', true);\n\n await $http.get('/api/solicitud-de-garantia', {params: state.filters})\n .then((response) => {\n commit('setRequestsGuarantees', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener las solicitudes',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function getTypesStates({commit, dispatch}) {\n await dispatch('getParametersByCodeTable', 'GS01')\n .then(data => commit('setStates', data))\n .catch(e => console.error(e));\n}\n\nexport async function getTypesStatesEvaluation({commit, dispatch}) {\n await dispatch('getParametersByCodeTable', 'GAS01')\n .then(data => commit('setStatesEvaluation', data))\n .catch(e => console.error(e));\n}\n\nexport async function getApprovalReasons({commit, dispatch}) {\n await dispatch('getParametersByCodeTable', 'GAR01')\n .then(data => commit('setApprovalReasons', data))\n .catch(e => console.error(e));\n}\n\nexport async function getParametersByCodeTable({commit, state, dispatch}, code) {\n return new Promise(async (resolve, reject) => {\n\n await $http.get('/api/parametros-por-codigo/' + code)\n .then((response) => {\n resolve(response.data.data);\n }).catch((error) => {\n Notification.error({\n title: 'Error',\n message: 'Error al obtener los parametros',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\n\nexport async function getProductsRequest({commit, state, dispatch}, filter) {\n\n return new Promise(async (resolve, reject) => {\n\n if (filter.length >= 3) {\n let params = {\n params: {\n filter: filter\n }\n };\n\n await $http.get('/api/buscar-productos', params)\n .then((response) => {\n resolve(response.data.data);\n }).catch((error) => {\n Notification.error({\n title: 'Error',\n message: 'Error al obtener los productos',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n } else {\n resolve([]);\n }\n });\n}\n\nexport async function getProducts({commit, state, dispatch}, filter) {\n await dispatch('getProductsRequest', filter)\n .then(data => commit('setProducts', data))\n .catch(e => console.error(e));\n}\n\nexport async function getProductsToSend({commit, state, dispatch}, filter) {\n await dispatch('getProductsRequest', filter)\n .then(data => commit('setProductsToSend', data))\n .catch(e => console.error(e));\n}\n\nexport async function getProductsToSendTwo({commit, state, dispatch}, filter) {\n await dispatch('getProductsRequest', filter)\n .then(data => commit('setProductsToSendTwo', data))\n .catch(e => console.error(e));\n}\n\nexport async function getProductsToSendThree({commit, state, dispatch}, filter) {\n await dispatch('getProductsRequest', filter)\n .then(data => commit('setProductsToSendThree', data))\n .catch(e => console.error(e));\n}\n\nexport async function create({commit, state, dispatch}, files) {\n\n return new Promise(async (resolve, reject) => {\n\n commit('setSending', true);\n commit('setPreloader', true);\n\n let form_data = new FormData();\n\n const user_b2b = JSON.parse(localStorage.getItem('user_b2b'));\n\n commit('setContactWarehouseIdRequestGuarantee', user_b2b.id);\n\n for (const property in state.request_guarantee) {\n if (!property.includes('images')) {\n form_data.append(property, state.request_guarantee[property]);\n }\n }\n\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n keys.map(key => {\n for (let i = 0; i < files[key].length; i++) {\n form_data.append(key + '_loaded[' + i + ']', files[key][i]);\n }\n });\n\n await $http.post('/api/solicitud-de-garantia', form_data)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud creada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al crear la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n });\n}\n\nexport async function update({commit, state, dispatch}) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n let request_guarantee = JSON.parse(JSON.stringify(state.request_guarantee));\n\n request_guarantee.documents_products = JSON.stringify(state.request_guarantee.return.documents_products);\n\n await $http.post('/api/solicitud-de-garantia/' + state.request_guarantee.id, request_guarantee)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud actualizada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al actualizar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function updateWithNewState({commit, state, dispatch}, files) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n let form_data = new FormData();\n\n for (const property in state.request_guarantee) {\n if (property !== 'attachments_deleted' && !['images_product_loaded', 'other_images_loaded', 'images_guide_loaded'].includes(property)) {\n form_data.append(property, state.request_guarantee[property]);\n }\n }\n\n keys.map(key => {\n if (files[key]) {\n for (let i = 0; i < files[key].length; i++) {\n form_data.append(key + '_loaded[' + i + ']', files[key][i]);\n }\n }\n });\n\n for (let i = 0; i < state.request_guarantee.attachments_deleted.length; i++) {\n form_data.append('attachments_deleted[' + i + ']', state.request_guarantee.attachments_deleted[i].id);\n }\n\n form_data.append('documents_products', JSON.stringify(state.request_guarantee.return.documents_products));\n\n await $http.post('/api/solicitud-de-garantia/nuevo-estado/' + state.request_guarantee.id, form_data)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud actualizada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al actualizar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function findForId({commit, state, dispatch}, id) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/solicitud-de-garantia/' + id)\n .then((response) => {\n\n let request_guarantee = response.data.data;\n\n request_guarantee.return.documents_products.map(dp => {\n\n if (dp.requested_quantity === null) {\n let _dpi = request_guarantee.invoice.documents_products.find(dpi => dpi.product_id === dp.product_id);\n\n if (_dpi) {\n dp.requested_quantity = _dpi.quantity;\n }\n }\n\n if (dp.received_quantity === null) {\n dp.received_quantity = dp.requested_quantity;\n }\n\n if (dp.authorized_quantity === null) {\n dp.authorized_quantity = dp.received_quantity;\n }\n\n });\n\n commit('setRequestGuarantee', request_guarantee);\n\n let step = 1;\n let action = 'Editar';\n\n let states = JSON.parse(JSON.stringify(state.request_guarantee.request_guarantee_states));\n\n let last_state = null;\n\n states.map(s => {\n if (s.state.code_parameter !== 'PGS9'){\n last_state = s;\n }\n })\n\n if (last_state && last_state.state) {\n\n let step_code = last_state.state.code_parameter;\n\n let step_obj = state.steps.find(s => s.code === step_code);\n\n if (step_obj) {\n step = step_obj.step;\n }\n\n let type = state.request_types.find(t => t.id === state.request_guarantee.type_id);\n\n if (step_code !== 'PGS5' || (type && type.code_parameter === 'RTGM02')) {\n step++;\n }\n\n if (step_code === 'PGS3' && type && type.code_parameter === 'RTGM01') {\n step++;\n } else if (step_code === 'PGS4' && type && type.code_parameter === 'RTGM02') {\n step++;\n } else if (step_code === 'PGS6' && type && type.code_parameter === 'RTGM01') {\n step = 3;\n }\n\n if (state.request_guarantee.approval_status && state.request_guarantee.approval_status.code_parameter === 'PGAS3' && step === 5){\n step = 3;\n }\n }\n\n commit('setStep', step);\n commit('setAction', action);\n commit('setStepAvailable', step);\n commit('setPreloader', false);\n\n }).catch((error) => {\n\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al obtener la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function deleteAttachment({commit, state}, attachment) {\n await MessageBox.confirm('¿Está seguro de eliminar el adjunto?', 'Eliminar adjunto', {\n confirmButtonText: 'Aceptar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n customClass: 'notification-danger'\n }).then(async (result) => {\n commit('addAttachmentDeleteRequestGuarantee', attachment);\n commit('deleteAttachmentRequestGuarantee', attachment);\n }).catch((e) => {\n console.error(e);\n });\n}\n\nexport async function destroy({commit, state, dispatch}, request_guarantee) {\n\n await MessageBox.confirm('¿Está seguro de rechazar la solicitud?', 'Rechazar', {\n confirmButtonText: 'Rechazar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n inputPlaceholder: 'Observaciones',\n customClass: 'notification-danger',\n }).then(async (result) => {\n\n if (result) {\n commit('setPreloader', true);\n\n await $http.post('/api/solicitud-de-garantia/anular/' + request_guarantee.id, request_guarantee)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setPreloader', false);\n\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud rechazada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud rechazada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al rechazar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n }\n }).catch((e) => {\n console.error(e);\n });\n}\n\nexport async function downloadAttachment({commit}, attachment) {\n\n commit('setPreloader', true);\n\n await $http({\n url: '/api/solicitud-de-garantia/descargar-adjunto/' + attachment.id,\n method: 'GET',\n responseType: 'blob', // important\n }).then((response) => {\n\n commit('setPreloader', false);\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', attachment.original_name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n });\n}\n\nexport async function getSellers({commit, state}) {\n let leadership_id = state.filters.leadership_id;\n\n commit('setPreloader', true);\n\n if (leadership_id === null) {\n await $http.get('/api/sellers').then((response) => {\n commit('setSellers', response.data.data);\n commit('setPreloader', false);\n }).catch(() => commit('setPreloader', false));\n\n } else {\n\n await $http.get('/api/sellers/' + leadership_id).then((response) => {\n commit('setSellers', response.data.data);\n commit('setPreloader', false);\n }).catch(() => commit('setPreloader', false));\n }\n}\n\nexport async function finalizeRequestGuarantee({commit, state, dispatch}) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n return new Promise(async (resolve, reject) => {\n await $http.post('/api/solicitud-de-garantia/finalizar/' + state.request_guarantee.id, state.request_guarantee)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud finalizada exitosamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n if (response.data.data.data.data){\n commit('setShowToModalPdf', response.data.data.data.data);\n resolve(response.data.data.data.data);\n }else {\n commit('setShowToModalPdf', response.data.data.data);\n resolve(response.data.data.data);\n }\n\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: error.response.data.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n dangerouslyUseHTMLString: true,\n });\n reject();\n });\n });\n}\n\nexport async function fetchDocumentsByThread({commit, state}) {\n await $http\n .get('/api/back-order/' + state.request_guarantee.invoice_id)\n .then(response => {\n commit('setDocumentsByThread', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al actualizar los valores del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchModels({commit}) {\n commit('setPreloader', true);\n\n let params = {\n codes: ['155', '186']\n };\n\n await $http.get('/api/modelos-devoluciones', {params})\n .then((response) => {\n commit('setModels', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener los modelos',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function validateInventory({commit, state}) {\n commit('setPreloader', true);\n\n await $http.get('/api/validar-inventario-documento/' + state.request_guarantee.return_id + '/' + 0)\n .then((response) => {\n\n let request_guarantee = JSON.parse(JSON.stringify(state.request_guarantee));\n\n request_guarantee.return.documents_products.map(dp => {\n let ssdp = response.data.data.find(sdp => sdp.id === dp.id);\n\n if (ssdp) {\n dp.stock = ssdp.stock;\n }\n });\n\n commit('setRequestGuarantee', request_guarantee)\n\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener los modelos',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/guarantees_admin/actions.js","/**\n * Suscriptores\n */\nconst subscribers = [\n {\n subscriber: 'Desarrollo',\n domain: 'http://localhost:8080',\n api_domain: 'http://localhost:8085',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://192.168.20.51:8080',\n api_domain: 'http://192.168.20.51:8085',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://127.0.0.1:8080',\n api_domain: 'http://127.0.0.1:8085',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://localhost:8081',\n api_domain: 'http://localhost:8086',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://127.0.0.1:8081',\n api_domain: 'http://127.0.0.1:8086',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://localhost:8081',\n api_domain: 'http://localhost:8086',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n subscriber: 'Desarrollo',\n domain: 'http://127.0.0.1:8081',\n api_domain: 'http://127.0.0.1:8086',\n logo: '/static/subscribers_logos/u2.jpg',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n identification: '900338016',\n subscriber: 'Colsaisa',\n domain: 'https://colsaisa.starcommerce.co',\n api_domain: 'https://apicolsaisa.starcommerce.co',\n logo: '/static/subscribers_logos/colsaisa.png',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n identification: '900338016',\n subscriber: 'Pruebas Colsaisa',\n domain: 'https://pruebascolsaisa.starcommerce.co',\n api_domain: 'https://pruebasapicolsaisa.starcommerce.co',\n logo: '/static/subscribers_logos/colsaisa.png',\n pusher_app_key: '72b0feb74d58c50c584b',\n },\n {\n identification: '830048991',\n subscriber: 'Colrecambios',\n domain: 'https://colrecambios.starcommerce.co',\n api_domain: 'https://apicolrecambios.starcommerce.co',\n logo: '/static/subscribers_logos/colrecambios.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '830048991',\n subscriber: 'Colrecambios Pruebas',\n domain: 'https://colrecambiospruebas.starcommerce.co',\n api_domain: 'https://apicolrecambiospruebas.starcommerce.co',\n logo: '/static/subscribers_logos/colrecambios.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '900710720',\n subscriber: 'Xinetix',\n domain: 'https://xinetix.starcommerce.co',\n api_domain: 'https://apixinetix.starcommerce.co',\n logo: '/static/subscribers_logos/xinetix.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '900710720',\n subscriber: 'Xinetix Pruebas',\n domain: 'https://xinetixpruebas.starcommerce.co',\n api_domain: 'https://apixinetixpruebas.starcommerce.co',\n logo: '/static/subscribers_logos/xinetix.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '900266427',\n subscriber: 'Lugor',\n domain: 'https://lugor.starcommerce.co',\n api_domain: 'https://apilugor.starcommerce.co',\n logo: '/static/subscribers_logos/lugor.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n },\n {\n identification: '900266427',\n subscriber: 'Lugor Pruebas',\n domain: 'https://lugorpruebas.starcommerce.co',\n api_domain: 'https://apilugorpruebas.starcommerce.co',\n logo: '/static/subscribers_logos/lugor.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n },\n {\n identification: '800249945',\n subscriber: 'Hys',\n domain: 'https://hys.starcommerce.co',\n api_domain: 'https://apihys.starcommerce.co',\n logo: '/static/subscribers_logos/hys.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '800249945',\n subscriber: 'Hys Pruebas',\n domain: 'https://hyspruebas.starcommerce.co',\n api_domain: 'https://apihyspruebas.starcommerce.co',\n logo: '/static/subscribers_logos/hys.png',\n pusher_app_key: 'fd5c66e1e9a0b6d6eeac',\n },\n {\n identification: '860402526',\n subscriber: 'La Rueda',\n domain: 'https://larueda.starcommerce.co',\n api_domain: 'https://apilarueda.starcommerce.co',\n logo: '/static/subscribers_logos/larueda.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n\n },\n {\n identification: '860402526',\n subscriber: 'La Rueda Pruebas',\n domain: 'https://laruedapruebas.starcommerce.co',\n api_domain: 'https://apilaruedapruebas.starcommerce.co',\n logo: '/static/subscribers_logos/larueda.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n },\n {\n identification: '901666689',\n subscriber: 'VW',\n domain: 'https://vw.starcommerce.co',\n api_domain: 'https://apivw.starcommerce.co',\n logo: '/static/subscribers_logos/vw.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n },\n {\n identification: '901666689',\n subscriber: 'VW Pruebas',\n domain: 'https://vwpruebas.starcommerce.co',\n api_domain: 'https://apivwpruebas.starcommerce.co',\n logo: '/static/subscribers_logos/vw.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n },\n {\n identification: '900245118',\n subscriber: 'Menu3',\n domain: 'https://menu3.starcommerce.co',\n api_domain: 'https://apimenu3.starcommerce.co',\n logo: '/static/subscribers_logos/menu3.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n },\n {\n identification: '900245118',\n subscriber: 'Menu3 Pruebas',\n domain: 'https://menu3pruebas.starcommerce.co',\n api_domain: 'https://apimenu3pruebas.starcommerce.co',\n logo: '/static/subscribers_logos/menu3.png',\n pusher_app_key: '87e1058a1b2f2ff23dcc',\n },\n {\n identification: '800198348',\n subscriber: 'Ventas Institucionales',\n domain: 'https://ventasinstitucionales.starcommerce.co',\n api_domain: 'https://apiventasinstitucionales.starcommerce.co',\n logo: '/static/subscribers_logos/ventasinstitucionales.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n },\n {\n identification: '800198348',\n subscriber: 'Ventas Institucionales Pruebas',\n domain: 'https://ventasinstitucionalespruebas.starcommerce.co',\n api_domain: 'https://apiventasinstitucionalespruebas.starcommerce.co',\n logo: '/static/subscribers_logos/ventasinstitucionales.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n },\n {\n identification: '830508200',\n subscriber: 'Isla',\n domain: 'https://isla.starcommerce.co',\n api_domain: 'https://apiisla.starcommerce.co',\n logo: '/static/subscribers_logos/isla.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n },\n {\n identification: '830508200',\n subscriber: 'Isla Pruebas',\n domain: 'https://islapruebas.starcommerce.co',\n api_domain: 'https://apiislapruebas.starcommerce.co',\n logo: '/static/subscribers_logos/isla.png',\n pusher_app_key: '1199f3cbc1ba6f19e839',\n }\n];\n\n/**\n * Obtener el suscriptor\n * @returns Object Contiene la información del suscriptor\n * @author Jhon García\n */\nexport function getSubscriber() {\n const domain = document.location.origin;\n\n return subscribers.find(subscriber => subscriber.domain === domain);\n}\n\n\n/**\n * Obtener el suscriptor por número de identificación.\n * @returns Object Contiene la información del suscriptor\n * @author Jhon García\n */\nexport function getSubscriberByIdentification() {\n let subscriber = localStorage.getItem('subscriber');\n\n if (subscriber) {\n subscriber = JSON.parse(subscriber);\n return subscribers.find(s => s.identification === subscriber.identification);\n }\n\n return getSubscriber();\n}\n\n/**\n * Obtener el dominio actual\n * @returns {*} Contiene el dominio actual\n * @author Jhon García\n */\nexport function getDomain() {\n return document.location.origin;\n}\n\n/**\n * Determinar el dominio del api, de acuerdo al dominio del front\n * @returns {string|null} Contiene el dominio del api o null si no existe\n * @author Jhon García\n */\nexport function getApiDomain() {\n let subscriber = getSubscriber();\n\n if (subscriber) {\n return subscriber.api_domain;\n }\n\n return null;\n}\n\n/**\n * Determinar el dominio del api, de acuerdo al dominio del front\n * @returns {string|null} Contiene el dominio del api o null si no existe\n * @author Jhon García\n */\nexport function getLogoSubscriber() {\n let subscriber = getSubscriber();\n\n if (subscriber) {\n return subscriber.logo;\n }\n\n return null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/domains.js","import $http from '../../axios';\nimport {MessageBox, Notification} from 'element-ui';\nimport {setAttachments} from './mutations';\n\n/**\n * Request tipo GET para obtener reception_documents.\n * @author Jhon García\n */\nexport async function getReceptionDocuments({commit, state}) {\n\n let params = state.params;\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/reception-documents`, {params})\n .then(response => {\n commit('setReceptionDocuments', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener reception_document.\n * @author Jhon García\n */\nexport async function getReceptionDocument({commit, state}, id) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/reception-documents/${id}`)\n .then(response => {\n\n let reception_document = response.data.data;\n reception_document.authorized = false;\n\n commit('setReceptionDocument', reception_document);\n commit('setPdfToReceptionDocument', null);\n\n if (state.reception_document.contact && state.reception_document.contact.id) {\n commit('setContacts', [state.reception_document.contact]);\n }\n\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener Pdf.\n * @author Jhon García\n */\nexport async function getPdfOfReceptionDocument({commit, state}, id) {\n\n return new Promise(async (resolve, reject) => {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/reception-document-annexes/graphical-representation/${id}`)\n .then(response => {\n commit('setPdfToReceptionDocument', response.data.data);\n commit('setPreloader', false);\n resolve(response.data.data);\n })\n .catch(error => {\n commit('setPreloader', false);\n reject();\n console.error(error);\n });\n });\n}\n\nexport async function fetchContactsLite({ commit, state, rootState }, text) {\n let params = {\n params: {\n query: text,\n type: 'is_provider'\n }\n };\n\n console.log(params);\n\n await $http\n .get(\"/api/terceros-lite\", params)\n .then(response => {\n commit(\"setContactsLite\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Request para obtener datos de branch_offices.\n */\nexport async function getBranchOffices({commit, state}) {\n\n let params = {\n paginate: false\n };\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/sedes`, {params})\n .then(response => {\n commit('setBranchOffices', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request para obtener datos de voucher_types.\n */\nexport async function getVoucherTypes({commit, state}) {\n\n let params = {\n branchoffice: state.accounting_document.branch_office_id\n };\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/tipos-de-comprobantes`, {params})\n .then(response => {\n commit('setVoucherTypes', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener concepts.\n * @author Jhon García\n */\nexport async function getConcepts({commit, state}, reset_paginate = false) {\n\n commit('setPreloader', true);\n let params = state.params_concepts;\n\n if (reset_paginate) {\n params.page = 1;\n }\n\n await $http\n .get(`/api/conceptos-contables`, {params})\n .then(response => {\n commit('setConcepts', response.data.data);\n commit('setIdsToParamsConcepts', []);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener concepts.\n * @author Jhon García\n */\nexport async function getConceptById({commit, state}, id) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/conceptos-contables/${id}`)\n .then(response => {\n commit('setConcept', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Obtener suscriptor.\n */\nexport async function getSubscriber({commit, dispatch, state}) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener fiscal_responsibilities.\n * @author Jhon García\n */\nexport async function getFiscalResponsibilities({commit, state}) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/parametros-por-codigo/061?sort_by=name_parameter`)\n .then(response => {\n commit('setFiscalResponsibilities', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo PUT para actualizar la responsabilidad fiscal del tercero.\n * @author Jhon García\n */\nexport async function updateContact({commit, state}) {\n\n if (!state.reception_document.contact.id) return;\n\n commit('setPreloader', true);\n\n let contact = {\n id: state.reception_document.contact.id,\n fiscal_responsibility_id: state.reception_document.contact.fiscal_responsibility_id\n };\n\n await $http\n .put(`/api/actualizar-tercero/${contact.id}`, contact)\n .then(response => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'La responsabilidad fiscal del tercero ha sido actualizado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n commit('setPreloader', false);\n MessageBox.alert('Error al actualizar el tercero', 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n });\n}\n\n/**\n * Request tipo GET para obetener las cuentas.\n * @author Jhon García\n */\nexport async function getAccounts({commit, state}) {\n\n let params = {\n onlyAux: true,\n paginate: false,\n filter: '',\n };\n\n commit('setPreloader', true);\n\n await $http\n .get('/api/cuentas', {params})\n .then(response => {\n commit('setAccounts', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Request tipo POST para crear el documento contable.\n * @author Jhon García\n */\nexport async function createAccountingDocument({commit, state}, data) {\n\n return new Promise(async (resolve, reject) => {\n commit('setPreloader', true);\n await $http\n .post('/api/crear-documento-contable', data)\n .then(response => {\n commit('setPreloader', false);\n commit('setUrlToModalPdf', response.data.data.accounting_link);\n Notification.success({\n title: 'Muy bien!',\n message: 'Documento creado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n resolve(response.data.data);\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n reject();\n });\n });\n}\n\n/**\n * Request tipo GET para obtener los productos de un documento.\n * @author Jhon García\n */\nexport async function getDetailReferral({commit, state}, id) {\n\n return new Promise(async (resolve, reject) => {\n commit('setPreloader', true);\n await $http\n .get('/api/pedidos-vendedor-productos/' + id)\n .then(response => {\n commit('setPreloader', false);\n\n let documents_products = response.data.data.filter(dp => dp.backorder_quantity > 0);\n\n resolve(documents_products);\n })\n .catch(error => {\n commit('setPreloader', false);\n reject([]);\n });\n });\n}\n\n/**\n * Request tipo GET para consultar terceros de tipo proveedor el documento contable.\n * @author Jhon García\n */\nexport async function getContacts({commit, state}, filter) {\n\n let params = {\n only_active: true,\n filter: filter,\n type: 'is_provider',\n paginate: false\n };\n\n await $http\n .get('/api/terceros-lite', {params})\n .then(response => {\n commit('setContacts', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Request tipo GET para consultar el tercero seleccionado.\n * @author Jhon García\n */\nexport async function getContact({commit, state}, id) {\n\n commit('setPreloader', true);\n\n await $http\n .get('/api/terceros/' + id,)\n .then(response => {\n commit('setContactToReceptionDocument', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Request para obtener datos de documents.\n */\nexport async function getDocuments({commit, state}, restart_page = true) {\n\n commit('setContactIdToParamsReferrals', state.reception_document.contact_id);\n\n let params = state.params_referrals;\n\n if (restart_page) {\n params.page = 1;\n }\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/buscar-documentos`, {params})\n .then(response => {\n commit('setReferrals', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener cost_centers.\n * @author Jhon García\n */\nexport async function getCostCenters({commit, state}) {\n\n commit('setPreloader', true);\n\n await $http\n .get('/api/parametros-por-codigo/038')\n .then(response => {\n commit('setCostCenters', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n\n/**\n * Request tipo GET para obtener rejection_reasons.\n * @author Jhon García\n */\nexport async function getRejectionReasons({commit, state}) {\n\n commit('setPreloader', true);\n\n await $http\n .get('/api/parametros-por-codigo/140')\n .then(response => {\n commit('setRejectionReasons', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Request tipo POST para rechazar un documento.\n * @author Jhon García\n */\nexport async function rejectionDocument({commit, state}, rejection_reason_id) {\n\n commit('setPreloader', true);\n\n await $http\n .post('/api/reception-document/reject/' + state.reception_document.id + '/' + rejection_reason_id)\n .then(response => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Documento rechazado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error al rechazar el documento',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener contact_warehouse.\n * @author Jhon García\n */\nexport async function getContactWarehouse({commit, state}) {\n\n commit('setPreloader', true);\n\n await $http\n .get(`/api/sucursal-tercero/${state.reception_document.contact_id}`)\n .then(response => {\n commit('setContactWarehouse', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Request tipo POST para autorizar un documento.\n * @author Jhon García\n */\nexport async function authorizeDocument({commit, state}) {\n\n commit('setPreloader', true);\n\n let data = {\n observation: state.modal_authorization.observation\n };\n\n await $http\n .post('/api/reception-document/authorize/' + state.reception_document.id, data)\n .then(response => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Documento autorizado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: 'Error al autorizar el documento',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n console.error(error);\n });\n}\n\n/**\n * Action para listar todos los adjuntos de documentos de recepción.\n *\n * @param {Object} context El contexto de Vuex (commit, state, etc.).\n * @return {Promise} Promesa que resuelve la lista de adjuntos o rechaza con un error.\n */\nexport async function fetchAttachments({commit, state}) {\n try {\n const response = await $http.get('/api/reception-documents-attachments/' + state.reception_document.id);\n commit('setAttachments', response.data.data); // Mutación para guardar los adjuntos en el estado\n } catch (error) {\n console.error('Error al obtener adjuntos:', error);\n throw error;\n }\n}\n\n/**\n * Action para crear un nuevo adjunto de documento de recepción.\n *\n * @param {Object} context El contexto de Vuex (commit, state, etc.).\n * @param {FormData} formData Los datos del formulario, que incluyen el archivo y otros campos necesarios.\n * @return {Promise} Promesa que resuelve con el adjunto creado o rechaza con un error.\n */\nexport async function createAttachment({commit, dispatch}, formData) {\n try {\n const response = await $http.post('/api/reception-documents-attachments', formData, {\n headers: {\n 'Content-Type': 'multipart/form-data', // Para enviar archivos\n },\n });\n\n await dispatch('fetchAttachments');\n\n commit('setAttachmentToModalAttachments', null);\n\n Notification.success({\n title: 'Muy bien!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n } catch (error) {\n commit('setAttachmentToModalAttachments', null);\n Notification.error({\n title: 'Error!',\n message: 'Error al guardar el adjunto',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n throw error;\n }\n}\n\n/**\n * Action para eliminar un adjunto de documento de recepción por ID.\n *\n * @param {Object} context El contexto de Vuex (commit, state, etc.).\n * @param {Number} attachmentId El ID del adjunto a eliminar.\n * @return {Promise} Promesa que resuelve cuando se elimina el adjunto o rechaza con un error.\n */\nexport async function deleteAttachment({commit, dispatch}, attachmentId) {\n try {\n await $http.delete(`/api/reception-documents-attachments/${attachmentId}`);\n await dispatch('fetchAttachments');\n\n Notification.success({\n title: 'Muy bien!',\n message: 'Adjunto eliminado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: 'Error al eliminar el adjunto',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n throw error;\n }\n}\n\n/**\n * Action para eliminar un adjunto de documento de recepción por ID.\n *\n * @param {Object} context El contexto de Vuex (commit, state, etc.).\n * @param {Number} documents Documentos a cerrar.\n * @return {Promise} Promesa que resuelve cuando se elimina el adjunto o rechaza con un error.\n */\nexport async function closeDocuments({commit, dispatch}, documents) {\n try {\n await $http.post(`/api/close-reception-documents`, {documents});\n await dispatch('fetchAttachments');\n\n Notification.success({\n title: 'Muy bien!',\n message: 'Documentos cerrados exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n } catch (error) {\n Notification.error({\n title: 'Error!',\n message: 'Error al cerrar los documentos',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n throw error;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reception_documents/actions.js","import {\n defaultNewContact,\n defaultNewVehicle,\n defaultSelectedDocument,\n defaultSelectedDocumentProduct\n} from \"./state\";\nimport {fetchInterestProducts} from \"../prospective-client/actions\";\n\n/**\n * Asigna un valor a la variable de state error\n * @param state\n * @param error\n */\nexport function setError(state, error) {\n state.error = error;\n}\n\n/**\n * Asigna un valor a la variable de state action\n * @param state\n * @param action\n */\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function setTypeImmpression(state, typeImpresions) {\n state.typeImpresions = typeImpresions;\n}\n\nexport function setdocumentsProductsImport(state , documents_products_import){\n state.documents_products_import = documents_products_import.documents_product_import\n}\n\nexport function applied_expenses(state, applied_expenses){\n state.applied_expenses = applied_expenses\n}\n\nexport function setexpenses(state , expenses){\n state.expenses = expenses.expenses\n}\n/**\n * Asigna valores por defecto a branchoffice_id y branchoffice_warehouse_id de selected_document\n * Los valores por defecto son los que se encuentran en el localStorage\n * @param state\n */\nexport function setDefaultBranchOfficeAndBranchOfficeWarehouse(state) {\n let branchoffice_id = localStorage.getItem(\"selected_branchoffice\");\n let branchoffice_warehouse_id = localStorage.getItem(\n \"selected_branchoffice_warehouse\"\n );\n\n state.selected_document.branchoffice_id = Number(branchoffice_id);\n state.selected_document.branchoffice_warehouse_id = Number(\n branchoffice_warehouse_id\n );\n}\n\n/**\n * Asigna un valor a la variable de state selected_model\n * @param state\n * @param selected_model\n */\nexport function setSelectedModel(state, selected_model) {\n state.selected_model = selected_model;\n\n}\n\n/**\n *\n * @param state\n * @param data\n */\nexport function setModels(state, data) {\n state.models = data;\n}\n\nexport function setSelected_model_list_document(state, selected_model_list_document){\n state.selected_model_list_document = selected_model_list_document\n}\n\nexport function setTableSearchGlobalcolumns(state, erp) {\n\n let subscriber = JSON.parse(localStorage.getItem('subscriber'));\n let manager_wms = false;\n\n if (subscriber && subscriber != undefined) {\n manager_wms = subscriber.manager_wms;\n }\n\n let visible_columns = {\n import_number: state.selected_model_list_document ? state.selected_model_list_document.import_number && state.selected_model_list_document.import_number != '2' : false,\n project: state.selected_model_list_document ? state.selected_model_list_document.select_projects && state.selected_model_list_document.select_projects != '2' : false,\n seller: state.selected_model_list_document ? state.selected_model_list_document.see_seller && state.selected_model_list_document.see_seller != '2' : false,\n };\n\n state.TableSearchGlobal.columns = [\n {\n label: 'Fecha',\n key: 'document_date',\n tdClass: 'text-nowrap'\n },\n !state.TableSearchGlobal.params.branchoffice_id ? { label: 'Sede', key: 'branchoffice.name'} : {},\n {\n label: 'Tipo Documento',\n key: 'vouchertype.name_voucher_type'\n },\n {\n label: 'Número',\n key: 'consecutive',\n sortable: true\n },\n {\n label: 'Tercero',\n key: 'contact'\n },\n visible_columns.import_number ? {label: 'Num-Import', key: 'import_number'} : {},\n visible_columns.project ? {label: 'Proyecto', key: 'project'} : {},\n visible_columns.seller ? {label: 'Vendedor', key: 'seller.name'} : {},\n {\n label: 'Valor Total',\n key: 'total_value'\n },\n erp ? {label: 'Erp', key: 'erp'} : {},\n manager_wms ? {label: 'Estado WMS', key: 'error_wms',} : {},\n {\n label: 'Acciones',\n key: 'actions'\n }\n ];\n}\n\n/**\n *\n * @param state\n * @param data\n */\nexport function setSearchDocumentGlobal(state, data) {\n // Agregamos los datos de la tabla\n state.TableSearchGlobal.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.TableSearchGlobal.pagination = data;\n}\n\n/**\n * Restablece el valor por defecto de la variable de state selected_document\n */\nexport function resetSelectedDocument(state) {\n state.selected_document = defaultSelectedDocument();\n}\n\n/**\n * Asigna un valor a la variable de state fetch_data\n * @param state\n * @param fetch_data\n */\nexport function setFetchData(state, fetch_data) {\n state.fetch_data = fetch_data;\n}\n\n/**\n * Asigna un valor al atributo type de la variable de state params_contacts\n * @param state\n * @param selected_model\n */\nexport function setTypeContact(state, selected_model) {\n let contact_type = selected_model.contact_type;\n\n let type = \"is_customer\";\n\n switch (contact_type) {\n case 1:\n type = \"is_customer\";\n break;\n case 2:\n type = \"is_provider\";\n break;\n case 3:\n type = \"is_employee\";\n break;\n }\n\n state.params_contacts.type = type;\n}\n\nexport function setTypeContactAditional(state, type_aditional) {\n let contact_type = type_aditional;\n\n let type = \"is_customer\";\n\n switch (contact_type) {\n case 1:\n type = \"is_customer\";\n break;\n case 2:\n type = \"is_provider\";\n break;\n case 3:\n type = \"is_employee\";\n break;\n }\n\n state.params_contacts.type = type;\n}\n\n/**\n * Asigna un valor al atributo vouchertype_id de la variable de state selected_document\n * @param state\n * @param selected_model\n */\nexport function setVoucherTypeToSelectedDocument(state, selected_model) {\n let voucherType_id = selected_model.voucherType_id;\n\n state.selected_document.vouchertype_id = voucherType_id;\n}\n\nexport function setFilenameSelectedDocument(state, selected_document) {\n state.selected_document.filename = selected_document.filename;\n}\n\n/**\n * Asigna un valor a la variable de state selected_document\n * @param state\n * @param branchoffices\n */\nexport function setSelectedDocument(state, selected_document) {\n //productos con promo\n selected_document.documents_products.map((dp, indexdp) => {\n if (dp.promotion) {\n dp.applied_promotion = dp.promotion.description;\n }\n\n // if (dp.is_benefit) {\n // dp.unit_value_before_taxes = 0;\n // }\n });\n\n state.selected_document = selected_document;\n}\n\n/**\n * Corregimos las existencias\n *\n * @param state\n * @param branchoffices\n */\nexport function setStockDocumentProducts(state, document_products) {\n document_products.map((dp, index) => {\n let key_p = state.selected_document.documents_products.findIndex(\n sdp => sdp.id == dp.document_product_id\n );\n\n if (key_p >= 0) {\n state.selected_document.documents_products[\n key_p\n ].product.inventory[0].stock = dp.stock;\n state.selected_document.documents_products[key_p].quantity = dp.stock;\n }\n });\n}\n\n/**\n * Asigna un valor a la variable de state backup_documents_products\n * @param state\n * @param branchoffices\n */\nexport function setBackupDocumentsProducts(state) {\n state.backup_documents_products = JSON.parse(\n JSON.stringify(state.selected_document.documents_products)\n );\n}\n\n/**\n * Restaura un valor a la variable de state documents_products\n * @param state\n * @param branchoffices\n */\nexport function restoreDocumentsProductsFromBackup(state) {\n state.selected_document.documents_products.map(dp => {\n state.backup_documents_products.map(bdp => {\n if (dp.product_id == bdp.product_id) {\n dp.quantity = bdp.quantity;\n }\n });\n });\n}\n\n/**\n * Asigna un valor a la variable de state documents_for_back_order que sirve para calcular el back_order\n * @param state\n * @param branchoffices\n */\nexport function setDocumentsForBackOrder(state, documents_for_back_order) {\n state.documents_for_back_order = documents_for_back_order;\n}\n\n/**\n * Asigna un valor por defecto a la variable de state selected_document_product\n * @param state\n * @param branchoffices\n */\nexport function setDefaultSelectedDocumentProduct(state) {\n state.selected_document_product = defaultSelectedDocumentProduct();\n}\n\n/**\n * Asigna un valor a la variable de state selected_document_product\n * @param state\n * @param branchoffices\n */\nexport function setSelectedDocumentProduct(state, selected_document_product) {\n state.selected_document_product = selected_document_product;\n}\n\n/**\n * Asigna un valor a la variable de state branchoffices\n * @param state\n * @param branchoffices\n */\nexport function setBranchOffices(state, branchoffices) {\n state.branchoffices = branchoffices.map(b => {\n return { value: b.id, label: b.name };\n });\n}\n\n/**\n * Asigna un valor a la variable de state branchoffices_warehouses\n * @param state\n * @param branchoffices_warehouses\n */\nexport function setBranchOfficesWarehouses(state, branchoffices_warehouses) {\n state.branchoffices_warehouses = branchoffices_warehouses.map(bw => {\n return { value: bw.id, label: bw.warehouse_description };\n });\n}\n\n/**\n * Asigna un valor a la variable de state contacts\n * @param state\n * @param contacts\n */\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setContactsLite(state, contacts_lite) {\n state.contacts_lite = contacts_lite;\n}\n\nexport function setContactsAditional(state, contacts) {\n state.contacts_aditional = contacts;\n}\n\n/**\n * Asigna un valor a la variable de state contacts_warehouses\n * @param state\n * @param contacts\n */\nexport function setContactsWarehouses(state, contacts_warehouses) {\n state.contacts_warehouses = contacts_warehouses;\n}\n\n/**\n * Asigna un valor al atributo filter de params_contacts\n * @param state\n * @param filter\n */\nexport function setParamsContacts(state, filter) {\n state.params_contacts.filter = filter;\n}\n\n/**\n * Asigna valores a los datos del tercero en selected_document\n * @param state\n * @param contact_id\n */\nexport function setDataContact(state, contact_id) {\n let contact = state.contacts.find(c => c.id == contact_id);\n if (contact) {\n state.selected_document.contact = contact;\n state.selected_document.address = contact.address;\n state.selected_document.telephone = contact.main_telephone;\n state.selected_document.city = contact.city.city;\n\n // compras\n if (state.selected_model.voucher_type && state.selected_model.voucher_type.document_nature && state.selected_model.voucher_type.document_nature.code_parameter === '10') {\n state.selected_document.term_days = contact.provider ? contact.provider.pay_days : 0;\n }\n\n // ventas\n if (state.selected_model.voucher_type && state.selected_model.voucher_type.document_nature && state.selected_model.voucher_type.document_nature.code_parameter === '20') {\n state.selected_document.term_days = contact.pay_days ? contact.pay_days : 0;\n }\n\n\n }\n}\n\n/**\n * Asigna valores a los datos de la sucursal en selected_document\n * @param state\n * @param contact_id\n */\nexport function setDataContactWarehouse(state, contact_warehouse_id) {\n let contact_warehouse = state.contacts_warehouses.find(\n cw => cw.id == contact_warehouse_id\n );\n\n if (!contact_warehouse) {\n contact_warehouse = {};\n } else {\n state.selected_document.warehouse_id = contact_warehouse_id;\n }\n\n state.selected_document.warehouse = contact_warehouse;\n state.selected_document.warehouse.address = contact_warehouse.address;\n if (state.selected_document.documents_information != null) {\n state.selected_document.documents_information.price_list =\n contact_warehouse.price_list_id;\n } else {\n state.selected_document.documents_information = {\n price_list: contact_warehouse.price_list_id\n };\n }\n}\n\n/**\n * Agrega un document_product al array de documents_products, atributo de selected_document\n * @param state\n * @param contact_id\n */\nexport function addDocumentProduct(state, document_product) {\n // Buscamos el producto en la grilla.\n let temp_document_product = state.selected_document.documents_products.find(\n dp => dp.id == document_product.id\n );\n\n\n // Creamos\n if (!temp_document_product) {\n if (state.selected_model.pay_taxes) {\n if (document_product.document_product_taxes.length > 0) {\n let iva = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"10\"\n );\n\n let impo = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"12\"\n );\n\n let iva_5 = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"101\"\n );\n\n document_product.total_value_iva5 = iva_5 ? iva_5.value : null;\n document_product.total_value_iva = iva ? iva.value : null;\n document_product.total_value_impo = impo ? impo.value : null;\n\n let icui = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"30\"\n );\n\n document_product.total_value_icui = icui ? icui.value : null;\n }\n }\n state.selected_document.documents_products.push(document_product);\n }\n // Actualizamos\n else {\n // TRM\n temp_document_product.total_value_brut_us =\n document_product.total_value_brut_us;\n temp_document_product.total_value_us = document_product.total_value_us;\n temp_document_product.discount_value_us =\n document_product.discount_value_us;\n\n temp_document_product.unit_value_before_taxes =\n document_product.unit_value_before_taxes;\n temp_document_product.total_value_brut = document_product.total_value_brut;\n temp_document_product.total_value = document_product.total_value;\n temp_document_product.physical_unit = document_product.physical_unit;\n temp_document_product.discount_value = document_product.discount_value;\n temp_document_product.discount_value_unit =\n document_product.discount_value_unit;\n temp_document_product.description = document_product.description;\n temp_document_product.quantity = document_product.quantity;\n temp_document_product.is_benefit = document_product.is_benefit;\n temp_document_product.product.inventory =\n document_product.product.inventory;\n temp_document_product.inventory_cost_value_unit =\n document_product.inventory_cost_value_unit;\n temp_document_product.inventory_cost_value =\n document_product.inventory_cost_value;\n\n if (state.selected_model.pay_taxes) {\n if (document_product.document_product_taxes.length > 0) {\n let iva = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"10\"\n );\n let impo = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"12\"\n )\n let iva_5 = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"101\"\n )\n\n temp_document_product.total_value_iva5 = iva_5 ? iva_5.value : null;\n temp_document_product.total_value_iva = iva ? iva.value : null;\n temp_document_product.total_value_impo = impo ? impo.value : null;\n\n let icui = document_product.document_product_taxes.find(\n dpt => dpt.tax.code == \"30\"\n );\n\n temp_document_product.total_value_icui = icui ? icui.value : null;\n }\n }\n }\n\n // Agregar al bk products\n let keyBackupDocuments = state.backup_documents_products.findIndex(\n bdp => bdp.id == document_product.id\n );\n state.backup_documents_products[keyBackupDocuments] = JSON.parse(\n JSON.stringify(document_product)\n );\n}\n\n/**\n * Establece los parametros para la busqueda de productos\n * @param state\n * @param params_list_products\n */\nexport function setParamsListProducts(state, params_list_products) {\n state.params_list_products = params_list_products;\n}\n\n/**\n * Asigna un valor a la variable de state show_promotions_modal\n * @param state\n * @param show_promotions_modal\n */\nexport function setShowPromotionsModal(state, show_promotions_modal) {\n state.show_promotions_modal = show_promotions_modal;\n}\n\n/**\n * Asigna un valor a la variable de state promotions\n * @param state\n * @param promotions\n */\nexport function setPromotions(state, promotions) {\n promotions.map(pr => {\n if (!pr.hasOwnProperty(\"disable_button\")) {\n pr.disable_button = true;\n }\n });\n\n state.promotions = promotions;\n}\n\n/**\n * Asignar productos filtrados por criterios de clasificación\n * @param state\n * @param products_filtered\n */\nexport function setProductsFiltered(state, products_filtered) {\n state.products_filtered = products_filtered;\n}\n\nexport function setDocProductDefaultBranchofficeWarehouseId(\n state,\n branchoffice_warehouse_id = null\n) {\n if (branchoffice_warehouse_id) {\n state.doc_product_default_branchoffice_warehouse_id = parseInt(\n branchoffice_warehouse_id\n );\n } else {\n state.doc_product_default_branchoffice_warehouse_id = parseInt(\n localStorage.selected_branchoffice_warehouse\n );\n }\n}\n\nexport function setAccounts(state, accounts){\n state.accounts = accounts\n}\n\nexport function setAccountsRteFte(state, accounts_rete_fte){\n state.accounts_rete_fte = accounts_rete_fte\n}\n\nexport function setAccountsRteIca(state, accounts_rete_ica){\n state.accounts_rete_ica = accounts_rete_ica\n}\n\nexport function setCenterCosts(state, center_costs){\n state.center_costs = center_costs\n}\n\n// Set column\nexport function setColumnTable(state) {\n\n let show_icui_column = false;\n\n state.selected_document.documents_products.forEach(dp => {\n show_icui_column = show_icui_column ? show_icui_column : dp.document_product_taxes.some(dpt => dpt.tax && dpt.tax.code === '30');\n });\n\n let base_doc_title = 'Orden';\n let document_nature = state.selected_model.voucher_type && state.selected_model.voucher_type.document_nature ? state.selected_model.voucher_type.document_nature.code_parameter : '';\n if (['10', '11'].includes(document_nature)) base_doc_title = 'Orden Comp';\n if (['12', '22'].includes(document_nature)) base_doc_title = 'Factura';\n\n state.columnsTable = [\n {name: 'Codigo', field: 'product.code', width: 150},\n {\n name: base_doc_title,\n field: 'base_doc',\n visible: state.selected_model.doc_base_management\n },\n {\n name: 'Descrip',\n field: 'description',\n format: 'text',\n width: 400,\n editable: !state.loading_request.dp && state.action != 'view'\n },\n {\n name: 'Cuenta Contable',\n field: 'account_id',\n visible: state.selected_model.capture_accounting_account\n },\n {\n name: 'Bodega',\n field: 'branchoffice_warehouse_id',\n visible: state.selected_model.branchoffice_change !== null\n },\n {\n name: [4,5].includes(state.selected_model.stock_control) ? 'Dispon' : 'Exist',\n field: 'existence',\n width: 140,\n format: 'number',\n visible: state.action != 'view'\n },\n {\n name: 'Vr-Unit-Base',\n field: 'base_unit_value',\n visible:\n state.selected_model.see_vrunit_base &&\n !state.selected_model.hide_values,\n width: 140,\n format: 'currency',\n editable: !state.loading_request.dp &&\n state.selected_model.purchase_difference_management &&\n state.action != 'view'\n },\n {\n name: 'Cant Ord',\n field: 'original_quantity',\n width: 140,\n format: 'number',\n visible: state.selected_model.doc_base_management != 2\n },\n {\n name: 'Cant BackO',\n field: 'backorder_quantity',\n visible: state.selected_model.see_cant_backorder && state.selected_model.back_order_control == 1,\n width: 140,\n format: 'number'\n },\n {\n name: 'Cant BO 2',\n field: 'backorder_quantity_2',\n visible: state.selected_model.see_cant_backorder && state.selected_model.back_order_control == 2,\n width: 140,\n format: 'number'\n },\n {\n name: 'Cantidad',\n field: 'quantity',\n editable: !state.loading_request.dp &&\n state.action != 'view' &&\n state.selected_document.in_progress &&\n !state.selected_model.credit_note,\n format: 'number'\n },\n {\n name: 'Vr Brut Orig',\n field: 'total_value_brut_orig',\n width: 140,\n visible: state.selected_model.credit_note\n },\n {\n name: 'Cant Fisica',\n field: 'physical_unit',\n visible: state.selected_model.see_physical_cant,\n format: 'number',\n editable: !state.loading_request.dp &&\n state.selected_model.edit_physical_cant &&\n state.selected_document.in_progress,\n width: 140\n },\n {\n name: 'Lote',\n field: 'lot',\n visible: false,\n editable: !state.loading_request.dp && false\n },\n {\n name: 'Vr Unit',\n field: 'unit_value_before_taxes',\n editable: !state.loading_request.dp &&\n state.selected_model.edit_unit_value &&\n state.selected_document.in_progress &&\n state.action != 'view',\n format: 'currency',\n width: 140,\n visible:\n !state.selected_model.hide_values && !state.selected_model.credit_note\n },\n {\n name: 'Promo Aplic',\n field: 'applied_promotion',\n visible: state.selected_model.see_applied_promotion\n },\n {\n name: 'Vr Dcto Unit',\n field: 'discount_value_unit',\n visible:\n state.action != 'view' &&\n state.selected_model.see_discount &&\n (!state.selected_model.TRM_value ||\n state.selected_model.TRM_value == 2),\n editable: !state.loading_request.dp &&\n state.selected_model.edit_discount &&\n state.selected_document.in_progress,\n format: 'currency'\n },\n {\n name: 'Vr Dcto',\n field: 'discount_value',\n visible:\n state.selected_model.see_discount &&\n (!state.selected_model.TRM_value ||\n state.selected_model.TRM_value == 2),\n editable: !state.loading_request.dp && false,\n format: 'currency'\n },\n {\n name: 'Vr Dcto Unit',\n field: 'discount_value_unit_us',\n format: 'currency',\n type_currency: 'USD',\n visible:\n state.selected_model.see_discount &&\n state.selected_model.TRM_value &&\n state.selected_model.TRM_value != 2,\n editable: !state.loading_request.dp &&\n state.selected_model.edit_discount &&\n state.selected_document.in_progress\n },\n {\n name: 'Vr Dcto',\n field: 'discount_value_us',\n format: 'currency',\n type_currency: 'USD',\n visible:\n state.selected_model.see_discount &&\n state.selected_model.TRM_value &&\n state.selected_model.TRM_value != 2,\n editable: !state.loading_request.dp && false\n },\n {\n name: 'Vr Bruto',\n field: 'total_value_brut',\n width: 140,\n format: 'currency',\n editable: !state.loading_request.dp && state.selected_model.credit_note && state.action != 'view',\n visible:\n !state.selected_model.hide_values &&\n (!state.selected_model.TRM_value || state.selected_model.TRM_value == 2)\n },\n {\n name: 'Vr Bruto',\n field: 'total_value_brut_us',\n width: 140,\n format: 'currency',\n type_currency: 'USD',\n editable: !state.loading_request.dp && state.selected_model.credit_note && state.action != 'view',\n visible:\n !state.selected_model.hide_values &&\n state.selected_model.TRM_value &&\n state.selected_model.TRM_value != 2\n },\n {\n name: 'Vr IVA',\n field: 'total_value_iva',\n width: 140,\n visible: !state.selected_model.hide_values && state.selected_model.pay_taxes,\n editable: !state.loading_request.dp && state.selected_model.edit_value_iva && state.action != 'view',\n format: 'currency'\n },\n {\n name: 'Vr IVA 5%',\n field: 'total_value_iva5',\n width: 140,\n visible: !state.selected_model.hide_values && state.selected_model.pay_taxes,\n editable: !state.loading_request.dp && state.selected_model.edit_value_iva && state.action != 'view',\n format: 'currency'\n },\n {\n name: 'Vr ICUI',\n field: 'total_value_icui',\n width: 140,\n visible: show_icui_column,\n editable: !state.loading_request.dp && false,\n format: 'currency'\n },\n {\n name: 'Vr-Imponsumo',\n field: 'total_value_impo',\n width: 140,\n visible: !state.selected_model.hide_values && state.selected_model.pay_taxes && state.selected_model.manage_nonconsumption,\n editable: !state.loading_request.dp && state.selected_model.edit_value_iva && state.action != 'view',\n format: 'currency'\n },\n {\n name: 'Vr Total',\n field: 'total_value',\n width: 140,\n visible:\n !state.selected_model.hide_values &&\n (!state.selected_model.TRM_value || state.selected_model.TRM_value == 2)\n },\n {\n name: 'Vr Total',\n field: 'total_value_us',\n format: 'currency',\n type_currency: 'USD',\n width: 140,\n visible:\n !state.selected_model.hide_values &&\n state.selected_model.TRM_value &&\n state.selected_model.TRM_value != 2\n },\n {\n name: '% Arancel',\n field: 'tariff_percentage',\n width: 140,\n visible: state.selected_model.edit_tariff,\n editable: !state.loading_request.dp && state.action != 'view',\n format: 'currency'\n },\n {\n name: 'Costo Unit',\n field: 'inventory_cost_value_unit',\n width: 140,\n visible: state.selected_model.edit_cost,\n editable: !state.loading_request.dp && state.selected_model.edit_cost && state.action != 'view',\n format: 'currency'\n },\n {\n name: 'Costo Total',\n field: 'inventory_cost_value',\n width: 140,\n visible: state.selected_model.edit_cost,\n editable: !state.loading_request.dp && false,\n format: 'currency'\n },\n /*{\n name: 'Vendedor',\n field: 'seller_id',\n visible: state.selected_model.see_seller,\n editable: !state.loading_request.dp && state.selected_model.edit_seller && state.selected_document.in_progress,\n },*/\n {\n name: 'Observaciones',\n field: 'observation',\n width: 500,\n format: 'long_text',\n visible: state.selected_model.see_product_observation,\n editable: !state.loading_request.dp &&\n state.selected_model.edit_product_observation &&\n state.selected_document.in_progress\n },\n {\n name: 'Acciones',\n field: 'actions',\n width: 150,\n visible: state.action != 'view'\n }\n ];\n}\n\nexport function setTraceDocumentProduct(state, data) {\n state.report_back_order = [];\n\n data.map((d, index_d) => {\n var item = {\n id: d.id,\n date: d.date,\n document: d.document_vouchertype_name,\n consecutive: d.consecutive,\n quantity: d.quantity,\n backorder: d.backorder,\n backorder_value: d.backorder_value,\n operation_type: d.operationType,\n prefix: d.prefix,\n invoice_link: d.invoice_link\n };\n\n state.report_back_order.push(item);\n });\n}\n\nexport function setUpdatedContactWarehouses(state, data) {\n let warehousesUpdated = data.data;\n let warehouses = state.selected_document.contact.warehouses;\n\n warehouses.map((w, iw) => {\n if (w.id == warehousesUpdated.id) {\n warehouses.splice(iw, 1);\n warehouses.push(warehousesUpdated);\n }\n });\n}\n\nexport function getParamsWarehouseRetention(state) {\n let warehouse_id = state.selected_document.warehouse_id;\n\n // Validamos que el dato no este vacio\n if (warehouse_id === undefined || warehouse_id == \"\" || warehouse_id == null)\n return;\n\n // Traemos el warehouse selecionado\n let selected_warehouse = state.selected_document.contact.warehouses.find(\n w => w.id == warehouse_id\n );\n\n if (selected_warehouse) {\n state.tableRetention.map(retention => {\n retention.fields.map(field => {\n if (retention.prefix == \"FUE\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_fue_prod_vr_limit;\n field.percentage = selected_warehouse.ret_fue_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_fue_serv_vr_limit;\n field.percentage = selected_warehouse.ret_fue_serv_percentage;\n }\n }\n\n if (retention.prefix == \"IVA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_iva_prod_vr_limit;\n field.percentage = selected_warehouse.ret_iva_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_iva_serv_vr_limit;\n field.percentage = selected_warehouse.ret_iva_serv_percentage;\n }\n }\n\n if (retention.prefix == \"ICA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_ica_prod_vr_limit;\n field.percentage = selected_warehouse.ret_ica_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_ica_serv_vr_limit;\n field.percentage = selected_warehouse.ret_ica_serv_percentage;\n }\n }\n });\n });\n }\n}\n\nexport function setParamsWarehouseRetention(state, selected_warehouse) {\n if (selected_warehouse) {\n state.tableRetention.map(retention => {\n retention.fields.map(field => {\n if (retention.prefix == \"FUE\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_fue_prod_vr_limit;\n field.percentage = selected_warehouse.ret_fue_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_fue_serv_vr_limit;\n field.percentage = selected_warehouse.ret_fue_serv_percentage;\n }\n }\n\n if (retention.prefix == \"IVA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_iva_prod_vr_limit;\n field.percentage = selected_warehouse.ret_iva_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_iva_serv_vr_limit;\n field.percentage = selected_warehouse.ret_iva_serv_percentage;\n }\n }\n\n if (retention.prefix == \"ICA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = selected_warehouse.ret_ica_prod_vr_limit;\n field.percentage = selected_warehouse.ret_ica_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = selected_warehouse.ret_ica_serv_vr_limit;\n field.percentage = selected_warehouse.ret_ica_serv_percentage;\n }\n }\n });\n });\n }\n}\n\nexport function getParamsBaseDocumentRetention(state) {\n let baseDocument = state.selected_document.document;\n let retentions = state.tableRetention;\n\n if (baseDocument) {\n retentions.map(retention => {\n retention.fields.map(field => {\n if (retention.prefix == \"FUE\") {\n if (field.prefix == \"product\") {\n field.vr_limit = baseDocument.ret_fue_prod_vr_limit;\n field.percentage = baseDocument.ret_fue_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = baseDocument.ret_fue_serv_vr_limit;\n field.percentage = baseDocument.ret_fue_serv_percentage;\n }\n }\n\n if (retention.prefix == \"IVA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = baseDocument.ret_iva_prod_vr_limit;\n field.percentage = baseDocument.ret_iva_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = baseDocument.ret_iva_serv_vr_limit;\n field.percentage = baseDocument.ret_iva_serv_percentage;\n }\n }\n\n if (retention.prefix == \"ICA\") {\n if (field.prefix == \"product\") {\n field.vr_limit = baseDocument.ret_ica_prod_vr_limit;\n field.percentage = baseDocument.ret_ica_prod_percentage;\n }\n if (field.prefix == \"service\") {\n field.vr_limit = baseDocument.ret_ica_serv_vr_limit;\n field.percentage = baseDocument.ret_ica_serv_percentage;\n }\n }\n });\n });\n }\n}\n\nexport function resetReportBackOrder(state) {\n state.report_back_order = [];\n}\n\nexport function setParametersTable(state, data) {\n state.parametersTable = data;\n}\n\nexport function setUpdateValuesDocument(state, data) {\n const retentionBase =\n state.selected_model.retention_management == 3 ? true : false;\n\n const {\n document,\n getTotalIvaProducts,\n getTotalIvaServices,\n getValBrutInProducts,\n getValBrutInServices\n } = data;\n\n state.selected_document.total_value = document.total_value;\n state.selected_document.total_value_brut = document.total_value_brut;\n state.selected_document.taxes = document.taxes;\n\n // Retenciones\n state.tableRetention.map(retencion => {\n if (retencion.prefix === \"IVA\") {\n retencion.base_value = getTotalIvaProducts;\n retencion.base_serv_value = getTotalIvaServices;\n } else {\n retencion.base_value = getValBrutInProducts;\n retencion.base_serv_value = getValBrutInServices;\n }\n });\n}\n\nexport function setUpdateDocumentValues(state, data) {\n // Totales\n\n state.selected_document.total_value = data.total_value;\n state.selected_document.total_value_brut = data.total_value_brut;\n state.selected_document.taxes = data.taxes;\n\n // Totales TRM\n state.selected_document.total_value_us = data.total_value_us;\n state.selected_document.total_value_brut_us = data.total_value_brut_us;\n\n // Retenciones\n // # FUE\n // productos\n state.selected_document.ret_fue_prod_vr_limit = data.ret_fue_prod_vr_limit;\n state.selected_document.ret_fue_prod_percentage = data.ret_fue_prod_percentage;\n state.selected_document.ret_fue_prod_total = data.ret_fue_prod_total;\n state.selected_document.ret_fue_base_value = data.ret_fue_base_value;\n\n // servicios\n state.selected_document.ret_fue_serv_vr_limit = data.ret_fue_serv_vr_limit;\n state.selected_document.ret_fue_serv_percentage = data.ret_fue_serv_percentage;\n state.selected_document.ret_fue_serv_total = data.ret_fue_serv_total;\n state.selected_document.ret_fue_serv_base_value = data.ret_fue_serv_base_value;\n\n // total\n state.selected_document.ret_fue_total = data.ret_fue_total;\n\n // # IVA\n // productos\n state.selected_document.ret_iva_prod_vr_limit = data.ret_iva_prod_vr_limit;\n state.selected_document.ret_iva_prod_percentage = data.ret_iva_prod_percentage;\n state.selected_document.ret_iva_prod_total = data.ret_iva_prod_total;\n state.selected_document.ret_iva_base_value = data.ret_iva_base_value;\n\n // servicios\n state.selected_document.ret_iva_serv_vr_limit = data.ret_iva_serv_vr_limit;\n state.selected_document.ret_iva_serv_percentage = data.ret_iva_serv_percentage;\n state.selected_document.ret_iva_serv_total = data.ret_iva_serv_total;\n state.selected_document.ret_iva_serv_base_value = data.ret_iva_serv_base_value;\n\n // total\n state.selected_document.ret_iva_total = data.ret_iva_total;\n\n // # ICA\n // productos\n state.selected_document.ret_ica_prod_vr_limit = data.ret_ica_prod_vr_limit;\n state.selected_document.ret_ica_prod_percentage = data.ret_ica_prod_percentage;\n state.selected_document.ret_ica_prod_total = data.ret_ica_prod_total;\n state.selected_document.ret_ica_base_value = data.ret_ica_base_value;\n\n // servicios\n state.selected_document.ret_ica_serv_vr_limit = data.ret_ica_serv_vr_limit;\n state.selected_document.ret_ica_serv_percentage = data.ret_ica_serv_percentage;\n state.selected_document.ret_ica_serv_total = data.ret_ica_serv_total;\n state.selected_document.ret_ica_serv_base_value = data.ret_ica_serv_base_value;\n\n // total\n state.selected_document.ret_ica_total = data.ret_ica_total;\n\n if (data.documents_products) {\n data.documents_products.map(dp => {\n let dpdoc = state.selected_document.documents_products.find(\n dpd => dpd.id === dp.id\n );\n\n if (dpdoc) {\n dpdoc.total_value_iva = dp.total_value_iva;\n dpdoc.total_value_brut = dp.total_value_brut;\n dpdoc.total_value = dp.total_value;\n }\n });\n }\n}\n\nexport function setUpdateDocumentValuesRetention(state, data) {\n // Retenciones\n // # FUE\n // productos\n state.selected_document.ret_fue_prod_vr_limit = data.ret_fue_prod_vr_limit;\n state.selected_document.ret_fue_prod_percentage =\n data.ret_fue_prod_percentage;\n state.selected_document.ret_fue_prod_total = data.ret_fue_prod_total;\n state.selected_document.ret_fue_base_value = data.ret_fue_base_value;\n\n // servicios\n state.selected_document.ret_fue_serv_vr_limit = data.ret_fue_serv_vr_limit;\n state.selected_document.ret_fue_serv_percentage =\n data.ret_fue_serv_percentage;\n state.selected_document.ret_fue_serv_total = data.ret_fue_serv_total;\n state.selected_document.ret_fue_serv_base_value =\n data.ret_fue_serv_base_value;\n\n // total\n state.selected_document.ret_fue_total = data.ret_fue_total;\n\n // # IVA\n // productos\n state.selected_document.ret_iva_prod_vr_limit = data.ret_iva_prod_vr_limit;\n state.selected_document.ret_iva_prod_percentage =\n data.ret_iva_prod_percentage;\n state.selected_document.ret_iva_prod_total = data.ret_iva_prod_total;\n state.selected_document.ret_iva_base_value = data.ret_iva_base_value;\n\n // servicios\n state.selected_document.ret_iva_serv_vr_limit = data.ret_iva_serv_vr_limit;\n state.selected_document.ret_iva_serv_percentage =\n data.ret_iva_serv_percentage;\n state.selected_document.ret_iva_serv_total = data.ret_iva_serv_total;\n state.selected_document.ret_iva_serv_base_value =\n data.ret_iva_serv_base_value;\n\n // total\n state.selected_document.ret_iva_total = data.ret_iva_total;\n\n // # ICA\n // productos\n state.selected_document.ret_ica_prod_vr_limit = data.ret_ica_prod_vr_limit;\n state.selected_document.ret_ica_prod_percentage =\n data.ret_ica_prod_percentage;\n state.selected_document.ret_ica_prod_total = data.ret_ica_prod_total;\n state.selected_document.ret_ica_base_value = data.ret_ica_base_value;\n\n // servicios\n state.selected_document.ret_ica_serv_vr_limit = data.ret_ica_serv_vr_limit;\n state.selected_document.ret_ica_serv_percentage =\n data.ret_ica_serv_percentage;\n state.selected_document.ret_ica_serv_total = data.ret_ica_serv_total;\n state.selected_document.ret_ica_serv_base_value =\n data.ret_ica_serv_base_value;\n\n // total\n state.selected_document.ret_ica_total = data.ret_ica_total;\n}\n\nexport function addDocumentProductAll(state, data) {\n state.selected_document.documents_products = data.message;\n}\n\n// Asignar valores de la cartera\nexport function setValuesReceivablesByContactId(state, data) {\n let total_wallet = 0;\n let credit_quota = state.selected_document.contact.customer.credit_quota;\n\n data.map((d, indexd) => {\n total_wallet += d.total_balance;\n });\n\n state.selected_document.contact.customer.total_wallet = total_wallet;\n state.selected_document.contact.customer.credit_quota_available = 0;\n\n if (total_wallet >= credit_quota) {\n state.selected_document.contact.customer.credit_quota_available = 0;\n } else {\n state.selected_document.contact.customer.credit_quota_available =\n credit_quota - total_wallet;\n }\n}\n\nexport function deleteItemDocumentsProducts(state, document_product_id) {\n let key_document_product = state.selected_document.documents_products.findIndex(\n dp => dp.id == document_product_id\n );\n if (key_document_product != -1) {\n state.selected_document.documents_products.splice(key_document_product, 1);\n }\n}\n\nexport function deleteItemsDocumentsProducts(state, documents_products_ids) {\n documents_products_ids.map(dpi => {\n let key_document_product = state.selected_document.documents_products.findIndex(\n dp => dp.id === dpi\n );\n\n if (key_document_product !== -1) {\n state.selected_document.documents_products.splice(key_document_product, 1);\n }\n })\n}\n\nexport function setMails(state, mails) {\n state.mails = mails;\n}\n\nexport function setSellerIdByContactWarehouse(state, seller) {\n state.selected_document.seller_id = seller.id;\n}\nexport function resetSellerId(state) {\n state.selected_document.seller_id = null;\n}\nexport function setUpdating(state, data) {\n state.updating = data;\n}\n\nexport function setNamePdf(state, name_pdf) {\n state.name_pdf = name_pdf;\n}\n\nexport function setBranchofficeWarehouses(state, data) {\n state.branchofficeWarehouses = data;\n}\nexport function setEditRetention(state, data) {\n state.edit_retention = data;\n}\nexport function setEditBaseRetention(state, data) {\n state.edit_base_retention = data;\n}\n\nexport function setContactsWarehouseById(state, data) {\n state.selected_contact_warehouse = data;\n}\n\nexport function resetContacts(state, data) {\n state.contacts = [];\n}\n\nexport function setEditRetentionDocument(state, value) {\n state.selected_document.edit_retention = value;\n}\nexport function setFinalizingDocument(state, value) {\n state.finalizing_document = value;\n}\nexport function setDocumentFile(state, data) {\n let extension = data.name.split(\".\");\n let file = {\n id: null,\n name: data.name,\n extension: extension[extension.length - 1],\n path: \"\",\n size: data.size,\n sent: false,\n document_id: state.selected_document.id\n };\n\n state.selected_document.files.push(file);\n\n state.document_files_new.push(data);\n}\nexport function deleteDocumentFile(state, data) {\n if (data.id) {\n let key_file = state.selected_document.files.findIndex(\n f => f.id === data.id\n );\n state.selected_document.files.splice(key_file, 1);\n state.document_files_delete.push(data);\n } else {\n let key_file = state.selected_document.files.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.selected_document.files.splice(key_file, 1);\n\n let key_file_new = state.document_files_new.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.document_files_new.splice(key_file_new, 1);\n }\n}\n\nexport function resetDataDocumentFIles(state) {\n state.document_files_new = [];\n state.document_files_delete = [];\n}\n\nexport function resetRetentionStates(state) {\n state.edit_base_retention = false;\n state.edit_retention = false;\n}\n\nexport function setDocumentProductsEditIva(state, document_product) {\n state.document_products_edit_iva.push({\n id: document_product.id\n });\n}\nexport function removeDocumentProductsEditIva(state, document_product_id) {\n let key_document_product = state.document_products_edit_iva.findIndex(\n dp => dp.id == document_product_id\n );\n if (key_document_product != -1) {\n state.document_products_edit_iva.splice(key_document_product, 1);\n }\n}\nexport function setAuthorizeDocuments(state, value) {\n state.authorize_documents = value;\n}\nexport function resetAuthorizeDocuments(state) {\n state.authorize_documents = false;\n}\n\n// MODAL CREAR TERCERO\nexport function setCities(state, cities) {\n state.cities = cities;\n}\n\nexport function setDepartments(state, departments) {\n state.departments = departments;\n}\n\nexport function setIdentificationTypes(state, identificationTypes) {\n state.identificationTypes = identificationTypes;\n}\n\nexport function setTypeNewContact(state, type) {\n let model = state.selected_model;\n\n if (model) {\n switch (model.contact_type) {\n case 1:\n state.newContact.is_customer = true;\n break;\n case 2:\n state.newContact.is_provider = true;\n break;\n case 3:\n state.newContact.is_employee = true;\n break;\n }\n }\n}\n\nexport function setNewContact(state, newContact) {\n newContact.vehicle = defaultNewVehicle();\n newContact.department_id = newContact.city.department_id;\n state.newContact = newContact;\n}\n\nexport function resetNewContact(state, preserveIdentification = false) {\n let identification;\n let identification_type;\n\n let city_id = state.newContact.city_id;\n let department_id = state.newContact.department_id;\n\n if (preserveIdentification) {\n identification = state.newContact.identification;\n identification_type = state.newContact.identification_type;\n }\n\n state.newContact = defaultNewContact();\n\n if (preserveIdentification) {\n state.newContact.identification = identification;\n state.newContact.identification_type = identification_type;\n }\n\n state.newContact.city_id = city_id;\n state.newContact.department_id = department_id;\n}\n\nexport function setVehicles(state, vehicles) {\n state.vehicles = vehicles;\n}\n\nexport function setNewContactVehicle(state, vehicle) {\n state.newContact.vehicle = vehicle;\n}\n\nexport function setDataVehicle(state, vehicle_id) {\n let vehicle = state.vehicles.find(v => v.id === vehicle_id);\n\n if (vehicle) {\n state.dataVehicle = [\n { title: \"Marca\", value: vehicle.brand_vehicle.name_parameter },\n { title: \"Tipo\", value: vehicle.class_vehicle.name_parameter },\n {\n title: \"Servicio\",\n value: vehicle.servicio === 2 ? \"Privado\" : \"Público\"\n },\n { title: \"Potencia\", value: vehicle.power },\n { title: \"Cilindraje\", value: vehicle.cylinder_capacity },\n { title: \"Peso\", value: vehicle.weight },\n { title: \"Tipo de caja\", value: vehicle.box_type },\n { title: \"Puertas\", value: vehicle.doors },\n { title: \"Combustible\", value: vehicle.fuel },\n { title: \"Nacionalidad\", value: vehicle.nationality },\n { title: \"Capacidad de pasajeros\", value: vehicle.passenger_capacity },\n { title: \"Transmisión\", value: vehicle.transmission },\n { title: \"Tipo de caja\", value: vehicle.box_type }\n ];\n } else {\n state.dataVehicle = [];\n }\n}\n\nexport function setPersonClasses(state, personClasses) {\n state.personClasses = personClasses;\n}\n\nexport function setTaxpayerTypes(state, taxpayerTypes) {\n state.taxpayerTypes = taxpayerTypes;\n}\n\nexport function setTaxRegimes(state, taxRegimes) {\n state.taxRegimes = taxRegimes;\n}\n\nexport function setFiscalResponsibilitys(state, fiscalResponsibilitys) {\n state.fiscalResponsibilitys = fiscalResponsibilitys;\n}\n\nexport function setPayments(state, payments) {\n state.payments = payments;\n}\n\nexport function setModalNewContactStep(state, step) {\n state.modalNewContact.step = step;\n}\n\nexport function setModalNewContact(state, modalNewContact) {\n state.modalNewContact.show = modalNewContact;\n}\n\nexport function resetNewContactVehicle(state, preserveLicencePlate = false) {\n let licence_plate;\n\n if (preserveLicencePlate) {\n licence_plate = state.newContact.vehicle.id;\n }\n\n state.newContact.vehicle = defaultNewVehicle();\n\n if (preserveLicencePlate) {\n state.newContact.vehicle.id = licence_plate;\n state.newContact.vehicle.license_plate = licence_plate;\n }\n}\n\nexport function setAddressNewContact(state, address) {\n if (address) {\n state.newContact.address = address;\n }\n}\n\n//--- METODOS DE PAGO\n\nexport function setPaymentMethods(state, data) {\n state.modalPaymentMethods.paymentMethods = data;\n}\n\n\n\n//\n//\nexport function setDocumentsThreadHistory(state, documents) {\n state.modalDocumentThreadHistory.documents = documents;\n}\n\nexport function setDocumentsThreadHistoryShowModal(state, value) {\n state.modalDocumentThreadHistory.showModal = value;\n}\n\nexport function resetDocumentsThreadHistorys(state) {\n state.modalDocumentThreadHistory.documents = [];\n}\n\nexport function setSaveDocument(state, value) {\n state.saveDocument = value;\n}\n\nexport function setAdditionalDocuments(state, additional_documents){\n state.additional_documents = additional_documents\n}\n\nexport function setConveyors(state, conveyors){\n state.conveyors = conveyors\n}\n\nexport function setProjects(state, projects){\n state.projects = projects\n}\n\nexport function setMoney(state, Moneys) {\n state.moneys = Moneys;\n}\nexport function setModalPaymentMethods(state, modalPaymentMethods) {\n state.selected_document.payment_methods = modalPaymentMethods;\n}\n\n\nexport function setTableSearchGlobalParams(state,params) {\n state.TableSearchGlobal.params.branchoffice_id = params.branchoffice_id;\n state.TableSearchGlobal.params.vouchertype_id = params.vouchertype_id;\n state.TableSearchGlobal.params.model_id = params.model_id;\n state.TableSearchGlobal.params.contact_id = params.contact_id;\n state.TableSearchGlobal.params.warehouse_id = params.warehouse_id;\n state.contacts_lite = params.contacts;\n state.contacts = params.contacts;\n\n}\n/**\n * Establecer un valor para la variable back_order.\n */\nexport function setBackOrder(state, back_order) {\n\n let sum_back_order = {\n\t variant: null,\n total_unds: 0,\n total_backorder_quantity: 0\n };\n\n back_order.map(bo => {\n sum_back_order.total_unds += bo.total_unds;\n sum_back_order.total_backorder_quantity += bo.total_backorder_quantity;\n })\n\n if (!back_order.length){\n\t sum_back_order.variant = null;\n }else if (sum_back_order.total_unds < sum_back_order.total_backorder_quantity){\n sum_back_order.variant = 'warning';\n }else if (sum_back_order.total_unds === sum_back_order.total_backorder_quantity){\n sum_back_order.variant = 'success';\n } else if (sum_back_order.total_unds === 0){\n sum_back_order.variant = 'danger';\n }\n\n state.back_order = sum_back_order;\n}\nexport function setDataReportExistProduct(state, data) {\n state.data_report_exist_products = data\n}\n\nexport function setErrorsPercentageDiscount(state, errors) {\n state.errors_percentage_discount = errors;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-movements/mutations.js","import pako from \"pako\";\n\nconst decompressData = base64Data => {\n try {\n const binaryString = Buffer.from(base64Data, \"base64\").toString(\n \"binary\"\n );\n const compressedData = new Uint8Array(\n binaryString.split(\"\").map(char => char.charCodeAt(0))\n );\n const decompressedData = pako.inflate(compressedData, { to: \"string\" });\n return JSON.parse(decompressedData);\n } catch (error) {\n console.error(error);\n return null;\n }\n};\n\nexport function setLoading(state, value) {\n state.loading = value;\n}\n\nexport function setAllColumns(state, value) {\n state.allColumns = value;\n}\n\nexport function resetParamsFile(state, value) {\n state.paramsFile.file = null;\n}\n\nexport function setIsShoppingRole(state, value) {\n state.isShoppingRole = value;\n}\n\nexport function setProductsPrices(state, data) {\n const dataParse = decompressData(data);\n\n if (dataParse) {\n const { products, prices, listPrices } = dataParse;\n\n const pricesMap = prices.reduce((map, price) => {\n if (!map[price.product_id]) {\n map[price.product_id] = {};\n }\n map[price.product_id][price.code_parameter] = price.price;\n return map;\n }, {});\n\n const updatedProducts = products.map(product => {\n const productPrices = pricesMap[product.id] || {};\n return {\n ...product,\n ...productPrices\n };\n });\n\n const columns = listPrices.map(item => ({\n width: 170,\n minWidth: 170,\n resizable: true,\n sortable: true,\n filter: true,\n fullName: item.name_parameter,\n isListPrice: true,\n headerName: `${item.code_parameter} - ${item.name_parameter}`,\n field: item.code_parameter.toString(),\n valueFormatter: params => {\n const value = params.value;\n if (value != null && !isNaN(value)) {\n return new Intl.NumberFormat(\"es-CO\", {\n style: \"currency\",\n currency: \"COP\",\n minimumFractionDigits: 0,\n maximumFractionDigits: 0\n }).format(Math.floor(value));\n } else {\n return \"$ 0\";\n }\n }\n }));\n\n state.productsPrices = updatedProducts;\n state.columnsPrices = columns;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/product-pricing/mutations.js","import Vue from 'vue'\n\nimport BootstrapVue from 'bootstrap-vue'\n\nVue.use(BootstrapVue)\n\nexport default BootstrapVue\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/bootstrap-vue.js","import Vue from 'vue'\n\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\nimport locale from 'element-ui/lib/locale/lang/es'\n\nconst elementUi = Vue.use(ElementUI, {locale})\n\nexport default elementUi\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/element-ui.js","import Vue from 'vue'\n\nimport Moment from 'moment'\n\nconst moment = Vue.prototype.moment = Moment\n\nexport default moment\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/moment.js","import Vue from 'vue'\n\nimport ToggleSwitch from 'vuejs-toggle-switch'\n\nconst toggleSwitch = Vue.use(ToggleSwitch)\n\nexport default toggleSwitch\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/toggle-switch.js","import Vue from 'vue'\n\nimport VeeValidate, {Validator} from 'vee-validate'\nimport es from 'vee-validate/dist/locale/es'\n\nVue.use(VeeValidate, {\n fieldsBagName: 'vvFields',\n events: 'change'\n});\n\nValidator.localize('es', es);\n\nexport default {\n namespace: true,\n Validator,\n VeeValidate\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/vee-vaidate.js","import Vue from \"vue\";\n\nimport VueCurrencyFilter from \"vue-currency-filter\";\n\nconst currencyFilter = Vue.use(VueCurrencyFilter, {\n symbol: \"$\", // El símbolo, por ejemplo €\n thousandsSeparator: \",\", // Separador de miles\n fractionCount: 0, // ¿Cuántos decimales mostrar?\n fractionSeparator: \".\", // Separador de decimales\n symbolPosition: \"front\", // Posición del símbolo. Puede ser al inicio ('front') o al final ('') es decir, si queremos que sea al final, en lugar de front ponemos una cadena vacía ''\n symbolSpacing: true // Indica si debe poner un espacio entre el símbolo y la cantidad\n});\n\nexport default currencyFilter;\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/vue-currency-filter.js","import Vue from 'vue'\n\nimport VueColumnsResizable from 'vue-columns-resizable'\n\nVue.use(VueColumnsResizable)\n\nexport default VueColumnsResizable\n\n\n\n// WEBPACK FOOTER //\n// ./src/plugins/vue-columns-resizable.js","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('keep-alive',[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-017038d0\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!./assets/css/form_layouts.css\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"indentedSyntax\\\":true,\\\"sourceMap\\\":true}!./assets/sass/buttons/buttons.scss\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!./assets/sass/bootstrap/bootstrap.scss\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!font-awesome/css/font-awesome.min.css\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!themify-icons/css/themify-icons.css\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!./assets/css/style.css\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-017038d0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=7!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-017038d0\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","import b2bRoutes from \"../b2b/router\";\nimport reports_routes from \"../reports-aggrid/router\";\nimport reports_point_of_sale from \"../point_of_sale/router\";\nimport $http from \"../axios\";\n\nconst baseRoutes = [\n {\n path: \"/\",\n redirect: \"/login\"\n },\n {\n path: \"/inicio\",\n component: resolve => require([\"../views/default.vue\"], resolve),\n children: [\n {\n path: \"\",\n component: resolve =>\n require([\"../components/pages/index.vue\"], resolve),\n meta: {\n title: \"Dashboard\",\n breadcrumb: [\n {\n text: \" Dashboard 1\",\n href: \"/\"\n }\n ]\n }\n },\n //Kevin Galindo Test\n {\n path: \"/PageTest\",\n component: resolve =>\n require([\"../views/page_test/Index.vue\"], resolve),\n meta: {\n title: \"PageTest\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"PageTest\",\n href: \"#/PageTest\"\n }\n ]\n }\n },\n // roles y permisos\n {\n path: \"/roles-permisos\",\n component: resolve => require([\"../views/roles/index.vue\"], resolve),\n meta: {\n title: \"Permisos de Usuario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Roles\",\n href: \"#/roles-permisos\"\n }\n ]\n }\n },\n {\n path: \"/rol/crear\",\n component: resolve => require([\"../views/roles/form.vue\"], resolve),\n meta: {\n title: \"Permisos de Usuario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Roles\",\n href: \"#/rol/crear\"\n }\n ]\n }\n },\n {\n path: \"/rol/:id/editar\",\n component: resolve => require([\"../views/roles/form.vue\"], resolve),\n meta: {\n title: \"Permisos de Usuario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Roles\",\n href: \"#/rol/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/rol/:idv/ver\",\n component: resolve => require([\"../views/roles/form.vue\"], resolve),\n meta: {\n title: \"Permisos de Usuario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Roles\",\n href: \"#/rol/:idv/ver\"\n }\n ]\n }\n },\n\n // envio automatico de la cartera\n {\n path: \"/envio-cartera\",\n component: resolve =>\n require([\"../views/automatic-portfolio-delivery/index.vue\"], resolve),\n meta: {\n title: \"Envio Automatico de Cartera\",\n permission: \"Informe Automatico Cartera\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Envio Automatico de Cartera\",\n href: \"#/envio-cartera\"\n }\n ]\n }\n },\n\n // crear automatico de la cartera\n {\n path: \"/nuevo-envio-cartera\",\n component: resolve =>\n require([\n \"../views/automatic-portfolio-delivery/maintenance.vue\"\n ], resolve),\n meta: {\n title: \"Crear Configuracón Envio Automatico de Cartera\",\n permission: \"Informe Automatico Cartera\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Licencias\",\n href: \"#/licencias\"\n }\n ]\n }\n },\n {\n path: \"/licencias\",\n component: resolve => require([\"../views/licenses/index.vue\"], resolve),\n meta: {\n title: \"Licencias\",\n permission: \"Licencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Licencias\",\n href: \"#/licencias\"\n }\n ]\n }\n },\n {\n path: \"/impuestos\",\n component: resolve => require([\"../views/taxes/index.vue\"], resolve),\n meta: {\n title: \"Impuestos\",\n permission: \"Impuestos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Impuestos\",\n href: \"#/impuestos\"\n }\n ]\n }\n },\n {\n path: \"/impuestos/crear\",\n component: resolve => require([\"../views/taxes/tax-form.vue\"], resolve),\n meta: {\n title: \"Impuestos\",\n permission: \"Impuestos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Impuestos\",\n href: \"#/impuestos\"\n }\n ]\n }\n },\n {\n path: \"/impuestos/:id/editar\",\n component: resolve => require([\"../views/taxes/tax-form.vue\"], resolve),\n meta: {\n title: \"Impuestos\",\n permission: \"Impuestos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Impuestos\",\n href: \"#/impuestos\"\n }\n ]\n }\n },\n {\n path: \"/impuestos/:idv/ver\",\n component: resolve => require([\"../views/taxes/tax-form.vue\"], resolve),\n meta: {\n title: \"Impuestos\",\n permission: \"Impuestos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Impuestos\",\n href: \"#/impuestos\"\n }\n ]\n }\n },\n // promociones\n {\n path: \"/promociones\",\n component: resolve =>\n require([\"../views/promotions/index.vue\"], resolve),\n meta: {\n title: \"Promociones\",\n permission: \"Promociones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Promociones\",\n href: \"#/promociones\"\n }\n ]\n }\n },\n {\n path: \"/promociones/crear\",\n component: resolve =>\n require([\"../views/promotions/promotion-form.vue\"], resolve),\n meta: {\n title: \"Promociones\",\n permission: \"Promociones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Promociones\",\n href: \"#/promociones\"\n }\n ]\n }\n },\n {\n path: \"/promociones/:id/editar\",\n component: resolve =>\n require([\"../views/promotions/promotion-form.vue\"], resolve),\n meta: {\n title: \"Promociones\",\n permission: \"Promociones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Promociones\",\n href: \"#/promociones\"\n }\n ]\n }\n },\n {\n path: \"/promociones/:idv/ver\",\n component: resolve =>\n require([\"../views/promotions/promotion-form.vue\"], resolve),\n meta: {\n title: \"Promociones\",\n permission: \"Promociones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Promociones\",\n href: \"#/promociones\"\n }\n ]\n }\n },\n {\n path: \"/licencias/crear\",\n component: resolve =>\n require([\"../views/licenses/maintenance.vue\"], resolve),\n meta: {\n title: \"Licencias\",\n permission: \"Licencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Licencias\",\n href: \"#/licencias\"\n },\n {\n text: \"Crear Licencia\",\n href: \"#/licencias/crear\"\n }\n ]\n }\n },\n {\n path: \"/licencias/:id/editar\",\n component: resolve =>\n require([\"../views/licenses/maintenance.vue\"], resolve),\n meta: {\n title: \"Licencias\",\n permission: \"Licencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Licencias\",\n href: \"#/licencias\"\n },\n {\n text: \"Editar Licencia\",\n href: \"#/licencias/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/licencias/:idv/ver\",\n component: resolve =>\n require([\"../views/licenses/maintenance.vue\"], resolve),\n meta: {\n title: \"Licencias\",\n permission: \"Licencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Licencias\",\n href: \"#/licencias\"\n },\n {\n text: \"Detalle Licencia\",\n href: \"#/licencias/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/suscriptores\",\n component: resolve =>\n require([\"../views/subscribers/index.vue\"], resolve),\n meta: {\n title: \"Suscriptores\",\n permission: \"Suscriptores\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Suscriptores\",\n href: \"#/suscriptores\"\n }\n ]\n }\n },\n {\n path: \"/suscriptores/crear\",\n component: resolve =>\n require([\"../views/subscribers/wizarFormSubscriber.vue\"], resolve),\n meta: {\n title: \"Suscriptores\",\n permission: \"Suscriptores\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Suscriptores\",\n href: \"#/suscriptores\"\n },\n {\n text: \"Mantenimiento Suscriptores\",\n href: \"#/suscriptores/crear\"\n }\n ]\n }\n },\n {\n path: \"/suscriptores/:id/editar\",\n component: resolve =>\n require([\"../views/subscribers/wizarFormSubscriber.vue\"], resolve),\n meta: {\n title: \"Suscriptores\",\n permission: \"Suscriptores\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Suscriptores\",\n href: \"#/suscriptores\"\n },\n {\n text: \"Mantenimiento Suscriptores\",\n href: \"#/suscriptores/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/suscriptores/:idv/ver\",\n component: resolve =>\n require([\"../views/subscribers/wizarFormSubscriber.vue\"], resolve),\n meta: {\n title: \"Suscriptores\",\n permission: \"Suscriptores\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Suscriptores\",\n href: \"#/suscriptores\"\n },\n {\n text: \"Suscriptores\",\n href: \"#/suscriptores/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/tablas-parametros\",\n component: resolve =>\n require([\"../views/param-tables/index.vue\"], resolve),\n meta: {\n title: \"Tablas de parámetros\",\n permission: \"Tablas de parámetro\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tablas de parametros\",\n href: \"#/tablas-parametros\"\n }\n ]\n }\n },\n {\n path: \"/tablas-parametros/crear\",\n component: resolve =>\n require([\"../views/param-tables/maintenance.vue\"], resolve),\n meta: {\n title: \"Tablas de parámetros\",\n permission: \"Tablas de parámetro\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tablas de parametros\",\n href: \"#/tablas-parametros\"\n },\n {\n text: \"Crear Tabla de Parametros\",\n href: \"#/tablas-parametros/crear\"\n }\n ]\n }\n },\n {\n path: \"/contabilizacion-operaciones-inventario\",\n component: resolve =>\n require([\n \"../views/accounting-inventory-movements/Index.vue\"\n ], resolve),\n meta: {\n title: \"Contabilizacion Operaciones Inventario\",\n permission: \"\",\n breadcrumb: []\n }\n },\n {\n path: \"/tablas-parametros/:id/editar\",\n component: resolve =>\n require([\"../views/param-tables/maintenance.vue\"], resolve),\n meta: {\n title: \"Tablas de parámetros\",\n permission: \"Tablas de parámetro\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tablas de parametros\",\n href: \"#/tablas-parametros\"\n },\n {\n text: \"Editar Tabla de Parametros\",\n href: \"#/tablas-parametros/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/tablas-parametros/:idv/ver\",\n component: resolve =>\n require([\"../views/param-tables/maintenance.vue\"], resolve),\n meta: {\n title: \"Tablas de parámetros\",\n permission: \"Tablas de parámetro\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tablas de parametros\",\n href: \"#/tablas-parametros\"\n },\n {\n text: \"Detalle Tabla de Parametros\",\n href: \"#/tablas-parametros/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/tipos-de-comprobantes\",\n component: resolve =>\n require([\"../views/vouchers-types/index.vue\"], resolve),\n meta: {\n title: \"Tipos de comprobantes\",\n permission: \"Tipos de comprobantes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tipos de comprobantes\",\n href: \"#/tipos-de-comprobantes\"\n }\n ]\n }\n },\n {\n path: \"/tipos-de-comprobantes/crear\",\n component: resolve =>\n require([\"../views/vouchers-types/maintenance.vue\"], resolve),\n meta: {\n title: \"Tipos de comprobantes\",\n permission: \"Tipos de comprobantes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tipos de comprobantes\",\n href: \"#/tipos-de-comprobantes\"\n },\n {\n text: \"Crear Tipo de comprobante\",\n href: \"#/tipos-de-comprobantes/crear\"\n }\n ]\n }\n },\n {\n path: \"/tipos-de-comprobantes/:id/editar\",\n component: resolve =>\n require([\"../views/vouchers-types/maintenance.vue\"], resolve),\n meta: {\n title: \"Tipos de comprobantes\",\n permission: \"Tipos de comprobantes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tipos de comprobantes\",\n href: \"#/tipos-de-comprobantes\"\n },\n {\n text: \"Editar Tipo de comprobante\",\n href: \"#/tipos-de-comprobantes/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/tipos-de-comprobantes/:idv/ver\",\n component: resolve =>\n require([\"../views/vouchers-types/maintenance.vue\"], resolve),\n meta: {\n title: \"Tipos de comprobantes\",\n permission: \"Tipos de comprobantes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Tipos de comprobantes\",\n href: \"#/tipos-de-comprobantes\"\n },\n {\n text: \"Detalle Tipo de Comprobante\",\n href: \"#/tipos-de-comprobantes/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/medios-magneticos-parametros\",\n component: resolve => require([\"../views/magneticMedia/Index.vue\"], resolve),\n meta: {\n title: \"Medios Magneticos Parametros\",\n permission: \"Medios Magneticos Parametros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Medios Magneticos Parametros\",\n href: \"#/medios-magneticos-parametros\"\n }\n ]\n }\n },\n {\n path: \"/reporte-de-medios-magneticos\",\n component: resolve =>\n require([\"../reports-aggrid/views/ReportMagneticMedia/redirect.vue\"], resolve),\n meta: {\n title: \"Reporte de medios magneticos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte de cartera\",\n href: \"#/reporte-de-medios-magneticos\"\n }\n ]\n }\n },\n {\n path: \"/terceros\",\n // component: resolve => require(['../components/pages/gmaps.vue'], resolve),\n component: resolve => require([\"../views/contacts/index.vue\"], resolve),\n meta: {\n title: \"Terceros\",\n permission: \"Terceros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros\"\n }\n ]\n }\n },\n {\n path: \"/terceros/importar\",\n component: resolve =>\n require([\"../views/import-terceros/index.vue\"], resolve),\n meta: {\n title: \"Importar Terceros\",\n permission: \"Importar Terceros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Importar Terceros\",\n href: \"#/terceros/importar\"\n }\n ]\n }\n },\n {\n path: \"/terceros/crear\",\n component: resolve =>\n require([\"../views/contacts/maintenance.vue\"], resolve),\n meta: {\n title: \"Terceros\",\n permission: \"Terceros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros\"\n }\n ]\n }\n },\n {\n path: \"/terceros/:id/editar\",\n component: resolve =>\n require([\"../views/contacts/maintenance.vue\"], resolve),\n meta: {\n title: \"Terceros\",\n permission: \"Terceros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/terceros/:idv/ver\",\n component: resolve =>\n require([\"../views/contacts/maintenance.vue\"], resolve),\n meta: {\n title: \"Terceros\",\n permission: \"Terceros\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/proyecto\",\n component: resolve => require([\"../views/projects/index.vue\"], resolve),\n meta: {\n title: \"Proyecto\",\n permission: \"Proyecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Proyecto\",\n href: \"#/proyecto\"\n }\n ]\n }\n },\n {\n path: \"/proyecto/crear\",\n component: resolve =>\n require([\"../views/projects/maintenance.vue\"], resolve),\n meta: {\n title: \"Proyecto\",\n permission: \"Proyecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Proyecto\",\n href: \"#/proyecto\"\n }\n ]\n }\n },\n {\n path: \"/proyecto/:id/editar\",\n component: resolve =>\n require([\"../views/projects/maintenance.vue\"], resolve),\n meta: {\n title: \"Proyecto\",\n permission: \"Proyecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Proyecto\",\n href: \"#/proyecto\"\n }\n ]\n }\n },\n {\n path: \"/proyecto/:idv/ver\",\n component: resolve =>\n require([\"../views/projects/maintenance.vue\"], resolve),\n meta: {\n title: \"Proyecto\",\n permission: \"Proyecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Proyecto\",\n href: \"#/proyecto\"\n }\n ]\n }\n },\n {\n path: \"/municipios-y-ciudades\",\n component: resolve =>\n require([\"../views/municipalities-and-cities/index.vue\"], resolve),\n meta: {\n title: \"Municipios y Ciudades\",\n permission: \"Municipios y Ciudades\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Municipios y Ciudades\",\n href: \"#/municipios-y-ciudades\"\n }\n ]\n }\n },\n {\n path: \"/sedes\",\n component: resolve =>\n require([\"../views/branch-offices/index.vue\"], resolve),\n meta: {\n title: \"Sedes\",\n permission: \"Sedes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes\"\n }\n ]\n }\n },\n {\n path: \"/sedes/crear\",\n component: resolve =>\n require([\"../views/branch-offices/maintenance.vue\"], resolve),\n meta: {\n title: \"Sedes\",\n permission: \"Sedes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes\"\n }\n ]\n }\n },\n {\n path: \"/sedes/:id/editar\",\n component: resolve =>\n require([\"../views/branch-offices/maintenance.vue\"], resolve),\n meta: {\n title: \"Sedes\",\n permission: \"Sedes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/sedes/:idv/ver\",\n component: resolve =>\n require([\"../views/branch-offices/maintenance.vue\"], resolve),\n meta: {\n title: \"Sedes\",\n permission: \"Sedes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes\"\n },\n {\n text: \"Sedes\",\n href: \"#/sedes/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/lineas\",\n component: resolve => require([\"../views/lines/index.vue\"], resolve),\n meta: {\n title: \"Lineas\",\n permission: \"Lineas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas\"\n }\n ]\n }\n },\n {\n path: \"/lineas/crear\",\n component: resolve =>\n require([\"../views/lines/maintenance.vue\"], resolve),\n meta: {\n title: \"Lineas\",\n permission: \"Lineas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas\"\n }\n ]\n }\n },\n {\n path: \"/lineas/:id/editar\",\n component: resolve =>\n require([\"../views/lines/maintenance.vue\"], resolve),\n meta: {\n title: \"Lineas\",\n permission: \"Lineas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/lineas/:idv/ver\",\n component: resolve =>\n require([\"../views/lines/maintenance.vue\"], resolve),\n meta: {\n title: \"Lineas\",\n permission: \"Lineas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas\"\n },\n {\n text: \"Lineas\",\n href: \"#/lineas/:idv/ver\"\n }\n ]\n }\n },\n {\n path: '/jefaturas',\n component: resolve => require(['../views/leadership/index.vue'], resolve),\n meta: {\n title: 'Jefaturas',\n permission: 'Jefaturas',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/',\n }, {\n text: 'Administración Starcommerce',\n href: '#',\n }, {\n text: 'Jefaturas',\n href: '#/jefaturas',\n }]\n }\n },\n {\n path: '/jefaturas/crear',\n component: resolve => require(['../views/leadership/maintenance.vue'], resolve),\n meta: {\n title: 'Jefaturas',\n permission: 'Jefaturas',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/',\n }, {\n text: 'Administración Starcommerce',\n href: '#',\n }, {\n text: 'Jefaturas',\n href: '#/licencias',\n }, {\n text: 'Crear Jefatura',\n href: 'jefaturas/crear',\n }]\n }\n },\n {\n path: '/jefaturas/:idv/ver',\n component: resolve => require(['../views/leadership/maintenance.vue'], resolve),\n meta: {\n title: 'Jefaturas',\n permission: 'Jefaturas',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/',\n }, {\n text: 'Administración Starcommerce',\n href: '#',\n }, {\n text: 'Jefaturas',\n href: '#/jefaturas',\n }, {\n text: 'Detalle Licencia',\n href: '#/jefaturas/:idv/ver',\n }]\n }\n },\n {\n path: '/jefaturas/:id/editar',\n component: resolve => require(['../views/leadership/maintenance.vue'], resolve),\n meta: {\n title: 'Jefaturas',\n permission: 'Jefaturas',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/',\n }, {\n text: 'Administración Starcommerce',\n href: '#',\n }, {\n text: 'Jefaturas',\n href: '#/jefaturas',\n }, {\n text: 'Detalle Licencia',\n href: '#/jefaturas/:id/editar',\n }]\n }\n },\n {\n path: \"/usuarios\",\n component: resolve => require([\"../views/users/index.vue\"], resolve),\n meta: {\n title: \"Usuarios\",\n permission: \"Usuarios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Usuarios\",\n href: \"#/usuarios\"\n }\n ]\n }\n },\n {\n path: \"/usuarios/crear\",\n component: resolve =>\n require([\"../views/users/maintenance.vue\"], resolve),\n meta: {\n title: \"Usuarios\",\n permission: \"Usuarios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Usuarios\",\n href: \"#/licencias\"\n },\n {\n text: \"Crear Usuario\",\n href: \"usuarios/crear\"\n }\n ]\n }\n },\n {\n path: \"/usuarios/:id/editar\",\n component: resolve =>\n require([\"../views/users/maintenance.vue\"], resolve),\n meta: {\n title: \"Usuarios\",\n permission: \"Usuarios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Usuarios\",\n href: \"#/usuarios\"\n },\n {\n text: \"Detalle Licencia\",\n href: \"#/usuarios/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/usuarios/:idv/ver\",\n component: resolve =>\n require([\"../views/users/maintenance.vue\"], resolve),\n meta: {\n title: \"Usuarios\",\n permission: \"Usuarios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Usuarios\",\n href: \"#/usuarios\"\n },\n {\n text: \"Detalle Licencia\",\n href: \"#/usuarios/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"blank\",\n component: resolve =>\n require([\"../components/pages/blank.vue\"], resolve),\n meta: {\n title: \"Blank\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Extra Pages\",\n href: \"#\"\n },\n {\n text: \"Blank\",\n href: \"#/blank\"\n }\n ]\n }\n },\n {\n path: \"/marcas\",\n component: resolve => require([\"../views/brands/index.vue\"], resolve),\n meta: {\n title: \"Marcas\",\n permission: \"Marcas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas\"\n }\n ]\n }\n },\n {\n path: \"/marcas/crear\",\n component: resolve =>\n require([\"../views/brands/maintenance.vue\"], resolve),\n meta: {\n title: \"Marcas\",\n permission: \"Marcas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas\"\n }\n ]\n }\n },\n {\n path: \"/marcas/:id/editar\",\n component: resolve =>\n require([\"../views/brands/maintenance.vue\"], resolve),\n meta: {\n title: \"Marcas\",\n permission: \"Marcas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/marcas/:idv/ver\",\n component: resolve =>\n require([\"../views/brands/maintenance.vue\"], resolve),\n meta: {\n title: \"Marcas\",\n permission: \"Marcas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas\"\n },\n {\n text: \"Marcas\",\n href: \"#/marcas/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/categorias\",\n component: resolve =>\n require([\"../views/categories/index.vue\"], resolve),\n meta: {\n title: \"Categorias\",\n permission: \"Categorias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias\"\n }\n ]\n }\n },\n {\n path: \"/categorias/crear\",\n component: resolve =>\n require([\"../views/categories/maintenance.vue\"], resolve),\n meta: {\n title: \"Categorias\",\n permission: \"Categorias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias\"\n }\n ]\n }\n },\n {\n path: \"/categorias/:id/editar\",\n component: resolve =>\n require([\"../views/categories/maintenance.vue\"], resolve),\n meta: {\n title: \"Categorias\",\n permission: \"Categorias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/categorias/:idv/ver\",\n component: resolve =>\n require([\"../views/categories/maintenance.vue\"], resolve),\n meta: {\n title: \"Categorias\",\n permission: \"Categorias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias\"\n },\n {\n text: \"Categorias\",\n href: \"#/categorias/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/configuracion-menu\",\n component: resolve =>\n require([\"../views/menu/maintenance.vue\"], resolve),\n meta: {\n title: \"Configuración de menú\",\n permission: \"Configuración menú\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Configuración de menú\",\n href: \"#/configuracion-menu\"\n }\n ]\n }\n },\n {\n path: \"/banners\",\n component: resolve =>\n require([\"../views/banners_b2b/index.vue\"], resolve),\n meta: {\n title: \"Banners\",\n permission: \"Banners\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Banners\",\n href: \"#/banners\"\n }\n ]\n }\n },\n {\n path: \"/banners/crear\",\n component: resolve =>\n require([\"../views/banners_b2b/maintenance.vue\"], resolve),\n meta: {\n title: \"Banners\",\n permission: \"Banners\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Banners\",\n href: \"#/banners\"\n }\n ]\n }\n },\n {\n path: \"/documentos-inventario/:model_id\",\n component: resolve =>\n require([\"../views/base-documents/index.vue\"], resolve),\n props: true,\n meta: {\n title: \"\",\n permission: \"\",\n function_execute: async model_id => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id) {\n await $http.get(\"/api/modelos/\" + model_id).then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n\n if (model.doc_base_management !== 2) {\n return model.code + \" \" + model.description;\n }\n },\n parameter: \"model_id\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/documentos-inventario\"\n }\n ]\n }\n },\n {\n path: \"/documentos-por-autorizar/\",\n component: resolve =>\n require([\"../views/authorize_documents/index.vue\"], resolve),\n props: true,\n meta: {\n title: \"Documentos Por Autorizar\",\n permission: \"Banners\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Documentos Por Autorizar\",\n href: \"#/documentos-por-autorizar\"\n }\n ]\n }\n },\n {\n path: \"/autorizacion-de-documentos/\",\n component: resolve =>\n require([\"../views/authorize_documents/index.vue\"], resolve),\n props: true,\n meta: {\n title: \"Informe de documentos autorizados\",\n permission: \"Banners\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de documentos autorizados\",\n href: \"#/autorizacion-de-documentos\"\n }\n ]\n }\n },\n {\n path: \"/nuevo-informe\",\n component: resolve =>\n require([\"../views/nuevo-informe/index.vue\"], resolve),\n meta: {\n title: \"Nuevo Informe\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Nuevo Informe\",\n href: \"#/nuevo-informe\"\n }\n ]\n }\n },\n {\n path: \"/banners/:id/editar\",\n component: resolve =>\n require([\"../views/banners_b2b/maintenance.vue\"], resolve),\n meta: {\n title: \"Banners\",\n permission: \"Banners\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Banners\",\n href: \"#/banners\"\n },\n {\n text: \"Banners\",\n href: \"#/banners/:id/editar\"\n }\n ]\n }\n },\n {\n path: '/cargue-presupuesto',\n component: resolve => require(['../views/sales_budgets/maintenance.vue'], resolve),\n meta: {\n title: 'Cargue de Presupuesto',\n permission: 'Cargue Presupuesto',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'B2B',\n href: '#'\n },\n {\n text: 'Cargue de Presupuesto',\n href: '#/cargue_presupuesto'\n }\n ]\n }\n },\n {\n path: '/cargue-presupuesto-clientes',\n component: resolve => require(['../views/sales_budget_by_contacts_warehouses/maintenance.vue'], resolve),\n meta: {\n title: 'Cargue de Presupuesto por cliente',\n permission: 'Cargue Presupuesto',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'B2B',\n href: '#'\n },\n {\n text: 'Cargue de Presupuesto por cliente',\n href: '#/cargue_presupuesto'\n }\n ]\n }\n },\n {\n path: '/gestion-presupuesto',\n component: resolve => require(['../views/sales_budgets/report.vue'], resolve),\n meta: {\n title: 'Gestión presupuesto',\n permission: 'Gestión presupuesto',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Reportes',\n href: '#'\n },\n {\n text: 'Gestión presupuesto',\n href: '#/Gestión presupuesto'\n }\n ]\n }\n },\n {\n path: '/gestion-presupuesto-clientes',\n component: resolve => require(['../views/sales_budget_by_contacts_warehouses/report.vue'], resolve),\n meta: {\n title: 'Gestión presupuesto',\n permission: 'Gestión presupuesto',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Reportes',\n href: '#'\n },\n {\n text: 'Gestión presupuesto',\n href: '#/Gestión presupuesto'\n }\n ]\n }\n },\n {\n path: \"/ecommerce\",\n component: resolve =>\n require([\"../views/ecommerce/maintenance.vue\"], resolve),\n meta: {\n title: \"Portal Clientes\",\n permission: \"Portal clientes\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Portal Clientes\",\n href: \"#/ecommerce\"\n }\n ]\n }\n },\n {\n path: \"/cliente-prospecto\",\n component: resolve =>\n require([\"../views/ecommerce/prospective-client.vue\"], resolve),\n meta: {\n title: \"Cliente Prospecto\",\n permission: \"Formulario Cliente Prospecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Cliente Prospecto\",\n href: \"#/cliente Prospecto\"\n }\n ]\n }\n },\n {\n path: \"/gestion-de-cobranzas\",\n component: resolve =>\n require([\"../views/payment-managment/paymentManagment.vue\"], resolve),\n meta: {\n title: \"Gestion De Cobranzas\",\n permission: \"Gestion De Cobranza\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Terceros\",\n href: \"#/terceros\"\n }\n ]\n }\n },\n {\n path: \"/ruta-vendedor\",\n component: resolve =>\n require([\"../views/ecommerce/coordinate-seller.vue\"], resolve),\n meta: {\n title: \"Ruta vendedor\",\n permission: \"Ruta vendedor\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Ruta vendedor\",\n href: \"#/ruta-vendedor\"\n }\n ]\n }\n },\n {\n path: \"/seguimiento-vendedores\",\n component: resolve => require([\"../views/visits/index.vue\"], resolve),\n meta: {\n title: \"Visitas de vendedores\",\n permission: \"Visitas vendedor\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Visitas de vendedores\",\n href: \"#/seguimiento-vendedores\"\n }\n ]\n }\n },\n {\n path: \"/ficha-de-datos\",\n component: resolve =>\n require([\"../views/data_sheet/index.vue\"], resolve),\n meta: {\n title: \"Atributos Producto\",\n permission: \"Atributos Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"ficha-de-datos\",\n href: \"#/ficha-de-datos\"\n }\n ]\n }\n },\n {\n path: \"/ficha-de-datos/crear\",\n component: resolve =>\n require([\"../views/data_sheet/maintenance.vue\"], resolve),\n meta: {\n action: \"create\",\n permission: \"Atributos Producto\",\n title: \"Atributos Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Atributos Producto\",\n href: \"#/ficha-de-datos/crear\"\n }\n ]\n }\n },\n {\n path: \"/ficha-de-datos/:id/editar\",\n component: resolve =>\n require([\"../views/data_sheet/maintenance.vue\"], resolve),\n meta: {\n action: \"edit\",\n title: \"Atributos Producto\",\n permission: \"Atributos Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Atributos Producto\",\n href: \"#/ficha-de-datos/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/ficha-de-datos/:id/ver\",\n component: resolve =>\n require([\"../views/data_sheet/maintenance.vue\"], resolve),\n meta: {\n action: \"view\",\n title: \"ficha-de-datos\",\n permission: \"Atributos Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"ficha-de-datos\",\n href: \"#/ficha-de-datos/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/productos\",\n component: resolve => require([\"../views/products/index.vue\"], resolve),\n meta: {\n title: \"Productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Productos\",\n href: \"#/productos\"\n }\n ]\n }\n },\n {\n path: \"/imagenes-productos\",\n component: resolve => require([\"../views/load_images/index.vue\"], resolve),\n meta: {\n title: \"Imágenes productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Imágenes productos\",\n href: \"#/imagenes-productos\"\n }\n ]\n }\n },\n {\n path: \"/productos/importar\",\n component: resolve =>\n require([\"../views/import-products/index.vue\"], resolve),\n meta: {\n title: \"Importar Productos\",\n permission: \"Importar Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Importar Productos\",\n href: \"#/productos/importar\"\n }\n ]\n }\n },\n {\n path: \"/productos/crear\",\n component: resolve =>\n require([\"../views/products/productForm.vue\"], resolve),\n meta: {\n title: \"Productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Productos\",\n href: \"#/productos\"\n }\n ]\n }\n },\n {\n path: \"/productos/:idv/ver\",\n component: resolve =>\n require([\"../views/products/productForm.vue\"], resolve),\n meta: {\n title: \"Productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Productos\",\n href: \"#/productos/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/productos/:id/editar\",\n component: resolve =>\n require([\"../views/products/productForm.vue\"], resolve),\n meta: {\n title: \"Productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Productos\",\n href: \"#/productos/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/fecha-firme\",\n component: resolve => require([\"../views/dateFirm/index.vue\"], resolve),\n meta: {\n title: \"Fecha Firme\",\n permission: \"FECHA FIRME\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Fecha Firme\",\n href: \"#/fecha-firme\"\n }\n ]\n }\n },\n {\n path: \"/activos-fijos\",\n component: resolve =>\n require([\"../views/fixAssets/index.vue\"], resolve),\n meta: {\n title: \"Activos Fijos\",\n permission: \"ACTIVOS FIJOS\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Activos Fijos\",\n href: \"#/activos-fijos\"\n }\n ]\n }\n },\n {\n path: \"/activos-fijos/crear\",\n component: resolve =>\n require([\"../views/fixAssets/maintenance.vue\"], resolve),\n meta: {\n title: \"Activos Fijos\",\n permission: \"ACTIVOS FIJOS\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Activos Fijos\",\n href: \"#/activos-fijos\"\n }\n ]\n }\n },\n {\n path: \"/activos-fijos/:idv/ver\",\n component: resolve =>\n require([\"../views/fixAssets/maintenance.vue\"], resolve),\n meta: {\n title: \"Activos Fijos\",\n permission: \"ACTIVOS FIJOS\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Activos Fijos\",\n href: \"#/activos-fijos/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/activos-fijos/:id/editar\",\n component: resolve =>\n require([\"../views/fixAssets/maintenance.vue\"], resolve),\n meta: {\n title: \"Activos Fijos\",\n permission: \"ACTIVOS FIJOS\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Activos Fijos\",\n href: \"#/activos-fijos/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/read-products\",\n component: resolve =>\n require([\"../views/products/list-products.vue\"], resolve),\n meta: {\n title: \"Lista de productos\",\n permission: \"Productos\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Lista de productos\",\n href: \"#/read-products\"\n }\n ]\n }\n },\n {\n path: \"/precios\",\n component: resolve => require([\"../views/prices/index.vue\"], resolve),\n meta: {\n title: \"Mant Precios\",\n permission: \"Mantenimiento Lista Precios\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Precios\",\n href: \"#/precios\"\n }\n ]\n }\n },\n {\n path: \"/documentos\",\n component: resolve =>\n require([\"../views/documents/index.vue\"], resolve),\n meta: {\n title: \"Documentos\",\n permission: \"Documentos\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Documentos\",\n href: \"#/documentos\"\n }\n ]\n }\n },\n {\n path: \"/inventarios\",\n component: resolve =>\n require([\"../views/inventories/index.vue\"], resolve),\n meta: {\n title: \"Inventarios\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Inventarios\",\n href: \"#/inventarios\"\n }\n ]\n }\n },\n {\n path: \"/envio-de-documentos-finalizados\",\n component: resolve =>\n require([\"../views/send_documents/index.vue\"], resolve),\n meta: {\n title: \"Documentos Pendientes de Envios (DIAN)\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"Documentos Pendientes de Envios (DIAN)\",\n href: \"#/envio-de-documentos-finalizados\"\n }\n ]\n }\n },\n {\n path: \"/operaciones\",\n component: resolve =>\n require([\"../views/types-operation/index.vue\"], resolve),\n meta: {\n title: \"Operaciones\",\n permission: \"Tipos de operaciones\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Operaciones\",\n href: \"#/operaciones\"\n }\n ]\n }\n },\n {\n path: \"/operaciones/crear\",\n component: resolve =>\n require([\"../views/types-operation/maintenance.vue\"], resolve),\n meta: {\n title: \"Operaciones\",\n permission: \"Tipos de operaciones\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Operaciones\",\n href: \"#/operaciones\"\n }\n ]\n }\n },\n {\n path: \"/operaciones/:idv/ver\",\n component: resolve =>\n require([\"../views/types-operation/maintenance.vue\"], resolve),\n meta: {\n title: \"Operaciones\",\n permission: \"Tipos de operaciones\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Operaciones\",\n href: \"#/operaciones\"\n }\n ]\n }\n },\n {\n path: \"/operaciones/:id/editar\",\n component: resolve =>\n require([\"../views/types-operation/maintenance.vue\"], resolve),\n meta: {\n title: \"Operaciones\",\n permission: \"Tipos de operaciones\",\n breadcrumb: [\n {\n text: \"DashBoard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Operaciones\",\n href: \"#/operaciones\"\n }\n ]\n }\n },\n {\n path: \"/modelos\",\n component: resolve => require([\"../views/models/index.vue\"], resolve),\n meta: {\n title: \"Modelos\",\n permission: \"Modelos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modelos\",\n href: \"#/modelos\"\n }\n ]\n }\n },\n {\n path: \"/modelos/crear\",\n component: resolve =>\n require([\"../views/models/modelForm.vue\"], resolve),\n meta: {\n title: \"Modelos\",\n permission: \"Modelos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modelos\",\n href: \"#/modelos\"\n }\n ]\n }\n },\n {\n path: \"/modelos/:idv/ver\",\n component: resolve =>\n require([\"../views/models/modelForm.vue\"], resolve),\n meta: {\n title: \"Modelos\",\n permission: \"Modelos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modelos\",\n href: \"#/modelos/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/modelos/:id/editar\",\n component: resolve =>\n require([\"../views/models/modelForm.vue\"], resolve),\n meta: {\n title: \"Modelos\",\n permission: \"Modelos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modelos\",\n href: \"#/modelos/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/reservar-producto\",\n component: resolve =>\n require([\"../views/reservationProduct/index.vue\"], resolve),\n meta: {\n title: \"Reservas\",\n permission: \"Reserva Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reservas\",\n href: \"#/reservar-producto\"\n }\n ]\n }\n },\n {\n path: \"/reservar-producto/editar/:id\",\n component: resolve =>\n require([\"../views/reservationProduct/form.vue\"], resolve),\n meta: {\n title: \"Reservas\",\n permission: \"Reserva Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reservas\",\n href: \"#/reservar-producto/editar/:id\"\n }\n ]\n }\n },\n {\n path: \"/reservar-producto/crear\",\n component: resolve =>\n require([\"../views/reservationProduct/form.vue\"], resolve),\n meta: {\n title: \"Reservas\",\n permission: \"Reserva Producto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reservas\",\n href: \"#/reservar-producto/crear\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado\",\n component: resolve =>\n require([\"../views/request-services/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado\"\n }\n ]\n }\n },\n {\n path: \"/incorporar-extracto-bancario\",\n component: resolve =>\n require([\"../views/incorporate-bank-statement/index.vue\"], resolve),\n meta: {\n title: \"Incorporar Extracto Bancario\",\n permission: \"Incorporar Extracto Bancario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Incorporar Extracto Bancario\",\n href: \"#/incorporar-extracto-bancario\"\n }\n ]\n }\n },\n {\n path: \"/incorporacion-de-consumos\",\n component: resolve =>\n require([\"../views/incorporation-consumption/index.vue\"], resolve),\n meta: {\n title: \"Incorporación de Consumos\",\n permission: \"Incorporacion de Consumos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Incorporación de Consumos\",\n href: \"#/incorporacion-de-consumos\"\n }\n ]\n }\n },\n {\n path: \"/incorporacion-usuarios-consumos\",\n component: resolve =>\n require([\"../views/incorporation-users-consumption/index.vue\"], resolve),\n meta: {\n title: \"Incorporacion Usuarios Consumos\",\n permission: \"Incorporacion Usuarios Consumos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Incorporación de Usuarios\",\n href: \"#/incorporacion-usuarios-consumos\"\n }\n ]\n }\n },\n {\n path: \"/informe-de-consumos\",\n component: resolve =>\n require([\"../views/report-consumption/index.vue\"], resolve),\n meta: {\n title: \"Informe de Consumos\",\n permission: \"Informe de Consumos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Consumos\",\n href: \"#/informe-de-consumos\"\n }\n ]\n }\n },\n {\n path: \"/conciliacion-bancaria\",\n component: resolve =>\n require([\"../reports-aggrid/views/BankConciliation/redirect.vue\"], resolve),\n meta: {\n title: \"Conciliacion Bancaria\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte de cartera\",\n href: \"#/conciliacion-bancaria\"\n }\n ]\n }\n },\n {\n path: \"/informe-de-productos-y-precios\",\n component: resolve =>\n require([\"../reports-aggrid/views/report-product-pricing/redirect.vue\"], resolve),\n meta: {\n title: \"Informe de Productos y Precios\",\n permission: \"Informe de Productos y Precios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Productos y Precios\",\n href: \"#/informe-de-productos-y-precios\"\n }\n ]\n }\n },\n {\n path: \"/whatsapp-api-demo\",\n component: resolve =>\n require([\"../views/whatsapp-api-demo/index.vue\"], resolve),\n meta: {\n title: \"Whatsapp Api Demo\",\n permission: \"Whatsapp Api Page\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Whatsapp Api Demo\",\n href: \"#/whatsapp-api-demo\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/cliente/:cliente\",\n component: resolve =>\n require([\"../views/request-headers/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/crear\",\n component: resolve =>\n require([\"../views/request-services/form/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/crear\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/:id/editar\",\n component: resolve =>\n require([\"../views/request-services/form/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/editar\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/:idae/actualizar-estado/:state?\",\n component: resolve =>\n require([\"../views/request-services/form/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/editar\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/:idin/ingresar\",\n component: resolve =>\n require([\"../views/request-services/form/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/editar\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/:idtd/tras-a-disp\",\n component: resolve =>\n require([\"../views/request-services/form/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/editar\"\n }\n ]\n }\n },\n {\n path: \"/solicitud-encabezado/:idv/ver\",\n component: resolve =>\n require([\"../views/request-products/index.vue\"], resolve),\n meta: {\n title: \"Solicitudes de servicio\",\n permission: \"Solicitudes de servicio\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Solicitudes de servicio\",\n href: \"#/solicitud-encabezado/:idv/ver\"\n }\n ]\n }\n },\n {\n path: \"/movimientos/:model_id_create/crear\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id_create => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id_create) {\n await $http\n .get(\"/api/modelos/\" + model_id_create)\n .then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id_create\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Facturacion\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n {\n path: \"/movimientos/:model_id_view/:document_id_view/ver\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id_view => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id_view) {\n await $http\n .get(\"/api/modelos/\" + model_id_view)\n .then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id_view\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos de inventario\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n {\n path: \"/movimientos/:model_id_update/:document_id_update/actualizar\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id_update => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id_update) {\n await $http\n .get(\"/api/modelos/\" + model_id_update)\n .then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id_update\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos de inventario\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n {\n path:\n \"/movimientos/:model_id_update_doc/:document_id/actualizar/documento\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id_update_doc => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id_update_doc) {\n await $http\n .get(\"/api/modelos/\" + model_id_update_doc)\n .then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id_update_doc\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos de inventario\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n {\n path: \"/movimientos/:model_id/:document_id\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id) {\n await $http.get(\"/api/modelos/\" + model_id).then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos de inventario\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n {\n path: \"/movimientos/:model_id\",\n component: resolve =>\n require([\"../views/inventory-movements/maintenance.vue\"], resolve),\n meta: {\n title: \"\",\n function_execute: async model_id => {\n let model = JSON.parse(localStorage.getItem(\"selectedModel\"));\n\n if (!model || +model.id !== +model_id) {\n await $http.get(\"/api/modelos/\" + model_id).then(response => {\n model = response.data.data;\n localStorage.setItem(\"selectedModel\", JSON.stringify(model));\n });\n }\n return model.code + \" \" + model.description;\n },\n parameter: \"model_id\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Facturacion\",\n href: \"#/movimiento-inventario\"\n }\n ]\n }\n },\n /**\n * Estas rutas van relacionadas al\n * modulo de pedidos retenidos\n *\n * @author Kevin Galindo\n */\n {\n path: \"/pedidos-retenidos/\",\n component: resolve =>\n require([\"../views/orders_retained/Index.vue\"], resolve),\n meta: {\n title: \"Pedidos retenidos\",\n permission: \"Pedidos Retenidos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"pedidos-retenidos\",\n href: \"#/pedidos-retenidos\"\n }\n ]\n }\n },\n /**\n * modulo de despachos\n * @author Kevin Galindo\n */\n {\n path: \"/despachos\",\n component: resolve => require([\"../views/despatch/Index.vue\"], resolve),\n meta: {\n title: \"Despachos\",\n permission: \"Despachos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Despachos\",\n href: \"#/despachos\"\n }\n ]\n }\n },\n {\n path: '/despachos-packing',\n component: resolve => require(['../views/despatch-packing/index.vue'], resolve),\n meta: {\n title: 'Despachos Packing',\n permission: 'Despachos',\n breadcrumb: [\n {\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Despachos Packing',\n href: '#/despachos-packing'\n }\n ]\n }\n },\n {\n path: \"/buscar-documentos\",\n component: resolve =>\n require([\n \"../views/inventory-movements/ListDocumentGlobal.vue\"\n ], resolve),\n meta: {\n title: \"Buscar Documentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Buscar Documentos\",\n href: \"#/buscar-documentos\"\n }\n ]\n }\n },\n {\n path: \"/buscar-documentos-masivo\",\n component: resolve =>\n require([\n \"../views/inventory-movements/ListDocumentGlobalMasive.vue\"\n ], resolve),\n meta: {\n title: \"Impresion Masiva Documentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Impresion Masiva Documentos\",\n href: \"#/buscar-documentos-masivo\"\n }\n ]\n }\n },\n {\n path: \"/masivo-correos-cliente\",\n component: resolve =>\n require([\n \"../views/masive-mails/ListDocumentGlobalMasive.vue\"\n ], resolve),\n meta: {\n title: \"Envio Masivo Cartera\",\n permission: \"Envio Masivo Cartera\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Envio Masivo Cartera\",\n href: \"#/buscar-documentos-masivo\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/comprobantes\",\n component: resolve =>\n require([\"../views/various-vouchers/index.vue\"], resolve),\n meta: {\n title: \"Comprobantes Contables\",\n permission: \"Comprobantes Contables\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/comprobantes/:id\",\n component: resolve =>\n require([\"../views/various-vouchers/index.vue\"], resolve),\n meta: {\n title: \"Comprobantes Contables\",\n permission: \"Comprobantes Contables\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/libro-auxiliar\",\n component: resolve =>\n require([\"../views/auxiliary-book/index.vue\"], resolve),\n meta: {\n title: \"Libro Auxiliar\",\n permission: \"libroAuxiliar\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/comparativo-de-cuentas\",\n component: resolve =>\n require([\"../views/account-comparison/index.vue\"], resolve),\n meta: {\n title: \"Comparativo de Cuentas\",\n permission: \"Comparativo de Cuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/trial-balance\",\n component: resolve =>\n require([\"../views/trial-balance/index.vue\"], resolve),\n meta: {\n title: \"Balance de Prueba\",\n permission: \"balancePrueba\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/trial-balance-contact\",\n component: resolve =>\n require([\"../views/trial-balance-contact/index.vue\"], resolve),\n meta: {\n title: \"Balance de Prueba por Tercero\",\n permission: \"balancePruebaTercero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/estados-financieros\",\n component: resolve =>\n require([\"../views/estados-financieros/index.vue\"], resolve),\n meta: {\n title: \"Estados Financieros Por Mes\",\n permission: \"estadoFinanciero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n\n /**\n *\n * @author Santiago\n */\n {\n path: \"/movimientos-cuenta-tercero\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/movements-account-contact/index.vue\"], resolve),\n meta: {\n title: \"Movimientos cuenta tercero\",\n permission: \"Movimientos cuenta tercero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/libro-auxiliar-por-tercero\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/auxiliary-book-contact/index.vue\"], resolve),\n meta: {\n title: \"Libro Auxiliar por Tercero\",\n permission: \"libroAuxiliarTerceero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/reporte-comisiones\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/report-commisions/index.vue\"], resolve),\n meta: {\n title: \"Informe de Recaudo\",\n permission: \"Informe de Recaudo\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/reporte-bo/:id_seller?/:id_contact?\",\n component: resolve =>\n require([\"../views/report-bo/index.vue\"], resolve),\n meta: {\n title: \"Reporte BO\",\n permission: \"Reporte BO\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/conciliacion-saldos\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/conciliation-balances/index.vue\"], resolve),\n meta: {\n title: \"Conciliación de Saldos WMS\",\n permission: \"Conciliacion Saldos WMS\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n\n /**\n *\n * @author Hom669\n */\n {\n path: \"/cargue-transportadora-guia\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/protractor-guide/index.vue\"], resolve),\n meta: {\n title: \"Cargue Transportadora y Guia\",\n permission: \"Cargue Transportadora y Guia\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/actualizacion-precios-contacto\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/prices-contacts/index.vue\"], resolve),\n meta: {\n title: \"Actualizacion Precios Por Tercero\",\n permission: \"Actualizacion Precios Por Tercero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/cuentas\",\n component: resolve => require([\"../views/accounts/index.vue\"], resolve),\n meta: {\n title: \"Plan de Cuentas\",\n permission: \"PlanCuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/job\",\n component: resolve =>\n require([\"../views/star-jobs/index.vue\"], resolve),\n meta: {\n title: \"Job\",\n permission: \"Jobs\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/job/:id\",\n component: resolve =>\n require([\"../views/star-jobs/index.vue\"], resolve),\n meta: {\n title: \"Job\",\n permission: \"Jobs\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/recepcion-documentos\",\n component: resolve =>\n require([\"../views/reception_documents/index.vue\"], resolve),\n meta: {\n title: \"Recepción de documentos\",\n // permission: \"Recepción de documentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Recepción de documentos\",\n href: \"#/recepcion-documentos\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/Aurora\",\n component: resolve => require([\"../views/Aurora/index.vue\"], resolve),\n meta: {\n title: \"Aurora\",\n permission: \"aurora\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/cuentas/crear\",\n component: resolve =>\n require([\"../views/accounts/maintenance.vue\"], resolve),\n meta: {\n title: \"Plan de Cuentas\",\n permission: \"PlanCuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/cuentas/:id_clone/clonar\",\n component: resolve =>\n require([\"../views/accounts/maintenance.vue\"], resolve),\n meta: {\n title: \"Plan de Cuentas\",\n permission: \"PlanCuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/cuentas/:id_edit/editar\",\n component: resolve =>\n require([\"../views/accounts/maintenance.vue\"], resolve),\n meta: {\n title: \"Plan de Cuentas\",\n permission: \"PlanCuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/traslado/:id/ver\",\n component: resolve => require([\"../views/transfer/index.vue\"], resolve),\n meta: {\n title: \"Traslado\",\n permission: \"Traslados\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n /**\n *\n * @author Santiago\n */\n {\n path: \"/borrar-erp/\",\n component: resolve =>\n require([\"../views/clear-erp/index.vue\"], resolve),\n meta: {\n title: \"Borrar erp\",\n permission: \"BorrarErp\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n // /**\n // *\n // * @author Santiago\n // */\n // {\n // path: \"/traslado/:ide/editar\",\n // component: resolve => require([\"../views/transfer/index.vue\"], resolve),\n // meta: {\n // title: \"Traslado\",\n // permission: \"Traslados\",\n // breadcrumb: [\n // {\n // text: \" Dashboard\",\n // href: \"#/\"\n // },\n // {\n // text: \"Administración Starcommerce\",\n // href: \"#\"\n // },\n // {\n // text: \"Sistema de inventarios\",\n // href: \"#/traslado\"\n // }\n // ]\n // }\n // },\n // /**\n // *\n // * @author Santiago\n // */\n {\n path: \"/traslado\",\n component: resolve => require([\"../views/transfer/index.vue\"], resolve),\n meta: {\n title: \"Traslado\",\n permission: \"Traslados\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/reporte-clientes-prospecto\",\n component: resolve => require([\"../views/report-prospective-client/index.vue\"], resolve),\n meta: {\n title: \"Reporte clientes prospecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte clientes prospecto\",\n href: \"#/reporte-clientes-prospecto\"\n }\n ]\n }\n },\n {\n path: \"/reporte\",\n component: resolve => require([\"../views/report/index.vue\"], resolve),\n meta: {\n title: \"Matriz dinámica\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Matriz dinámica\",\n href: \"#/reporte\"\n }\n ]\n }\n },\n /**\n *\n * @author Hom669\n */\n {\n path: \"/reporte-bo/:id_seller?/:id_contact?\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/report-bo/index.vue\"], resolve),\n meta: {\n title: \"Reporte BO\",\n permission: \"Reporte BO\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte BO\",\n href: \"#/reporte-bo\"\n }\n ]\n }\n },\n {\n path: \"/detalle-de-ventas\",\n component: resolve =>\n require([\"../views/sales-detail/index.vue\"], resolve),\n meta: {\n title: \"Reporte de Ventas Analitrix\",\n permission: \"Reporte de Ventas Analitrix\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte de Ventas Analitrix\",\n href: \"#/detalle-de-ventas\"\n }\n ]\n }\n },\n {\n path: \"/edad-inventario\",\n component: resolve =>\n require([\"../views/inventory-age/index.vue\"], resolve),\n meta: {\n title: \"Edad Inventario\",\n permission: \"Edad Inventario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Edad Inventario\",\n href: \"#/detalle-de-ventas\"\n }\n ]\n }\n },\n {\n path: \"/detalle-de-ventas-dashboard\",\n component: resolve => require([\"../views/sales-report/index.vue\"], resolve),\n meta: {\n title: \"Detalle de ventas - Dashboard\",\n permission: \"Detalle de ventas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Detalle de ventas - Dashboard\",\n href: \"#/detalle-de-ventas\"\n }\n ]\n }\n },\n {\n path: \"/reporte-de-cartera\",\n component: resolve =>\n require([\"../views/receivable/index.vue\"], resolve),\n meta: {\n title: \"Reporte de cartera\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte de cartera\",\n href: \"#/reporte-de-cartera\"\n }\n ]\n }\n },\n {\n path: '/proceso-de-pagos',\n component: resolve =>\n require(['../views/receivable/index_pp.vue'], resolve),\n meta: {\n title: 'Proceso de Pago',\n breadcrumb: [\n {\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Proceso de Pago',\n href: '#/proceso-de-pagos'\n }\n ]\n }\n },\n {\n path: '/comisiones-venta-marca',\n component: resolve =>\n require(['../views/commission-sale-brand/index.vue'], resolve),\n meta: {\n title: 'Comisiones x Venta x Marca',\n breadcrumb: [\n {\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Comisiones x Venta x Marca',\n href: '#/comisiones-venta-marca'\n }\n ]\n }\n },\n /**\n *\n * @author Daniel Grisales\n */\n {\n path: \"/reporte-inventario\",\n component: resolve =>\n require([\"../views/report-ir/index.vue\"], resolve),\n meta: {\n title: \"Reporte de Reposición de Inventario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reporte de Reposición de Inventario\",\n href: \"#/reporte-inventario\"\n }\n ]\n }\n },\n /**\n *\n * @author Daniel Grisales\n */\n {\n path: \"/movimientos-proyecto\",\n component: resolve =>\n require([\"../views/project-movements/index.vue\"], resolve),\n meta: {\n title: \"Movimientos por Proyecto\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos por Proyecto\",\n href: \"#/movimientos-proyecto\"\n }\n ]\n }\n },\n {\n path: \"/historico-por-documento\",\n component: resolve =>\n require([\"../views/historical-by-document/index.vue\"], resolve),\n meta: {\n title: \"Historico Por Documento\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Historico Por Documento\",\n href: \"#/historico-por-documento\"\n }\n ]\n }\n },\n {\n path: \"/saldos-contables\",\n component: resolve => require([\"../views/account-balance/index.vue\"], resolve),\n meta: {\n title: \"Saldos Contables\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Saldos Contables\",\n href: \"#/saldos-contables\"\n }\n ]\n }\n },\n {\n path: \"/actualizacion-masiva-saldos\",\n component: resolve =>\n require([\"../views/update_balances/index.vue\"], resolve),\n meta: {\n title: \"Actualización masiva de saldos\",\n permission: \"Actualización masiva de saldos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Actualización masiva de saldos\",\n href: \"#/actualizacion-masiva-saldos\"\n }\n ]\n }\n },\n {\n path: \"/traslado-rot/:id/ver\",\n component: resolve =>\n require([\"../views/transfer-rot/index.vue\"], resolve),\n meta: {\n title: \"Traslado Rot Gar\",\n permission: \"Traslados\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/traslado-rot\",\n component: resolve =>\n require([\"../views/transfer-rot/index.vue\"], resolve),\n meta: {\n title: \"Traslado Rot Gar\",\n permission: \"Traslados\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/kardex\",\n component: resolve => require([\"../views/kardex/index.vue\"], resolve),\n meta: {\n title: \"kardex\",\n permission: \"Kardex\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/kardex\"\n }\n ]\n }\n },\n {\n path: \"/kardex-consolidado\",\n component: resolve => require([\"../views/consolidated_kardex/index.vue\"], resolve),\n meta: {\n title: \"Kardex consolidado\",\n permission: \"Kardex consolidado\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/kardex-consolidado\"\n }\n ]\n }\n },\n {\n path: \"/detencion-inconsistencias\",\n component: resolve => require([\"../views/discount-inconsistencies/index.vue\"], resolve),\n meta: {\n title: \"Detencion de Inconsistencias\",\n permission: \"Detencion de Inconsistencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Detencion de Inconsistencias\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos\",\n component: resolve =>\n require([\"../views/discounts/index.vue\"], resolve),\n meta: {\n title: \"Descuentos\",\n permission: \"Descuentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos\"\n }\n ]\n }\n },\n {\n path: \"/detencion-inconsistencias\",\n component: resolve => require([\"../views/discount-inconsistencies/index.vue\"], resolve),\n meta: {\n title: \"Detencion de Inconsistencias\",\n permission: \"Detencion de Inconsistencias\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Detencion de Inconsistencias\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos/crear\",\n component: resolve => require([\"../views/discounts/form.vue\"], resolve),\n meta: {\n title: \"Crear Descuentos\",\n permission: \"Descuentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos/crear\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos/:id/editar\",\n component: resolve => require([\"../views/discounts/form.vue\"], resolve),\n meta: {\n title: \"Editar Descuentos\",\n permission: \"Descuentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos/:id/editar\"\n }\n ]\n }\n },\n // CustomerDiscountBrandAPIController\n {\n path: \"/descuentos-por-cliente-marca\",\n component: resolve =>\n require([\"../views/customerDiscountBrand/index.vue\"], resolve),\n meta: {\n title: \"Descuentos Por Cliente Marca\",\n permission: \"Descuentos Por Cliente Marca\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Descuentos Por Cliente Marca\",\n href: \"#/Descuentos Por Cliente Marca\"\n }\n ]\n }\n },\n {\n path: \"/descuentos-por-cliente-marca/crear\",\n component: resolve => require([\"../views/customerDiscountBrand/form.vue\"], resolve),\n meta: {\n title: \"Crear Descuento Por Cliente Marca\",\n permission: \"Descuentos Por Cliente Marca\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Crear Descuento Por Cliente Marca\",\n href: \"#/descuentos-por-cliente-marca/crear\"\n }\n ]\n }\n },\n {\n path: \"/descuentos-por-cliente-marca/:id/editar\",\n component: resolve => require([\"../views/customerDiscountBrand/form.vue\"], resolve),\n meta: {\n title: \"Editar Descuento Por Cliente Marca\",\n permission: \"Descuentos Por Cliente Marca\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Editar Descuento Por Cliente Marca\",\n href: \"#/descuentos-por-cliente-marca/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos-Pronto-Pago\",\n component: resolve =>\n require([\"../views/discounts-soon-payment/index.vue\"], resolve),\n meta: {\n title: \"Descuentos-Pronto-Pago\",\n permission: \"Descuentos pronto pago\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos-Pronto-Pago/crear\",\n component: resolve =>\n require([\"../views/discounts-soon-payment/form.vue\"], resolve),\n meta: {\n title: \"Crear Descuentos Pronto Pago\",\n permission: \"Descuentos pronto pago\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago/crear\"\n }\n ]\n }\n },\n {\n path: \"/Descuentos-Pronto-Pago/:id/editar\",\n component: resolve =>\n require([\"../views/discounts-soon-payment/form.vue\"], resolve),\n meta: {\n title: \"Editar Descuentos\",\n permission: \"Descuentos pronto pago\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago/:id/editar\"\n }\n ]\n }\n },\n\n {\n path: \"/Informe-Operaciones-Rango-Fecha\",\n component: resolve =>\n require([\"../views/operations-report/index.vue\"], resolve),\n meta: {\n title: \"Informe Operaciones Rango Fecha\",\n permission: \"Informe Operaciones Rango Fecha\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago/:id/editar\"\n }\n ]\n }\n },\n\n {\n path: \"/consulta-disponibilidad\",\n component: resolve =>\n require([\"../views/availability-inquiry/index.vue\"], resolve),\n meta: {\n title: \"Consulta Disponibilidad\",\n permission: \"Consulta Disponibilidad\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago/:id/editar\"\n }\n ]\n }\n },\n\n {\n path: \"/reconstructor-global\",\n component: resolve =>\n require([\"../views/rebuilder/index.vue\"], resolve),\n meta: {\n title: \"Reconstructor\",\n permission: \"Reconstructor\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/Descuentos-Pronto-Pago/:id/editar\"\n }\n ]\n }\n },\n {\n path: \"/informe-inventario\",\n component: resolve =>\n require([\"../views/inventory-report/index.vue\"], resolve),\n meta: {\n title: \"Inventario valorizado\",\n permission: \"Inventario valorizado\",\n breadcrumb: [\n {\n text: \"Informes\",\n href: \"#/\"\n },\n {\n text: \"Inventario valorizado\",\n href: \"#\"\n }\n ]\n }\n },\n {\n path: \"/sugerido-de-reposicion\",\n component: resolve =>\n require([\"../views/suggested_replacement/redirect.vue\"], resolve),\n meta: {\n title: \"Sugerido de Reposición\",\n permission: \"Sugerido de Reposición\",\n breadcrumb: [\n {\n text: \"Informes\",\n href: \"#/\"\n },\n {\n text: \"Sugerido de Reposición\",\n href: \"#\"\n }\n ]\n }\n },\n {\n path: \"/business_intelligence\",\n component: resolve =>\n require([\"../views/business_intelligence/index.vue\"], resolve),\n meta: {\n title: \"Business Intelligence\",\n permission: \"Business Intelligence\",\n breadcrumb: [\n {\n text: \"Informes\",\n href: \"#/\"\n },\n {\n text: \"Business Intelligence\",\n href: \"#\"\n }\n ]\n }\n },\n // informe usuarios\n {\n path: \"/informe-usuarios\",\n component: resolve =>\n require([\"../views/inventory-users/index.vue\"], resolve),\n meta: {\n title: \"Informe Terceros\",\n permission: \"Informe Terceros\",\n breadcrumb: [\n {\n text: \"Informes\",\n href: \"#/\"\n },\n {\n text: \"Inventario Terceros\",\n href: \"#\"\n }\n ]\n }\n },\n {\n path: \"/b2b/pedidos\",\n component: resolve =>\n require([\"../views/ordersManagement/index.vue\"], resolve),\n meta: {\n title: \"Gestión pedidos\",\n permission: \"Gestión de pedidos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Gestión pedidos\",\n href: \"/b2b/pedidos\"\n }\n ]\n }\n },\n {\n path: \"/b2b/pedidos-proveedor\",\n component: resolve =>\n require([\"../views/ordersProviderManagement/index.vue\"], resolve),\n meta: {\n title: \"Gestión pedidos Proveedor\",\n permission: \"Gestión de pedidos Proveedor\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Gestión pedidos Proveedor\",\n href: \"/b2b/pedidos-proveedor\"\n }\n ]\n }\n },\n {\n path: \"/b2b/promociones\",\n component: resolve =>\n require([\"../views/cashReceipts/index.vue\"], resolve),\n meta: {\n title: \"Recibos de caja\",\n permission: \"Recibos de caja\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"B2B\",\n href: \"#\"\n },\n {\n text: \"Recibos de caja\",\n href: \"/b2b/promociones\"\n }\n ]\n }\n },\n {\n path: \"/formas-pago\",\n component: resolve =>\n require([\"../views/payment-methods/index.vue\"], resolve),\n meta: {\n title: \"Formas de Pago\",\n permission: \"Formas de pago\",\n breadcrumb: []\n }\n },\n {\n path: \"/formas-pago/:idv/ver\",\n component: resolve =>\n require([\"../views/payment-methods/form.vue\"], resolve),\n meta: {\n title: \"Formas de Pago\",\n permission: \"Formas de pago\",\n breadcrumb: []\n }\n },\n {\n path: \"/formas-pago/:id/editar\",\n component: resolve =>\n require([\"../views/payment-methods/form.vue\"], resolve),\n meta: {\n title: \"Formas de Pago\",\n permission: \"Formas de pago\",\n breadcrumb: []\n }\n },\n {\n path: \"/formas-pago/crear\",\n component: resolve =>\n require([\"../views/payment-methods/form.vue\"], resolve),\n meta: {\n title: \"Formas de Pago\",\n permission: \"Formas de pago\",\n breadcrumb: []\n }\n },\n {\n path: \"/estado-cuenta\",\n component: resolve =>\n require([\"../views/customer_account_statement/index.vue\"], resolve),\n meta: {\n title: \"Estado Cuenta Cliente\",\n permission: \"Estado Cuenta\",\n breadcrumb: []\n }\n },\n {\n path: \"/certificado-retenciones\",\n component: resolve =>\n require([\"../views/certificates_retentions/index.vue\"], resolve),\n meta: {\n title: \"Certificados de Retenciones\",\n permission: \"Certificados de Retenciones\",\n breadcrumb: []\n }\n },\n {\n path: \"/factura-detalle/:id\",\n component: resolve =>\n require([\"../views/invoice_detail/index.vue\"], resolve),\n meta: {\n title: \"Detalle factura\",\n permission: \"Detalle factura\",\n breadcrumb: []\n }\n },\n {\n path: \"/cuadre-de-caja\",\n component: resolve =>\n require([\"../views/cash-register-square/Index.vue\"], resolve),\n meta: {\n title: \"Cuadre de Caja\",\n permission: \"\",\n breadcrumb: []\n }\n },\n {\n path: \"/cruce-de-saldos\",\n component: resolve =>\n require([\"../views/balance-crossing/index.vue\"], resolve),\n meta: {\n title: \"Cruce de Saldos\",\n permission: \"\",\n breadcrumb: []\n }\n },\n {\n path: \"/cruce-de-saldos/:id\",\n component: resolve =>\n require([\"../views/balance-crossing/index.vue\"], resolve),\n meta: {\n title: \"Cruce de Saldos\",\n permission: \"\",\n breadcrumb: []\n }\n },\n {\n path: \"/reasignacion-vendedor\",\n component: resolve =>\n require([\"../views/reassign_seller/index.vue\"], resolve),\n meta: {\n title: \"Reasignacion Vendedor\",\n permission: \"Reasignacion Vendedor\",\n breadcrumb: []\n }\n },\n {\n path: \"/auditoria/:id\",\n component: resolve => require([\"../views/audit/index.vue\"], resolve),\n meta: {\n title: \"Auditoria Factura\",\n breadcrumb: []\n }\n },\n // SellingPricesAboveCostAPIController\n {\n path: \"/precio-venta-sobre-costo\",\n component: resolve =>\n require([\"../views/selling-prices-above-cost/index.vue\"], resolve),\n meta: {\n title: \"Precio venta sobre costo\",\n permission: \"Precio venta sobre costo\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/precio-venta-sobre-costo\"\n }\n ]\n }\n },\n {\n path: \"/precio-venta-sobre-costo/crear\",\n component: resolve =>\n require([\"../views/selling-prices-above-cost/form.vue\"], resolve),\n meta: {\n title: \"Crear precio venta sobre costo\",\n permission: \"Precio venta sobre costo\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/precio-venta-sobre-costo/crear\"\n }\n ]\n }\n },\n {\n path: \"/precio-venta-sobre-costo/:id/editar\",\n component: resolve =>\n require([\"../views/selling-prices-above-cost/form.vue\"], resolve),\n meta: {\n title: \"Editar precio venta sobre costo\",\n permission: \"Precio venta sobre costo\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/precio-venta-sobre-costo/:id/editar\"\n }\n ]\n }\n },\n {\n path: '/agenda',\n component: resolve => require(['../views/schedule/index.vue'], resolve),\n meta: {\n title: 'Agenda',\n permission: 'Agenda',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Agenda',\n href: '#/agenda'\n }\n ]\n }\n },\n {\n path: '/punto-de-venta',\n component: resolve => require(['../views/point_of_sale/index.vue'], resolve),\n meta: {\n title: 'Punto de venta',\n permission: 'Punto de venta',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Punto de venta',\n href: '#/punto-de-venta'\n }\n ]\n }\n },\n {\n path: '/incorporar-operaciones-inventario',\n component: resolve => require(['../views/incorporate_inventory_operations/index.vue'], resolve),\n meta: {\n title: 'Importar operaciones de inventario',\n permission: 'Importar operaciones de inventario',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Importar operaciones de inventario',\n href: '#/incorporar-operaciones-inventario'\n }\n ]\n }\n },\n {\n path: '/incorporar-saldos-iniciales-inventario',\n component: resolve => require(['../views/inventory-initial-balance/index'], resolve),\n meta: {\n title: 'Importar Saldos Iniciales de Inventario',\n permission: 'Importar Saldos Iniciales de Inventario',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Importar Saldos Iniciales de Inventario',\n href: '#/incorporar-saldos-iniciales-inventario'\n }\n ]\n }\n },\n {\n path: \"/reporte-ventas-compras\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/report-sales-purchases/index.vue\"], resolve),\n meta: {\n title: \"Informe de compras-ventas\",\n permission: \"Informe de compras-ventas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n }\n ]\n }\n },\n {\n path: \"/actualizar-retenciones\",\n component: resolve => require([\"../views/update-withholdings/index.vue\"], resolve),\n meta: {\n title: \"Actualizar retenciones\",\n permission: \"Actualizar retenciones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Actualizar retenciones\",\n href: \"#/actualizar-retenciones\"\n }\n ]\n }\n },\n {\n path: \"/estado-cuenta-proveedor\",\n component: resolve =>\n require([\"../views/provider_account_statement/index.vue\"], resolve),\n meta: {\n title: \"Estado Cuenta Proveedor\",\n permission: \"Estado Cuenta Proveedor\",\n breadcrumb: []\n }\n },\n {\n path: \"/libro-diario\",\n component: resolve =>\n require([\"../views/accounting-detail-document/index.vue\"], resolve),\n meta: {\n title: \"Libro Diario\",\n permission: \"Libro Diario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Libro Diario\",\n href: \"#/libro-diario\"\n }\n ]\n }\n },\n {\n path: \"/reporte-comisiones-recaudo\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/report-commisions-collection/index.vue\"], resolve),\n meta: {\n title: \"Informe de Comisiones por Recaudo\",\n permission: \"Informe de Comisiones por Recaudo\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Comisiones por Recaudo\",\n href: \"#/reporte-comisiones-recaudo\"\n }\n ]\n }\n },\n {\n path: \"/integracion-b2c\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/b2c_integration/index.vue\"], resolve),\n meta: {\n title: \"Integración B2C\",\n permission: \"Integración B2C\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Integración B2C\",\n href: \"#/integracion-b2c\"\n }\n ]\n }\n },\n {\n path: \"/limpieza-informacion\",\n component: resolve => require([\"../views/delete-documents/index.vue\"], resolve),\n meta: {\n title: \"Modulo Limpieza de Información\",\n permission: \"Modulo Limpieza de Informacion\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modulo Limpieza de Información\",\n href: \"#/limpieza-informacion\"\n }\n ]\n\n }\n },\n {\n path: \"/modificar-documentos-inventario/:id?\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/manage-inventory-documents/index.vue\"], resolve),\n meta: {\n title: \"Modificacion Documentos Inventario\",\n permission: \"Modificacion Documentos Inventario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modificacion Documentos Inventario\",\n href: \"#/modificar-documentos-inventario\"\n }\n ]\n }\n },\n {\n path: '/reporte-conciliacion-inventario',\n component: resolve => require(['../views/inventory-reconciliation/index.vue'], resolve),\n meta: {\n title: 'Conciliación Inventario',\n permission: 'Conciliacion Inventario',\n breadcrumb: []\n }\n },\n {\n path: \"/incorporar-plan-cuentas\",\n component: resolve =>\n //window.open('/#/reportes/libro-auxiliar-tercero','_blank'),\n require([\"../views/import-accounts-plans/index.vue\"], resolve),\n\n meta: {\n title: \"Incorporar Plan de Cuentas\",\n permission: \"Incorporar Plan de Cuentas\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Incorporar Plan de Cuentas\",\n href: \"#/incorporar-plan-cuentas\"\n }\n ]\n }\n },\n {\n path: \"/reporte-resultado-integral-eri\",\n component: resolve => require([\"../views/result-report-eri/index.vue\"], resolve),\n meta: {\n title: \"Estado de resultado Integral ERI\",\n permission: \"Estado de resultado integral ERI\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Estado de resultado integral ERI\",\n href: \"#/reporte-resultado-integral-eri\"\n }\n ]\n }\n },\n {\n path: \"/reporte-saldos-por-tercero\",\n component: resolve => require([\"../views/balance-for-contacts/index\"], resolve),\n meta: {\n title: \"Informe De Saldos Por Tercero\",\n permission: \"Informe De Saldos Por Tercero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe De Saldos Por Tercero\",\n href: \"#/reporte-saldos-por-tercero\"\n\n },\n\n]\n }\n },\n\n {\n path: '/incorporar-movimientos-contables',\n component: resolve => require(['../views/incorporate_accounting_movements/index.vue'], resolve),\n meta: {\n title: 'Importar Saldos y Movimientos Contables',\n permission: 'Importar Saldos y Movimientos Contables',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Importar Saldos y Movimientos Contables',\n href: '#/incorporar-movimientos-contables'\n }\n ]\n }\n },\n {\n path: '/incorporar-formas-pago-documents',\n component: resolve => require(['../views/import-payment-methods-document/index.vue'], resolve),\n meta: {\n title: 'Incorporar Formas de Pago de Documentos',\n permission: 'Incorporar Formas de Pago de Documentos',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Incorporar Formas de Pago de Documentos',\n href: '#/incorporar-formas-pago-documents'\n }\n ]\n }\n },\n {\n path: \"/gestion-cotizaciones\",\n component: resolve => require([\"../views/quotations/index\"], resolve),\n meta: {\n title: \"Gestión de cotizaciones\",\n permission: \"Gestión de cotizaciones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Gestión de cotizaciones\",\n href: \"#/gestion-cotizaciones\"\n }\n ]\n },\n },\n {\n path: \"/reporte-excel-inventario\",\n component: resolve => require([\"../views/excel-inventory/index.vue\"], resolve),\n meta: {\n title: \"Excel Contable Inventario\",\n permission: \"Excel Contable Inventario\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Excel Contable Inventario\",\n href: \"#/reporte-saldos-por-tercero\"\n\n }\n ]\n }\n },\n\n {\n path: \"/consignacion-cheques\",\n component: resolve => require([\"../views/check-consignment/index.vue\"], resolve),\n meta: {\n title: \"Consignación De Cheques\",\n permission: \"Consignacion De Cheques\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Consignación De Cheques\",\n href: \"#/consignacion-cheques\"\n }\n ]\n }\n },\n {\n path: \"/cancelacion-saldos-menores\",\n component: resolve => require([\"../views/balance_cancelation/index.vue\"], resolve),\n meta: {\n title: \"Cancelación de Saldos Menores\",\n permission: \"Cancelacion de Saldos Menores\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Cancelación de Saldos Menores\",\n href: \"#/conicliacion-saldos-menores\"\n }\n ]\n }\n },\n {\n path: \"/limpieza-informacion\",\n component: resolve => require([\"../views/delete-documents/index.vue\"], resolve),\n meta: {\n title: \"Modulo Limpieza de Información\",\n /*permission: \"Modulo Limpieza de Informacion\",*/\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Modulo Limpieza de Información\",\n href: \"#/limpieza-informacion\"\n }\n ]\n }\n },\n {\n path: \"/re-clasificacion-cartera-alkostos\",\n component: resolve => require([\"../views/portfolio_reclassification/index.vue\"], resolve),\n meta: {\n title: \"Reclasificación Cartera Alkostos\",\n permission: \"Reclasificacion Cartera Alkostos\",\n\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Reclasificación Cartera Alkostos\",\n href: \"#/re-clasificacion-cartera-alkostos\"\n }\n ]\n }\n },\n {\n path: '/solicitud-garantias',\n component: resolve => require(['../views/guarantees_admin/index.vue'], resolve),\n meta: {\n title: 'Gestión Garantías y devoluciones',\n permission: 'Gestión Garantías y devoluciones',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Gestión Garantías y devoluciones',\n href: '#/solicitud-garantias'\n }\n ]\n }\n },\n {\n path: '/validacion-kardex',\n component: resolve => require(['../views/validate-kardex/index.vue'], resolve),\n meta: {\n title: 'Validacion kardex',\n permission: 'Validacion kardex',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n ]\n }\n },\n {\n path: \"/tabla-parametros/:table_id\",\n component: resolve =>\n require([\"../views/table-parameters/index.vue\"], resolve),\n props: true,\n meta: {\n title: \"\",\n permission: \"\",\n parameter: \"table_id\",\n function_execute: async table_id => {\n let table = JSON.parse(localStorage.getItem(\"selectedTableParams\"));\n\n if (!table || +table.id !== +table_id) {\n await $http.get(\"/api/tablas-parametros/\" + table_id).then(response => {\n table = response.data.data;\n console.log(table, response.data)\n localStorage.setItem(\"selectedTableParams\", JSON.stringify(table));\n });\n }\n return table.code_table + \"-\" + table.name_table;\n },\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/tabla-parametros\"\n }\n ]\n }\n },\n {\n path: '/datafonos',\n component: resolve => require(['../views/dataphones/index'], resolve),\n meta: {\n title: 'Configuración Datafonos',\n permission: 'Configuración Datafonos',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Configuración Datafonos',\n href: '#/solicitud-garantias'\n }\n ]\n }\n },\n {\n path: \"/datafonos/:idv/ver\",\n component: resolve =>\n require([\"../views/dataphones/form.vue\"], resolve),\n meta: {\n title: \"Configuración Datafonos\",\n permission: 'Configuración Datafonos',\n breadcrumb: []\n }\n },\n {\n path: \"/datafonos/:id/editar\",\n component: resolve =>\n require([\"../views/dataphones/form.vue\"], resolve),\n meta: {\n title: \"Configuración Datafonos\",\n permission: 'Configuración Datafonos',\n breadcrumb: []\n }\n },\n {\n path: \"/datafonos/crear\",\n component: resolve =>\n require([\"../views/dataphones/form.vue\"], resolve),\n meta: {\n title: \"Configuración Datafonos\",\n permission: 'Configuración Datafonos',\n breadcrumb: []\n }\n },\n {\n path: \"/reporte-maximos-minimos\",\n component: resolve => require([\"../views/report-max-min/index\"], resolve),\n meta: {\n title: \"Informe Máximos y Mínimos\",\n permission: \"Informe Máximos y Mínimos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe Máximos y Mínimos\",\n href: \"#/reporte-maximos-minimos\"\n\n },\n\n ]\n }\n },\n {\n path: \"/contact-balance\",\n component: resolve =>\n require([\"../views/contact-balance/index.vue\"], resolve),\n meta: {\n title: \"Balance por Tercero\",\n permission: \"Balance por Tercero\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Sistema de inventarios\",\n href: \"#/traslado\"\n }\n ]\n }\n },\n {\n path: \"/reporte-usuarios-documentos\",\n component: resolve => require([\"../views/report-user-documents/index\"], resolve),\n meta: {\n title: \"Movimientos de Usuarios / Documento\",\n permission: \"Movimientos de Usuarios\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Movimientos de Usuarios / Documento\",\n href: \"#/reporte-usuarios-documentos\"\n },\n ]\n }\n },\n {\n path: \"/actualizar-retenciones\",\n component: resolve => require([\"../views/update-withholdings/index.vue\"], resolve),\n meta: {\n title: \"Actualizar retenciones\",\n permission: \"Actualizar retenciones\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Actualizar retenciones\",\n href: \"#/actualizar-retenciones\"\n }\n ]\n }\n },\n {\n path: \"/reporte-traslados\",\n component: resolve => require([\"../views/report-transfers/index.vue\"], resolve),\n meta: {\n title: \"Informe de Traslados\",\n permission: \"Informe de Traslados\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Traslados\",\n href: \"#/reporte-traslados\"\n }\n ]\n }\n },\n {\n path: '/conceptos-contables',\n component: resolve => require(['../views/accounting_concepts/index'], resolve),\n meta: {\n title: 'Conceptos Contables',\n permission: 'Conceptos Contables',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Conceptos Contables',\n href: '#/conceptos-contables'\n }\n ]\n }\n },\n {\n path: \"/conceptos-contables/:idv/ver\",\n component: resolve =>\n require([\"../views/accounting_concepts/form\"], resolve),\n meta: {\n title: \"Conceptos Contables\",\n permission: 'Conceptos Contables',\n breadcrumb: []\n }\n },\n {\n path: \"/conceptos-contables/:id/editar\",\n component: resolve =>\n require([\"../views/accounting_concepts/form.vue\"], resolve),\n meta: {\n title: \"Conceptos Contables\",\n permission: 'Conceptos Contables',\n breadcrumb: []\n }\n },\n {\n path: \"/reposicion-puntos-de-venta\",\n component: resolve =>\n require([\"../views/replacement_points_of_sale/index.vue\"], resolve),\n meta: {\n title: \"Reposición por punto de venta\",\n permission: 'REPOSICIÓN POR PUNTO DE VENTA',\n breadcrumb: []\n }\n },\n {\n path: \"/conceptos-contables/crear\",\n component: resolve =>\n require([\"../views/accounting_concepts/form.vue\"], resolve),\n meta: {\n title: \"Conceptos Contables\",\n permission: 'Conceptos Contables',\n breadcrumb: []\n }\n },\n {\n path: \"/informe-documentos-pendientes-orden-despacho\",\n component: resolve =>\n require([\"../views/document-pending-dispatch-order/index.vue\"], resolve),\n meta: {\n title: \"Documentos Pendientes Orden Despacho\",\n permission: \"Documentos Pendientes Orden Despacho\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Documentos Pendientes Orden Despacho\",\n href: \"#/informe-documentos-pendientes-orden-despacho\"\n }\n ]\n }\n },\n {\n path: \"/novedades-caja\",\n component: resolve => require([\"../views/cash-registers-updates/index.vue\"], resolve),\n meta: {\n title: \"Caja y Novedades\",\n permission: \"Caja y Novedades\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Caja y Novedades\",\n href: \"#/novedades-caja\"\n }\n ]\n }\n },\n {\n path: \"/novedades-caja/crear\",\n component: resolve => require([\"../views/cash-registers-updates/cash-register-updates-form\"], resolve),\n meta: {\n title: \"Caja y Novedades\",\n permission: \"Caja y Novedades\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Caja y Novedades\",\n href: \"#/novedades-caja\"\n }\n ]\n }\n },\n {\n path: \"/novedades-caja/:id/editar\",\n component: resolve => require([\"../views/cash-registers-updates/cash-register-updates-form\"], resolve),\n meta: {\n title: \"Caja y Novedades\",\n permission: \"Caja y Novedades\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Caja y Novedades\",\n href: \"#/novedades-caja\"\n }\n ]\n }\n },\n {\n path: \"/novedades-caja/:idv/ver\",\n component: resolve => require([\"../views/cash-registers-updates/cash-register-updates-form\"], resolve),\n meta: {\n title: \"Caja y Novedades\",\n permission: \"Caja y Novedades\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Caja y Novedades\",\n href: \"#/novedades-caja\"\n }\n ]\n }\n },\n {\n path: \"/reportes/conciliacion-bancaria\",\n component: resolve =>\n require([\"../reports-aggrid/views/BankConciliation/redirect\"], resolve),\n meta: {\n title: \"Conciliacion Bancaria\",\n permission: \"Conciliacion Bancaria\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Conciliacion Bancaria\",\n href: \"#/reportes/conciliacion-bancaria\"\n }\n ]\n }\n },\n {\n path: \"/inventarios-ideales/importar\",\n component: resolve =>\n require([\"../views/import-ideal-balances/index.vue\"], resolve),\n meta: {\n title: \"Importar Inventarios Ideales\",\n permission: \"Importar Inventarios Ideales\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Importar Inventarios Idealess\",\n href: \"#/inventarios-ideales/importar\"\n }\n ]\n }\n },\n\n // envio automatico de la cartera\n {\n path: \"/reporte-relacion-documentos\",\n component: resolve =>\n require([\"../views/report-sales-referrals/index.vue\"], resolve),\n meta: {\n title: \"Informe de Relación de Documentos\",\n permission: \"Informe de Relación de Documentos\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Relación de Documentos\",\n href: \"#/informe-relacion-documentos\"\n }\n ]\n }\n },\n {\n path: '/inventario-fisico',\n component: resolve => require(['../views/physical-inventory/index'], resolve),\n meta: {\n title: 'Inventario Fisico',\n permission: 'Inventario Fisico',\n breadcrumb: [{\n text: ' Dashboard',\n href: '#/'\n },\n {\n text: 'Administración Starcommerce',\n href: '#'\n },\n {\n text: 'Inventario Fisico',\n href: '#/inventario-fisico'\n }\n ]\n }\n },\n {\n path: \"/reporte-logs\",\n component: resolve =>\n require([\"../views/logs-report/index.vue\"], resolve),\n meta: {\n title: \"Reporte Logs\",\n permission: \"Informe Logs\",\n breadcrumb: [\n {\n text: \" Dashboard\",\n href: \"#/\"\n },\n {\n text: \"Administración Starcommerce\",\n href: \"#\"\n },\n {\n text: \"Informe de Relación de Documentos\",\n href: \"#/informe-logs\"\n }\n ]\n }\n },\n ]\n },\n {\n path: \"/500\",\n component: resolve => require([\"../components/pages/500.vue\"], resolve),\n meta: {\n title: \"500\",\n breadcrumb: ``\n }\n },\n {\n path: \"/login\",\n component: resolve => require([\"../components/pages/login.vue\"], resolve),\n meta: {\n title: \"Login\",\n breadcrumb: ``\n }\n },\n {\n path: \"/register\",\n component: resolve =>\n require([\"../components/pages/register.vue\"], resolve),\n meta: {\n title: \"Register\",\n breadcrumb: ``\n }\n },\n {\n path: \"/salvapantallas\",\n component: resolve =>\n require([\"../components/pages/lockscreen.vue\"], resolve),\n meta: {\n title: \"Lockscreen\",\n breadcrumb: ``\n }\n },\n {\n path: \"/olvide/contrasena\",\n component: resolve =>\n require([\"../components/pages/forgot_password.vue\"], resolve),\n meta: {\n title: \"Olvide mi contraseña\",\n breadcrumb: ``\n }\n },\n {\n path: \"/restablecer/contrasena/:token\",\n component: resolve =>\n require([\"../components/pages/reset_password.vue\"], resolve),\n meta: {\n title: \"Restablecer contraseña\",\n breadcrumb: ``\n }\n },\n {\n path: \"/cambiar/contrasena\",\n component: resolve =>\n require([\"../components/pages/change_password.vue\"], resolve),\n meta: {\n title: \"Cambiar contraseña\",\n breadcrumb: []\n }\n },\n {\n path: \"*\",\n component: resolve => require([\"../components/pages/404.vue\"], resolve),\n meta: {\n title: \"404\",\n breadcrumb: ``\n }\n }\n];\n\nlet routes = baseRoutes.concat(b2bRoutes);\n\nroutes = routes.concat(reports_routes);\nroutes = routes.concat(reports_point_of_sale);\n\nexport default routes;\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/routes.js","export default [\n {\n path: '/b2b/inicio',\n component: resolve => require(['./../default-b2b.vue'], resolve),\n children: [\n {\n path: '',\n component: resolve => require(['./../views/home.vue'], resolve),\n meta: {\n title: 'Inicio',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/tracking-pedidos',\n component: resolve => require(['./../views/orders-history.vue'], resolve),\n meta: {\n title: 'Historial de Pedidos',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/cartera',\n component: resolve => require(['./../views/receivable.vue'], resolve),\n meta: {\n title: 'Cartera',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/cartera_user',\n component: resolve => require(['./../views/receivable-contact.vue'], resolve),\n meta: {\n title: 'Cartera',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/catalogo',\n component: resolve => require(['./../views/catalog.vue'], resolve),\n meta: {\n title: 'Catálogo',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/productos-relativos',\n component: resolve => require(['./../views/relative-products-form.vue'], resolve),\n meta: {\n title: 'Catálogo',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/:id/detalle',\n component: resolve => require(['./../views/product-detail.vue'], resolve),\n meta: {\n title: 'Detalle de Producto',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/vendedor/pedidos/nuevo',\n component: resolve => require(['../views/redirection'], resolve),\n meta: {\n title: '',\n breadcrumb: []\n }\n },\n {\n path: '/b2b/portal-clientes',\n component: resolve => require(['../views/redirection'], resolve),\n meta: {\n title: '',\n breadcrumb: []\n }\n },\n {\n path: '/b2b/asistente-reposicion',\n component: resolve => require(['./../views/replacement-assistant.vue'], resolve),\n meta: {\n title: 'Asistente de Reposición',\n breadcrumb: [{\n text: ' Inicio',\n href: '/',\n }]\n }\n },\n {\n path: '/b2b/solicitud-garantias',\n component: resolve => require(['../views/guarantees/guarantees.vue'], resolve),\n meta: {\n title: 'Garantías y devoluciones'\n }\n }\n ]\n }\n];\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/router/index.js","export default [\n {\n path: '/reportes',\n component: resolve => require(['./../index.vue'], resolve),\n children: [\n {\n path: '/reportes/libro-auxiliar-tercero',\n component: resolve => require(['../views/Auxiliary-book-contact/index.vue'], resolve),\n meta: {\n title: 'Libro Auxiliar por Tercero',\n permission: \"libroAuxiliarTerceero\"\n }\n },\n {\n path: '/reportes/reporte-ventas-compras',\n component: resolve => require(['../views/report-sales-purchases'], resolve),\n meta: {\n title: 'Informe de compras-ventas',\n permission: \"Informe de compras-ventas\"\n }\n },\n {\n path: '/reportes/report-commisions',\n component: resolve => require(['../views/Report-commisions/index.vue'], resolve),\n meta: {\n title: 'Informe de Recaudo',\n permission: \"Informe de Recaudo\"\n }\n },\n {\n path: '/reportes/report-bo/:seller_id?/:contact_id?',\n component: resolve => require(['../views/report-bo/index.vue'], resolve),\n meta: {\n title: 'Reporte BO',\n permission: \"Reporte BO\"\n }\n },\n {\n path: '/reportes/report-conciliation-balances',\n component: resolve => require(['../views/Conciliation-balances/index.vue'], resolve),\n meta: {\n title: 'Conciliación de Saldos WMS',\n permission: \"Conciliacion Saldos WMS\"\n }\n },\n {\n path: '/reportes/movimientos-cuenta-tercero',\n component: resolve => require(['../views/movements-account-contact/index.vue'], resolve),\n meta: {\n title: 'Movimientos cuenta tercero',\n permission: \"Movimientos cuenta tercero\"\n }\n },\n {\n path: '/reportes/libro-auxiliar',\n component: resolve => require(['../views/Auxiliary-book/index.vue'], resolve),\n meta: {\n title: 'Libro Auxiliar',\n permission: \"libroAuxiliar\"\n }\n },\n {\n path: '/reportes/libro-diario',\n component: resolve => require(['../views/accountin-detail/index.vue'], resolve),\n meta: {\n title: 'Libro Diario',\n permission: \"Libro Diario\"\n }\n },\n {\n path: '/reportes/comparativo-de-cuentas',\n component: resolve => require(['../views/account-comparison/index.vue'], resolve),\n meta: {\n title: 'comparativo de cuentas',\n permission: \"Comparativo de Cuentas\"\n }\n },\n {\n path: '/reportes/trial-balance',\n component: resolve => require(['../views/Balance-test/index.vue'], resolve),\n meta: {\n title: 'Balance de Prueba',\n permission: \"balancePrueba\"\n }\n },\n {\n path: '/reportes/trial-balance-contact',\n component: resolve => require(['../views/Balance-test-contact/index.vue'], resolve),\n meta: {\n title: 'Balance de Prueba por Tercero',\n permission: \"balancePruebaTercero\"\n }\n },\n {\n path: '/reportes/matriz-dinamica',\n component: resolve => require(['../views/dynamic-matrix/index.vue'], resolve),\n meta: {\n title: 'Analytrix Ventas Ultimo Semestre',\n permission: \"Analytrix Ventas Ultimo Semestre\"\n }\n }, {\n path: '/reportes/analisis-ventas',\n component: resolve => require(['../views/sales-analysis-report/index.vue'], resolve),\n meta: {\n title: 'Reporte de análisis de ventas',\n permission: \"Analytrix Ventas Ultimo Semestre\"\n }\n },\n {\n path: '/reportes/detalle-matriz-dinamica',\n component: resolve => require(['../views/sales-products/index.vue'], resolve),\n meta: {\n title: 'Detalle matriz dinámica',\n permission: \"Analytrix Ventas Ultimo Semestre\"\n }\n },\n {\n path: '/reportes/reporte-de-cartera/:contact_warehouse_id?',\n component: resolve => require(['../views/report-receivable/index.vue'], resolve),\n meta: {\n title: 'Reporte de cartera',\n permission: \"Reporte de cartera\"\n }\n },\n {\n path: '/reportes/proceso-de-pagos/',\n component: resolve => require(['../views/report-receivable/index_pp.vue'], resolve),\n meta: {\n title: 'Proceso de Pagos',\n permission: \"Proceso de Pagos\"\n }\n },\n {\n path: '/reportes/reporte-de-medios-magneticos',\n component: resolve => require(['../views/ReportMagneticMedia/index.vue'], resolve),\n meta: {\n title: 'Reporte Medios Magneticos',\n permission: \"Reporte Medios Magneticos\"\n }\n },\n {\n path: '/reportes/informe-conciliacion-bancaria',\n component: resolve => require(['../views/BankConciliation/index.vue'], resolve),\n meta: {\n title: 'Conciliacion Bancaria',\n permission: \"Conciliacion Bancaria\"\n }\n },\n {\n path: '/reportes/sugerido-de-reposicion',\n component: resolve => require(['../views/suggested_replacement/index.vue'], resolve),\n meta: {\n title: 'Sugerido de Reposición',\n permission: \"Sugerido de Reposición\"\n }\n },\n {\n path: '/reportes/informe-de-productos-y-precios',\n component: resolve => require(['../views/report-product-pricing/index.vue'], resolve),\n meta: {\n title: 'Informe de Productos y Precios',\n permission: \"Informe de Productos y Precios\"\n }\n },\n {\n path: '/reportes/informe-de-consumos',\n component: resolve => require(['../views/report-consumption/index.vue'], resolve),\n meta: {\n title: 'Informe de Consumos',\n permission: \"Informe de Consumos\"\n }\n },\n {\n path: '/reportes/comisiones-venta-marca',\n component: resolve => require(['../views/report-commission-sale-brand/index.vue'], resolve),\n meta: {\n title: 'Comisiones x Venta x Marca',\n permission: \"Comisiones x Venta x Marca\"\n }\n },\n {\n path: '/reportes/reporte-inventario',\n component: resolve => require(['../views/report-ir/index.vue'], resolve),\n meta: {\n title: 'Reporte de Reposición de Inventario',\n permission: \"REPORTE RI\"\n }\n },\n {\n path: '/reportes/movimientos-proyecto',\n component: resolve => require(['../views/project-movements/index.vue'], resolve),\n meta: {\n title: 'Reporte de Movimientos por Proyecto',\n permission: \"Movimientos por Proyecto\"\n }\n },\n {\n path: '/reportes/historico-por-documento',\n component: resolve => require(['../views/report-historical-by-document/index.vue'], resolve),\n meta: {\n title: 'Historico Por Documento',\n permission: \"Historico Por Documento\"\n }\n },\n {\n path: '/reportes/saldos-contables',\n component: resolve => require(['../views/Account-balance/index.vue'], resolve),\n meta: {\n title: 'Saldos Contables',\n permission: \"Saldos Contables\"\n }\n },\n {\n path: '/reportes/estados-financieros',\n component: resolve => require(['../views/estados-financieros/index.vue'], resolve),\n meta: {\n title: 'Reporte de Estados Financieros Por Mes',\n permission: \"Analytrix Ventas Ultimo Semestre\"\n }\n },\n {\n path: '/reportes/detalle-de-ventas',\n component: resolve => require(['../views/sales-detail/index.vue'], resolve),\n meta: {\n title: 'Reporte de Ventas Analitrix',\n permission: \"Reporte de Ventas Analitrix\",\n }\n },\n {\n path: '/reportes/edad-inventario',\n component: resolve => require(['../views/inventory-age/index.vue'], resolve),\n meta: {\n title: 'Edad Inventario',\n permission: \"Edad Inventario\",\n }\n },\n {\n path: '/reportes/gestion-presupuesto',\n component: resolve => require(['../views/sales-budget/index.vue'], resolve),\n meta: {\n title: 'Gestión presupuesto',\n permission: 'Gestión presupuesto',\n }\n },\n {\n path: '/reportes/detalle-gestion-presupuesto',\n component: resolve => require(['../views/sales-budget-detail/index.vue'], resolve),\n meta: {\n title: 'Detalle gestión presupuesto',\n permission: 'Gestión presupuesto',\n }\n },\n {\n path: '/reportes/comisiones-venta-marca',\n component: resolve => require(['../views/report-commission-sale-brand/index.vue'], resolve),\n meta: {\n title: 'Comisiones x Venta x Marca',\n permission: \"Comisiones x Venta x Marca\"\n }\n },\n {\n path: '/reportes/gestion-presupuesto-clientes',\n component: resolve => require(['../views/sales_budget_by_contacts_warehouses/index.vue'], resolve),\n meta: {\n title: 'Gestión presupuesto',\n permission: 'Gestión presupuesto',\n }\n },\n {\n path: '/reportes/conciliacion-inventario',\n component: resolve => require(['../views/inventory-reconciliation/index.vue'], resolve),\n meta: {\n title: 'Conciliación Inventario',\n permission: 'Conciliacion Inventario',\n }\n },\n {\n path: '/reportes/reporte-comisiones-recaudo',\n component: resolve => require(['../views/Report-commisions-collection/index.vue'], resolve),\n meta: {\n title: 'Informe de Comisiones por Recaudo',\n permission: \"Informe de Comisiones por Recaudo\"\n }\n\n },\n {\n\n path: '/reportes/reporte-resultado-integral-eri',\n component: resolve => require(['../views/report-result-eri/index.vue'], resolve),\n meta: {\n title: 'Estado de resultado integral ERI',\n permission: \"Estado de resultado integral ERI\"\n\n }\n },\n\n {\n path: '/reportes/reporte-despachos',\n component: resolve => require(['../views/picking-report/index.vue'], resolve),\n meta: {\n title: 'Informe Despachos',\n }\n },\n {\n\n path: '/reportes/saldos-por-tercero',\n component: resolve => require(['../views/balance-for-contacts/index'], resolve),\n meta: {\n title: 'Informe De Saldos Por Tercero',\n permission: \"Informe De Saldos Por Tercero\"\n }\n },\n {\n path: '/reportes/solicitud-garantias',\n component: resolve => require(['../views/guarantees/index.vue'], resolve),\n meta: {\n title: 'Gestión de garantías'\n }\n },\n {\n path: '/reportes/informe-inventario',\n component: resolve => require(['../views/inventory-report/index.vue'], resolve),\n meta: {\n title: 'Inventario valorizado',\n permission: \"Inventario valorizado\"\n }\n },\n {\n path: '/reportes/consignacion-cheques',\n component: resolve => require(['../views/check-consignment/index.vue'], resolve),\n meta: {\n title: 'Consignación De Cheques',\n permission: \"Consignacion De Cheques\"\n }\n },\n {\n path: '/reportes/reporte-maximos-minimos',\n component: resolve => require(['../views/report-max-min/index'], resolve),\n meta: {\n title: 'Informe Máximos y Mínimos',\n permission: \"Informe Máximos y Mínimos\"\n }\n },\n {\n path: '/reportes/contact-balance',\n component: resolve => require(['../views/contact-balance/index.vue'], resolve),\n meta: {\n title: 'Balance por Tercero',\n permission: \"Balance por Tercero\"\n }\n },\n {\n path: '/reportes/reporte-usuarios-documentos',\n component: resolve => require(['../views/report-user-documents/index'], resolve),\n meta: {\n title: 'Movimientos de Usuarios / Documento',\n permission: \"Movimientos de Usuarios\"\n }\n },\n {\n path: '/reportes/reporte-operaciones-rango-fecha',\n component: resolve => require(['../views/report-date-range/index'], resolve),\n meta: {\n title: 'Informe Operaciones Rango Fecha',\n permission: \"Informe Operaciones Rango Fecha\"\n }\n },\n\n {\n path: '/reportes/reporte-traslados',\n component: resolve => require(['../views/report-transfers/index'], resolve),\n meta: {\n title: 'Informe de Traslados',\n permission: \"Informe de Traslados\"\n\n }\n },\n {\n path: '/reportes/reporte-relacion-documentos',\n component: resolve => require(['../views/report-sales-referrals/index'], resolve),\n meta: {\n title: \"Informe de Relación de Documentos\",\n permission: \"Informe de Relación de Documentos\",\n }\n },\n {\n path: '/reportes/reporte-documentos-pendientes-orden-despacho',\n component: resolve => require(['../views/report-document-pending-dispatch-order/index'], resolve),\n meta: {\n title: 'Documentos Pendientes Orden Despacho',\n permission: \"Documentos Pendientes Orden Despacho\"\n }\n },\n {\n path: '/reportes/reporte-logs',\n component: resolve => require(['../views/report-log/index'], resolve),\n meta: {\n title: 'Informe logs de integraciones',\n permission: \"Informe Logs\"\n }\n },\n ]\n }\n]\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/router/index.js","export default [\n {\n path: '/punto-de-venta',\n component: resolve => require(['./../index.vue'], resolve),\n children: [\n {\n path: '/punto-de-venta/pos',\n component: resolve => require(['../views/point_of_sale/index.vue'], resolve),\n meta: {\n title: 'Punto de venta',\n permission: 'Punto de venta'\n }\n },\n ]\n }\n];\n\n\n\n// WEBPACK FOOTER //\n// ./src/point_of_sale/router/index.js","let mutations = {\n left_menu(state, option) {\n if (option == \"open\") {\n state.left_open = true\n } else if (option == \"close\") {\n state.left_open = false\n } else if (option == \"toggle\") {\n state.left_open = !state.left_open\n }\n if (state.left_open) {\n document.getElementsByTagName(\"body\")[0].classList.remove(\"left-hidden\")\n setTimeout(() => {\n let filter_menu = document.getElementById(\"filter-menu\")\n filter_menu.select()\n }, 500)\n } else {\n document.getElementsByTagName(\"body\")[0].classList.add(\"left-hidden\")\n }\n },\n rightside_bar(state, option) {\n if (option == \"open\") {\n state.right_open = true\n } else if (option == \"close\") {\n state.right_open = false\n } else if (option == \"toggle\") {\n state.right_open = !state.right_open\n }\n if (state.right_open) {\n document.getElementsByTagName(\"body\")[0].classList.add(\"sidebar-right-opened\")\n } else {\n document.getElementsByTagName(\"body\")[0].classList.remove(\"sidebar-right-opened\")\n }\n },\n rightside_cart(state, option) {\n if (option == \"open\") {\n state.cart_open = true\n } else if (option == \"close\") {\n state.cart_open = false\n } else if (option == \"toggle\") {\n state.cart_open = !state.cart_open\n }\n if (state.cart_open) {\n document.getElementsByTagName(\"body\")[0].classList.add(\"sidebar-right-opened\")\n } else {\n document.getElementsByTagName(\"body\")[0].classList.remove(\"sidebar-right-opened\")\n }\n },\n routeChange(state, loader) {\n if (loader == \"start\") {\n state.preloader = true\n } else if (loader == \"end\") {\n state.preloader = false\n }\n },\n hideCart(state, option) {\n if (state.cart) {\n\n }\n\n },\n\n ADD_VISITED_VIEWS: (state, view) => {\n if (state.visitedViews.includes(view)) return\n state.visitedViews.push(view)\n },\n\n DEL_VISITED_VIEWS: (state, view) => {\n const index = state.visitedViews.indexOf(view)\n state.visitedViews.splice(index, 1)\n },\n\n}\nexport default mutations\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/mutations.js","export const defaultSelectedLicense = () => {\n return {\n license_code: '',\n start_date:'',\n end_date:'',\n maximum_users: '',\n trial_license: 1,\n range_date:[]\n }\n}\nexport default {\n licenses: [],\n selectedLicense: defaultSelectedLicense(),\n error: false,\n errorMessage: '',\n action: 'create',\n range_date:[],\n\n getLicenseEdit: true,\n\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'license_code',\n sort: 'ASC'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/licenses/state.js","import {defaultSelectedLicense} from \"./state\";\n\nexport function setLicenses (state, licenses) {\n state.licenses = licenses;\n}\n\n export function setLicense (state, license) { \n state.selectedLicense = license\n }\n\nexport function setAction(state, action){\n state.action = action;\n}\n\nexport function licensesError (state, payload) {\n state.error = true\n state.error = payload\n state.licenses = []\n}\n\nexport function setGetLicense(state, getLicenseEdit) {\n state.getLicenseEdit = getLicenseEdit;\n}\n\nexport function resetSelectedLicense(state) {\n Object.assign(state.selectedLicense, defaultSelectedLicense())\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter){\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage){\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page){\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy){\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort){\n state.params.sort = sort\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/licenses/mutations.js","import $http from '../../axios';\nimport { Notification } from 'element-ui';\n\nexport async function fetchLicenses ({commit, state}, requestParameters = {params: state.params}) {\n await $http.get('/api/licencias', requestParameters)\n .then((response) => {\n commit('setLicenses', response.data.data)\n })\n .catch ((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('licensesError', error.message)\n })\n}\nexport async function addLicense ({commit, dispatch, state}) {\n await $http.post('/api/licencias', state.selectedLicense)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Licencia ha sido creada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchLicenses')\n commit('setLicense', response.data.data)\n state.error = false\n })\n .catch ((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.license_code[0]\n state.error = true\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n commit('licensesError', error.message)\n })\n}\nexport async function getLicense({commit, state}, id) {\n if (state.getLicenseEdit) {\n await $http.get(`/api/licencias/${id}`)\n .then((response) => {\n commit('setLicense', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('licensesError', error.message)\n })\n\n commit('setGetLicense', false)\n }\n}\nexport async function updateLicense ({commit, state, dispatch}) {\n $http.put(`/api/licencias/${state.selectedLicense.id}`, state.selectedLicense)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Licencia ha sido actualizada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setLicense', response.data.data)\n })\n .catch ((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.license_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass:'notification-error'\n })\n commit('licensesError', error.message)\n })\n}\nexport async function removeLicense ({commit, dispatch}, license) {\n $http.delete(`/api/licencias/${license.id}`).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Licencia ha sido eliminada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchLicenses')\n })\n .catch ((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('licensesError', error.message)\n })\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({commit, dispatch}, filter){\n commit('setFilter', filter.target.value)\n dispatch('fetchLicenses')\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage){\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchLicenses')\n}\n\nexport function setPagePagination({commit, dispatch}, page){\n commit('setPage', parseInt(page))\n dispatch('fetchLicenses')\n}\n\nexport function setSortByPagination({commit, dispatch}, sortBy){\n commit('setSortBy', sortBy)\n // dispatch('fetchLicenses')\n}\n\nexport function setSortPagination({commit, dispatch}, sort){\n commit('setSort', sort)\n // dispatch('fetchLicenses')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/licenses/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/licenses/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\nimport $axios from '../../axios';\n\n\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/licenses/index.js","const tableParamTable = {\n loading: false,\n data: [],\n fields: [\n {\n field: 'code_table',\n name: 'Código',\n width: 100\n },\n {\n field: 'name_table',\n name: 'Nombre',\n width: 250\n },\n {\n field: 'actions',\n label: 'Opciones',\n width: 280\n },\n ],\n errors: {\n has: false,\n message: '',\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 10,\n search: '',\n currentPage: 1\n },\n}\n\nexport const defaultSelectedParamTable = () => {\n return {\n subscriber_id: '',\n code_table: '',\n name_table: '',\n desc_code_parameter: 'Código',\n desc_name_parameter: 'Descripcion',\n desc_alphanum_data_first: '',\n desc_alphanum_data_second: '',\n desc_alphanum_data_third: '',\n desc_numeric_data_first: '',\n desc_numeric_data_second: '',\n desc_numeric_data_third: '',\n desc_date_data_first: '',\n desc_date_data_second: '',\n desc_date_data_third: '',\n desc_image: '',\n observation: '',\n protected: 0,\n line: 0,\n subline: 0,\n city: 0,\n branchoffice_warehouses: 0,\n }\n}\n\nexport const defaultSelectedParameter = () => {\n return {\n code_parameter: '',\n name_parameter: '',\n alphanum_data_first: '',\n alphanum_data_second: '',\n alphanum_data_third: '',\n numeric_data_first: '',\n numeric_data_second: '',\n numeric_data_third: '',\n date_data_first: '',\n date_data_second: '',\n date_data_third: '',\n image: ''\n }\n}\nexport default {\n tableParamTable,\n paramTables: [],\n paramTablesList: [],\n selectedParamTable: defaultSelectedParamTable(),\n error: false,\n errorMessage: '',\n action: 'create',\n paramTableEdit: null,\n\n getParamTableEdit: true,\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'code_table',\n sort: 'ASC'\n },\n\n parameters: [],\n selectedParameter: defaultSelectedParameter(),\n actionParameter: 'create',\n\n getParameterEdit: true,\n lines :[],\n sublines :[],\n cities:[],\n branchOffices:[],\n}\n\n/* export default {\n parameters: [],\n selectedParameter: defaultSelectedParameter(),\n error: false,\n errorMessage: '',\n actionParameter: 'create',\n\n getParameterEdit: true,\n\n} */\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/param-tables/state.js","import { defaultSelectedParamTable, defaultSelectedParameter } from \"./state\";\n\nexport function setParamTables (state, data) {\n // Agregamos los datos de la tabla\n state.tableParamTable.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data\n\n // Agregamos los datos de la paginacion\n state.tableParamTable.pagination = data\n}\n\nexport function setParamTablesList (state, paramTablesList) {\n state.paramTablesList = paramTablesList;\n}\n\nexport function setParamTable (state, paramTable) {\n state.selectedParamTable = paramTable;\n}\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function paramTableError (state, payload) {\n state.error = true\n state.errorMessage = payload\n state.paramTable = []\n}\n\nexport function setGetParamTableEdit (state, getParamTableEdit) {\n state.getParamTableEdit = getParamTableEdit;\n}\n\nexport function resetSelectedParamTable (state) {\n let id = state.selectedParamTable.id\n Object.assign(state.selectedParamTable, defaultSelectedParamTable())\n state.selectedParamTable.id = id\n}\n\nexport function setParameters (state, parameters) {\n state.parameters = parameters;\n}\nexport function parameterError (state, payload) {\n state.error = true\n state.errorMessage = payload\n}\n\nexport function resetSelectedParameter (state) {\n let id = state.selectedParameter.id\n Object.assign(state.selectedParameter, defaultSelectedParameter())\n if (id) {\n state.selectedParameter.id = id\n }\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter (state, filter) {\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage (state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n state.params.page = page\n}\n\nexport function setSortBy (state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort (state, sort) {\n state.params.sort = sort\n}\n\n\nexport function setLines(state, lines){\n state.lines = lines\n}\nexport function setGroups(state, sublines){\n state.sublines = sublines\n}\nexport function setCities(state, cities) {\n state.cities = cities\n}\nexport function fetchBranchOfficeWarehouse (state, branchOffices){\n state.branchOffices = branchOffices\n }\n\n\n// WEBPACK FOOTER //\n// ./src/modules/param-tables/mutations.js","import $http from '../../axios';\nimport { Notification, MessageBox } from 'element-ui';\n//Obtener las tablas de parametros\nexport async function fetchParamTables ({ commit, state }, requestParameters = { params: state.params }) {\n\n // Loading\n state.tableParamTable.loading = true;\n\n // Definimos las opciones\n var options = '';\n options += `?page=${state.tableParamTable.options.currentPage}`;\n options += `&perPage=${state.tableParamTable.options.perPage}`;\n options += `&search=${state.tableParamTable.options.search}`;\n\n await $http.get('/api/tablas-parametros' + options)\n .then((response) => {\n commit('setParamTables', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('paramTableError', error.message)\n })\n}\n\n//Obtener las tablas de parametros neta\nexport async function fetchParamTablesList ({ commit, state }) {\n await $http.get('/api/tabla-parametros/listado')\n .then((response) => {\n commit('setParamTablesList', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Crear tabla de parametro\nexport async function addParamTable ({ commit, state }) {\n await $http.post('/api/tablas-parametros', state.selectedParamTable)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Tabla de parámetro ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setParamTable', response.data.data)\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.code_table[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n commit('paramTableError', error.message)\n })\n}\n\n//Consultar tabla de parametro por id\nexport async function getParamTable ({ commit, state }, id) {\n await $http.get(`/api/tablas-parametros/${id}`)\n .then((response) => {\n commit('setParamTable', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('paramTableError', error.message)\n })\n commit('setGetParamTableEdit', false)\n}\n\n//Actualizar tabla de parametro\nexport async function updateParamTable ({ commit, state }) {\n await $http.put(`/api/tablas-parametros/${state.selectedParamTable.id}`, state.selectedParamTable)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Tabla de parámetro ha sido actualizada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setParamTable', response.data.data)\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.code_table[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n commit('paramTableError', error.message)\n })\n}\n//Eliminar tabla de parametro\nexport async function removeParamTable ({ commit, dispatch }, paramTable) {\n\n await $http.delete(`/api/tablas-parametros/${paramTable.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Tabla de parámetro ha sido eliminada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchParamTables')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('paramTableError', error.message)\n })\n}\n\nexport async function fetchParameters ({ commit }, id) {\n await $http.get(`/api/parametros?paramtable_id=${id}`)\n .then((response) => {\n commit('setParameters', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('parameterError', error.message)\n })\n}\n\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchParamTables')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchParamTables')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchParamTables')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchParamTables')\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n commit('setSort', sort)\n // dispatch('fetchParamTables')\n}\n\n\nexport async function fetchLines ({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch('lines/fetchLines', { params: { paginate: false } }, { root: true })\n commit('setLines', rootState.lines.lines)\n }\n}\n\nexport async function fetchSublines ({ dispatch, state, rootState, commit }, requestParameters = { params: state.category_params }) {\n let params = {\n params: {\n lines: state.params.filter_lines,\n filter_brands: state.params.filter_brands,\n filter_groups: state.params.filter_groups\n }\n }\n\n await dispatch('sublines/listSublines', params, { root: true })\n commit('setGroups', rootState.sublines.sublines)\n}\nexport async function fetchCities({commit, state}, text) {\n let params = { department:state.params.departament, filter:text}\n await $http.get('/api/ciudades-departamentos', {params} )\n .then((response) => {\n commit('setCities', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchBranchOfficeWarehouse(\n { commit, state },\n ) {\n await $http\n .get(\"/api/sedes\")\n .then(response => {\n commit(\"fetchBranchOfficeWarehouse\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n\n// WEBPACK FOOTER //\n// ./src/modules/param-tables/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/param-tables/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/param-tables/index.js","export const defaultSelectedParameter = () => {\n return {\n code_parameter: '',\n name_parameter: '',\n alphanum_data_first: '',\n alphanum_data_second: '',\n alphanum_data_third: '',\n numeric_data_first: '',\n numeric_data_second: '',\n numeric_data_third: '',\n date_data_first: '',\n date_data_second: '',\n date_data_third: '',\n image: ''\n }\n}\nexport default {\n parameters: [],\n selectedParameter: defaultSelectedParameter(),\n error: false,\n errorMessage: '',\n actionParameter: 'create',\n\n getParameterEdit: true,\n parametersByTable: []\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/parameters/state.js","import {\n defaultSelectedParameter\n} from \"./state\"\n\nexport function setParameters(state, parameters) {\n state.parameters = parameters;\n}\n\nexport function setParameter(state, parameter) {\n state.selectedParameter = JSON.parse(JSON.stringify(parameter));\n}\n\nexport function setParameterBytable(state, parameter) {\n state.parametersByTable = parameter;\n}\n\nexport function setActionParameters(state, action) {\n state.actionParameter = action;\n}\n\nexport function parameterError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.parameter = []\n}\n\nexport function resetSelectedParameter(state) {\n let id = state.selectedParameter.id\n Object.assign(state.selectedParameter, defaultSelectedParameter())\n if (id) {\n state.selectedParameter.id = id\n }\n}\n\nexport function clearParametersByTable(state) {\n state.parametersByTable = []\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\n/* export function setFilter(state, filter){\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage){\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page){\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy){\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort){\n state.params.sort = sort\n} */\n\nexport function setImagenCarga(state, image) {\n state.selectedParameter.image = image\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/parameters/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Obtener los parametros de una tabla\nexport async function fetchParameters({ commit, rootState }) {\n await $http\n .get(\n `/api/parametros?paramtable_id=${rootState.paramTables.selectedParamTable.id}`\n )\n .then(response => {\n commit(\"setParameters\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"parameterError\", error.message);\n });\n}\n//Crear parametro\nexport async function addParameter({ commit, state, rootState, dispatch }) {\n state.selectedParameter.paramtable_id =\n rootState.paramTables.selectedParamTable.id;\n\n await $http\n .post(\"/api/parametros\", state.selectedParameter)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Parámetro ha sido creado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchParameters\");\n commit(\"resetSelectedParameter\");\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.code_parameter[0];\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n dangerouslyUseHTMLString: true,\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n });\n commit(\"parameterError\", error.message);\n });\n}\nexport async function getParameter({ commit, state }, id) {\n if (state.selectedParameter.id != id) {\n await $http\n .get(`/api/parametros/${id}`)\n .then(response => {\n commit(\"setParameter\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"parameterError\", error.message);\n });\n }\n}\n\n//Actualizar un parametro\nexport async function updateParameter({ commit, state, dispatch, rootState }) {\n // state.selectedParameter.paramtable_id = rootState.paramTables.selectedParamTable.id\n await $http\n .put(\n `/api/parametros/${state.selectedParameter.id}`,\n state.selectedParameter\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Parámetro ha sido actualizado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"setActionParameters\", \"create\");\n commit(\"resetSelectedParameter\");\n dispatch(\"fetchParameters\");\n state.error = false;\n })\n .catch(error => {\n let message;\n if (error.response.status == 422) {\n message = error.response.data.errors.code_parameter[0];\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n commit(\"parameterError\", error.message);\n });\n}\n\n//Eliminar un parametro\nexport async function removeParameter({ commit, dispatch }, parameter) {\n await $http\n .delete(`/api/parametros/${parameter.id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Parámetro ha sido eliminado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchParameters\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"parameterError\", error.message);\n });\n}\n\nexport async function listParameter(\n { commit, state },\n requestsParameters = {\n params: state.params\n }\n) {\n await $http\n .get(`/api/lista-param`, requestsParameters)\n .then(response => {\n commit(\"setParameters\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"parameterError\", error.message);\n });\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\n/* export function setFilterPagination({commit, dispatch}, filter){\n commit('setFilter', filter.target.value)\n dispatch('fetchParameters')\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage){\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchParameters')\n}\n\nexport function setPagePagination({commit, dispatch}, page){\n commit('setPage', parseInt(page))\n dispatch('fetchParameters')\n}\n\nexport function setSortByPagination({commit, dispatch}, sortBy){\n commit('setSortBy', sortBy)\n // dispatch('fetchParameters')\n}\n\nexport function setSortPagination({commit, dispatch}, sort){\n commit('setSort', sort)\n // dispatch('fetchParameters')\n}*/\n\nexport function imagenCarga({ commit }, image) {\n commit(\"setImagenCarga\", image);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/parameters/actions.js","export function getParams (state){\n return state.params\n}\n\nexport function parameters(state) {\n return 'ok'\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/parameters/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/parameters/index.js","//Crear tab\nexport function addVisitedViews(state, route) {\n let exists = true;\n for (let i = 0, len = state.tabs.length; i < len; i++) {\n if (state.tabs[i].meta.title == route.meta.title) {\n state.tabs.splice(i, 1, route);\n exists = false;\n break;\n }\n }\n\n if (exists) {\n state.tabs = state.tabs.slice(-9);\n state.tabs.push(route);\n }\n}\n\n//Eliminar un tab\nexport function removeVisitedViews(state, route) {\n for (var i = 0, len = state.tabs.length; i < len; i++) {\n if (state.tabs[i].meta.title == route.meta.title) {\n state.tabs.splice(i, 1);\n break;\n }\n }\n}\n\n//Eliminar un tab\nexport function removeLastVisitedViews(state, route) {\n const index = state.tabs.length -1\n state.tabs.splice(index, 1)\n}\n\n//Eliminar un tab en blanco\nexport function removeVisitedViewUndefined(state, route) {\n for (var i = 0, len = state.tabs.length; i < len; i++) {\n if (\n state.tabs[i].meta.title === undefined ||\n state.tabs[i].meta.title === null ||\n state.tabs[i].meta.title === \"undefined\"\n ) {\n state.tabs.splice(i, 1);\n break;\n }\n }\n}\n\nexport function removeInventoryMovimentRepeat(state, route) {\n let pathAdd = route.path.split(\"/\");\n var path = \"\";\n for (var i = 0, len = state.tabs.length; i < len; i++) {\n if (state.tabs[i].path !== undefined) {\n path = state.tabs[i].path.split(\"/\");\n\n if (path[1] === pathAdd[1]) {\n if (state.tabs[i].path !== route.path) {\n state.tabs.splice(i, 1);\n }\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/tabs/mutations.js","//Crear tab\nexport function addVisitedView({commit}, route) {\n commit('addVisitedViews', route)\n}\n\n//Eliminar un tab\nexport function removeVisitedView({commit}, route) {\n commit('removeVisitedViews', route)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/tabs/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/tabs/index.js","export default {\n tabs: [],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/tabs/state.js","export const defaultSelectedSubscriber = () => {\n return {\n license_id: '',\n identification_type: '',\n class_person: '',\n taxpayer_type: '',\n tax_regimen: '',\n company_type: '',\n identification: '',\n check_digit: '',\n name: '',\n short_name: '',\n email: '',\n web_page: '',\n id_legal_representative: '',\n name_legal_representative: '',\n logo: '',\n state: 1,\n type_transfer_utility:'',\n account_utility:'',\n account_lost:'',\n account_results:'',\n manager_wms:null,\n uvt_value: null,\n uvt_electronic_invoice: null,\n configuration: {\n product_digits: '',\n seller_management:0,\n brand_management: 0,\n line_management: 0,\n category_management:0,\n line_description: '',\n subline_description: '',\n category_description: '',\n subcategory_description: '',\n type_description: '',\n recalculate_sales_price: 0,\n percentage_minimum_variation: '',\n rounding_factor: '',\n type_voucher_inventory: '',\n account_entry:'',\n account_exit: '',\n consecutive_product_code: '',\n consecutive_transfer: '',\n consecutive_sales_orders: '',\n consecutive_purchase_orders: '',\n folios_electronic_invoice: '',\n last_date_close: '',\n firm_date: '',\n base_retention_source_products: '',\n percentage_retention_source_products: '',\n base_retention_source_services: '',\n percentage_retention_source_services: '',\n percentage_reteiva: '',\n code_activity_ica: '',\n code_ciiu: '',\n percentage_reteica: '',\n bill_to_pay: '',\n receivable: '',\n account_heritage_utility: '',\n account_heritage_lost: '',\n account_pyg_result_exercise: '',\n monthly_utility_transfer_or_lost: 0,\n annual_utility_transfer_or_lost: 0,\n type_voucher_result_exercise: '',\n first_logo: '',\n year_month_from_util: '',\n },\n branch_office: {\n name:'',\n address:'',\n telephone:'',\n fax:'',\n main:1,\n city_id:'',\n latitude:'',\n length:'',\n branchoffice_type:1,\n city: {\n department_id: \"\"\n }\n },\n firmDate:null,\n phone:'',\n sender_email:'',\n contact_id:null,\n customer_advance_account_id:null,\n active_collection: null,\n frequency_message: null,\n collection_message: null,\n users_notification_collection: [],\n type_of_business_process:null,\n authorizing_users_reception_docs_ids: [],\n b2c_integration_id: null,\n update_test_database: 0,\n departure_start_date: null,\n manage_niifs: false,\n wms_json_auth: {\n url: '',\n user: '',\n password: ''\n }\n }\n\n}\n\nexport default {\n subscribers: [],\n selectedSubscriber: defaultSelectedSubscriber(),\n error: false,\n errorMessage: '',\n action: 'create',\n check: null,\n accountss: [],\n departments: [],\n cities: [],\n licenses: [],\n fiscalResponsibilitys: [],\n identificationTypes: [],\n companyTypes: [],\n classPersons: [],\n taxpayerTypes: [],\n taxRegimens: [],\n getSubscriberEdit: true,\n parameters:[\n { paramtable_id: 1, tooltip: ''},\n { paramtable_id: 2, tooltip: ''},\n { paramtable_id: 4, tooltip: ''},\n { paramtable_id: 3, tooltip: ''},\n { paramtable_id: 11, tooltip: ''},\n ],\n params: {\n notAux: false,\n onlyAux : true,\n paginate: true,\n page: 1,\n perPage: 2000,\n filter: \"\",\n sortBy: \"id\",\n sort: \"ASC\"\n },\n params_income_account: {\n notAux: false,\n onlyAux : false,\n paginate: true,\n page: 1,\n perPage: 50,\n filter: \"\",\n sortBy: \"id\",\n sort: \"ASC\"\n },\n params_contacts: {\n only_active:true,\n filter: \"\",\n /*type: \"is_customer\",*/\n paginate: false\n },\n contacts: [],\n customerAdvanceAccounts: [],\n users: [],\n type_of_business_process:[],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subscribers/state.js","import { defaultSelectedSubscriber } from \"./state\";\n\nexport function setSubscribers (state, subscribers) {\n state.subscribers = subscribers;\n}\n\nexport function setSubscriber (state, subscriber) {\n state.selectedSubscriber = subscriber\n\n console.log(state.selectedSubscriber.manage_niifs);\n\n state.contacts = subscriber.contact ? [ subscriber.contact] : []\n state.customerAdvanceAccounts = subscriber.customer_advance_account ?[subscriber.customer_advance_account]:[]\n\n}\n\nexport function setAction(state, action){\n state.action = action;\n}\n\nexport function setAccountss (state, accountss){\n state.accountss = accountss\n}\n\nexport function subscribersError (state, payload) {\n state.error = true\n state.errorMessage = payload\n state.subscribers = []\n}\n\nexport function setGetSubscriberEdit(state, getSubscriberEdit) {\n state.getSubscriberEdit = getSubscriberEdit;\n}\n\n\nexport function resetSelectedSubscriber(state) {\n let id = state.selectedSubscriber.id\n Object.assign(state.selectedSubscriber, defaultSelectedSubscriber())\n state.selectedSubscriber.id = id\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter){\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage){\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page){\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy){\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort){\n state.params.sort = sort\n}\n\n//-------------------Suscriptores---------------------//\nexport function setLicenses(state, licenses) {\n state.licenses = licenses.map(p => {\n return {value: p.id, label: p.license_code}\n })\n}\n// Establece un valor para identificationTypes\nexport function setIdentificationTypes(state, identificationTypes) {\n state.identificationTypes = identificationTypes\n}\n\nexport function setPersonClasses(state, classPersons) {\n state.classPersons = classPersons\n}\n\n// Establece un valor para taxpayerTypes\nexport function setTaxpayerTypes(state, taxpayerTypes) {\n state.taxpayerTypes = taxpayerTypes\n}\n\n// Establece un valor para taxRegimes\nexport function setTaxRegimens(state, taxRegimens) {\n state.taxRegimens = taxRegimens\n}\n\n// Establece un valor para Tipo de empresa\nexport function setCompanyTypes(state, companyTypes) {\n state.companyTypes = companyTypes\n}\n\nexport function setLogo(state, logo) {\n state.selectedSubscriber.logo = logo\n}\n\nexport function setFirstLogo(state, first_logo) {\n state.selectedSubscriber.configuration.first_logo = first_logo\n}\n\n//----------------------------------Parametros----------------//\n// Establece un valor para departments\nexport function setDepartments(state, departments) {\n state.departments = departments.map(p => {\n return {value: p.id, label: p.department}\n })\n}\n\n// Establece un valor para cities\nexport function setCities(state, cities) {\n state.cities = cities.map(p => {\n return {value: p.id, label: p.city}\n })\n}\n\n\nexport function setTooltipParamTable(state, paramTable){\n state.parameters.map((p) => {\n if (p.paramtable_id == paramTable.id){\n p.tooltip = paramTable.code_table + ' - ' + paramTable.name_table\n }\n });\n\n }\nexport function setContacts(state, contacts) {\n console.log(contacts)\n state.contacts = contacts;\n}\n\nexport function setCustomerAdvanceAccount (state, accountss){\n state.customerAdvanceAccounts = accountss\n\n}\n\n/**\n * Establecer un valor para la variable users.\n */\nexport function setUsers(state, users) {\n state.users = users;\n}\n\nexport function setFiscalResponsibilitys(state, data) {\n state.fiscalResponsibilitys = data;\n}\n\nexport function setTypeOfBusinessProcess(state, type_of_business_process) {\n state.type_of_business_process = type_of_business_process;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subscribers/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subscribers/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subscribers/index.js","export const defaultSelectedVouchersType = () => {\n return {\n branchoffice_id: '',\n code_voucher_type: '',\n name_voucher_type: '',\n short_name: '',\n prefix: '',\n consecutive_number: '',\n electronic_bill: 0,\n unreferenced_document: 0,\n resolution: '',\n affectation: '',\n state: 1,\n only_consecutive: 0,\n range_from:null,\n range_up:null,\n origin_document: 0,\n print_firms:0,\n electronic_document_id: null,\n document_nature_id: null,\n select_seller: 0,\n select_correreria: 0,\n invoice_date:null,\n }\n}\nexport default {\n vouchersTypes: [],\n selectedVouchersType: defaultSelectedVouchersType(),\n error: false,\n errorMessage: '',\n action: 'create',\n branchOffices: [],\n electronic_documents: [],\n documents_nature: [],\n loading :false,\n getVouchesTypeEdit: true,\n\n\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'code_voucher_type',\n sort: 'ASC',\n branchoffice: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/vouchers-types/state.js","import {defaultSelectedVouchersType} from \"./state\";\n\nexport function setVouchersTypes(state, vouchersTypes){\n state.vouchersTypes = vouchersTypes;\n}\n\nexport function setVouchersType(state, vouchersType){\n state.selectedVouchersType = vouchersType;\n}\nexport function setAction(state, action){\n state.action = action;\n}\n\nexport function vouchersTypeError(state, payload){\n state.error = true\n state.errorMessage = payload\n state.vouchersTypes = []\n}\n\nexport function setGetVouchersTypeEdit(state, getVouchesTypeEdit) {\n state.getVouchesTypeEdit = getVouchesTypeEdit;\n}\n\nexport function setElectronicDocuments(state, electronic_documents) {\n state.electronic_documents = electronic_documents;\n}\nexport function setDocumentsNature(state, documents_nature) {\n state.documents_nature = documents_nature;\n}\n\n\nexport function resetSelectedVouchersType(state) {\n Object.assign(state.selectedVouchersType, defaultSelectedVouchersType())\n}\n//--------------------tipo de comprobante-----------------------------//\nexport function setBranchOffices(state, branchOffices) {\n state.branchOffices = branchOffices.map(p => {\n return {value: p.id, label: p.name}\n })\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter){\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage){\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page){\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy){\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort){\n state.params.sort = sort\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/vouchers-types/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/vouchers-types/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/vouchers-types/index.js","export const defaultSelectedBranchOffice = () => {\n return {\n code:null,\n subscriber_id: 1,\n name: '',\n address: '',\n telephone: '',\n fax: '',\n main: 0,\n city_id: '',\n latitude: '',\n length: '',\n branchoffice_type: 0,\n warehouses: [],\n minimum_order_amount:null,\n stop_invoice: 0,\n city: {\n department_id: \"\"\n },\n email:null,\n income_account_id :null,\n income_return_account_id :null,\n retIcaAccount: {},\n ret_ica_account_id:null\n }\n}\n\nexport const defaultSelectedWarehouse = () => {\n return {\n warehouse_code: '',\n warehouse_description: '',\n warehouse_status: 1,\n update_inventory: 0,\n // exits_no_exist: 0,\n negative_balances: 0,\n last_date_physical_inventory: '',\n number_physical_inventory: '',\n action: 'n',\n code_previous: null,\n manages_availability: 0,\n inventories_account:false,\n exits_no_exist:false\n }\n}\n\nexport const defaultSubscriberId = () => {\n\n let user = JSON.parse(localStorage.getItem('user'))\n\n if (user) {\n return user.subscriber_id\n }\n\n return ''\n\n}\n\n\nexport default {\n accountsInventory:[],\n paramsAccountInventory: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n branchOffices: [],\n ListBranchOffices: [],\n selectedBranchOffice: defaultSelectedBranchOffice(),\n selectedWarehouse: defaultSelectedWarehouse(),\n error: false,\n errorMessage: '',\n action: 'create',\n actionWarehouse: 'create',\n\n departments: [],\n cities: [],\n\n getBranchOfficeEdit: true,\n subscriber_id: defaultSubscriberId(),\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'id',\n sort: 'ASC'\n },\n branchOfficeNames: [],\n params_income_account: {\n notAux: false,\n onlyAux : false,\n paginate: true,\n page: 1,\n perPage: 50,\n filter: \"\",\n sortBy: \"id\",\n sort: \"ASC\"\n },\n incomingAccounts:[],\n accounts:[],\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branch-offices/state.js","import { defaultSelectedBranchOffice } from \"./state\";\n\nexport function setBranchOffices(state, branchOffices) {\n state.branchOffices = branchOffices;\n state.ListBranchOffices = branchOffices;\n}\n\n export async function setBranchOffice(state, branchOffice) {\n //state.incomingAccounts = branchOffice.income_account_id ? [branchOffice.income_account_id] : [];\n state.selectedBranchOffice = branchOffice;\n //state.branchOfficeNames= await branchOffice.map(item => item.name)\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function branchOfficeError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n state.branchOffice = [];\n}\n\nexport function setGetBranchOfficeEdit(state, getBranchOfficeEdit) {\n state.getBranchOfficeEdit = getBranchOfficeEdit;\n}\n\nexport function resetSelectedBranchOffice(state) {\n state.selectedBranchOffice = { ...defaultSelectedBranchOffice() };\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy;\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort;\n}\n\n//----------------------------------Parametros----------------//\n// Establece un valor para departments\nexport function setDepartments(state, departments) {\n state.departments = departments.map(p => {\n return { value: p.id, label: p.department };\n });\n}\n\n// Establece un valor para cities\nexport function setCities(state, cities) {\n state.cities = cities.map(p => {\n return { value: p.id, label: p.city };\n });\n}\n\n//------------------------ PESTAÑA BODEGAS------------------------//\n\nexport function setAccountsInventory(state, accountsInventory) {\n state.accountsInventory = accountsInventory;\n}\n\nexport function setWarehouses(state, warehouses) {\n state.selectedBranchOffice.warehouses = warehouses;\n}\n\nexport function setWarehouse(state, warehouse) {\n state.selectedWarehouse = warehouse;\n}\n\nexport function setActionWarehouses(state, action) {\n state.actionWarehouse = action;\n}\nexport function setIncomingAccounts (state, accounts){\n state.incomingAccounts = accounts\n\n}\n\nexport function setAccounts(state, accounts) {\n state.accounts = accounts\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branch-offices/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchAccountsInventory(\n { commit, state },\n requestParameters = { params: state.paramsAccountInventory }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsInventory\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices(\n { commit, state },\n requestParameters = { params: state.params }\n) {\n await $http\n .get(\"/api/sedes\", requestParameters)\n .then(response => {\n commit(\"setBranchOffices\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", error.message);\n });\n}\n\nexport async function getBranchs({commit}){\n await $http.get('/api/branchs').then((response)=>{\n commit('setBranchOffices',response.data);\n }).catch((error)=>{\n console.log(error);\n })\n}\n\n//Crear sucursal\nexport async function addBranchOffice({ commit, state }) {\n await $http\n .post(\"/api/sedes\", state.selectedBranchOffice)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La sede ha sido creada\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"resetSelectedBranchOffice\");\n state.error = false;\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: message,\n dangerouslyUseHTMLString: true,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", error.message);\n });\n}\n\n//Consultar sucursal por id\nexport async function getBranchOffice({ commit, state }, id) {\n if (state.getBranchOfficeEdit) {\n await $http\n .get(`/api/sedes/${id}`)\n .then(response => {\n commit(\"setBranchOffice\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", error.message);\n });\n commit(\"setGetBranchOfficeEdit\", false);\n }\n}\n\n//Actualizar sucursal\nexport function updateBranchOffice({ commit, state }) {\n $http\n .put(\n `/api/sedes/${state.selectedBranchOffice.id}`,\n state.selectedBranchOffice\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La sede ha sido actualizada\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"setBranchOffice\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", error.message);\n });\n}\n\n//Eliminar sucursal\nexport async function removeBranchOffice({ commit, dispatch }, branchOffice) {\n $http\n .delete(`/api/sedes/${branchOffice.id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La sede ha sido eliminada\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchBranchOffices\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", e.message);\n });\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchBranchOffices\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchBranchOffices\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchBranchOffices\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n // dispatch('fetchBranchOffices')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n // dispatch('fetchBranchOffices')\n}\n\n// Obtiene los departamentos\nexport async function fetchDepartments({ dispatch, state, rootState, commit }) {\n if (!state.departments.length) {\n await dispatch(\"departments/fetchDepartments\", {}, { root: true });\n commit(\"setDepartments\", rootState.departments.departments);\n }\n}\n\n// Obtiene las ciudades\nexport async function fetchCities({ dispatch, state, rootState, commit }) {\n let id = state.selectedBranchOffice.city.department_id;\n if (id) {\n await dispatch(\n \"cities/fetchCities\",\n { params: { department_id: id } },\n { root: true }\n );\n commit(\"setCities\", rootState.cities.cities);\n }\n}\n\n//------------------------ PESTAÑA BODEGAS------------------------//\n\nexport function addWareHouse({ state, commit }) {\n let warehouses = state.selectedBranchOffice.warehouses;\n state.selectedWarehouse.action = \"c\";\n warehouses.push(state.selectedWarehouse);\n commit(\"setWarehouses\", warehouses);\n}\n\nexport function updateWareHouse({ state, commit }) {\n let warehouses = state.selectedBranchOffice.warehouses.map(wh => {\n if (wh.warehouse_code == state.selectedWarehouse.warehouse_code) {\n if (wh.action != \"c\") {\n state.selectedWarehouse.action = \"u\";\n }\n return state.selectedWarehouse;\n } else {\n return wh;\n }\n });\n commit(\"setWarehouses\", warehouses);\n}\n\nexport function deleteWareHouse({ state, commit }, warehouse) {\n let warehouses = state.selectedBranchOffice.warehouses.map(wh => {\n if (wh.warehouse_code == warehouse.warehouse_code) {\n wh.action = \"d\";\n }\n return wh;\n });\n commit(\"setWarehouses\", warehouses);\n}\n//cuentas para select\nexport async function fetchIncomingAccounts(\n { commit, state },\n requestParameters = { params: state.params_income_account }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setIncomingAccounts\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n/**\n * Obtener todas las cuentas para pintar el select\n *\n * @author Oscar Sabogal\n */\nexport async function fetchIncomingAccountsLite(\n { commit, state },\n text\n) {\n await $http\n .get(\"/api/cuentas-lite\", text)\n .then(response => {\n commit(\"setIncomingAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchAccounts({commit, state}, text) {\n await $http\n .get(\"/api/cuentas-lite\", {params: {filter: text}})\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branch-offices/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branch-offices/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branch-offices/index.js","export function defaultSelectedProjects() {\n return {\n name: \"\",\n description: \"\",\n observation: \"\",\n code: \"\",\n contact_id: \"\",\n type_id: \"\",\n status: \"\"\n };\n}\n\nexport default {\n projects: [],\n projectsTypes: [\n {\n value:1,\n code:'01',\n label:'Importación'\n },\n {\n value:2,\n code:'05',\n label:'Otros'\n }\n ],\n errorForm: \"\",\n projectsStatus: [\n {\n value: 1,\n label: \"En Proceso\"\n },\n {\n value: 8,\n label: \"Suspendida\"\n },\n {\n value: 9,\n label: \"Cerrada\"\n }\n ],\n action: \"create\",\n paramsTable: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: \"\"\n },\n statusProjects: {\n \"1\": { name: \"En Proceso\" },\n \"8\": { name: \"Suspendida\" },\n \"9\": { name: \"Cerrada\" }\n },\n selectedProjects: defaultSelectedProjects(),\n projectsTable: {\n items: [],\n columns: [\n {\n name: \"Código\",\n field: \"code\",\n format: \"text\"\n },\n {\n name: \"Descripción\",\n field: \"description\",\n format: \"text\"\n },\n {\n name: \"Tipo Negocio\",\n field: \"type\",\n format: \"text\"\n },\n {\n name: \"Estado\",\n field: \"status\",\n format: \"text\"\n },\n {\n name: \"Opciones\",\n field: \"options\",\n format: \"text\"\n }\n ],\n pagination: {},\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: \"\",\n state: \"\"\n }\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/projects/state.js","import { defaultSelectedProjects } from \"./state\";\n\nexport function setProjects(state, projects) {\n state.projects = projects;\n}\nexport function setProjectsTable(state, projects) {\n state.projectsTable.items = projects.data;\n\n delete projects.data;\n\n state.projectsTable.pagination = projects;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function setProjectsTypes(state, data) {\n state.projectsTypes = data;\n}\n\nexport function setErrors(state, data) {\n state.errorForm = data;\n}\n\nexport function resetSelectedProjects(state) {\n state.selectedProjects = defaultSelectedProjects();\n}\n\nexport function setSelectedProjects(state, data) {\n state.selectedProjects = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/projects/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Obtener los marcas\nexport async function fetchProjects(\n { commit, state },\n requestParameters = {\n params: state.projectsTable.params\n }\n) {\n await $http\n .get(\"/api/proyectos\", requestParameters)\n .then(response => {\n if (requestParameters.params.paginate) {\n commit(\"setProjectsTable\", response.data.data);\n } else {\n commit(\"setProjects\", response.data.data);\n }\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function findProjectsById({ commit }, id) {\n await $http\n .get(`/api/proyectos/${id}`)\n .then(response => {\n commit(\"setSelectedProjects\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteProjects({ commit, dispatch }, id) {\n await $http\n .delete(`/api/proyectos/${id}`)\n .then(response => {\n dispatch(\"fetchProjects\");\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// crear\nexport async function createProjects({ commit, state }) {\n await $http\n .post(\"/api/proyectos\", state.selectedProjects)\n .then(response => {\n commit(\"setSelectedProjects\", response.data.data);\n commit(\"setErrors\", \"\");\n Notification.success({\n title: \"Exito!\",\n message: \"Se ha Creado el Negocio\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n commit(\"setErrors\", \"Error al crear el negocio.\");\n });\n}\n\n// actualizar\nexport async function updateProjects({ commit, state }) {\n await $http\n .put(`/api/proyectos/${state.selectedProjects.id}`, state.selectedProjects)\n .then(response => {\n commit(\"setSelectedProjects\", response.data.data);\n commit(\"setErrors\", \"\");\n Notification.success({\n title: \"Exito!\",\n message: \"Se ha Actualizado el Negocio\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n commit(\"setErrors\", \"Error al actualizar el negocio.\");\n });\n}\n\nexport async function fetchProjectsTypes({\n dispatch,\n state,\n rootState,\n commit\n}) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { idParamTable: 9, paginate: false } },\n { root: true }\n ); //TODO: Determinar el idParamTable\n commit(\"setProjectsTypes\", mapParameters(rootState.parameters.parameters));\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter, code: p.code_parameter };\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/projects/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/projects/index.js","export function setBranchofficeWarehouses(state, branchoffice_warehouses){\n state.branchoffice_warehouses = branchoffice_warehouses;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branchoffices-warehouses/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branchoffices-warehouses/index.js","\nexport default {\n branchoffice_warehouses: [],\n\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'id',\n sort: 'ASC'\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/branchoffices-warehouses/state.js","import axios from \"axios\";\nimport $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Obtener los terceros\nexport async function fetchContacts(\n { commit, state },\n requestParameters = {\n params: state.params\n }\n) {\n await $http\n .get(\"/api/terceros\", requestParameters)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message);\n });\n}\n\nexport async function fetchcountries({ commit, state }) {\n await $http\n .get(\"/api/pais\")\n .then(response => {\n commit(\"setCountries\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message);\n });\n}\n\n//Crear tercero\nexport async function addContact({ commit, state }) {\n state.selectedContact.identificationt = null;\n state.selectedContact.tax_payer_typep = null;\n await $http\n .post(\"/api/terceros\", state.selectedContact)\n .then(response => {\n commit(\"setContactFromVariousVouchers_contact\", response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: \"El tercero ha sido creado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setContact\", response.data.data);\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\";\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"contactError\", error.message);\n });\n}\n\n//Consultar tercero por id\nexport async function getContact({ commit, state }, id) {\n //if (state.getContactEdit) {\n\n await $http\n .get(`/api/terceros/${id}`)\n .then(response => {\n commit(\"setContact\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message?error.message:error,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message?error.message:error);\n });\n\n commit(\"setGetContactEdit\", false);\n\n //}\n}\n\n//Consultar tercero por identificación\nexport async function getContactForIdentification(\n { commit, state, rootState },\n identification\n) {\n await $http\n .get('/api/terceros/id/'+identification)\n .then(response => {\n if (response.data.success) {\n state.contactEdit = response.data.data.id;\n }\n })\n .catch(error => {\n state.contactEdit = null;\n commit(\"contactError\", error.message);\n });\n}\n\n//Actualizar tercero\nexport async function updateContact({ commit, state }) {\n state.selectedContact.erp_id = null;\n await $http\n .put(`/api/terceros/${state.selectedContact.id}`, state.selectedContact)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El tercero ha sido actualizado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setContact\", response.data.data);\n })\n .catch(error => {\n let message;\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\";\n }else if(error.response.status == 500){\n message = error.response.data;\n }else if(error.response.status == 406){\n console.log(error.response.data.message)\n message = error.response.data.message;\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"contactError\", error.message);\n });\n}\n\n//Eliminar tercero\nexport async function removeContact({ commit, dispatch }, contact) {\n await $http\n .delete(`/api/terceros/${contact.id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El tercero ha sido eliminado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchContacts\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"ContactError\", e.message);\n });\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {\n value: p.id,\n label: p.name_parameter\n };\n });\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchContacts\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchContacts\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchContacts\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n // dispatch('fetchContacts')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n // dispatch('fetchContacts')\n}\n\n//------------------------ PESTAÑA GENERAL------------------------//\n\n// Obtiene los tipos de documento\nexport async function fetchDocumentTypes({dispatch,state,rootState,commit}) {\n let params = {\n idParamTable: 1,\n paginate: false\n };\n\n if (!state.identificationTypes.length){\n await dispatch(\"parameters/listParameter\", {params},{root: true});\n commit(\"setIdentificationTypes\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las líneas\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch(\n \"lines/fetchLines\",\n {\n params: {\n idParamTable: 1,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\n// function mapLines(lines) {\n// \treturn lines.map(p => {\n// \t\treturn {value: p.id, label: p.line_description}\n// \t})\n// }\n\nexport async function getTooltips({ dispatch, state, rootState, commit }, id) {\n let parameter = state.parameters.find(p => p.paramtable_id === id);\n if (parameter && parameter.tooltip == \"\") {\n let getParamTableEdit = rootState.paramTables.getParamTableEdit;\n commit(\"paramTables/setGetParamTableEdit\", true, {\n root: true\n });\n await dispatch(\"paramTables/getParamTable\", id, {\n root: true\n });\n commit(\"setTooltipParamTable\", rootState.paramTables.selectedParamTable);\n commit(\"paramTables/setGetParamTableEdit\", getParamTableEdit, {\n root: true\n });\n }\n}\n\n// Obtiene los departamentos\nexport async function fetchDepartments({ dispatch, state, rootState, commit }, country_id = null) {\n if (!state.departments.length || country_id) {\n await dispatch(\n \"departments/fetchDepartments\",\n { params: { country_id : country_id } },\n { root: true }\n );\n commit(\"setDepartments\", rootState.departments.departments);\n }\n}\n\n// Obtiene las ciudades\nexport async function fetchCities(\n { dispatch, state, rootState, commit },\n payload\n) {\n // let id = false;\n let id = state.selectedContact.city.department_id;\n\n if (id) {\n await dispatch(\n \"cities/fetchCities\",\n { params: { department_id: id } },\n { root: true }\n );\n commit(\"setCities\", rootState.cities.cities);\n }\n /*if (payload) {\n if (payload.idDepart != \"\") {\n id = payload.idDepart;\n }\n }*/\n}\n\n// descargar plantilla xlxs\nexport async function downloadClientsTemplate({}) {\n let name = 'clientes.xlsx'\n await $http({\n url: '/api/descargar-plantilla-clientes',\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\n\n// Obtiene los puntos de venta\nexport async function fetchPointsOfSale({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.pointsOfSale.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los puntos de venta y el modulo\n commit('setPointsOfSale', ) */\n let pointsOfSale = [\n {\n value: 1,\n label: \"Punto de venta No. 1\"\n },\n {\n value: 2,\n label: \"Punto de venta No. 2\"\n }\n ];\n commit(\"setPointsOfSale\", pointsOfSale);\n }\n}\n\n// Obtiene las clases de personas\nexport async function fetchPersonClasses({ dispatch, state, rootState, commit}) {\n let params = {\n idParamTable: 2,\n paginate: false\n };\n\n if (!state.personClasses.length) {\n await dispatch(\"parameters/listParameter\", {params}, {root: true});\n commit(\"setPersonClasses\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los tipos de contribuyentes\nexport async function fetchTaxpayerTypes({dispatch, state, rootState, commit}) {\n let params = {\n idParamTable: 4,\n paginate: false\n };\n\n if (!state.taxpayerTypes.length) {\n await dispatch(\"parameters/listParameter\", {params}, {root: true});\n commit(\"setTaxpayerTypes\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los regimenes tributarios\nexport async function fetchTaxRegimes({ dispatch, state, rootState, commit }) {\n let params = {\n idParamTable: 3,\n paginate: false\n };\n\n if (!state.taxRegimes.length) {\n await dispatch(\"parameters/listParameter\", {params}, {root: true});\n commit(\"setTaxRegimes\", mapParameters(rootState.parameters.parameters));\n }\n\n}\n\n//------------------------ PESTAÑA CLIENTES------------------------//\n\n\n\n\n\n// Obtiene las clasificaciones comerciales de clientes\nexport async function fetchTradeClassifications ({ commit, state }, id) {\n if (!state.tradeClassificationCustomers.length) {\n await $http.get(`/api/parametros-por-codigo/081?sort_by=name_parameter`)\n .then((response) => {\n commit('setTradeClassificationCustomers', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n}\n\n// Obtiene las categorías de clientes\nexport async function fetchCategoriesCustomers({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.categoriesCustomers.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 5,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\n \"setCategoriesCustomers\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\n// Obtiene los vendedores de clientes\nexport async function fetchSellersCustomers({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.sellersCustomers.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los vendedores y el modulo\n commit('setSellersCustomers', ) */\n let sellersCustomers = [\n {\n value: 1,\n label: \"Vendedor No. 1\"\n },\n {\n value: 2,\n label: \"Vendedor No. 2\"\n }\n ];\n commit(\"setSellersCustomers\", sellersCustomers);\n }\n}\n\n// Obtiene las listas de precios de clientes\nexport async function fetchPriceListsCustomers({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.priceListsCustomers.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los vendedores y el modulo\n commit('setPriceListsCustomers', ) */\n let priceListsCustomers = [\n {\n value: 1,\n label: \"Lista de precios No. 1\"\n },\n {\n value: 2,\n label: \"Lista de precios No. 2\"\n }\n ];\n commit(\"setPriceListsCustomers\", priceListsCustomers);\n }\n}\n\n// Obtiene las zonas\nexport async function fetchZones({ dispatch, state, rootState, commit }) {\n if (!state.zones.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 6,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\"setZones\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport function logoChangeCustomer({ commit }, logo) {\n commit(\"setLogoCustomer\", logo);\n}\n\n//------------------------ PESTAÑA PROVEEDORES------------------------//\n\n// Obtiene las categorías de proveedores\nexport async function fetchCategoriesProviders({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.categoriesProviders.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 7,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\n \"setCategoriesProviders\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\n\n\n// Obtiene los vendedores de proveedores\nexport async function fetchSellersProviders({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.sellersProviders.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los vendedores y el modulo\n commit('setSellersProviders', ) */\n let sellersProviders = [\n {\n value: 1,\n label: \"Vendedor No. 1\"\n },\n {\n value: 2,\n label: \"Vendedor No. 2\"\n }\n ];\n commit(\"setSellersProviders\", sellersProviders);\n }\n}\n\n// Obtiene las listas de precios de proveedores\nexport async function fetchPriceListsProviders({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.priceListsProviders.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los vendedores y el modulo\n commit('setPriceListsProviders', ) */\n let priceListsProviders = [\n {\n value: 1,\n label: \"Lista de precios No. 1\"\n },\n {\n value: 2,\n label: \"Lista de precios No. 2\"\n }\n ];\n commit(\"setPriceListsProviders\", priceListsProviders);\n }\n}\n\n// Obtiene los bancos de pago\nexport async function fetchPaymentBanks({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.paymentBanks.length) {\n /* await dispatch('', {params: {paginate: false}}, {root: true}) TODO: Determinar el id de los bancos y el modulo\n commit('setPaymentBanks', ) */\n await $http\n .get(\"/api/parametros-por-tabla/119\")\n .then(response => {\n commit(\"setPaymentBanks\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message);\n });\n }\n}\n\nexport function logoChangeProvider({ commit }, logo) {\n commit(\"setLogoProvider\", logo);\n}\n\n//------------------------ PESTAÑA EMPLEADOS------------------------//\n\n// Obtiene las categorías de empleados\nexport async function fetchCategoriesEmployees({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.categoriesEmployees.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 8,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\n \"setCategoriesEmployees\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\n// Obtiene los centros de costos\nexport async function fetchCostCenters({ dispatch, state, rootState, commit }) {\n if (!state.costCenters.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 9,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\"setCostCenters\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las zonas de los vendedores\nexport async function fetchSellerZones({ dispatch, state, rootState, commit }) {\n if (!state.sellerZones.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 95,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\"setSellerZones\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los cargos\nexport async function fetchPositions({ dispatch, state, rootState, commit }) {\n if (!state.positions.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 10,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\"setPositions\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las responsabilidades fiscales\nexport async function fetchFiscalResponsibilitys({dispatch, state, rootState, commit}) {\n if (!state.fiscalResponsibilitys.length) {\n await dispatch(\"parameters/listParameter\", {params: {idParamTable: 96, paginate: false}}, {root: true});\n commit(\"setFiscalResponsibilitys\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport function photoChangeEmployee({ commit }, photo) {\n commit(\"setPhotoEmployee\", photo);\n}\n\n// Obtiene los códigos de ICA\nexport async function fetchIcaCodes({ dispatch, state, rootState, commit }) {\n if (!state.icaCodes.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 2,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\"setIcaCodes\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n//-----------------lista de contactos-------//\nexport async function listContact(\n { commit, state },\n requestsParameters = {\n params: state.params\n }\n) {\n await $http\n .get(`/api/terceros`, requestsParameters)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getContactsModal({ commit, state }) {\n await $http\n .get(\"api/contacts\")\n .then(response => {\n commit(\"setContactsModal\", response.data);\n commit(\"setGetContactEdit\", true);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", e.message);\n });\n}\n\nexport async function downloadExcelDataCredit({ commit }) {\n commit(\"setDownloadExcelDataCreditLoading\", true);\n await $http\n .get(\"/api/generar-reporte-datacredito\")\n .then(({ data }) => {\n let str =\n `${Object.keys(data[0])\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n\n let dataCsv = data.reduce((str, next) => {\n str +=\n `${Object.values(next)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n return str;\n }, str);\n\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(dataCsv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = \"terceros-datacredito.csv\";\n hiddenElement.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setDownloadExcelDataCreditLoading\", false);\n}\n\n// Obtiene las categorías de otros\nexport async function fetchCategoriesOthers({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.categoriesOthers.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 8,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\n \"setCategoriesOthers\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function getAuditContact({ commit, state },id_contact) {\n\n console.log(id_contact);\n await $http\n .get(\"/api/auditoria-tercero/\"+id_contact)\n .then(response => {\n commit(\"setAudit\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message);\n });\n}\n\nexport async function fetchContactsSelect({commit, state}, params) {\n\n await $http.get('/api/terceros-lite', {params})\n .then((response) => {\n commit('setContactsSelect', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n/**\n * Request tipo GET para la ceuntas que manejen tipo de cartera Cuentas por cobrar.\n * @author Brayan Ramirez\n */\nexport async function fetchWalletAccounts({ commit, state }) {\n\n await $http\n .get(\"/api/cuentas-lite\", {params :{wallet_account :true}})\n .then(response => {\n commit(\"setWalletAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n })\n}\n/**\n * Request para obtener datos de voucher_types.\n * @author Brayan Ramirez\n */\nexport async function getVoucherTypes({commit, state}) {\n\n let params = {\n branch_office_main: 1\n };\n\n await $http\n .get(`/api/tipos-de-comprobantes`, {params})\n .then(response => {\n commit('setVoucherTypes', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener concepts.\n * @author Jhon García\n */\nexport async function getConcepts({commit, state}, filter = '') {\n\n let params = {\n paginate: false,\n filter: ''\n }\n\n await $http\n .get(`/api/conceptos-contables`, {params})\n .then(response => {\n commit('setConcepts', response.data.data);\n commit('setPreloader', false);\n })\n .catch(error => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts/actions.js","export function getParams (state){\n return state.params\n}\n\nexport function getCustomerCategories(state){\n return state.customerCategories\n}\n\nexport function getProviderCategories(state){\n return state.providerCategories\n}\n\nexport function getEmployeeCategories(state){\n return state.employeeCategories\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts/index.js","export const defaultSelectedClerk = () => {\n return {\n name: '',\n surname: '',\n identification_type: '',\n identification: '',\n gender: '',\n birthdate: '',\n city_id: '',\n address: '',\n stratum: '',\n main_telephone: '',\n secondary_telephone: '',\n cell_phone: '',\n email: '',\n observation: '',\n position: '',\n city:{\n department_id: \"\"\n }\n }\n}\n\nexport default {\n\n clerks: [],\n selectedClerk: defaultSelectedClerk(),\n error: false,\n errorMessage: '',\n actionClerk: 'create',\n citiesClerks: [],\n documentsTypes: [],\n getContactEdit: true,\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-clerks/state.js","import {defaultSelectedClerk} from \"./state\";\n\nexport function setClerks(state, clerks) {\n state.clerks = clerks;\n}\n\nexport function setClerk(state, clerk) {\n state.selectedClerk = JSON.parse(JSON.stringify(clerk));\n}\n\nexport function setActionClerks(state, action) {\n state.actionClerk = action;\n}\n\nexport function clerkError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\n// Establece un valor para citiesClerks\nexport function setCitiesClerks(state, citiesClerks) {\n state.citiesClerks = citiesClerks.map(p => {\n return {value: p.id, label: p.city}\n })\n}\n\n//Establece el valor por defecto de selectedClerk\nexport function resetSelectedClerk(state) {\n let id = state.selectedClerk.id\n Object.assign(state.selectedClerk, defaultSelectedClerk())\n if (id) {\n state.selectedClerk.id = id\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-clerks/mutations.js","import $http from \"../../axios\";\nimport {Notification, MessageBox} from 'element-ui';\n\n//Obtener los funcionarios\nexport async function fetchClerks({commit, state, rootState}, requestParams = {params:{contact_id:rootState.contacts.selectedContact.id}}) {\n\n // if (!state.clerks.length) {\n await $http.get('/api/funcionarios', requestParams)\n .then((response) => {\n commit('setClerks', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('clerkError', error.message)\n })\n // }\n}\n\n//Crear funcionario\nexport async function addClerk({commit, state, dispatch, rootState}) {\n\n state.selectedClerk.contact_id = rootState.contacts.selectedContact.id;\n\n await $http.post('/api/funcionarios', state.selectedClerk)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El funcionario ha sido creado',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('resetSelectedClerk')\n dispatch('fetchClerks')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\"\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('clerkError', error.message)\n })\n}\n\n//Consultar funcionario por id\nexport async function getClerk({commit, state}, id) {\n\n if (state.selectedClerk.id != id) {\n\n await $http.get(`/api/funcionarios/${id}`)\n .then((response) => {\n commit('setClerk', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('clerkError', error.message)\n })\n }\n\n}\n\n//Actualizar funcionario\nexport async function updateClerk({commit, state, dispatch}) {\n\n await $http.put(`/api/funcionarios/${state.selectedClerk.id}`, state.selectedClerk)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El funcionario ha sido actualizado',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('setActionClerks', 'create')\n commit('resetSelectedClerk')\n dispatch('fetchClerks')\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\"\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('clerkError', error.message)\n })\n}\n\n\n//Eliminar funcionario\nexport async function removeClerk({commit, dispatch}, clerk) {\n\n await $http.delete(`/api/funcionarios/${clerk.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El funcionario ha sido eliminado',\n duration: 3000,\n customClass: 'notification-box',\n });\n dispatch('fetchClerks')\n })\n .catch((error) => {\n MessageBox.alert(error.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('clerkError', e.message)\n })\n}\n\n\n// Obtiene las ciudades para los funcionarios\nexport async function fetchCitiesClerks({dispatch, state, rootState, commit}) {\n let id = state.selectedClerk.city.department_id\n if (id) {\n await dispatch('cities/fetchCities', {params: {department_id: id}}, {root: true})\n commit('setCitiesClerks', rootState.cities.cities)\n }\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {value: p.id, label: p.name_parameter}\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-clerks/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-clerks/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-clerks/index.js","\nexport const defaultSelectedWarehouse = () => {\n return {\n id: null,\n city_id: \"\",\n country_id:1,\n code: \"\",\n description: \"\",\n address: \"\",\n latitude: \"\",\n length: \"\",\n telephone: \"\",\n email: \"\",\n seller_id: null,\n observation: \"\",\n state: 1,\n excluded_taxes: 0,\n branchoffice_id: \"\",\n creation_date: new Date(),\n other_telephones: null,\n payment_type_id: null,\n discount_percentage: null,\n zone_id:null,\n types_negotiation_portfolio: null,\n city:{},\n zone_despatch_id:null,\n ret_ica_provider_account_id:null,\n ret_ica_account_id:null,\n retIcaAccount: {},\n retIcaProvideerAccount: {},\n ret_fue_provider_account_id:null,\n ret_fue_account_id:null,\n retFueAccount: {},\n retFueProviderAccount: {},\n no_base_value:false\n };\n};\n\nexport default {\n accounts:[],\n departments:[],\n cities: [],\n warehouses: [],\n selectedWarehouse: defaultSelectedWarehouse(),\n error: false,\n errorMessage: \"\",\n actionWarehouse: \"create\",\n citiesWarehouses: [],\n sellers: [],\n paymentMethods: [],\n types_negotiation_portfolio: [],\n zones:[],\n zones_despatch:[]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-warehouses/state.js","import {defaultSelectedWarehouse} from \"./state\";\n\nexport function setWarehouses(state, warehouses) {\n state.warehouses = warehouses;\n\n state.warehouses.map(el => {\n if (!el.city) {\n el.city= {department_id : null}\n }\n })\n}\n\nexport function setWarehouse(state, warehouse) {\n state.selectedWarehouse = JSON.parse(JSON.stringify(warehouse));\n}\n\nexport function setActionWarehouses(state, action) {\n state.actionWarehouse = action;\n}\n\n// Establece un valor para departments\nexport function setDepartments(state, departments) {\n state.departments = departments.map(p => {\n return { value: p.id, label: p.department };\n });\n}\n\nexport function warehouseError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\n//Establece el valor por defecto de selectedWarehouse\nexport function resetSelectedWarehouse(state) {\n let id = state.selectedWarehouse.id\n Object.assign(state.selectedWarehouse, defaultSelectedWarehouse())\n if (id) {\n state.selectedWarehouse.id = id\n }\n}\n\n\n export function setSellers(state,sellers) {\n state.sellers=sellers;\n}\n\nexport function setCities(state, cities){\n state.cities =cities;\n}\n\nexport function setPaymentMethods(state,data){\n state.paymentMethods=data;\n}\n\nexport function setTypeNegotiationPortfolio(state,data){\n state.types_negotiation_portfolio=data;\n}\nexport function setZones(state, zones) {\n state.zones = zones\n }\n\nexport function setZonesDespatch(state, zones_despatch) {\n state.zones_despatch = zones_despatch\n}\n\nexport function setAccounts(state, accounts) {\n state.accounts = accounts\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-warehouses/mutations.js","import $http from \"../../axios\";\nimport {Notification, MessageBox} from 'element-ui';\n\n// Obtiene las ciudades\nexport async function fetchCities({\n dispatch,\n state,\n rootState,\n commit\n}, payload) {\n\n // let id = false;\n // id = ''\n\n // if (payload) {\n // if (payload.idDepart != '') {\n // id = payload.idDepart\n // }\n // }\n\n let id = state.selectedWarehouse.city.department_id;\n\n await dispatch(\n \"cities/fetchCities\",\n { params: { department_id: id } },\n { root: true }\n );\n commit(\"setCities\", rootState.cities.cities);\n\n}\n\n//Obtener los establecimientos\nexport async function fetchWarehouses({commit, state, rootState}) {\n\n // if (!state.warehouses.length) {\n await $http.get(`/api/establecimientos?contact_id=${rootState.contacts.selectedContact.id}`)\n .then((response) => {\n commit('setWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('warehouseError', error.message)\n })\n // }\n}\n\n//Crear establecimiento\nexport async function addWarehouse({commit, state, dispatch, rootState}) {\n\n state.selectedWarehouse.contact_id = rootState.contacts.selectedContact.id;\n\n await $http.post('/api/establecimientos', state.selectedWarehouse)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El establecimiento ha sido creado',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('resetSelectedWarehouse')\n dispatch('fetchWarehouses')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\"\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('warehouseError', error.message)\n })\n}\n\n//Actualizar establecimiento\nexport async function updateWarehouse({commit, state, dispatch}) {\n\n await $http.put(`/api/establecimientos/${state.selectedWarehouse.id}`, state.selectedWarehouse)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El establecimiento ha sido actualizado',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('setActionWarehouses', 'create')\n commit('resetSelectedWarehouse')\n dispatch('fetchWarehouses')\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\"\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('warehouseError', error.message)\n })\n}\n\n\n//Eliminar establecimiento\nexport async function removeWarehouse({commit, dispatch}, warehouse) {\n\n await $http.delete(`/api/establecimientos/${warehouse.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El establecimiento ha sido eliminado',\n duration: 3000,\n customClass: 'notification-box',\n });\n dispatch('fetchWarehouses')\n })\n .catch((error) => {\n MessageBox.alert(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('warehouseError', e.message)\n })\n}\n\n// Obtiene los departamentos\nexport async function fetchDepartments({ dispatch, state, rootState, commit }, country_id = null) {\n console.log(country_id);\n if (!state.departments.length || country_id) {\n await dispatch(\n \"departments/fetchDepartments\",\n { params: { country_id : country_id } },\n { root: true }\n );\n commit(\"setDepartments\", rootState.departments.departments);\n }\n}\n\nexport async function fetchsellers({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function getTypePayment({commit}){\n await $http.get('/api/type-payment').then(response=>{\ncommit('setPaymentMethods',response.data.data);\n }).catch(error=>{\n\n })\n}\n\nexport async function getTypeNegotiationPortfolio({commit}){\n await $http.get('/api/tipo-negociacion-cartera').then(response=>{\ncommit('setTypeNegotiationPortfolio',response.data.data);\n }).catch(error=>{\n\n })\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {\n value: p.id,\n label: p.name_parameter\n };\n });\n }\n\n\n\nexport async function fetchZones({ dispatch, state, rootState, commit }) {\n if (!state.zones.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 95,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\"setZones\", mapParameters(rootState.parameters.parameters));\n }\n }\n\nexport async function fetchZonesDespatch({ dispatch, state, rootState, commit }) {\n if (!state.zones_despatch.length) {\n await dispatch(\n \"parameters/listParameter\",\n {\n params: {\n idParamTable: 6,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit(\"setZonesDespatch\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function fetchAccounts({commit, state}, text) {\n await $http\n .get(\"/api/cuentas-lite\", {params: {filter: text}})\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-warehouses/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-warehouses/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-warehouses/index.js","export const defaultSelectedDocument = () => {\n return {\n contact_id: null,\n document_type_id: '',\n action: 'n',\n name: '',\n observation: '',\n file: null\n }\n}\n\nexport default {\n\n documents: [],\n selectedDocument: defaultSelectedDocument(),\n actionDocument: 'create',\n documentsTypes: [],\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-documents/state.js","import {defaultSelectedDocument} from \"./state\";\n\nexport function setDocuments(state, documents) {\n state.documents = documents;\n}\n\nexport function setDocument(state, document) {\n state.selectedDocument = JSON.parse(JSON.stringify(document));\n}\n\nexport function setActionDocuments(state, action) {\n state.actionDocument = action;\n}\n\nexport function documentError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\n// Establece un valor para documentsTypes\nexport function setDocumentsTypes(state, documentsTypes) {\n state.documentsTypes = documentsTypes\n}\n\n//Establece el valor por defecto de selectedDocument\nexport function resetSelectedDocument(state) {\n let id = state.selectedDocument.id\n Object.assign(state.selectedDocument, defaultSelectedDocument())\n if (id) {\n state.selectedDocument.id = id\n }\n}\n\nexport function setSelectedDocumentFile(state, file) {\n state.selectedDocument.file = file;\n}\n\nexport function setViewDocument(state, viewDocument){\n state.viewDocument = viewDocument\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-documents/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Obtener los documentos\nexport async function fetchDocuments({ commit, state, rootState }) {\n // if (!state.documents.length) {\n await $http\n .get(`/api/documentos?contact_id=${rootState.contacts.selectedContact.id}`)\n .then(response => {\n commit(\"setDocuments\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"documentError\", error.message);\n });\n // }\n}\n\n//Crear documento\nexport async function addDocument({ commit, state, dispatch, rootState }) {\n let formData = new FormData();\n\n for (let key in state.selectedDocument) {\n formData.append(key, state.selectedDocument[key]);\n }\n\n formData.set(\"contact_id\", rootState.contacts.selectedContact.id);\n state.selectedDocument.contact_id = rootState.contacts.selectedContact.id;\n\n await $http\n .post(\"/api/documentos\", formData)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El documento ha sido cargado\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"resetSelectedDocument\");\n dispatch(\"fetchDocuments\");\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\";\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"documentError\", error.message);\n });\n}\n\n//Consultar documento por id\nexport async function getDocument({ commit, state }, id) {\n if (state.selectedDocument.id != id) {\n await $http\n .get(`/api/documentos/${id}`)\n .then(response => {\n commit(\"setDocument\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"documentError\", error.message);\n });\n }\n}\n\n//Descargar documento\nexport async function downloadDocument({}, documentObject) {\n await $http({\n url: \"/api/documentos-descargar/\" + documentObject.id,\n method: \"GET\",\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\n \"download\",\n documentObject.name + \".\" + documentObject.extension\n );\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getUrlDocument({ state, commit }, documentObject) {\n let documents = JSON.parse(JSON.stringify(state.documents));\n\n await $http(\"/api/documentos/\" + documentObject.id)\n .then(response => {\n documents.map(d => {\n if (d.id == documentObject.id) {\n d.url = response.data;\n commit(\"setDocument\", d);\n }\n });\n commit(\"setDocuments\", documents);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Actualizar documento\nexport async function updateDocument({ commit, state, dispatch }) {\n await $http\n .put(`/api/documentos/${state.selectedDocument.id}`, state.selectedDocument)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El documento ha sido actualizado\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n commit(\"setActionDocuments\", \"create\");\n commit(\"resetSelectedDocument\");\n dispatch(\"fetchDocuments\");\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = \"Algunos campos no se registraron correctamente\";\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"documentError\", error.message);\n });\n}\n\n//Eliminar documento\nexport async function removeDocument({ commit, dispatch }, document) {\n await $http\n .delete(`/api/documentos/${document.id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El documento ha sido eliminado\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDocuments\");\n })\n .catch(error => {\n MessageBox.alert(error.message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"documentError\", e.message);\n });\n}\n\n// Obtiene los tipos de documento\nexport async function fetchDocumentsTypes({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.documentsTypes.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { idParamTable: 93, paginate: false } },\n { root: true }\n );\n commit(\"setDocumentsTypes\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter };\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-documents/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-documents/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts-documents/index.js","export function setDepartments(state, departments){\n state.departments = departments;\n}\n\nexport function setDepartment(state, department){\n state.selectedDepartment = department;\n}\n\nexport function departmentError(state, payload){\n state.error = true\n state.error = errorMessage = payload\n state.todo = []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/departments/mutations.js","import $http from \"../../axios\";\n\n//Obtener los departamentos\nexport async function fetchDepartments({ commit }, requestParameters) {\n await $http\n .get(\"/api/departamentos\", requestParameters)\n .then(response => {\n commit(\"setDepartments\", response.data.data);\n })\n .catch(error => {\n swal({\n title: \"error\",\n text: error.message,\n type: \"error\"\n });\n commit(\"DepartmentError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/departments/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/departments/index.js","export default {\n departments: [],\n selectedDepartment: {},\n error: false,\n errorMessage: '',\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/departments/state.js","export function setCities(state, cities){\n state.cities = cities;\n}\n\nexport function setCity(state, city){\n state.selectedCity = city;\n}\n\nexport function cityError(state, payload){\n state.error = true\n state.error = errorMessage = payload\n state.todo = []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cities/mutations.js","import $http from '../../axios'\n\n//Obtener las ciudades\nexport async function fetchCities({commit}, requestParameters) {\n await $http.get('/api/ciudades', requestParameters)\n .then((response) => {\n commit('setCities', response.data.data)\n })\n .catch((error) => {\n swal({\n title: \"error\",\n text: error.message,\n type: \"error\"\n });\n commit('CityError', error.message)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cities/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cities/index.js","export default {\n cities: [],\n selectedCity: {},\n error: false,\n errorMessage: '',\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cities/state.js","export const defaultSelectedLine = () => {\n return {\n subscriber_id: 1,\n line_code: '',\n line_description: '',\n short_description: '',\n lock_buy: 0,\n block_sale: 0,\n margin_cost: '',\n calculates_sale_price: 0,\n lock_b2b: 0,\n inventories_account: '',\n account_cost: '',\n sales_account: '',\n barcode: 2,\n brand: 9,\n sub_brand: 1,\n line: 9,\n subline: 1,\n category: 1,\n subcategory: 2,\n lot: 2,\n serial: 2,\n type: 2,\n Photos: 1,\n owner: 2,\n maker: 2,\n registration_invima: 2,\n exp_date_invima: 2,\n generic: 2,\n year: 2,\n conformity_certificate: 2,\n exp_date_certified: 2,\n weight: 2,\n volume: 2,\n height: 2,\n color: 2,\n old_product_code: 2,\n new_product_code: 2,\n commission_portion: 2,\n mg_of_utility: 2,\n contact_income: 2,\n reduction_management: 2,\n high_price: 2,\n high_risk: 2,\n refrigerated: 2,\n type_rotation: 2,\n handling_formula: 2,\n width: 2,\n outline: 2,\n rin: 2,\n utqg: 2,\n load_index: 2,\n speed_index: 2,\n cum_code: 2,\n sgsss_code: 2,\n application_unit: 2,\n number_applications: 2,\n pharmacy_code: 2,\n concentration: 2,\n controlled_sale: 2,\n belongs_to_pos: 2,\n purchase_present_packaging: 1,\n purchase_quantity_present: '',\n local_purchase: 1,\n observation_buy: 1,\n present_sale_packaging: 1,\n sale_quantity_packaging: '',\n observation_of_sale: 1,\n channel_point_sale: 9,\n channel_amazon: 9,\n channel_b2c: 9,\n channel_b2b: 9,\n tipe: '',\n data_sheet: 2,\n data_sheet_link: 2,\n video_link: 2,\n prod_desc_config: '',\n act_prod_conf: 0,\n line_code_wms: '',\n\n }\n}\n\nexport const defaultSelectedTax = () => {\n return {\n\n id: '',\n description: '',\n percentage: '',\n base: '',\n minimum_base: ''\n\n }\n}\n\nexport default {\n accountsInventory:[],\n paramsAccountInventory: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accountsCost:[],\n paramsAccountCost: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accountsSales:[],\n paramsAccountSales: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n lines: [],\n linesList: [],\n tableCreateData: false,\n selectedLine: defaultSelectedLine(),\n dataSheetsLine: [],\n dataSheetsList: [],\n error: false,\n errorMessage: '',\n action: 'create',\n actionSubline: 'create',\n lineEdit: null,\n getLineEdit: true,\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'line_code',\n sort: 'ASC'\n },\n taxes: [],\n selectedTax: defaultSelectedTax(),\n lineTaxes: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lines/state.js","import {\n defaultSelectedClerk,\n defaultSelectedLine,\n defaultSelectedDocument,\n defaultSelectedWarehouse,\n defaultSelectedTax\n} from \"./state\";\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\n//Agregamos las fichas de datos asociados a la linea.\nexport function setDataSheetsLine(state, data) {\n state.dataSheetsLine = data;\n}\n\n//Se agrega el listado de ficha de datos para el select de adicionar\nexport function setDataSheetsList(state, data) {\n state.dataSheetsList = data;\n}\n\n//Se agrega el listado de ficha de datos para el select de adicionar\nexport function clearDataSheetsList(state) {\n state.dataSheetsList = [];\n}\n\nexport function setLine(state, line) {\n state.selectedLine = line;\n}\n\nexport function setAccountsInventory(state, accountsInventory) {\n state.accountsInventory = accountsInventory\n}\n\nexport function setAccountsCost(state, accountsCost) {\n state.accountsCost = accountsCost\n}\n\nexport function setAccountsSales(state, accountsSales) {\n state.accountsSales = accountsSales\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function lineError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.lines = []\n}\n\nexport function setGetLineEdit(state, getLineEdit) {\n state.getLineEdit = getLineEdit;\n}\n\n//Establece el valor por defecto de selectedLine\nexport function resetSelectedLine(state) {\n // let id = state.selectedLine.line_id\n Object.assign(state.selectedLine, defaultSelectedLine())\n //state.selectedLine.id = id\n}\n\n/** Asigna el valor al error, cuando ocurre uno */\nexport function setError(state, payload) {\n state.error = true\n state.errorMessage = payload\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort\n}\n\n/** Asignar valor a los impuestos */\nexport function setTaxes(state, taxes) {\n state.taxes = taxes\n}\n\n/** Asignar valor al impuesto seleccionado */\nexport function setSelectedTax(state, tax) {\n state.selectedTax = tax\n}\n\n/** Asignar valor a los impuestos que pertenecen a una línea específica */\nexport function setTaxesByLine(state, taxes) {\n state.lineTaxes = taxes\n}\n\n/** Limpiar el formulario de impuestos */\nexport function resetTaxesForm(state) {\n state.selectedTax = defaultSelectedTax();\n}\n\n// Agregamos la lista de lineas al atributo\nexport function setLinesList(state, data) {\n state.linesList = data;\n}\n\n//Se agrega el listado de ficha de datos para el select de adicionar\nexport function clearDataSheetsLine(state) {\n state.dataSheetsLine = [];\n}\n\nexport function chageTableCreateData(state, val) {\n state.tableCreateData = val;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lines/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\nexport async function fetchAccountsInventory(\n { commit, state },\n requestParameters = { params: state.paramsAccountInventory }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsInventory\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n export async function fetchAccountsCost(\n { commit, state },\n requestParameters = { params: state.paramsAccountCost }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsCost\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n \nexport async function fetchAccountsSales(\n { commit, state },\n requestParameters = { params: state.paramsAccountSales }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsSales\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n//Obtener los lineas\nexport async function fetchLines ({\n commit,\n state\n}, requestParameters = {\n params: state.params\n}) {\n\n await $http.get('/api/lineas', requestParameters)\n .then((response) => {\n commit('setLines', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('lineError', error.message)\n })\n}\n\n//Crear tercero\nexport async function addLine ({\n commit,\n state\n}) {\n\n state.selectedLine.data_sheets = state.dataSheetsLine;\n await $http.post('/api/lineas', state.selectedLine)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La linea ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setLine', response.data.data)\n commit('resetSelectedLine')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la linea ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n\n commit('lineError', error.message)\n })\n}\n\n//Consultar tercero por id\nexport async function getLine ({\n commit,\n state\n}, id) {\n\n if (state.getLineEdit) {\n\n await $http.get(`/api/lineas/${id}`)\n .then((response) => {\n commit('setLine', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('lineError', error.message)\n })\n\n commit('setGetLineEdit', false)\n\n }\n}\n\n//Consultar tercero por identificación\nexport async function getLineForIdentification ({\n commit,\n state,\n rootState\n}, identification) {\n\n await $http.get(`/api/lineas/id/${identification}`)\n .then((response) => {\n if (response.data.success) {\n state.lineEdit = response.data.data.id\n }\n })\n .catch((error) => {\n state.lineEdit = null\n commit('lineError', error.message)\n })\n}\n\n\n//Actualizar tercero\nexport async function updateLine ({\n commit,\n state\n}) {\n\n state.selectedLine.data_sheets = state.dataSheetsLine;\n await $http.put(`/api/lineas/${state.selectedLine.id}`, state.selectedLine)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La linea ha sido actualizada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setLine', response.data.data)\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la linea ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('lineError', error.message)\n })\n}\n\n\n//Eliminar tercero\nexport async function removeLine ({\n commit,\n dispatch\n}, line) {\n\n await $http.delete(`/api/lineas/${line.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La linea ha sido eliminada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n dispatch('fetchLines')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('LineError', error.message)\n })\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination ({\n commit,\n dispatch\n}, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchLines')\n}\n\nexport function setPerPagePagination ({\n commit,\n dispatch\n}, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchLines')\n}\n\nexport function setPagePagination ({\n commit,\n dispatch\n}, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchLines')\n}\n\nexport function setSortByPagination ({\n commit,\n dispatch\n}, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchLines')\n}\n\nexport function setSortPagination ({\n commit,\n dispatch\n}, sort) {\n commit('setSort', sort)\n // dispatch('fetchLines')\n}\n\n/** Obtener listado de impuestos */\nexport async function fetchTaxes ({\n commit,\n state\n}) {\n await $http.get('/api/impuestos', {\n params: {\n paginate: false\n }\n }).then((response) => {\n commit('setTaxes', response.data.data)\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n })\n })\n}\n\n/** Obtener los impuestos a partir del id de la línea */\nexport async function fetchTaxesByLine ({\n state,\n commit\n}, line_id) {\n await $http.get('/api/lineas-impuestos', {\n params: {\n id: line_id\n }\n }).then((response) => {\n commit('setTaxesByLine', response.data.data)\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n })\n })\n}\n\n/** Guardar impuesto en la línea */\nexport async function saveTax ({\n state,\n commit,\n dispatch\n}, params) {\n await $http.post('/api/lineas-impuestos', params).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El impuesto ha sido agaregado a la linea',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('resetTaxesForm')\n dispatch('fetchTaxesByLine', params.line_id)\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n })\n })\n}\n\n/** Eliminar el impuesto de la línea */\nexport async function deleteTax ({\n state,\n commit,\n dispatch\n}, params) {\n await $http.delete(`/api/lineas-impuestos/${params.id}`).then((response) => {\n if (response) {\n dispatch('fetchTaxesByLine', params.line_id)\n Notification.success({\n title: 'Exito!',\n message: 'Se ha eliminado el impuesto',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n })\n }\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('setError', error.message)\n })\n}\n\n\n/**\n * Acciones para la ficha de datos\n **/\n//Obtener solo un registro segun el id\nexport async function getDataSheetLine ({\n commit,\n state\n}, line_id) {\n await $http.get(`/api/linea/${line_id}/ficha-datos`)\n .then((response) => {\n commit('setDataSheetsLine', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function getDataSheetList ({\n commit,\n state\n}, line_id) {\n await $http.get(`/api/ficha-datos-linea/${line_id}`)\n .then((response) => {\n commit('setDataSheetsList', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n//Agregamos una ficha de dato a la linea\nexport async function addDataSheetToLine ({\n commit,\n state\n}, data) {\n\n await $http.post('/api/ficha-datos-linea', data)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n//Remover una ficha de dato a la linea\nexport async function removeDataSheetToLine ({\n commit,\n state\n}, id) {\n\n await $http.delete(`/api/ficha-datos-linea/${id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n//Actualizar una ficha de dato a la linea\nexport async function updateDataSheetToLine ({\n commit,\n state\n}, data) {\n\n await $http.put(`/api/ficha-datos-linea/${data.id}`, data)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function create ({\n commit,\n state\n}) {\n\n state.error = false;\n await $http.post('/api/ficha-datos', state.dataSheetLayout)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La ficha de dato ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n state.error = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setError', error.response);\n });\n}\n\n\n//Obtener todas las lineas\nexport async function getLinesList ({\n commit,\n state\n}) {\n\n await $http.get('/api/lista-lineas')\n .then((response) => {\n commit('setLinesList', response.data)\n })\n .catch((error) => {\n\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lines/actions.js","export function getParams(state) {\n return state.params;\n}\n\nexport function linesList(state) {\n return state.linesList;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lines/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lines/index.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-register-square/index.js","export default {\n showPdfCashRegisterSquare: false,\n fileNamePdfCashRegisterSquare: \"\",\n fileNamePdfCashRegisterSquareEmail: \"\",\n itemHistoryTableSelected: {},\n loadingPdf: false,\n loading:{\n module :false\n },\n itemsHistoryTable: [],\n cash_registers: [],\n fieldsHistoryTable: [\n {\n key: \"dateFrom\",\n label: \"Fecha/Hora Desde\"\n },\n {\n key: \"dateTo\",\n label: \"Fecha/Hora Hasta\"\n },\n {\n key: \"actions\",\n label: \"Acciones\"\n }\n ],\n paramsGeneratePdf: {\n dateFrom: \"\",\n timeFrom: \"\",\n dateTo: \"\",\n timeTo: \"\",\n cash_register_id: null,\n branchoffice_id: \"\",\n branch_office_warehouse_id: \"\",\n payment_method_id:[],\n note: \"\"\n },\n paramsHistoryTable: {\n dateFrom: \"\"\n },\n paymentMethods:[],\n listBranchOfficesWarehouses:[],\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-register-square/state.js","export const defaultFiltersCrossBalances = () => {\n return {\n contact_id: \"\",\n contact_warehouse_id: \"\",\n account_id: \"\",\n account: \"\",\n model_id: \"\",\n voucherType_id: \"\",\n branchoffice_id: \"\",\n monthDate: \"\"\n };\n};\nexport const defaultDocumentCrossBalance = () => {\n return {\n document_transactions: []\n };\n};\n\nexport default {\n action: \"create\",\n gridBalancesFavor: {\n columns: [\n {\n name: \"Fecha Vencimiento\",\n field: \"document.due_date\",\n format: \"text\"\n },\n {\n name: \"Fecha Doc\",\n field: \"document.document_date\",\n format: \"text\"\n },\n {\n name: \"Sede\",\n field: \"document.branchoffice\",\n format: \"text\"\n },\n {\n name: \"Sucursal\",\n field: \"document.branchoffice_warehouse.warehouse_description\",\n format: \"text\"\n },\n {\n name: \"Tip Comp\",\n field: \"document.vouchertype\",\n format: \"text\"\n },\n {\n name: \"Num Com\",\n field: \"num_com\",\n format: \"text\"\n },\n {\n name: \"Num Doc\",\n field: \"num_doc\",\n format: \"text\"\n },\n {\n name: \"Saldo\",\n field: \"final_balance\",\n format: \"currency\"\n },\n {\n name: \"Opciones\",\n field: \"options\",\n format: \"text\"\n }\n ],\n items: []\n },\n gridBalancesContact: {\n columns: [\n {\n name: \"Fecha Vencimiento\",\n field: \"document.due_date\",\n format: \"text\"\n },\n {\n name: \"Fecha Doc\",\n field: \"document.document_date\",\n format: \"text\"\n },\n {\n name: \"Sede\",\n field: \"document.branchoffice\",\n format: \"text\"\n },\n {\n name: \"Sucursal\",\n field: \"document.branchoffice_warehouse.warehouse_description\",\n format: \"text\"\n },\n {\n name: \"Tip Comp\",\n field: \"document.vouchertype\",\n format: \"text\"\n },\n {\n name: \"Num Com\",\n field: \"num_com\",\n format: \"text\"\n },\n {\n name: \"Num Doc\",\n field: \"num_doc\",\n format: \"text\"\n },\n {\n name: \"Saldo\",\n field: \"final_balance\",\n format: \"currency\"\n },\n {\n name: \"Selecc\",\n field: \"selecc\",\n format: \"text\"\n },\n {\n name: \"Valor Cruce\",\n field: \"cross_value\",\n format: \"text\",\n editable: true,\n format: \"currency\"\n }\n ],\n items: []\n },\n gridCrossBalances: {\n columns: [\n {\n name: \"Cuenta\",\n field: \"account.code\",\n format: \"text\"\n },\n {\n name: \"Detalle\",\n field: \"detail\",\n format: \"text\"\n },\n {\n name: \"Num Com\",\n field: \"num_com\",\n format: \"text\"\n },\n {\n name: \"Num Doc\",\n field: \"num_doc\",\n format: \"text\"\n },\n {\n name: \"Vr Dedito\",\n field: \"operation_value_d\",\n format: \"text\"\n },\n {\n name: \"Vr Credito\",\n field: \"operation_value_c\",\n format: \"text\"\n },\n {\n name: \"Opciones\",\n field: \"options\",\n format: \"text\"\n }\n ],\n items: []\n },\n filtersCrossBalances: defaultFiltersCrossBalances(),\n accountDefault: \"\",\n selectedBalancesFavor: null,\n selectedBalancesContact: null,\n showModalBalanceContact: false,\n //\n modalBalanceContact: {\n crossPendingValue: 0,\n crossValue: 0,\n account_id: \"\",\n account: \"\"\n },\n warehouses: [],\n documentCrossBalance: defaultDocumentCrossBalance(),\n documentInitiatedByAnotherUser: \"\",\n finalizeDocument: \"\"\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-crossing/state.js","import {\n defaultDocumentCrossBalance,\n defaultFiltersCrossBalances\n} from \"./state\";\n\nexport function setInfoDataEdit(state) {}\n\nexport function resetFiltersCrossBalances(state) {\n state.filtersCrossBalances = defaultFiltersCrossBalances();\n}\n\nexport function setAccountDefault(state, data) {\n state.accountDefault = data;\n\n state.modalBalanceContact.account = data;\n state.modalBalanceContact.account_id = data.id;\n}\n\nexport function setFavorBalanceContact(state, data) {\n state.gridBalancesFavor.items = data;\n}\n\nexport function setPendingBalanceContact(state, data) {\n state.gridBalancesContact.items = data.map(d => {\n return {\n ...d,\n checked: false,\n cross_value: 0\n };\n });\n}\n\nexport function setSelectedBalancesFavor(state, data) {\n state.selectedBalancesFavor = data;\n}\n\nexport function setSelectedBalancesContact(state, data) {\n state.selectedBalancesContact = data;\n}\n\nexport function triggerShowModalBalanceContact(state) {\n state.showModalBalanceContact = !state.showModalBalanceContact;\n}\nexport function setShowModalBalanceContact(state, value) {\n state.showModalBalanceContact = value;\n}\n\nexport function setCrossPendingValue(state, value) {\n state.modalBalanceContact.crossPendingValue = value;\n}\n\nexport function setCrossValue(state, value) {\n state.modalBalanceContact.crossValue = value;\n}\n\nexport function calculateCrossingValueItem(state, item) {\n // true\n if (!item.checked) {\n if (state.selectedBalancesFavor && item) {\n const final_balance_favor = state.modalBalanceContact.crossPendingValue;\n const final_balance_contact = item.final_balance;\n\n const total_balance =\n final_balance_favor > final_balance_contact\n ? final_balance_contact\n : final_balance_favor;\n\n item.cross_value = total_balance;\n state.modalBalanceContact.crossPendingValue -= total_balance;\n }\n }\n // false\n else {\n state.modalBalanceContact.crossPendingValue += item.cross_value;\n item.cross_value = 0;\n }\n}\n\nexport function calculateCrossingValueAvaiable(state, item) {\n // true\n if (item.checked) {\n if (state.selectedBalancesFavor && item) {\n const final_balance_favor = state.modalBalanceContact.crossPendingValue;\n const final_balance_contact = item.final_balance;\n\n const total_balance =\n final_balance_favor > final_balance_contact\n ? final_balance_contact\n : final_balance_favor;\n\n item.cross_value = total_balance;\n // state.modalBalanceContact.crossPendingValue -= total_balance;\n }\n }\n // false\n else {\n item.cross_value = 0;\n }\n}\n\nexport function setWarehouses(state, data) {\n state.warehouses = data;\n}\n\nexport function setDocumentCrossBalance(state, data) {\n state.documentCrossBalance = data;\n}\nexport function resetDocumentCrossBalance(state) {\n state.documentCrossBalance = defaultDocumentCrossBalance();\n}\n\nexport function setDocumentInitiatedByAnotherUser(state, data) {\n state.documentInitiatedByAnotherUser = data;\n}\n\nexport function setFinalizeDocument(state, data) {\n state.finalizeDocument = data;\n}\n\nexport function resetGridBalancesFavor(state) {\n state.gridBalancesFavor.items = [];\n}\nexport function resetGridBalancesContact(state) {\n state.gridBalancesContact.items = [];\n}\nexport function setAction(state, value) {\n state.action = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-crossing/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function accountsDefaultCrossBalances({ commit, state }) {\n await $http\n .get(\"/api/cuenta-por-defecto-cruce-de-saldos/\")\n .then(response => {\n commit(\"setAccountDefault\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchFavorBalanceContact({ commit, state }) {\n let dataparams = JSON.parse(JSON.stringify(state.filtersCrossBalances));\n\n delete dataparams.account;\n\n const params = {\n params: dataparams\n };\n\n await $http\n .get(\"/api/cruce-cuentas-saldo-a-favor-tercero/\", params)\n .then(response => {\n commit(\"setFavorBalanceContact\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchPendingBalanceContact({ commit, state }) {\n let dataparams = JSON.parse(JSON.stringify(state.filtersCrossBalances));\n\n delete dataparams.account;\n\n dataparams.account_id = state.modalBalanceContact.account_id;\n\n const params = {\n params: dataparams\n };\n\n await $http\n .get(\"/api/cruce-cuentas-saldo-pendiente-tercero/\", params)\n .then(response => {\n commit(\"setPendingBalanceContact\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchWarehouses({ commit, state }, paramsData) {\n const params = {\n params: paramsData\n };\n\n await $http\n .get(\"/api/sucursales/\", params)\n .then(response => {\n commit(\"setWarehouses\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createDocumentByCrossBalance({ commit, state }) {\n let dataparams = JSON.parse(JSON.stringify(state.filtersCrossBalances));\n\n delete dataparams.account;\n\n const params = dataparams;\n\n await $http\n .post(\"/api/create-document-cross-balance/\", params)\n .then(response => {\n commit(\"setDocumentCrossBalance\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createTransactionsByDocumentCrossBalance(\n { commit, state },\n data\n) {\n const params = {\n ...data,\n document_id: state.documentCrossBalance.id\n };\n\n await $http\n .post(\"/api/create-transactions-document-cross-balance/\", params)\n .then(response => {\n commit(\"setDocumentCrossBalance\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteDocumentTransactionsBySequence(\n { commit, state },\n data\n) {\n const params = {\n params: {\n ...data,\n document_id: state.documentCrossBalance.id\n }\n };\n\n await $http\n .delete(\"/api/delete-transactions-document-cross-balance/\", params)\n .then(response => {\n commit(\"setDocumentCrossBalance\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function checkDocumentInitiatedByAnotherUser({ commit, state }) {\n const params = {\n params: {\n contact_id: state.filtersCrossBalances.contact_id\n }\n };\n\n await $http\n .get(\"/api/varificar-documento-usuario-documento-cruce/\", params)\n .then(response => {\n commit(\"setDocumentInitiatedByAnotherUser\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function finalizeDocumentCrossBalance({ commit, state }) {\n const params = {\n document_id: state.documentCrossBalance.id,\n voucherType_id: state.filtersCrossBalances.voucherType_id\n };\n\n await $http\n .post(\"/api/finalizar-documento-cruce/\", params)\n .then(response => {\n commit(\"setFinalizeDocument\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getDocumentCross({ commit }, id) {\n await $http\n .get(`/api/documento-cruce/${id}`)\n .then(response => {\n commit(\"setDocumentCrossBalance\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-crossing/actions.js","export function totalBalanceCrossing(state) {\n let total = 0;\n state.gridBalancesContact.items.forEach(\n i => (total += parseInt(i.cross_value))\n );\n return total;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-crossing/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-crossing/index.js","const tableDataSheets = {\n loading: false,\n data: [],\n fields: [\n {\n field: \"code\",\n name: \"Código\"\n },\n {\n field: \"visible_name\",\n name: \"Nombre Visible\"\n },\n /*{\n field: \"internal_name\",\n name: \"Nombre Interno\"\n },*/\n {\n field: \"tooltip\",\n name: \"Texto de ayuda\",\n width: \"250px\"\n },\n {\n field: \"type_value_name.name_parameter\",\n name: \"Tipo valor\"\n },\n {\n field: \"actions\",\n name: \"Opciones\"\n }\n ],\n errors: {\n has: false,\n message: '',\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 10,\n search: '',\n currentPage: 1\n },\n}\n\nexport default {\n dataSheets: [],\n dataSheetLayout: {\n code: '',\n internal_name: '',\n visible_name: '',\n type_value: '',\n tooltip: '',\n id: '',\n paramtable_id: ''\n },\n typeValueDataSheet: [],\n action: 'create',\n repeatedDataSheet: '',\n //ERROR STATE\n error: false,\n errorMessage: '',\n // Tabla\n tableDataSheets\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/data_sheet/state.js","export function setDataSheets (state, data) {\n state.dataSheets = data;\n}\n\nexport function setTypeValDataSheet (state, data) {\n state.typeValueDataSheet = data;\n}\n\nexport function setDataSheet (state, data) {\n state.dataSheetLayout = data;\n}\n\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function emptyDataSheet (state) {\n state.dataSheetLayout = {\n internal_name: '',\n visible_name: '',\n type_value: '',\n tooltip: '',\n id: ''\n };\n}\n\nexport function setError (state, payload) {\n state.error = true;\n state.errorMessage = JSON.parse(JSON.stringify(payload));\n}\n\n/*\n * Estos mutadores se encargar de normalizar la informacion\n * para mostrar en la tabla de productos.\n *\n * @Author Kevin Galindo\n */\n\nexport function setDataSheetsTable (state, data) {\n\n // Agregamos los datos de la tabla\n state.tableDataSheets.data = data;\n\n // Quitamos los valores de la tabla del arreglo\n //delete data.data;\n\n // Agregamos los datos de la paginacion\n //state.tableDataSheets.pagination = data;\n}\n\nexport function setRepeatedDataSheet (state, data) {\n state.repeatedDataSheet = data;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/data_sheet/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener todos los registros de la ficha de datos.\nexport async function fetchDataSheets({\n commit,\n state\n}, requestParameters = {\n params: state.params\n}) {\n\n await $http.get('/api/ficha-datos-listado')\n .then((response) => {\n commit('setDataSheets', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n//Obtener los valores de la tabla\nexport async function getDataSheetsTable({\n commit,\n state\n}, data) {\n\n state.tableDataSheets.loading = true;\n\n await $http.get(`/api/ficha-datos/?page=${state.tableDataSheets.options.currentPage}&perPage=${state.tableDataSheets.options.perPage}&search=${state.tableDataSheets.options.search}`)\n .then((response) => {\n commit('setDataSheetsTable', response.data)\n }).catch((error) => {\n })\n\n state.tableDataSheets.loading = false;\n\n}\n\n//Obtener solo un registro segun el id\nexport async function findById({\n commit,\n state\n}, id) {\n await $http.get(`/api/ficha-datos/${id}`)\n .then((response) => {\n commit('setDataSheet', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n//Crear un registro de una ficha de datos.\nexport async function create({\n commit,\n state\n}) {\n\n state.error = false;\n await $http.post('/api/ficha-datos', state.dataSheetLayout)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La ficha de dato ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n state.error = false;\n commit('setDataSheet', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setError', error.response);\n });\n}\n\n//Actualizar un registro segun el id de la fecha de datos.\nexport async function update({\n commit,\n state\n}) {\n\n state.error = false;\n await $http.put(`/api/ficha-datos/${state.dataSheetLayout.id}`, state.dataSheetLayout)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La ficha de dato ha sido actualizada.',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setError', error.response);\n });\n}\n\n//Eliminamos una ficha de dato segun su id\nexport async function destroyDataSheet({\n commit,\n state\n}, id) {\n\n state.error = false;\n await $http.delete(`/api/ficha-datos/${id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La ficha de dato ha sido eliminada.',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setError', error.response);\n });\n}\n\n//\n//Obtener los parametros\nexport async function getTypeVal({\n commit,\n state\n}) {\n await $http.get(`/api/ficha-datos-tipo-valor`)\n .then((response) => {\n commit('setTypeValDataSheet', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n//Verifica si una ficha de dato existe\nexport async function checkExistDataSheet({\n commit,\n state\n}) {\n\n state.repeatedDataSheet = '';\n var search = state.dataSheetLayout.code;\n if (!search) {\n search = state.dataSheetLayout.visible_name;\n }\n\n await $http.get(`/api/ficha-datos-verificar-existe?search=${search}`)\n .then((response) => {\n commit('setRepeatedDataSheet', response.data)\n })\n .catch((error) => {\n\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/data_sheet/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function ListDataSheetsTable(state) {\n return state.tableDataSheets;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/data_sheet/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/data_sheet/index.js","export const defaultJob = () => {\n return {\n user_creation_id:null,\n name:null,\n description:null,\n closing_date:null,\n limit_date:null,\n\n interactions:[],\n interactions_docs:[],\n members:[],\n files:[],\n }\n}\n\nexport const defaultInteraction = () =>{\n return {\n description:null,\n files:[],\n }\n}\n\nexport default {\n job:defaultJob(),\n interaction:defaultInteraction(),\n users:[],\n users_params:{\n paginate: true,\n page: 1,\n perPage: 200,\n filter: '',\n sortBy: 'name',\n sort: 'ASC'\n },\n modalAttachment:{\n show: false\n },\n userName:[],\n userNamesId:[],\n newmembers:[],\n files:[],\n loading:{\n form:false,\n addInteraction:false,\n starJob:true\n },\n arrayAvatars: [\n \"https://www.assyst.de/cms/upload/sub/digitalisierung/15-M.jpg\",\n \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcJ09qqoI5APeSsXNPJhTivcDWO2nILEBiGSXmST-P9V1MHdrJjB-8uXHPHEypUtfn7Ok&usqp=CAU\",\n \"https://widgetwhats.com/app/uploads/2019/11/free-profile-photo-whatsapp-4.png\",\n \"https://storage.needpix.com/rsynced_images/profile-1719207_1280.jpg\",\n \"https://widgetwhats.com/app/uploads/2019/11/free-profile-photo-whatsapp-3.png\"\n ],\n modal:{\n type:'',\n name:'',\n url:'',\n jobs_interactions_docs_id:null,\n jobs_docs_id:null,\n jobs_interactions_docs_name:'',\n jobs_docs_name:'',\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/star-jobs/state.js","import state from \"../star-jobs/state\";\n\nexport function setModalAttachment(state, show) {\n state.modalAttachment.show = show\n}\nexport function setMails(state, mails) {\n state.mails = mails;\n}\nexport function setsendingMail(satte, setsendingMail) {\n state.setsendingMail = setsendingMail\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modaldocs/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nexport async function searchmails({ state, commit }, text) {\n let params = {\n params: {\n filter: text\n }\n };\n\n await $http\n .get(\"/api/buscar-correo\", params)\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updatemail({ state, commit }, to, contact_id) {\n let params = {\n to: to,\n contact: contact_id\n };\n\n await $http\n .put(`/api/actualizar-correo`, params)\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al eliminar el elemento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function sendmail({ state, commit }, params) {\n await $http\n .post(\"/api/enviar-correo\", params)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El correo ha sido enviado exitosamente.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modaldocs/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modaldocs/index.js","export default {\n sendingMail: false,\n modalAttachment: {\n show: false\n },\n paramsmail: {\n to: [],\n body: null,\n subject: null,\n updateEmailContact: false,\n },\n mails: [],\n send_mail: false\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modaldocs/state.js","export const defaultproducts = () => {\n return {\n products_transfer: []\n };\n};\nexport default {\n error_from_setProductsGridFromCsv: false, \n loading_ : false,\n products_csv_:[],\n conveyors:[],\n selected_model:null,\n transfer:null,\n branchOffices: [],\n branchOffices_entry: [],\n branchoffice_warehouses: [],\n contacts:[],\n contacts_warehouses:[],\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n\n branchoffice_warehouses_entry: [],\n product: defaultproducts(),\n\n transferDocument: [],\n list_code_products :[],\n params: {\n additional_contact_id:null,\n additional_contact_warehouse_id:null,\n pdf: true,\n sede_salida: null,\n bodega_salida: null,\n documentEntry: null,\n sede_entrada: null,\n bodega_entrada: null,\n contact_id: null,\n observation: null,\n conveyor_id:null,\n },\n showPdf: false,\n consecutive:null,\n document: {\n file_name:''\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer/state.js","export function setBranchOffices(state, branchOffices) {\n state.branchOffices = branchOffices;\n}\n\nexport function setBranchOffices_entry(state, branchOffices) {\n state.branchOffices_entry = branchOffices;\n}\n\nexport function setBranchofficeWarehouses(state, branchofficeWarehouses) {\n // newbranchofficeWarehouses = []\n state.branchoffice_warehouses = [];\n branchofficeWarehouses.map((branchoffice, index) => {\n if (branchoffice.warehouse_code != '17' /*&& branchoffice.warehouse_code != '02' && branchoffice.warehouse_code != '11'*/) {\n state.branchoffice_warehouses.push(branchoffice);\n }\n });\n}\n\nexport function setBranchofficeWarehousesEntry(state, branchofficeWarehouses) {\n // state.branchoffice_warehouses_entry = branchofficeWarehouses;\n state.branchoffice_warehouses_entry = [];\n branchofficeWarehouses.map((branchoffice, index) => {\n if (branchoffice.warehouse_code != '17' /*&& branchoffice.warehouse_code != '02' && branchoffice.warehouse_code != '11'*/) {\n state.branchoffice_warehouses_entry.push(branchoffice);\n }\n });\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setContactsWarehouses(state, contacts_warehouses) {\n state.contacts_warehouses = contacts_warehouses;\n}\n\nexport function setSedeSalida(state, sede_salida) {\n state.params.sede_salida = sede_salida;\n}\n\nexport function setBodegaSalida(state, bodega_salida) {\n state.params.bodega_salida = bodega_salida;\n}\n\nexport function setDocument(state, document) {\n state.document = document;\n}\n\nexport function setTransferDocument(state, transferDocument) {\n state.transferDocument = transferDocument;\n}\n\nexport function setShowPdf(state, data) {\n state.showPdf = data;\n}\n\nexport function clearParams(state, data) {\n state.product.products_transfer = [];\n state.params.sede_entrada = '';\n state.params.bodega_entrada = '';\n state.params.observation = '';\n state.params.additional_contact_id = null;\n state.params.additional_contact_warehouse_id = null;\n}\n\nexport function setConsecutive(state, consecutive) {\n state.consecutive = consecutive;\n}\n\nexport function setStockProducts(state, products) {\n products.map((dp, index) => {\n let key_p = state.product.products_transfer.findIndex(ptr => ptr.product.id == dp.product_id);\n\n if (key_p >= 0) {\n state.product.products_transfer[key_p].product.quantity = dp.stock;\n state.product.products_transfer[key_p].minimum_amount = dp.stock;\n }\n\n });\n}\n\nexport function setTransfer(state, transfer) {\n state.transfer = transfer;\n}\n\nexport function setParamsTransfer(state, transfer) {\n if (transfer.pending_authorization) {\n\n state.product.products_transfer = [];\n state.params.sede_salida = transfer.document.branchoffice_id;\n state.params.bodega_salida = transfer.document.branchoffice_warehouse_id;\n state.params.sede_entrada = transfer.branchoffice_id;\n state.params.bodega_entrada = transfer.branchoffice_warehouse_id;\n state.params.observation = transfer.observation;\n state.params.document_id = transfer.id;\n\n transfer.documents_products.forEach(element => {\n var pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n };\n pp.minimum_amount = element.quantity;\n pp.product.id = element.product_id;\n pp.product.code = element.product.code;\n pp.product.line = element.product.line_id;\n pp.product.subline = element.product.subline_id;\n pp.product.price = element.product.price.price;\n pp.product.brand = element.product.brand_id;\n pp.product.description = element.product.description;\n pp.product.quantity = element.quantity;\n pp.product.documents_product_id = element.id;\n\n state.product.products_transfer.push(pp);\n });\n } else {\n state.product.products_transfer = [];\n state.params.bodega_salida = null;\n state.params.bodega_entrada = null;\n state.params.observation = null;\n state.params.document_id = null;\n }\n}\n\nexport function setParamsTransferupdate(state, transfer) {\n\n state.product.products_transfer = [];\n state.params.sede_salida = transfer.document.branchoffice_id;\n state.params.bodega_salida = transfer.document.branchoffice_warehouse_id;\n state.params.sede_entrada = transfer.branchoffice_id;\n state.params.bodega_entrada = transfer.branchoffice_warehouse_id;\n state.params.observation = transfer.observation;\n state.params.document_id = transfer.id;\n\n transfer.documents_products.forEach(element => {\n var pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n };\n pp.minimum_amount = element.quantity;\n pp.product.id = element.product_id;\n pp.product.code = element.product.code;\n pp.product.line = element.product.line_id;\n pp.product.subline = element.product.subline_id;\n pp.product.price = element.product.price.price;\n pp.product.brand = element.product.brand_id;\n pp.product.description = element.product.description;\n pp.product.quantity = element.quantity;\n pp.product.documents_product_id = element.id;\n\n state.product.products_transfer.push(pp);\n });\n}\n\nexport function setSelectedModel(state, selected_model) {\n state.selected_model = selected_model;\n}\n\nexport function setList_code_products(state, list_code_products) {\n state.list_code_products = list_code_products;\n}\n\nexport function setProducts_csv_(state, products_csv_) {\n state.products_csv_ = products_csv_;\n}\n\nexport function setProductsGridFromCsv(state, products) {\n state.product.products_transfer = [];\n products.forEach(element => {\n if (element.manage_inventory) {\n\n const pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n };\n\n const quantity = state.products_csv_.find(element2 => element2.code == element.code);\n\n pp.minimum_amount = quantity.quantity;\n pp.product.id = element.id;\n pp.product.code = element.code;\n pp.product.line = element.line_id;\n pp.product.subline = element.subline_id;\n pp.product.price = 0;\n pp.product.brand = element.brand_id;\n pp.product.description = element.description;\n pp.product.quantity = element.inventory[0] ? element.inventory[0].stock : 0;\n pp.product.generic_product_id = element.generic_product_id;\n pp.product.product_type_id = element.product_type_id;\n pp.product.product_type = element.product_type;\n\n state.product.products_transfer.push(pp);\n } else {\n state.error_from_setProductsGridFromCsv = true;\n state.product.products_transfer = [];\n\n }\n\n });\n}\n\nexport function setLoading_(state, loading_) {\n state.loading_ = loading_;\n}\n\nexport function seterror_from_setProductsGridFromCsv(state, error_from_setProductsGridFromCsv) {\n state.error_from_setProductsGridFromCsv = false;\n}\n\nexport function setConveyors(state, conveyors) {\n state.conveyors = conveyors\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\nexport async function fetchConsecutive({commit, state}) {\n await $http\n .get(`/api/consecutivo/13`)\n .then(response => {\n commit('setConsecutive', response.data.consecutive_number);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchBranchOfficeWarehousesEntry(\n {commit, state},\n brancheoffice\n) {\n await $http\n .get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}`)\n .then(response => {\n commit('setBranchofficeWarehousesEntry', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses(\n {commit, state},\n brancheoffice\n) {\n await $http\n .get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}`)\n .then(response => {\n commit('setBranchofficeWarehouses', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices({commit, state}) {\n await $http\n .get('/api/sedes')\n .then(response => {\n\n response.data.data = response.data.data.sort((a, b) => {\n const name_a = a.name.toUpperCase(); // Convierte los nombres a mayúsculas para hacer la comparación insensible a mayúsculas/minúsculas\n const name_b = b.name.toUpperCase();\n\n if (name_a < name_b) {\n return -1; // Si a debe venir antes que b, devuelve un valor negativo\n }\n if (name_a > name_b) {\n return 1; // Si b debe venir antes que a, devuelve un valor positivo\n }\n\n return 0; // Si son iguales, devuelve 0\n });\n\n\n commit('setBranchOffices', response.data);\n commit('setBranchOffices_entry', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('BranchOfficeError', error.message);\n });\n}\n\nexport async function createtransfer({commit, state}) {\n var data = {\n params: state.params,\n product: state.product\n };\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post('/api/tets', data)\n .then(async response => {\n if (!response.data.data.pending_authorization) {\n await commit('setDocument', response.data.data);\n await commit('setShowPdf', true);\n await commit('setLoading_', false);\n Notification.success({\n title: 'Hecho!',\n message: 'Se Ha creado el traslado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box'\n });\n\n } else {\n Notification.success({\n title: 'Hecho!',\n message: 'Se Solicitado La Autorización Correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box'\n });\n }\n\n resolve();\n })\n .catch(error => {\n let data = error.response.data;\n\n if (data.type !== undefined && data.type == 'stock') {\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n\n commit('setStockProducts', data.data);\n reject(data);\n return;\n }\n\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n\n commit('setLoading_', false);\n });\n\n });\n}\n\nexport async function generatePdf({state}, documentid) {\n await $http({\n url: `/api/pdf-traslado/${documentid}`,\n method: 'GET',\n responseType: 'blob' // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'traslado.pdf'); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchTransferDocument({commit, state}) {\n var data = {\n params: state.params,\n product: state.product\n };\n await $http\n .get(`/api/lista-tras`, data)\n .then(response => {\n commit('setTransferDocument', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchVoucherType({commit, state}) {\n let params = {\n branchoffice: localStorage.selected_branchoffice,\n code_voucher_type: 140\n };\n await $http\n .get(`/api/tipo-comprobante?branchoffice=${localStorage.selected_branchoffice}&code_voucher_type=140`)\n .then(response => {\n // commit(\"setTransferDocument\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n\nexport async function fetchTransfer({commit, state}, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit('setTransfer', response.data.data);\n commit('setParamsTransfer', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchTransferForUpdate({commit, state}, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit('setTransfer', response.data.data);\n commit('setParamsTransferupdate', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function deletedocumentproduct({commit, state}, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit('setTransfer', response.data.data);\n commit('setParamsTransferupdate', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchModel({commit, state, dispatch, rootState}) {\n await dispatch('cart/getModelBycode', '240', {root: true});\n\n let model_id = rootState.cart.selected_model.id;\n\n await $http\n .get('/api/modelos/' + model_id)\n .then(response => {\n commit('setSelectedModel', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\nexport async function getProductByCode({commit, state}) {\n var params = {\n list_code_products: state.list_code_products,\n branchoffice_warehouse_id: state.params.bodega_salida\n };\n await $http\n .post('/api/producto-por-codigo', params)\n .then(response => {\n if (response.data.data.length === state.list_code_products.length) {\n // console.log(response.data.data);\n // console.log(state.list_code_products);\n commit('setProductsGridFromCsv', response.data.data);\n } else {\n Notification.error({\n title: '¡Error!',\n message: 'Algunos productos no existen',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n state.list_code_products = [];\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n\n}\n\nexport async function fetchContacts({\n commit,\n state\n }, requestParameters = {\n params: state.paramsquery\n}) {\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data);\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message);\n });\n}\n\nexport async function fetchContactsWarehouses({\n commit,\n state\n }, contact) {\n let requestParameters = {\n params: {contact_id: contact}\n };\n await $http.get('/api/establecimientos', requestParameters)\n .then((response) => {\n commit('setContactsWarehouses', response.data.data);\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message);\n });\n}\n\nexport async function fetchConveyors({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/TR01\")\n .then(response => {\n commit(\"setConveyors\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer/index.js","export function setAccounts (state, accounts){\n state.accounts = accounts\n}\nexport function setGroups (state, groups){\n state.groups = groups\n}\nexport function setLevels (state, levels){\n state.levels = levels\n}\nexport function setAccountss (state, accountss){\n state.accountss = accountss\n}\n\nexport function setCategories (state, categories){\n state.categories = categories\n}\nexport function fetchBranchOffice (state, branchOffices){\n state.branchOffices = branchOffices\n}\nexport function setBranchofficeWarehouses(state, branchoffice_warehouses){\n state.branchoffice_warehouses = branchoffice_warehouses\n}\nexport function fetchLines (state, fetchLines){\n state.lines = fetchLines\n}\nexport function setContacts (state, contacts){\n state.contacts = contacts\n}\nexport function setWalletType (state, wallet_types){\n state.wallet_types = wallet_types\n}\nexport function setcost_center_1 (state, cost_center_1){\n state.cost_center_1 = cost_center_1\n}\nexport function setcost_center_2 (state, cost_center_2){\n state.cost_center_2 = cost_center_2\n}\nexport function setcost_center_3 (state, cost_center_3){\n state.cost_center_3 = cost_center_3\n}\nexport function setTaxes (state, taxes){\n state.taxes = taxes\n}\nexport function setlevelToValidate (state, level_to_validate){\n state.level_to_validate = level_to_validate\n}\nexport function setLoading (state, loading_form){\n state.loading_form = loading_form\n}\nexport function serLoading_(state, loading){\n state.loading = false\n}\nexport function setParamsAccounts(state, params){\n state.params = params\n}\nexport function setInfoDataClone (state, account) {\n state.code_to_clone = account.code\n\n state.params_create.level = account.level\n state.params_create.name = account.name\n state.params_create.short_name = account.short_name\n state.params_create.debit_credit = account.debit_credit\n state.params_create.group = account.group\n state.params_create.description = account.description\n state.params_create.account_id_totalize = account.account_id_totalize\n state.params_create.category = account.category\n state.params_create.branchoffice_id = account.branchoffice_id\n state.params_create.contact_id = account.contact_id\n state.params_create.contact_resume = account.contact_resume\n state.params_create.manage_contact_balances = account.manage_contact_balances ? 1 : 0\n state.params_create.is_customer = account.is_customer? 1 : 0\n state.params_create.is_provider = account.is_provider? 1 : 0\n state.params_create.is_employee = account.is_employee? 1 : 0\n state.params_create.is_others = account.is_others? 1 : 0\n state.params_create.resume_beginning_year = account.resume_beginning_year? 1 : 0\n state.params_create.wallet_type = account.wallet_type\n state.params_create.document_description = account.document_description\n state.params_create.manage_quota_balances = account.manage_quota_balances? 1 : 0\n state.params_create.manage_document_balances = account.manage_document_balances? 1 : 0\n state.params_create.manage_contact_balances = account.manage_contact_balances? 1 : 0\n state.params_create.cost_center_2 = account.cost_center_2\n state.params_create.cost_center_3 = account.cost_center_3\n state.params_create.cost_center_1 = account.cost_center_1\n state.params_create.manage_projects = account.manage_projects? 1 : 0\n state.params_create.manage_projects_stage = account.manage_projects_stage? 1 : 0\n state.params_create.manage_bank_document = account.manage_bank_document? 1 : 0\n state.params_create.manage_way_to_pay = account.manage_way_to_pay? 1 : 0\n state.params_create.tax_id = account.tax_id\n state.params_create.Active_account = account.Active_account? 1 : 0\n state.params_create.pevious_account = account.pevious_account\n state.params_create.manage_base_value = account.manage_base_value? 1 : 0\n state.params_create.line_id = account.line_id? 1 : 0\n state.params_create.bank_account = account.bank_account? 1 : 0\n state.params_create.id_bank_account = account.id_bank_account? account.id_bank_account : null\n state.params_create.capture_contact = !!account.capture_contact ? 1 : 0\n state.params_create.capture_document = !!account.capture_document ? 1 : 0\n state.params_create.document_transactions_count = 0\n state.params_create.application = account.application\n}\n\nexport function setInfoDataEdit (state, account) {\n state.code_to_edit = account.code\n state.id_to_edit = account.id\n\n state.params_create.branchoffice_warehouse_id = account.branchoffice_warehouse_id\n state.params_create.code = account.code\n state.params_create.level = account.level\n state.params_create.name = account.name\n state.params_create.short_name = account.short_name\n state.params_create.debit_credit = account.debit_credit\n state.params_create.group = account.group\n state.params_create.description = account.description\n state.params_create.account_id_totalize = account.account_id_totalize\n state.params_create.account_for_search_document = account.account_for_search_document\n state.params_create.category = account.category\n state.params_create.branchoffice_id = account.branchoffice_id\n state.params_create.contact_id = account.contact_id\n state.params_create.contact_resume = account.contact_resume\n state.params_create.manage_contact_balances = account.manage_contact_balances ? 1 : 0\n state.params_create.is_customer = account.is_customer? 1 : 0\n state.params_create.is_provider = account.is_provider? 1 : 0\n state.params_create.is_employee = account.is_employee? 1 : 0\n state.params_create.is_others = account.is_others? 1 : 0\n state.params_create.resume_beginning_year = account.resume_beginning_year? 1 : 0\n state.params_create.wallet_type = account.wallet_type\n state.params_create.document_description = account.document_description\n state.params_create.manage_quota_balances = account.manage_quota_balances? 1 : 0\n state.params_create.manage_document_balances = account.manage_document_balances? 1 : 0\n state.params_create.manage_contact_balances = account.manage_contact_balances? 1 : 0\n state.params_create.cost_center_2 = account.cost_center_2 ? 1 : 0\n state.params_create.cost_center_3 = account.cost_center_3 ? 1 : 0\n state.params_create.cost_center_1 = account.cost_center_1 ? 1 : 0\n state.params_create.manage_projects = account.manage_projects? 1 : 0\n state.params_create.manage_projects_stage = account.manage_projects_stage? 1 : 0\n state.params_create.manage_bank_document = account.manage_bank_document? 1 : 0\n state.params_create.manage_way_to_pay = account.manage_way_to_pay? 1 : 0\n state.params_create.tax_id = account.tax_id\n state.params_create.Active_account = account.Active_account? 1 : 0\n state.params_create.commissionable_concept = account.commissionable_concept ? 1 : 0\n state.params_create.results_account = account.results_account\n state.params_create.pevious_account = account.pevious_account\n state.user_last_modification = account.user_modification != null ? account.user_modification.name +' '+account.user_modification.surname + ' - ' + account.updated_at.substr(0, 10) + ' Hora ' + account.updated_at.substr(11, 8) : null\n state.params_create.manage_base_value = account.manage_base_value? 1 : 0\n state.params_create.line_id = account.line_id\n state.params_create.bank_account = account.bank_account? 1 : 0,\n state.params_create.id_bank_account = account.id_bank_account? account.id_bank_account : null\n state.params_create.document_transactions_count = account.document_transactions_count? account.document_transactions_count : 0\n state.params_create.application = account.application\n}\nexport function setcommissionable_concepts(state, commissionable_concepts){\n state.commissionable_concepts = commissionable_concepts\n}\nexport function setloading(state, loading){\n state.loading = loading\n}\nexport function setDisabled_input(state, disabled_input){\n state.disabled_input = disabled_input\n}\nexport function setBanks(state,banks){\n state.banks_accounts = banks;\n state.params_create.bank_account = state.bank_account? 1 : 0\n}\nexport function setSubscriber(state, subscriber){\n state.subscriber = subscriber\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchAccounts(\n { commit, state },\n requestParameters = { params: state.params }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchGroups(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/97\")\n .then(response => {\n commit(\"setGroups\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchBanks(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/119\")\n .then(response => {\n commit(\"setBanks\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchLevels(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/98\")\n .then(response => {\n commit(\"setLevels\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select\nexport async function fetchAccountss(\n { commit, state },\n requestParameters = { params: state.params }\n) {\n await $http\n .get(\"/api/cuentas-lite\")\n .then(response => {\n commit(\"setAccountss\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchAccountssWithParams(\n { commit, state },\n requestParameters = { params: state.params }\n) {\n await $http\n .get(\"/api/cuentas-lite\", requestParameters)\n .then(response => {\n commit(\"setAccountss\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchCategories(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/99\")\n .then(response => {\n commit(\"setCategories\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\nexport async function fetchBranchOffice(\n { commit, state },\n) {\n await $http\n .get(\"/api/sedes\")\n .then(response => {\n commit(\"fetchBranchOffice\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchBranchOfficeWarehouse({ commit, state }) {\n await $http.get(`/api/bodegas-sedes?branchoffice_id=${state.params_create.branchoffice_id}`)\n .then((response) => {\n commit(\"setBranchofficeWarehouses\", response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchLines(\n { commit, state },\n) {\n await $http\n .get(\"/api/lista-lineas\")\n .then(response => {\n commit(\"fetchLines\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContacts({commit,state}, requestParameters = {params: state.paramsquery}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchWalletType(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/100\")\n .then(response => {\n commit(\"setWalletType\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchcost_center_1(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/102\")\n .then(response => {\n commit(\"setcost_center_1\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchcost_center_2(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/103\")\n .then(response => {\n commit(\"setcost_center_2\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchcost_center_3(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/104\")\n .then(response => {\n commit(\"setcost_center_3\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchTaxes(\n { commit, state },\n) {\n await $http\n .get(\"/api/impuestos\", { params: state.params_taxes })\n .then(response => {\n commit(\"setTaxes\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function searchLevel(\n { commit, state }, level_id\n) {\n await $http\n .get(`/api/parametros/${level_id}`)\n .then(response => {\n commit(\"setlevelToValidate\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function createAccount(\n { commit, state }\n) {\n await $http\n .post(`/api/cuentas/`, state.params_create)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha Creado La Cuenta Exitosamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateAccount(\n { commit, state }\n) {\n await $http\n .put(`/api/cuentas/${state.id_to_edit}`, state.params_create)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha Modificado La Cuenta Exitosamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchAccountForClone({commit , state}, id_account_clone){\n await $http\n .get(`/api/cuentas/${id_account_clone}`)\n .then(response => {\n commit(\"setInfoDataClone\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchAccountForEdit({commit , state}, id_account_edit){\n await $http\n .get(`/api/cuentas/${id_account_edit}`)\n .then(response => {\n commit(\"setInfoDataEdit\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteAccount({commit, state}, id){\n await $http\n .delete(`/api/cuentas/${id}`)\n .then(response => {\n Notification.error({\n title: \"Exito!\",\n message: data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchcommissionable_concepts({commit, state}){\n await $http\n .get(\"/api/parametros-por-tabla/97\")\n .then(response => {\n commit(\"setcommissionable_concepts\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n} \nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account/index.js","export default {\n loading:true,\n user_last_modification:null,\n params_create:{\n results_account:0,\n document_transactions_count:0,\n code:null,\n name:null,\n short_name:null,\n description:null,\n debit_credit:null,\n group:null,\n level:null,\n account_id_totalize:null,\n account_for_search_document:null,\n category:null,\n branchoffice_id:null,\n line_id:null,\n contact_id:null,\n manage_contact_balances:null,\n is_customer:null,\n is_provider:null,\n is_employee:null,\n is_others:null,\n resume_beginning_year:null,\n wallet_type:null,\n document_description:null,\n manage_quota_balances:null,\n\n manage_document_balances:null,\n cost_center_2:null,\n cost_center_3:null,\n cost_center_1:null,\n manage_projects:null,\n manage_projects_stage:null,\n manage_bank_document:null,\n manage_way_to_pay:null,\n tax_id:null,\n Active_account:1,\n manage_documents:0,\n pevious_account:null,\n user_id:null,\n manage_base_value:null,\n commissionable_concept:0,\n contact_resume:null,\n bank_account:0,\n id_bank_account:null,\n branchoffice_warehouse_id:null,\n capture_contact: 0,\n capture_document: 0,\n application:[],\n },\n loading_form:false,\n code_to_clone: null,\n code_to_edit: null,\n id_to_edit: null,\n\n groups:[],\n levels:[],\n accountss:[],\n banks_accounts:[],\n categories:[],\n branchOffices:[],\n contacts:[],\n wallet_types:[],\n cost_center_1:[],\n cost_center_2:[],\n cost_center_3:[],\n taxes:[],\n branchoffice_warehouses:[],\n commissionable_concepts:[],\n level_to_validate:null,\n\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n},\n disabled_input : false,\n params: {\n notAux: false,\n onlyAux : false,\n paginate: true,\n page: 1,\n perPage: 100,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_taxes: {\n page: 1,\n perPage: 100,\n filter: '',\n order:'asc'\n },\n accounts:[],\n subscriber:null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account/state.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\nexport async function fetchOptions(\n { commit, state }, type\n) {\n let params = {\n filter: type == 1 ? 'P%' : 'A%'\n }, options = []\n await $http.get('/api/opciones-aurora/108', { params })\n .then((response) => {\n options = response.data;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n return options\n}\n\nexport async function createProcess({ commit, state }, row) {\n let process = null\n await $http.post('/api/aurora/', row)\n .then((response) => {\n process = response.data.data\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n return process\n}\n\nexport async function getProcess({ commit, state }) {\n await $http.get('/api/aurora/')\n .then((response) => {\n commit('setItems', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function deleteProcess({ commit, state }, id) {\n await $http\n .delete(`/api/aurora/${id}`)\n .then(response => {\n // commit('setShowPdf', response.data.data)\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/Aurora/actions.js","export function addProcess(state) {\n state.items.push({\n id:null,\n type:null,\n option:null,\n frequency:null,\n period:null,\n hour:null,\n Hour_input:null,\n minutes:null,\n active:1,\n options_select:[],\n email:[],\n manage_hour:true,\n manage_days:false,\n days:null\n });\n}\nexport function setItems(state, process){\n state.items = process\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/Aurora/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/Aurora/index.js","export default {\n items:[],\n types:[\n {\n id:1,\n value:'Proceso'\n },\n {\n id:2,\n value:'Alerta'\n }\n ],\n frequency:[\n {\n id:1,\n value:'Cada minuto',\n },\n {\n id:2,\n value:'Cada Hora',\n },\n {\n id:3,\n value:'Diariamente',\n },\n {\n id:4,\n value:'Semanal Lunes',\n },\n {\n id:5,\n value:'Semanal Martes',\n },\n {\n id:6,\n value:'Semanal Miercoles',\n },\n {\n id:7,\n value:'Semanal Jueves',\n },\n {\n id:8,\n value:'Semanal Viernes',\n },\n {\n id:9,\n value:'Semanal Sabado',\n },\n {\n id:10,\n value:'Semanal Domingo',\n },\n {\n id:11,\n value:'Mensual',\n },\n ],\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/modules/Aurora/state.js","import {\n defaultJob\n} from \"./state\";\n\nexport function setUsers(state, users) {\n state.users = users\n state.users.map(el => {\n el.src = state.arrayAvatars[\n Math.floor(Math.random() * state.arrayAvatars.length)\n ]\n })\n}\nexport function setUsersNames(state, userName) {\n userName.map(el => {\n state.userName.push(el.username)\n })\n state.userNamesId = userName;\n}\n\nexport function setModalAttachment(state, show) {\n state.modalAttachment.show = show\n}\n\nexport function setJob(state, job){\n state.job.user_creation_id = job.user_creation_id\n state.job.name = job.name\n state.job.description = job.description\n state.job.closing_date = job.closing_date\n state.job.limit_date = job.limit_date\n\n state.job.interactions = job.interactions\n state.job.members = job.members\n\n state.job.members.map(el => {\n el.src = state.users.find(elu => elu.id == el.user_id).src\n })\n\n state.job.interactions.map(el => {\n el.src = state.users.find(elu => elu.id == el.user_id).src\n })\n\n state.newmembers = []\n job.members.map(el => {\n state.newmembers.push({\n user_id : el.user_id,\n user_inviting_id : el.user_inviting_id,\n })\n })\n\n state.files = job.files\n}\nexport function setDefaultJob(state, job){\n state.job = defaultJob()\n}\nexport function setModalUrl(state, url){\n state.modal.url = url\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/star-jobs/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchUsers(\n { commit, state },\n requestParameters = { params: state.users_params }\n) {\n await $http\n .get(\"/api/usuarios\", requestParameters)\n .then(response => {\n commit(\"setUsers\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchUsersName(\n { commit, state }\n) {\n await $http\n .get(\"/api/usuarios-username\")\n .then(response => {\n commit(\"setUsersNames\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchJob(\n { commit, state }, id\n) {\n await $http\n .get(\"/api/tareas/\"+id, )\n .then(response => {\n commit(\"setJob\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetDocument(\n { commit, state }, id\n) {\n await $http\n .get(\"/api/tareas/\"+id+\"/archivos/ver\", )\n .then(response => {\n commit(\"setModalUrl\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\nexport async function fetDocumentinteraction(\n { commit, state }, id\n) {\n await $http\n .get(\"/api/interaccion/\"+id+\"/archivos/ver\", )\n .then(response => {\n commit(\"setModalUrl\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function closeJob(\n { commit, state }, id\n) {\n await $http\n .delete(\"/api/tareas/\"+id, )\n .then(response => {\n commit(\"setDefaultJob\", response);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function createJob({ commit, state }) {\n let formData = new FormData();\n let job = null\n\n formData.append(\"name\", state.job.name );\n formData.append(\"description\", state.job.description );\n\n if (state.job.closing_date != null) {\n formData.append(\"closing_date\", state.job.closing_date );\n }\n if (state.job.limit_date != null) {\n formData.append(\"limit_date\", state.job.limit_date+' 00:00:00');\n }\n\n state.job.files.map(fn => {\n formData.append(\"files[]\", fn);\n });\n\n await $http\n .post(`/api/tareas/`, formData)\n .then(response => {\n job = response.data.data\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha Creado El Job Exitosamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return job\n}\n\nexport async function updateJob({ commit, state }, id) {\n let data = {\n name:state.job.name,\n description: state.job.description,\n closing_date: state.job.closing_date,\n limit_date: state.job.limit_date,\n };\n let job = null\n\n // formData.append(\"name\", state.job.name );\n // formData.append(\"description\", state.job.description );\n\n // if (state.job.closing_date != null) {\n // formData.append(\"closing_date\", state.job.closing_date );\n // }\n // if (state.job.limit_date != null) {\n // if (state.job.limit_date.length == 10) {\n // formData.append(\"limit_date\", state.job.limit_date+' 00:00:00');\n // }else{\n // formData.append(\"limit_date\", state.job.limit_date);\n // }\n // }\n\n // state.job.files.map(fn => {\n // formData.append(\"files[]\", fn);\n // });\n\n\n await $http\n .put(`/api/tareas/${id}`, data)\n .then(response => {\n job = response.data.data\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha Creado El Job Exitosamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return job\n}\n\nexport async function createInteraction({ commit, state }, id) {\n let formData = new FormData();\n formData.append(\"description\", state.interaction.description );\n state.interaction.files.map(fn => {\n formData.append(\"files[]\", fn);\n });\n\n await $http\n .post(`/api/tareas/${id}/interaccion`, formData)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"La interaccion ha sido creada\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function addFileJob({ commit, state }, id) {\n let formData = new FormData();\n\n state.job.files.map(fn => {\n formData.append(\"files[]\", fn);\n });\n\n await $http\n .post(`/api/tareas/${id}/agregar-archivos`, formData)\n .then(response => {\n // Notification.success({\n // title: \"Hecho!\",\n // message: \"La interaccion ha sido creada\",\n // type: \"success\",\n // duration: 2000,\n // customClass: \"notification-box\"\n // });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function addMembers({ commit, state }, id) {\n let params = {members : state.newmembers} \n await $http\n .post(`/api/tareas/${id}/agregar-integrandes`, params)\n .then(response => {\n // Notification.success({\n // title: \"Hecho!\",\n // message: \"La interaccion ha sido creada\",\n // type: \"success\",\n // duration: 2000,\n // customClass: \"notification-box\"\n // });\n })\n .catch(error => {\n console.log(error);\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n\nexport async function downloadDoc({ commit, state },{ id, name}) {\n try {\n var response = await $http.get(`/api/tareas/${id}/archivos/descargar`, {\n responseType: \"blob\"\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", name); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\nexport async function downloadInteractionDoc({ commit, state }, {id, name}) {\n try {\n var response = await $http.get(`/api/interaccion/${id}/archivos/descargar`, {\n responseType: \"blob\"\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", name); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/star-jobs/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/star-jobs/index.js","import {defaultContacts} from \"./state\";\nimport moment from 'moment';\n\nexport function setBranchOffices(state, branchOffices){\n state.branchOffices = branchOffices;\n}\nexport function setVouchersTypes(state, vouchertype) {\n state.voucherTypes = vouchertype\n}\nexport function setGroups (state, groups){\n state.groups = groups\n }\nexport function setContacts (state, contacts){\n state.contacts = contacts\n}\nexport function setContactsdt (state, contactsdt){\n state.contactsdt = contactsdt\n}\nexport function setContactdt(state, contactsdt) {\n state.contactdt = contactsdt\n state.contactsdt.push(contactsdt)\n}\n\nexport function setContacts_filterdt(state, contactsdt) {\n let dt = state.params.document_transactions.find(el => el.order == state.order_account_select)\n dt.contact_select = contactsdt\n}\n\nexport function setTemplates(state , templates) {\n state.templates = templates\n}\nexport function setcost_center_1 (state, cost_center_1){\n state.cost_center_1 = cost_center_1\n}\nexport function setCities(state, cities) {\n state.cities = cities\n}\nexport function setSellers(state, sellers) {\n state.sellers = sellers\n}\nexport function setProjects(state, projects) {\n state.projects = projects\n}\nexport function setProjectsdt(state, projects) {\n state.projectsdt = projects\n}\nexport function setConsecutive(state, consecutive) {\n let consecutive_number = consecutive.consecutive_number+1\n state.params.num_doc = consecutive_number.toString()\n state.params.prefix = consecutive.prefix\n state.code_voucherType = consecutive.code_voucher_type\n\n if (state.origin_document){\n state.params.affects_prefix_document = consecutive.prefix\n state.params.affects_number_document = consecutive_number.toString()\n }\n}\nexport function setselected_document(state, selected_document){\n state.selected_document = selected_document\n}\nexport function setbranchOffice(state, branchOffice){\n state.branchOffice= branchOffice\n}\n\nexport function setprojects_column_visible(state, projects_column_visible){\n state.projects_column_visible = projects_column_visible\n}\nexport function setcontact_column_visible (state, contact_column_visible){\n state.contact_column_visible = contact_column_visible\n}\nexport function setcost_center_column_visible (state, cost_center_column_visible){\n state.cost_center_column_visible = cost_center_column_visible\n}\nexport function setpayment_column_visible (state, payment_column_visible){\n state.payment_column_visible = payment_column_visible\n}\nexport function setmanage_bank_document (state, manage_bank_document){\n state.manage_bank_document = manage_bank_document\n}\nexport function setcross_date_visible (state, cross_date_visible){\n state.cross_date_visible = cross_date_visible\n}\nexport function setmanage_document(state, manage_document) {\n state.manage_document = manage_document\n}\nexport function setcommissionable_concept(state, commissionable_concept) {\n state.commissionable_concept = commissionable_concept\n}\nexport function setcommissionable_concepts(state, commissionable_concepts){\n state.commissionable_concepts = commissionable_concepts\n}\nexport function setaccount_selects(state, account_selects){\n // state.account_selects = account_selects\n // state.account_selects = []\n let data =[]\n account_selects.map((item)=>{\n if (item.level == 24575) {\n data.push(item)\n }\n })\n\n state.params.document_transactions.map((item)=>{\n if (item.order == state.order_account_select) {\n item.account_select = data\n }\n })\n}\n\nexport function settotal_debit(state, total_debit){\n state.total_debit = total_debit\n}\nexport function settotal_credit(state, total_credit){\n state.total_credit = total_credit\n}\nexport function setParamsdocumentid(state, document_transaction) {\n state.params.document_id = state.params.document_id == null ? document_transaction.document_id : state.params.document_id\n\n state.selected_document_title = {\n id:document_transaction.document.id,\n }\n\n let index = state.params.document_transactions.findIndex( element => element.order == state.params.document_transaction.order)\n state.params.document_transactions[index].id_document_transactions = state.params.document_transactions[index].id_document_transactions == null ? document_transaction.id : state.params.document_transactions[index].id_document_transactions\n\n state.params.document_transactions.map((item)=>{\n if (!item.manage_document && !item.affects_document_id) {\n item.affects_document_id = state.params.document_id\n }\n })\n}\nexport function setParamsdocument_id(state, document_id){\n state.params.document_id = document_id\n}\nexport function setOrderForAccountSelectToChange(state, order) {\n state.order_account_select = order\n}\nexport function setshowInputs(state, model_id){\n let model = state.templates.find(el => el.id == model_id)\n if (model) {\n state.showInputs.center_cost = model.select_cost_center == 1 || model.select_cost_center == 9 ? true : false\n /*state.showInputs.seller = model.see_seller*/\n state.showInputs.observation1 = model.observation_tittle_1 != null ? true : false\n state.showInputs.observation2 = model.observation_tittle_2 != null ? true : false\n state.showInputs.projects = model.projects == 1 || model.projects == 1 ? true : false\n state.showInputs.cross_doc = model.doc_cruce_management == 1 || model.doc_cruce_management == 9 ? true : false\n state.showInputs.cross_doc_date = model.crossing_document_dates == 1 || model.crossing_document_dates == 9 ? true : false\n state.showInputs.files = model.attach_file\n state.cross_title = model.doc_cruce_management == 1 || model.doc_cruce_management == 9 ? model.tittle : null\n state.validations_model.cross_doc = model.doc_cruce_management\n state.validations_model.cross_doc_date = model.crossing_document_dates\n }\n}\nexport function setaccountselect(state, account_select){\n state.account_select = account_select\n}\nexport function setpayment_methods(state, payment_methods){\n state.payment_methods = payment_methods\n}\nexport function setmodel_code(state , model_code){\n state.model_code = model_code\n}\nexport function setmodel_accounting_generate(state , model_accounting_generate){\n state.model_accounting_generate = model_accounting_generate\n}\nexport function setShowPdf(state, show_pdf){\n state.file_name = show_pdf.accounting_link\n state.show_pdf = true\n}\nexport function setloading_form(state, loading_form){\n state.loading_form = loading_form\n}\nexport function setloading(state, loading){\n state.loading= loading\n}\nexport function setloading_create_transaction(state, loading_create_transaction){\n state.loading_create_transaction = loading_create_transaction\n}\nexport function setloading_cancel_accounting_document(state, loading_cancel_accounting_document){\n state.loading_cancel_accounting_document = loading_cancel_accounting_document\n}\nexport function setorigin_document(state, origin_document){\n state.origin_document = origin_document\n}\nexport function listTransactions(state, transactions){\n state.params.document_transactions = []\n let doc = state.params;\n transactions.map((el, index) =>{\n state.params.document_transactions.push({\n //datos que se muestran en la grilla\n account_code : el.account.code,\n account_name : el.account.name,\n order \t\t\t\t\t\t: \tel.order ? el.order : index,\n payment_method : null,\n account_id \t\t\t\t\t:\tel.account_id,\n observation \t\t\t\t:\tel.observations,\n contact_id \t\t\t\t\t: \tel.contact_id,\n projects_id : el.projects_id,\n value \t\t\t\t\t\t:\tel.operation_value,\n debit_credit : el.transactions_type,\n base_value \t\t\t\t\t: \tel.base_value,\n bank_document_number : el.bank_document_number,\n commissionable_concept_id : el.commissionable_concept_id,\n due_date : el.due_date,\n quota_number : el.quota_number,\n center_cost : el.cost_center_1,\n\n //datos para mostrar u ocultar columnas\n contact_column_visible \t\t: \tel.account.manage_contact_balances || el.account.capture_contact,\n projects_column_visible \t: \tel.account.manage_projects != 0,\n payment_column_visible \t\t: \tel.manage_way_to_pay,\n cost_center_column_visible \t: \tel.account.cost_center_1 || el.account.cost_center_2 || el.account.cost_center_3,\n base_value_column_visible \t: \tel.manage_base_value,\n commissionable_concept : el.account.commissionable_concept,\n manage_document : doc.vouchertype && doc.vouchertype.origin_document ? el.account && (el.account.manage_document_balances || el.capture_document || el.manage_contact_balance) && el.affects_document_id != el.document_id && (state.edit_document || state.Watch_documument) : false,\n\n //datos para cargar los selects\n account_select \t\t\t\t:\t[el.account],\n contact_select \t\t\t\t: \t[el.contact],\n\n //ids para grilla y para manejo en back(crear o actualizar)\n id_document_transactions : el.id,\n id : index,\n\n // verificar\n affects_document_id \t\t: \tel.affects_document_id,\n documet_id \t\t\t\t\t: \tel.document_number,\n no_doc \t\t\t\t\t\t: el.affects_document && el.affects_document.prefix?el.affects_document.prefix.trim().length > 0?el.affects_document.prefix+'-'+el.affects_document.consecutive:el.affects_document.consecutive:null,\n affects_prefix_document : el.affects_prefix_document,\n crossing_number : el.crossing_consecutive,\n crossing_date : el.crossing_due_date_document,\n\n mode : el.affects_document_id === el.document_id ? 1 : 2,\n affects_prefix : el.affects_prefix,\n affects_consecutive : el.affects_consecutive,\n })\n })\n}\nexport function setloading_transactions(state, loading_transactions){\n state.loading_transactions = loading_transactions;\n}\n\nexport function setParamsEdit(state, doc){\n state.edit_document = true;\n state.loading_totals = true\n state.params.user = doc.user\n state.params.user_accounting_modification = doc.user_accounting_modification\n state.params.user_cancellation = doc.user_cancellation\n state.params.cancellation_date = doc.cancellation_date\n state.params.cancellation_reason_param = doc.cancellation_reason_param\n state.params.document_date = doc.document_date\n state.params.ref_update_doc = doc.ref_update_doc\n state.params.created_at = doc.created_at\n state.params.accounting_date_last_modification= doc.accounting_date_last_modification\n state.selected_document_title.id = doc.id\n state.selected_document_title.in_progress = doc.in_progress\n state.params.branchoffice_id = doc.branchoffice_id\n state.params.voucherType_id = doc.vouchertype_id\n state.params.num_doc = doc.consecutive.toString()\n state.params.prefix = doc.prefix\n state.params.date = doc.document_date\n state.params.template_id = doc.model_id\n state.params.contact_id = doc.contact_id\n state.params.document_id = doc.id\n state.params.observation = doc.observation\n state.params.observation2 = doc.observation_two\n state.params.city_id = doc.city\n state.params.seller_id = doc.seller_id\n state.params.id_correria = doc.id_correria\n state.sellers = [doc.seller]\n state.params.affects_prefix_document = doc.affects_prefix_document\n state.params.affects_number_document = doc.affects_number_document\n state.params.affects_date_document = doc.affects_date_document\n state.params.due_date = doc.due_date\n state.params.term_days = doc.term_days\n state.params.files = doc.files\n state.params.original_document = doc.original_document\n\n state.params.documents_products = doc.documents_products;\n\n state.params.document_transactions = []\n\n doc.accounting_transactions.map((el, index) =>{\n const mode = el.affects_document_id === doc.id ? 1 : 2\n state.params.document_transactions.push({\n //datos que se muetran en la grilla\n order \t\t\t\t\t\t: \tindex,\n payment_method : null,\n account_id \t\t\t\t\t:\tel.account_id,\n observation \t\t\t\t:\tel.observations,\n contact_id \t\t\t\t\t: \tel.contact_id,\n projects_id : el.projects_id,\n value \t\t\t\t\t\t:\tel.operation_value,\n debit_credit : el.transactions_type,\n base_value \t\t\t\t\t: \tel.base_value == null ? 0 : el.base_value,\n bank_document_number : el.bank_document_number,\n commissionable_concept_id : el.commissionable_concept_id,\n due_date : el.due_date,\n quota_number : el.quota_number,\n center_cost : el.cost_center_1,\n\n //datos para mostrar u ocultar columnas\n projects_column_visible \t: \tel.account && el.account.manage_projects != 0 ? true : false,\n payment_column_visible \t\t: \tel.manage_way_to_pay,\n contact_column_visible \t\t: \tel.account && el.account.manage_contact_balances,\n cost_center_column_visible \t: \t(el.account && el.account.cost_center_1) || (el.account && el.account.cost_center_2) || (el.account && el.account.cost_center_3) ? true : false,\n base_value_column_visible \t: \tel.manage_base_value,\n commissionable_concept : el.account && el.account.commissionable_concept,\n manage_document : doc.vouchertype && doc.vouchertype.origin_document ? el.account && el.account.manage_document_balances && el.affects_document_id != el.document_id && (state.edit_document || state.Watch_documument) : false,\n by_origin_document : el.account && el.account.manage_document_balances && el.affects_document_id != el.document_id && (state.edit_document || state.Watch_documument) && doc.vouchertype && doc.vouchertype.origin_document,\n\n //datos para cargar los selects\n account_select \t\t\t\t:\tel.account ? [el.account] : [],\n contact_select \t\t\t\t: \t[el.contact],\n account_code : el.account != null ? el.account.code : null,\n account_name : el.account != null ? el.account.name : null,\n\n //ids para grilla y para manejo en back(crear o actualizar)\n id_document_transactions : el.id,\n id : index,\n\n // verificar\n affects_document_id : el.affects_document_id,\n documet_id \t\t\t\t\t: \tel.document_number,\n no_doc \t\t\t\t\t\t: el.affects_document ? (el.affects_prefix != null ? el.affects_prefix +' - '+ el.affects_consecutive : el.affects_consecutive) : null,\n affects_prefix_document : el.affects_prefix_document,\n crossing_number : el.crossing_consecutive,\n crossing_date : el.crossing_due_date_document,\n mode : mode,\n affects_prefix : el.affects_prefix,\n affects_consecutive : el.affects_consecutive\n })\n })\n\n state.totals = {\n // Totales de los productos informativo\n total_quantity : doc.total_quantity,\n total_discount : doc.total_discount,\n total_vr_brut : doc.total_vr_brut,\n total_vr_iva : doc.total_vr_iva,\n total_ : doc.total_,\n total_items : doc.total_items,\n total_inventory_cost_value : doc.total_inventory_cost_value,\n\n //totales documento\n total_value_brut : doc.total_value_brut,\n ret_fue_total : doc.ret_fue_total,\n ret_iva_total : doc.ret_iva_total,\n ret_ica_total : doc.ret_ica_total,\n total_value : doc.total_value\n }\n state.templates = state.params.template_id == null ? [] : state.templates\n state.sellers = state.params.seller_id == null ? [] : state.sellers\n\n state.loading_totals = false\n}\n\nexport function setParamsClone(state, doc) {\n\n let due_date = moment().format('YYYY-MM-DD');\n\n const contact = state.contacts.find(c => c.id === doc.contact_id);\n\n if (contact && contact.pay_days) {\n due_date = moment().add(contact.pay_days, 'days').format('YYYY-MM-DD');\n }\n\n state.loading_totals = true;\n state.edit_document = true;\n state.params.document_date = doc.document_date;\n state.params.ref_update_doc = doc.ref_update_doc;\n state.params.created_at = doc.created_at;\n state.params.accounting_date_last_modification = doc.accounting_date_last_modification;\n state.selected_document_title.id = doc.id;\n state.selected_document_title.in_progress = true;\n state.params.branchoffice_id = doc.branchoffice_id;\n state.params.num_doc = null;\n state.params.prefix = '';\n state.params.date = moment().format('YYYY-MM-DD');\n state.params.contact_id = doc.contact_id;\n state.params.document_id = doc.id;\n state.params.observation = doc.observation;\n state.params.observation2 = doc.observation_two;\n state.params.city_id = doc.city;\n state.params.seller_id = doc.seller_id;\n state.params.id_correria = doc.id_correria;\n state.sellers = [doc.seller];\n state.params.affects_prefix_document = '';\n state.params.affects_number_document = '';\n state.params.affects_date_document = moment().format('YYYY-MM-DD');\n state.params.due_date = due_date;\n state.params.term_days = doc.term_days;\n state.params.files = doc.files;\n state.params.original_document = doc.original_document;\n state.params.template_id = doc.model_id\n\n state.params.documents_products = doc.documents_products;\n\n state.params.document_transactions = [];\n\n doc.accounting_transactions.map((el, index) => {\n\n el.tax_id = el.account ? el.account.tax_id : null\n el.projects_column_visible = el.account && el.account.manage_projects;\n el.contact_column_visible = el.account && el.account.manage_contact_balances;\n el.payment_column_visible = el.payment_column_visible == null ? el.account.manage_way_to_pay : el.payment_column_visible;\n el.base_value_column_visible = el.account && el.account.manage_base_value;\n el.manage_document = (el.account && el.account.manage_document_balances) || el.by_origin_document;\n el.manage_bank_document = el.account && el.account.manage_bank_document;\n el.commissionable_concept = el.account && el.account.commissionable_concept;\n el.manage_quota_balances = el.account && el.account.manage_quota_balances;\n el.validation_no_doc = el.validation_no_doc == null && el.account.manage_document_balances ? '2' : el.validation_no_doc;\n el.cost_center_column_visible = (el.account && el.account.cost_center_1) === 1 || (el.account && el.account.cost_center_2) === 1 || (el.account && el.account.cost_center_3 === 1);\n\n state.params.document_transactions.push({\n //datos que se muetran en la grilla\n order: index,\n payment_method: null,\n account_id: el.account_id,\n observation: el.observations,\n contact_id: el.contact_id,\n projects_id: el.projects_id,\n value: el.operation_value,\n debit_credit: el.transactions_type,\n base_value: el.base_value == null ? 0 : el.base_value,\n bank_document_number: el.bank_document_number,\n commissionable_concept_id: el.commissionable_concept_id,\n due_date: due_date,\n pay_day: contact.pay_days,\n quota_number: el.quota_number,\n center_cost : el.center_cost,\n\n //datos para mostrar u ocultar columnas\n by_origin_document: el.account && el.account.manage_document_balances && el.affects_document_id != el.document_id && (state.edit_document || state.Watch_documument) && doc.vouchertype && doc.vouchertype.origin_document,\n\n //datos para cargar los selects\n account_select: el.account ? [el.account]: [],\n contact_select: [el.contact],\n account_code: el.account != null ? el.account.code : null,\n account_name: el.account != null ? el.account.name : null,\n\n //ids para grilla y para manejo en back(crear o actualizar)\n id_document_transactions: el.id,\n id: index,\n\n // verificar\n affects_document_id: el.affects_document_id === doc.id ? null : el.affects_document_id,\n documet_id: el.document_number,\n no_doc: '',\n affects_prefix_document: el.affects_prefix_document,\n crossing_number: el.crossing_consecutive,\n crossing_date: el.crossing_due_date_document,\n mode: state.origin_document && el.account && el.account.manage_document_balances ? 1 : 2,\n disabled_account_select: false,\n affects_prefix: '',\n affects_consecutive: '',\n tax_id: el.tax_id,\n projects_column_visible: el.projects_column_visible,\n contact_column_visible: el.contact_column_visible,\n payment_column_visible: el.payment_column_visible,\n base_value_column_visible: el.base_value_column_visible,\n manage_document: el.manage_document,\n manage_bank_document: el.manage_bank_document,\n commissionable_concept: el.commissionable_concept,\n manage_quota_balances: el.manage_quota_balances,\n validation_no_doc: el.validation_no_doc,\n cost_center_column_visible: el.cost_center_column_visible\n });\n });\n\n state.totals = {\n // Totales de los productos informativo\n total_quantity: doc.total_quantity,\n total_discount: doc.total_discount,\n total_vr_brut: doc.total_vr_brut,\n total_vr_iva: doc.total_vr_iva,\n total_: doc.total_,\n total_items: doc.total_items,\n total_inventory_cost_value: doc.total_inventory_cost_value,\n\n //totales documento\n total_value_brut: doc.total_value_brut,\n ret_fue_total: doc.ret_fue_total,\n ret_iva_total: doc.ret_iva_total,\n ret_ica_total: doc.ret_ica_total,\n total_value: doc.total_value\n };\n state.templates = state.params.template_id == null ? [] : state.templates;\n state.sellers = state.params.seller_id == null ? [] : state.sellers;\n\n state.loading_totals = false;\n state.edit_document = false;\n}\n\n/**\n * Establecer un valor para la variable edit_document.\n */\nexport function setEditDocument(state, edit_document) {\n state.edit_document = edit_document;\n}\n\nexport function setloading_totals(state, loading_totals){\n state.loading_totals = loading_totals\n}\nexport function setloading_accounting_document(state, loading_accounting_document){\n state.loading_accounting_document = loading_accounting_document\n}\nexport function setloading_csv(state, loading_csv){\n state.loading_csv = loading_csv\n}\nexport function settotal_difference(state, total_difference){\n state.total_difference = total_difference\n}\nexport function setbase_value_column_visible(state, base_value_column_visible){\n state.base_value_column_visible = base_value_column_visible\n}\nexport function setWatchDocumument(state, Watch_documument){\n state.Watch_documument = Watch_documument\n}\nexport function setCancellationReasons(state, cancellation_reasons){\n state.cancellation_reasons = cancellation_reasons\n}\nexport function clearParams(state){\n\n if (state.pdf_clear_params){\n state.selected_document = false;\n state.Watch_documument = false;\n state.edit_document = false;\n state.loading_totals = false\n state.show_pdf = false\n state.file_name = null\n\n\n state.document_files_new = [];\n state.document_files_delete = [];\n state.params.files = [];\n\n\n state.showInputs.center_cost = true\n\n let voucherType = state.voucherTypes.find(el => el.id === state.params.voucherType_id)\n if (voucherType){\n state.showInputs.seller = Boolean(voucherType.select_seller)\n state.showInputs.correrias = Boolean(voucherType.select_correreria)\n }\n\n state.showInputs.observation1 = true\n state.showInputs.observation2 = true\n state.showInputs.projects = true\n state.showInputs.cross_doc = true\n state.showInputs.cross_doc_date = true\n state.origin_document = false\n\n state.selected_document_title.id = null\n state.selected_document_title.in_progress = null\n\n // state.params.branchoffice_id = null\n state.params.voucherType_id = null\n state.params.prefix = null\n state.params.num_doc = null\n state.params.date = null\n\n let date = new Date()\n let year = date.toLocaleDateString('COT', {year:'numeric'}).replace(/\\//g, '-')\n let day = date.toLocaleDateString('COT', {day:'2-digit'}).replace(/\\//g, '-')\n let month = date.toLocaleDateString('COT', {month:'2-digit'}).replace(/\\//g, '-')\n state.params.date = `${year}-${month}-${day}`\n\n state.params.original_document = null\n state.params.template_id = null\n state.params.contact_id = null\n state.params.document_id = null\n state.params.observation = null\n state.params.city_id = null\n state.params.seller_id = null\n\n state.params.affects_number_document = null\n state.params.affects_prefix_document = null\n state.params.affects_date_document = null\n state.params.term_days_crossing = null\n state.params.crossing_due_date_document = null\n state.params.due_date = null\n state.params.term_days = null\n state.params.documents_products=[]\n state.totals={},\n state.params.document_transactions =[]\n\n state.params.user = null\n state.params.user_accounting_modification = null\n state.params.document_date = null\n state.params.accounting_date_last_modification= null\n\n state.params.document_transactions = [\n {\n id : 1,\n account_id : null,\n observation : '',\n contact_id : null,\n no_doc : null,\n value : 0,\n base_value : 0,\n order : 1,\n payment_method : null,\n projects_column_visible : null,\n contact_column_visible : null,\n cost_center_column_visible : null,\n account_select : [],\n contact_select : [],\n projects_id : null,\n affects_prefix: null,\n affects_consecutive: null,\n affects_document_id: null,\n mode: 1\n }\n ]\n\n state.total_debit = 0;\n state.total_credit = 0;\n state.total_difference = 0;\n\n\n state.templates = [];\n state.params.id_correria = null\n }else{\n state.show_pdf = false;\n }\n}\n\nexport function setDocumentFile(state, data) {\n let extension = data.name.split(\".\");\n let file = {\n id: null,\n name: data.name,\n extension: extension[extension.length - 1],\n path: \"\",\n size: data.size,\n sent: false,\n document_id: state.params.document_id\n };\n\n state.params.files.push(file);\n\n state.document_files_new.push(data);\n}\n\nexport function deleteDocumentFile(state, data) {\n if (data.id) {\n let key_file = state.params.files.findIndex(\n f => f.id === data.id\n );\n state.params.files.splice(key_file, 1);\n state.document_files_delete.push(data);\n } else {\n let key_file = state.params.files.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.params.files.splice(key_file, 1);\n\n let key_file_new = state.document_files_new.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.document_files_new.splice(key_file_new, 1);\n }\n}\n\nexport function setFiles(state, files){\n let file;\n files.map(el => {\n file = state.params.files.find(f => f.name == el.name && f.size == el.size);\n if (file) {\n file.path = el.path\n }\n })\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_alert.\n */\nexport function setShowToModalAlert(state, show) {\n state.modal_alert.show = show;\n}\n\n/**\n * Establecer un valor para la variable old_document.\n */\nexport function setOldDocument(state, old_document) {\n state.old_document = old_document;\n}\n\nexport function setFilesSearchDocument(state, files_search_document){\n state.files_search_document = files_search_document\n}\n\nexport function setAudit(state, auditDocuments) {\n state.auditDocuments = auditDocuments;\n}\n\nexport function setContactsAudit(state, contacts) {\n state.paramsDocument = contacts;\n}\n\nexport function setValidateFirmDateAccount(state, validate_firm_date_account){\n state.validate_firm_date_account = validate_firm_date_account\n}\n\n\nexport function setPdfDocument(state, document){\n state.pdf_document_name = document.vouchertype.name_voucher_type+' No.' + document.consecutive + '.pdf'\n}\n\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber\n }\n\n/**\n * Establecer un valor para la variable expiration.\n */\nexport function setExpiration(state, expiration) {\n state.expiration = expiration;\n}\n\nexport function validateFieldsVoucherType(state, vouherType) {\n state.showInputs.seller = Boolean(vouherType.select_seller)\n state.showInputs.correrias = Boolean(vouherType.select_correreria)\n}\nexport function setCorrerias(state, correrias) {\n state.correrias = correrias;\n}\n\n/**\n * Establecer un valor para la variable params.\n */\nexport function setParams(state, params) {\n state.params = params;\n}\n\n/**\n * Establecer un valor para la variable balances_by_contacts.\n */\nexport function setBalancesByContacts(state, balances_by_contacts) {\n state.balances_by_contacts = balances_by_contacts;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/various-vouchers/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/various-vouchers/index.js","export default {\n column_visible:{\n quota_number:false,\n },\n subscriber:null,\n Watch_documument:false,\n edit_document:false,\n loading:true,\n loading_form:false,\n loading_transactions:false,\n loading_csv:false,\n loading_accounting_document:false,\n loading_create_transaction:false,\n loading_cancel_accounting_document:false,\n code_voucherType:null,\n selected_document:false,\n origin_document:false,\n modalAttach:{\n show : false,\n s_title_modal: null\n },\n cross_title:null,\n invoice:{\n branchOffice:null,\n vouchertype:null,\n consecutive:null,\n },\n selected_document_title: {\n id:null,\n in_progress:true\n },\n loading_totals:false,\n totals:{},\n\tparams:{\n user:null,\n user_accounting_modification:null,\n document_date:null,\n accounting_date_last_modification:null,\n due_date:null,\n branchoffice_id : null,\n voucherType_id : null,\n template_id:null,\n num_doc:null,\n prefix:null,\n date:null,\n contact_id:null,\n center_cost:null,\n observation:null,\n city_id:null,\n projects_id:null,\n seller_id:null,\n invoice:null,\n document_id:null,\n user_id:null,\n order_account_select:null,\n affects_prefix_document:null,\n affects_number_document:null,\n affects_date_document:null,\n crossing_due_date_document:null,\n term_days_crossing:null,\n cancellation_reason:null,\n ref_update_doc:null,\n created_at:null,\n term_days: null,\n application:[1, 2],\n\n documents_products:[],\n files:[],\n document_transactions:[\n {\n id : 1,\n account_id : null,\n observation : '',\n contact_id : null,\n no_doc : null,\n value : 0,\n base_value : 0,\n order : 1,\n payment_method : null,\n projects_column_visible : null,\n contact_column_visible : null,\n cost_center_column_visible : null,\n base_value_column_visible : null,\n cross_date_visible:null,\n account_select : [],\n contact_select : [],\n affects_document : [],\n affects_prefix_document:null,\n commissionable_concept_id:null,\n crossing_number:null,\n crossing_date:null,\n manage_document:false,\n validation_no_doc:null,\n due_date:null,\n quota_number:null,\n\n account_code: null,\n account_name: null,\n bank_document_number: null,\n affects_prefix: null,\n affects_consecutive: null,\n affects_document_id: null,\n mode: 1,\n disabled_account_select: false\n\n\n }\n ],\n document_transaction:null,\n id_correria:null,\n },\n paramsVoucherType:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n document_files_new:[],\n document_files_delete:[],\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n },\n total_debit: 0,\n total_credit: 0,\n total_difference: 0,\n paramsquerydt:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 100,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n },\n paramstemplates:{\n perPage: 1000,\n sortBy: 'code',\n sort: 'ASC',\n paginate : true,\n filter : null,\n },\n model_code:null,\n model_accounting_generate:null,\n branchOffice:null,\n voucherTypes:[],\n branchOffices: [],\n groups:[],\n contacts:[],\n contactsdt:[],\n contactdt:[],\n templates:[],\n cost_center_1:[],\n cancellation_reasons:[],\n cities:[],\n sellers:[],\n projects:[],\n projectsdt:[],\n Concenpts:[],\n document_transactions:[],\n projects_column_visible:false,\n contact_column_visible:false,\n cost_center_column_visible:false,\n base_value_column_visible:false,\n payment_column_visible:false,\n manage_bank_document:false,\n manage_document:false,\n expiration:false,\n commissionable_concept:false,\n cross_date_visible:false,\n account_selects:[],\n account_select:[],\n payment_methods:[],\n files_search_document:[],\n commissionable_concepts:[],\n showInputs:{\n center_cost:true,\n seller:false,\n correrias:false,\n observation1:true,\n observation2:true,\n projects:true,\n cross_doc:true,\n cross_doc_date:true,\n files:true\n },\n validations_model:{\n cross_doc: false,\n cross_doc_date: false,\n },\n file_name :\"\",\n modal_alert: {show:false},\n old_document: {},\n show_pdf : false,\n pdf_document_name: null,\n pdf_clear_params: true,\n auditDocuments: [],\n contactsAudit: [],\n paramsDocument: [],\n validate_firm_date_account:false,\n correrias:[],\n balances_by_contacts: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/various-vouchers/state.js","export const defaultproducts = () => {\n return {\n products_transfer: []\n };\n};\nexport default {\n error_from_setProductsGridFromCsv: false, \n list_code_products :[],\n products_csv_:[],\n loading_:false,\n selected_model:null,\n transfer:null,\n branchOffices: [],\n branchOffices_entry: [],\n branchoffice_warehouses: [],\n contacts:[],\n contacts_warehouses:[],\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n\n branchoffice_warehouses_entry: [],\n product: defaultproducts(),\n\n transferDocument: [],\n\n params: {\n additional_contact_id:null,\n additional_contact_warehouse_id:null,\n pdf: true,\n sede_salida: null,\n bodega_salida: null,\n documentEntry: null,\n sede_entrada: null,\n bodega_entrada: null,\n contact_id: null,\n observation: null\n },\n showPdf: false,\n consecutive:null,\n document: {\n file_name:''\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer-rot/state.js","export function setBranchOffices (state, branchOffices) {\n state.branchOffices = branchOffices;\n}\n\nexport function setBranchOffices_entry (state, branchOffices) {\n if (state.params.sede_salida) {\n state.branchOffices_entry = []\n branchOffices.map((branchoffice, index)=>{\n if(branchoffice.id == state.params.sede_salida){\n state.branchOffices_entry.push(branchoffice);\n }\n })\n\n }else{\n state.branchOffices_entry = branchOffices;\n\n }\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setContactsWarehouses(state, contacts_warehouses) {\n state.contacts_warehouses = contacts_warehouses;\n}\nexport function setBranchofficeWarehouses (state, branchofficeWarehouses) {\n state.branchoffice_warehouses = branchofficeWarehouses;\n}\n\nexport function setBranchofficeWarehousesEntry (state, branchofficeWarehouses) {\n state.branchoffice_warehouses_entry = branchofficeWarehouses;\n}\nexport function setSedeSalida (state, sede_salida) {\n state.params.sede_salida = sede_salida;\n}\nexport function setSedeEntrada (state, sede_entrada) {\n state.params.sede_entrada = sede_entrada;\n}\nexport function setBodegaSalida (state, bodega_salida) {\n state.params.bodega_salida = bodega_salida;\n}\nexport function setDocument (state, document) {\n state.document = document;\n}\nexport function setTransferDocument (state, transferDocument) {\n state.transferDocument = transferDocument;\n}\n\nexport function setShowPdf (state, data) {\n state.showPdf = data;\n}\n\nexport function setConsecutive (state, consecutive) {\n state.consecutive = consecutive;\n}\n\nexport function setStockProducts (state, products) {\n products.map((dp, index) => {\n let key_p = state.product.products_transfer.findIndex(ptr => ptr.product.id == dp.product_id)\n\n if (key_p >= 0) {\n state.product.products_transfer[key_p].product.quantity = dp.stock\n state.product.products_transfer[key_p].minimum_amount = dp.stock\n }\n\n })\n}\n\nexport function clearParams (state, data) {\n state.product.products_transfer = [];\n state.params.sede_entrada = \"\";\n state.params.bodega_entrada = \"\";\n state.params.observation = \"\";\n state.params.additional_contact_id = null;\n state.params.additional_contact_warehouse_id = null;\n}\n\nexport function setTransfer(state, transfer){\n state.transfer = transfer;\n}\n\nexport function setParamsTransfer(state, transfer){\n if(transfer.pending_authorization){\n\n state.product.products_transfer = []\n state.params.sede_salida = transfer.document.branchoffice_id\n state.params.bodega_salida = transfer.document.branchoffice_warehouse_id\n state.params.sede_entrada = transfer.branchoffice_id\n state.params.bodega_entrada = transfer.branchoffice_warehouse_id\n state.params.observation = transfer.observation\n state.params.document_id = transfer.id\n\n transfer.documents_products.forEach(element => {\n var pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n }\n pp.minimum_amount = element.quantity\n pp.product.id = element.product_id\n pp.product.code = element.product.code\n pp.product.line = element.product.line_id\n pp.product.subline = element.product.subline_id\n pp.product.price = element.product.price.price\n pp.product.brand = element.product.brand_id\n pp.product.description = element.product.description\n pp.product.quantity = element.quantity\n pp.product.documents_product_id = element.id\n\n state.product.products_transfer.push(pp)\n });\n }else{\n state.product.products_transfer = []\n state.params.bodega_salida = null\n state.params.bodega_entrada = null\n state.params.observation = null\n state.params.document_id = null\n }\n}\n\nexport function setParamsTransferupdate(state, transfer){\n\n state.product.products_transfer = []\n state.params.sede_salida = transfer.document.branchoffice_id\n state.params.bodega_salida = transfer.document.branchoffice_warehouse_id\n state.params.sede_entrada = transfer.branchoffice_id\n state.params.bodega_entrada = transfer.branchoffice_warehouse_id\n state.params.observation = transfer.observation\n state.params.document_id = transfer.id\n\n transfer.documents_products.forEach(element => {\n var pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n }\n pp.minimum_amount = element.quantity\n pp.product.id = element.product_id\n pp.product.code = element.product.code\n pp.product.line = element.product.line_id\n pp.product.subline = element.product.subline_id\n pp.product.price = element.product.price.price\n pp.product.brand = element.product.brand_id\n pp.product.description = element.product.description\n pp.product.quantity = element.quantity\n pp.product.documents_product_id = element.id\n\n state.product.products_transfer.push(pp)\n });\n}\n\nexport function setSelectedModel(state, selected_model) {\n state.selected_model = selected_model;\n console.log(state.selected_model)\n}\n\nexport function setLoading_(state, loading_){\n state.loading_ = loading_\n}\nexport function setList_code_products(state, list_code_products){\n state.list_code_products = list_code_products\n}\n\nexport function setProducts_csv_(state, products_csv_){\n state.products_csv_ = products_csv_\n}\n\nexport function setProductsGridFromCsv(state, products){\n state.product.products_transfer = []\n products.forEach(element => {\n if (element.manage_inventory) {\n var pp = {\n product: {\n id: null,\n description: '',\n code: '',\n quantity: '',\n found: '',\n }\n }\n\n var quantity = state.products_csv_.find(element2 => element2.code == element.code)\n\n pp.minimum_amount = quantity.quantity\n pp.product.id = element.id\n pp.product.code = element.code\n pp.product.line = element.line_id\n pp.product.subline = element.subline_id\n pp.product.price = 0\n pp.product.brand = element.brand_id\n pp.product.description = element.description\n pp.product.quantity = element.inventory[0] ? element.inventory[0].stock : 0\n\n state.product.products_transfer.push(pp)\n }else{\n state.error_from_setProductsGridFromCsv = true\n state.product.products_transfer = []\n return\n }\n\n })\n}\n\nexport function seterror_from_setProductsGridFromCsv(state, error_from_setProductsGridFromCsv){\n state.error_from_setProductsGridFromCsv = false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer-rot/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchConsecutive ({ commit, state }, br) {\n await $http\n .get(`/api/consecutivo/143/${br}`)\n .then(response => {\n commit(\"setConsecutive\", response.data.consecutive_number);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchBranchOfficeWarehousesEntry (\n { commit, state },\n brancheoffice\n) {\n await $http\n .get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}&code[]=01&code[]=17&code[]=02&code[]=11`)\n .then(response => {\n commit(\"setBranchofficeWarehousesEntry\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses (\n { commit, state },\n brancheoffice\n) {\n await $http\n .get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}&code[]=01&code[]=17&code[]=02&code[]=11`)\n .then(response => {\n commit(\"setBranchofficeWarehouses\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices ({ commit, state }) {\n await $http\n .get(\"/api/sedes\")\n .then(response => {\n commit(\"setBranchOffices\", response.data);\n commit(\"setBranchOffices_entry\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"BranchOfficeError\", error.message);\n });\n}\n\nexport async function createtransfer ({ commit, state }) {\n var data = {\n params: state.params,\n product: state.product\n };\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/tets-rot\", data)\n .then(async response => {\n if (!response.data.data.pending_authorization) {\n await commit(\"setDocument\", response.data.data);\n await commit(\"setShowPdf\", true);\n await commit(\"setLoading_\", false);\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha creado el traslado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n\n }else{\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Solicitado La Autorización Correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }\n\n resolve();\n })\n .catch(error => {\n let data = error.response.data\n\n if (data.type !== undefined && data.type == 'stock') {\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n\n commit(\"setStockProducts\", data.data)\n reject(data);\n return\n }\n\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n commit(\"clearParams\", data.data)\n commit(\"setLoading_\", false)\n });\n}\n\nexport async function generatePdf ({ state }, documentid) {\n await $http({\n url: `/api/pdf-traslado/${documentid}`,\n method: \"GET\",\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"traslado.pdf\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchTransferDocument ({ commit, state }) {\n var data = {\n params: state.params,\n product: state.product\n };\n await $http\n .get(`/api/lista-tras`, data)\n .then(response => {\n commit(\"setTransferDocument\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchVoucherType ({ commit, state }) {\n let params = {\n branchoffice: localStorage.selected_branchoffice,\n code_voucher_type: 140\n };\n await $http\n .get(`/api/tipo-comprobante?branchoffice=${localStorage.selected_branchoffice}&code_voucher_type=140`)\n .then(response => {\n // commit(\"setTransferDocument\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\nexport async function fetchTransfer ({ commit, state }, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit(\"setTransfer\", response.data.data);\n commit(\"setParamsTransfer\", response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchTransferForUpdate ({ commit, state }, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit(\"setTransfer\", response.data.data);\n commit(\"setParamsTransferupdate\", response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deletedocumentproduct ({ commit, state }, id) {\n await $http\n .get(`/api/testt/${id}`)\n .then(response => {\n commit(\"setTransfer\", response.data.data);\n commit(\"setParamsTransferupdate\", response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchModel({ commit, state,dispatch }) {\n let params = {\n params: {\n branchoffice_id: localStorage.selected_branchoffice\n }\n };\n let model_id = await dispatch('cart/getModelBycode', '240', {root: true})\n\n await $http\n .get(\"/api/modelos/\"+ model_id)\n .then(response => {\n commit(\"setSelectedModel\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getProductByCode({ commit, state }) {\n var params = {\n list_code_products: state.list_code_products,\n branchoffice_warehouse_id: state.params.bodega_salida\n };\n await $http\n .post('/api/producto-por-codigo', params)\n .then(response => {\n if (response.data.data.length === state.list_code_products.length) {\n // console.log(response.data.data);\n // console.log(state.list_code_products);\n commit('setProductsGridFromCsv', response.data.data)\n }else{\n Notification.error({\n title: \"¡Error!\",\n message: 'Algunos productos no existen',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n state.list_code_products =[]\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n}\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.paramsquery\n}) {\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\nexport async function fetchContactsWarehouses({\n commit,\n state\n},contact) {\n let requestParameters = {\n params: {contact_id : contact}\n }\n await $http.get('/api/establecimientos', requestParameters)\n .then((response) => {\n commit('setContactsWarehouses', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer-rot/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/transfer-rot/index.js","export const defaultproducts = () => {\n return {\n products_kardex: []\n }\n }\n\nexport const defaultContacts = () => {\n return {\n data: [],\n total: 1\n }\n}\n\nexport default {\n loading:{\n download_pdf:false,\n kardex:false\n },\n products: [],\n kardex: [],\n contacts: [],\n\n branchOffices: [],\n branchoffice_warehouses: [],\n\n branchoffice_warehouses_entry: [],\n product:defaultproducts(),\n\n params: {\n sede_salida:null,\n bodega_salida: null,\n date: [],\n contact_id:'',\n button:true,\n product:null,\n from_request:true,\n },\n\n params_reconstructor: {\n date: null,\n product:null,\n document_product:null\n },\n\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n paramsProducts:{\n validate_exhausted : false,\n paginate: false,\n product: '',\n branchoffice_warehouse_id: '',\n filter: '',\n page: 1,\n perPage: 15\n },\n document:'',\n inventory: null\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/kardex/state.js","import {defaultContacts} from \"./state\";\n\nexport function setBranchOffices(state, branchOffices){\n state.branchOffices = branchOffices;\n}\n\n//Establece el valor por defecto de contacts\nexport function resetContacts(state) {\n Object.assign(state.contacts, defaultContacts())\n\n}\n\nexport function setBranchofficeWarehouses(state, branchofficeWarehouses){\n state.branchoffice_warehouses = branchofficeWarehouses;\n}\nexport function setSedeSalida(state, sede_salida) {\n state.params.sede_salida = sede_salida\n}\nexport function setBodegaSalida(state, bodega_salida) {\n state.params.bodega_salida = bodega_salida\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n// trae todos los productos\nexport function setStateProducts(state, products) {\n state.products = products;\n }\n\nexport function setKardex(state, kardex) {\n state.kardex = kardex;\n}\n\n/**\n * Establecer un valor para la variable params.\n */\nexport function setParams(state, params) {\n state.params = params;\n}\n\n/**\n * Establecer un valor para la variable inventory.\n */\nexport function setInventory(state, inventory) {\n state.inventory = inventory;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/kardex/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses({commit, state}, brancheoffice) {\n await $http.get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}`)\n .then((response) => {\n commit('setBranchofficeWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices({commit, state}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n }\n\n //Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.paramsquery\n}) {\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n//consulta kardex\nexport async function getKardex({commit,state,dispatch}) {\n state.loading.kardex = true\n var data = {\n params: state.params,\n product: state.product\n }\n await $http.get('/api/kardex', data)\n .then(async (response) => {\n commit('setKardex', response.data.data)\n await dispatch('validateExistencesByDocumentProductId')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n state.loading.kardex = false\n}\n\nexport async function searchProducts ({\n state,\n commit\n}) {\n\n let requestParameters = {\n params: state.paramsProducts\n }\n await $http.get('/api/lista-productos', requestParameters).then((response) => {\n commit('setStateProducts', response.data.data.data)\n }\n\n )\n}\n\n/**\n * Validar existencia.\n */\nexport async function validateExistencesByDocumentProductId({commit, state}) {\n let params = {\n branchoffice_warehouse_id: state.params.bodega_salida,\n product_id: state.params.product\n };\n\n await $http.get('/api/consulta-existencias', {params})\n .then(async response => {\n commit('setInventory', response.data.data)\n }).catch((error) => {\n commit('setInventory',null)\n console.error(error);\n });\n}\n\n\nexport async function fixvalues ({ commit }, params) {\n let requestParameters = { params:params }\n await $http.get(`/api/reconstructor`, requestParameters)\n .then((response) => {\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n }\n\nexport async function downloadDocument({state}, documentToPdf) {\n console.log(documentToPdf)\n state.loading.download_pdf = true\n let name ='';\n if (documentToPdf.name_pdf){\n name = documentToPdf.name_pdf.replace(\".\", \"\")+'.pdf'\n }else{\n name = documentToPdf.vouchertype.name_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n }\n\n let url = ''\n let document_id = documentToPdf.document_id ? documentToPdf.document_id : documentToPdf.id\n\n if (documentToPdf.vouchertype && documentToPdf.vouchertype.code_voucher_type === '100'){\n if ([4, 35].includes(documentToPdf.operationType_id)){\n url ='/api/traslado/descargar-pdf/' + documentToPdf.id\n }\n else {\n url = '/api/traslado/descargar-pdf/' + documentToPdf.thread\n }\n\n }else{\n if ([4, 35].includes(documentToPdf.operationtype_id)){\n url ='/api/traslado/descargar-pdf/' + documentToPdf.document_id\n }else if ([3, 36].includes(documentToPdf.operationtype_id)){\n url = '/api/traslado/descargar-pdf/' + documentToPdf.thread\n }else{\n url = '/api/documentos/descargar-pdf/' + document_id\n }\n\n }\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n state.loading.download_pdf = false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/kardex/actions.js","export function getParams (state){\n return state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/kardex/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/kardex/index.js","import {defaultContacts} from \"./state\";\n\nexport function settypes_operations(state,types_operations){\n state.types_operations = types_operations\n}\n\nexport function setDateSusbs(state, date_subs){\n state.date_subs = date_subs\n}\n\nexport function setloading_(state, loading_){\n state.loading_ = loading_\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clear-erp/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\nexport async function fetchTypesOperations({commit, state}){\n await $http.get('/api/types_operations?paginate=false')\n .then((response) => {\n commit('settypes_operations', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchTdateSubs({commit, state}){\n var user = JSON.parse(localStorage.user);\n let id = user.subscriber_id\n await $http.get(`/api/suscriptores/${id}`)\n .then((response) => {\n \n commit('setDateSusbs', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function clearErp({commit , state}){\n await $http.put('/api/boorrar-erp', state.params)\n .then((response)=>{\n // console.log(response.data.data.data);\n commit('setloading_', false)\n Notification.success({\n title: '!Hecho!',\n message: response.data.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n })\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n })\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clear-erp/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clear-erp/index.js","export default {\n loading_: false,\n types_operations :[],\n date_subs: null,\n params:{\n type_operations: null,\n date: null,\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clear-erp/state.js","import defaultSelectedVisit from './state'\nexport function setSellers(state, sellers) {\n state.sellers = sellers\n}\n\nexport function setdates(state, dates) {\n state.dates = dates\n}\nexport function setshow_current_location(state, show_current_location){\n state.show_current_location = show_current_location\n}\n\nexport function setCoordinates(state, coordinates){\n state.coordinates = coordinates\n}\n\nexport function setVisits(state, visits){\n state.visits = visits\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/seller-route/mutations.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui'\n\n\nexport async function fetchsellers({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchDates({commit, state}) {\n await $http.get(`/api/seller/${state.params.seller}`)\n .then((response) => {\n commit('setdates', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchCordinate({commit, state}) {\n await $http.get(`/api/seller/${state.params.seller}/${state.params.date}`)\n .then((response) => {\n commit('setCoordinates', response.data.data)\n commit('', false)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function currentLocation({commit, state}) {\n await $http.get(`/api/ultima-ubicacion/${state.params.seller}`)\n .then((response) => {\n commit('setCoordinates', response.data.data)\n commit('setshow_current_location', true)\n \n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchVisits({commit, state}) {\n await $http.get(`/api/seller-visits/${state.params.seller}/${state.params.date}`)\n .then((response) => {\n commit('setVisits', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/seller-route/actions.js","export const defaultSelectedDateFrom = () => {\n var fecha = new Date();\n let before = new Date(fecha.getFullYear(), fecha.getMonth() - 6, 1)\n const year = before.getFullYear();\n const month = String(before.getMonth() + 1).padStart(2, '0');\n const day = '01';\n return `${year}-${month}-${day}`;\n\n};\nexport default {\n params: {\n paginate: false,\n product: \"\",\n branchoffice_warehouse_id: \"\",\n branchoffice: null,\n destination_branchoffice_warehouse_id: \"\",\n destination_branchoffice: null,\n filter: \"\",\n page: 1,\n contact_id: null,\n perPage: 15,\n inactives:0,\n with_stock:0,\n },\n titleBranchoffice: \"\",\n products: [],\n contacts: [],\n params_contacts:{\n is_customer: true,\n is_provider: false,\n is_employee: false,\n paginate: false,\n page: 1,\n perPage: 50,\n query: '',\n filter: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n },\n productspagination: {\n from: null,\n to: null,\n total: null\n },\n availability: [],\n availability_totals: [],\n justify_availability: [],\n params_location: {\n product: null,\n branchoffice_warehouse: null,\n location: null,\n warehouse_id: null\n },\n branch_offices_warehouses: [],\n params_history_products:{\n date_from : defaultSelectedDateFrom(),\n contact_id : null,\n product_id : null,\n branchoffice_id : null,\n paginate : true,\n perPage : 15,\n page : 1,\n loading : false,\n },\n history_products:[],\n branchoffice_warehouse: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/availability-inquiry/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/seller-route/index.js","export default {\n sellers: [],\n dates:[],\n coordinates:[],\n visits:[],\n show_current_location:false,\n params:{\n seller:null,\n date:null,\n duration:2000,\n center:false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/seller-route/state.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\nimport {slearState} from \"./mutations\";\nexport async function searchProducts ({state,commit}, filter) {\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit(\"setProducts\", response.data.data.data);\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchVoucherTypes({state, rootState, commit}) {\n if (state.params.branch_office_id) {\n await $http.get(\"/api/tipos-de-comprobantes\", {params: {paginate: false, branchoffice: state.params.branch_office_id}}).then(response => {\n commit(\"setVoucherTypes\", response.data.data);\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n }\n}\nexport async function fetchDocuments({state, rootState, commit}) {\n if (state.params.branch_office_id && state.params.voucher_type_id) {\n await $http.get(\"/api/refactorizar/get-documentos\", {params: {voucherType: state.params.voucher_type_id, branch: state.params.branch_office_id}}).then(response => {\n commit(\"setDocuments\", response.data.data);\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n }\n}\nexport async function fetchBranchOffices({ commit, state },) {\n await $http\n .get(\"/api/sedes?paginate=false\")\n .then(response => {\n commit(\"setBranchOffices_refactor\", response.data.data);\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function rebuild({ state, commit }, filter) {\nlet params = state.params\n\nawait $http.get(\"/api/reconstructor-global\", { params }).then(response => {\n Notification.success({\n title: \"Exito!\",\n message:`Ha iniciado la reconstruccion por ${params.type_refactor}`,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"slearState\");\n})\n.catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n});\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/rebuild/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/rebuild/index.js","export default {\n products:[],\n branch_offices:[],\n voucherTypes:[],\n documents:[],\n code_branch_office:null,\n params : {\n date: null,\n product_ids : [],\n voucher_type_id : null,\n branch_office_id : null,\n document_id : null,\n type_refactor : \"\",\n },\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/rebuild/state.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n\nexport async function searchProducts({ state, commit }, model_id = null) {\n let requestParameters = {\n params: state.params\n };\n\n if (model_id !== null) {\n requestParameters.params.model_id = model_id;\n }\n\n await $http.get(\"/api/lista-productos\", requestParameters).then(response => {\n commit(\"setStateProductspagination\", response.data.data);\n commit(\"setStateProducts\", response.data.data.data);\n commit(\"setTitleBranchoffice\", response.data.data.data);\n });\n}\n\nexport async function justifyAvailability({ state, commit }, parameters) {\n\n let params = {\n branchoffice_id: parameters.branchoffice_id,\n voucher_type: 4,\n filter: \"\",\n model_id: 1,\n product_id: parameters.product_id,\n closed: false\n };\n\n await $http\n .get(\"/api/documentos-diponibilidad\", { params })\n .then(response => {\n commit(\"setJustify_availability\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function availability({ state, commit }, product_id) {\n await $http\n .get(`/api/diponibilidad-sedes/${product_id}`)\n .then(response => {\n console.log( response.data)\n commit(\"setavAilability_totals\", response.data[0]);\n commit(\"setAvailability\", response.data[1]);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updatelocation({ state }) {\n // let selected_branchoffice_warehouse = JSON.parse(localStorage.selected_branchoffice_warehouse)\n\n var params = state.params_location;\n try {\n var response = await $http.put(`/api/actualizar-localizacion`, params);\n if (response.data.status) {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n } else {\n Notification.error({\n title: \"Error!\",\n message: response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\nexport async function fetchContacts({commit, state},requestParameters = {params: state.params_contacts}) {\n await $http.get('/api/terceros-lite', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\nexport async function fetchHistoryProductsContacts({ state, commit }){\n state.params_history_products.loading = true;\n state.history_products = [];\n\n await $http.get('/api/historico-productos-terceros', {params : state.params_history_products})\n .then((response) => {\n state.params_history_products.loading = false;\n commit('setHistoryReportProductsContact', response.data.data)\n })\n .catch((error) => {\n state.params_history_products.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function downloadPdfInventory({state}, data) {\n\n let name = `${data.nro_voucher} ${data.nro_doc}.pdf`;\n await $http({\n url: '/api/documentos/descargar-pdf/'+ data.document_id,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n state.file_name = '/storage/pdf/'+name ;\n state.show_pdf = true ;\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\nexport async function getBranchofficeWarehouse({ state, commit }, id) {\n await $http\n .get(`/api/get-branch-ware/${id}`)\n .then(response => {\n commit(\"setBranchofficeWarehouse\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOfficesWarehouses({commit, state}) {\n await $http\n .get('/api/bodegas-sedes', {params: {branchoffice_id: state.params.branchoffice_id}})\n .then(response => {\n commit('setBranchOfficesWarehouses', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('BranchOfficeError', error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/availability-inquiry/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/availability-inquiry/index.js","export const defaultSelectedSubline = () => {\n return {\n subline_code: '',\n subline_description: '',\n short_description: '',\n lock_buy: 0,\n block_sale: 0,\n margin_cost: '',\n calculates_sale_price: 0,\n inventories_account: '',\n account_cost: '',\n sales_account: '',\n }\n}\n\nexport default {\n accountsInventory:[],\n paramsAccountInventory: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accountsCost:[],\n paramsAccountCost: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accountsSales:[],\n paramsAccountSales: {\n level:\"0\",\n paginate: true,\n page: 1,\n perPage: 1000,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n sublines: {\n data: []\n },\n sublinesList: [],\n selectedSubline: defaultSelectedSubline(),\n error: false,\n errorMessage: '',\n actionSubline: 'create',\n getContactEdit: true,\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sublines/state.js","import {\n defaultSelectedSubline\n} from \"./state\";\n\nexport function setSublines(state, sublines) {\n state.sublines = sublines;\n}\n\nexport function setSubline(state, subline) {\n state.selectedSubline = JSON.parse(JSON.stringify(subline));\n}\n\nexport function setActionSublines(state, action) {\n state.actionSubline = action;\n}\n\nexport function sublineError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\nexport function setAccountsInventory(state, accountsInventory) {\n state.accountsInventory = accountsInventory\n}\n\nexport function setAccountsCost(state, accountsCost) {\n state.accountsCost = accountsCost\n}\n\nexport function setAccountsSales(state, accountsSales) {\n state.accountsSales = accountsSales\n}\n\n\n//Establece el valor por defecto de selectedSubline\nexport function resetSelectedSubline(state) {\n let id = state.selectedSubline.id\n Object.assign(state.selectedSubline, defaultSelectedSubline())\n if (id) {\n state.selectedSubline.id = id\n }\n}\n\nexport function setSublineList(state, data) {\n state.sublinesList = data;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sublines/mutations.js","import $http from '../../axios'\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\nexport async function fetchAccountsInventory(\n { commit, state },\n requestParameters = { params: state.paramsAccountInventory }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsInventory\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n export async function fetchAccountsCost(\n { commit, state },\n requestParameters = { params: state.paramsAccountCost }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsCost\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\nexport async function fetchAccountsSales(\n { commit, state },\n requestParameters = { params: state.paramsAccountSales }\n ) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsSales\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\n//Obtener los sublineas\nexport async function fetchSublines({\n commit,\n state,\n rootState\n}) {\n\n if (rootState.lines.selectedLine.id) {\n await $http.get(`/api/sublineas?lines=${rootState.lines.selectedLine.id}`)\n .then((response) => {\n commit('setSublines', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('sublineError', error.message)\n })\n }\n}\n\n//Crear funcionario\nexport async function addSubline({\n commit,\n state,\n dispatch,\n rootState\n}, id) {\n state.selectedSubline.line_id = id;\n await $http.post('/api/sublineas', state.selectedSubline)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Sublinea ha sido creada',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('resetSelectedSubline')\n dispatch('fetchSublines')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la sublinea ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n\n\n commit('sublineError', error.message)\n })\n}\n\n//Consultar funcionario por id\nexport async function getSubline({\n commit,\n state\n}, id) {\n\n if (state.selectedSubline.id != id) {\n\n await $http.get(`/api/sublineas/${id}`)\n .then((response) => {\n commit('setSubline', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('sublineError', error.message)\n })\n }\n\n}\n\n//Actualizar funcionario\nexport async function updateSubline({\n commit,\n state,\n dispatch\n}) {\n\n await $http.put(`/api/sublineas/${state.selectedSubline.id}`, state.selectedSubline)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Sublinea ha sido actualizada',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('setActionSublines', 'create')\n commit('resetSelectedSubline')\n dispatch('fetchSublines')\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.subline_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('sublineError', error.message)\n })\n}\n\n\n//Eliminar funcionario\nexport async function removeSubline({\n commit,\n dispatch\n}, subline) {\n\n await $http.delete(`/api/sublineas/${subline.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Sublinea ha sido eliminada',\n duration: 3000,\n customClass: 'notification-box',\n });\n dispatch('fetchSublines')\n })\n .catch((error) => {\n MessageBox.alert(error.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('sublineError', e.message)\n })\n}\n\nexport async function listSublines({\n\t commit,\n\t state\n\t}, requestParameters = {\n\t params: state.params\n\t}) {\n await $http.get('/api/lista-sublineas', requestParameters)\n .then((response) => {\n commit('setSublines', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('sublineError', error.message)\n })\n}\n\nexport async function getSublineByLineId({\n commit,\n state\n}, line_id) {\n\n await $http.get(`/api/sublinea-por-linea?line_id=${line_id}`)\n .then((response) => {\n commit('setSublineList', response.data)\n })\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sublines/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function sublinesList(state) {\n return state.sublinesList;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sublines/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sublines/index.js","export const defaultSelectedUser = () => {\n return {\n name: '',\n surname: '',\n email: '',\n photo: '',\n password: 'secret',\n modules: '',\n module_id: '',\n session_id: '',\n subscribers: '',\n branchoffice_warehouse_id: '',\n subscriber_id: '',\n branchoffice_id: '',\n contact_id: '',\n clerk_id: 1,\n type: 'e',\n deleted_at: 0,\n user_u2: 0,\n roles: [],\n contact_warehouse_id: '',\n role: '',\n signature: '',\n email_cash_receipts_app: [],\n point_of_sale_box_id: null\n };\n};\n\nexport default {\n users: [],\n selectedUser: defaultSelectedUser(),\n point_of_sale_boxes: [],\n roles: [],\n action: 'create',\n error: false,\n errorMessage: '',\n getUserEdit: true,\n branchoffices: [],\n subscribers: [],\n subscribers_filtered: [],\n branchoffice_warehouses: [],\n modules: [],\n modules_filtered: [],\n contacts: [],\n grouped_contacts: [],\n clerks: [],\n disabledClerk: true,\n contact: null,\n contacts_warehouses: [],\n findForId: false,\n clearDataUser: true,\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'name',\n sort: 'ASC'\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users/state.js","import {defaultSelectedUser} from \"./state\";\n\nexport function setUsers(state, users) {\n\tstate.users = users;\n}\n\nexport function setUser(state, license) {\n\tstate.selectedUser = license\n}\n\nexport function setAction(state, action) {\n\tstate.action = action;\n}\n\nexport function setError(state, error){\n\tstate.error = error\n}\nexport function UserError (state, payload) {\n\tstate.errorMessage = payload\n\tstate.users = []\n}\n\nexport function departmentError(state, payload) {\n\tstate.error = true\n\tstate.error = state.errorMessage = payload\n}\n\nexport function setGetUser(state, getUserEdit) {\n\tstate.getUserEdit = getUserEdit;\n}\n\nexport function resetSelectedUser(state) {\n\tObject.assign(state.selectedUser, defaultSelectedUser())\n}\n\nexport function setSubscribers(state, subscribers) {\n\tstate.subscribers = subscribers;\n}\n\nexport function setSubscribersFiltered(state, subscribers_filtered) {\n\tstate.subscribers_filtered = subscribers_filtered;\n}\n\nexport function setBranchOffices(state, branchoffices) {\n\tstate.branchoffices = branchoffices;\n}\n\nexport function setBranchOfficeWarehouses(state, branchoffice_warehouses) {\n\tstate.branchoffice_warehouses = branchoffice_warehouses;\n}\n\nexport function setModules(state, modules) {\n\tstate.modules = modules\n}\n\nexport function setRoles(state, roles) {\n\tstate.roles = roles\n}\n\nexport function setModulesFiltered(state, modules_filtered) {\n\tstate.modules_filtered = modules_filtered\n}\n\nexport function photoChange(state, photo) {\n\tstate.selectedUser.photo = photo\n}\n\nexport function signatureChange(state, signature) {\n\tstate.selectedUser.signature = signature\n}\n\nexport function setContacts(state, contacts) {\n\tstate.contacts = contacts\n}\n\nexport function setContact(state, contact) {\n\t/*if(state.clearDataUser){\n\t\tstate.selectedUser.name = ''\n\t\tstate.selectedUser.surname = ''\n\t\tstate.selectedUser.email = ''\n\t\tstate.selectedUser.photo = ''\n\t}*/\n\tstate.contact = contact\n}\n\nexport function setGroupedContacts(state, grouped_contacts) {\n\tstate.grouped_contacts = grouped_contacts\n}\n\nexport function setClerks(state, clerks) {\n\tstate.clerks = clerks\n}\n\nexport function setFindForId(state, findForId) {\n\tstate.findForId = findForId\n}\n\nexport function setClearDataUser(state, clearDataUser) {\n\tstate.clearDataUser = clearDataUser\n}\n\nexport function setDataUser(state, data) {\n\tstate.selectedUser.name = data.name\n\tstate.selectedUser.surname = data.surname\n\tstate.selectedUser.email = data.email\n\tstate.selectedUser.clerk_id = data.clerk_id\n\tstate.selectedUser.photo = data.photo\n\tstate.selectedUser.contact_id = data.contact_id\n\tstate.selectedUser.type = data.type\n}\n\nexport function setContactId(state, id) {\n\tstate.selectedUser.contact_id = id\n}\n\nexport function setClerkId(state, id) {\n\tstate.selectedUser.clerk_id = id\n}\n\nexport function setDisabledClerk(state, disabledClerk){\n\tstate.disabledClerk = disabledClerk\n}\n\nexport function setContactsWarehouses(state, contacts_warehouses) {\n\tstate.contacts_warehouses = contacts_warehouses\n}\n\nexport function clearContactId(state) {\n\tif(state.clearDataUser){\n\t\tstate.selectedUser.contact_id = ''\n\t\tstate.selectedUser.name = ''\n\t\tstate.selectedUser.surname = ''\n\t\tstate.selectedUser.email = ''\n\t\tstate.selectedUser.photo = ''\n\t}\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n\tstate.params.page = 1\n\tstate.params.filter = filter\n}\n\nexport function setPerPage(state, perPage) {\n\tstate.params.page = 1\n\tstate.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n\tstate.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n\tstate.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n\tstate.params.sort = sort\n}\n\n/**\n * Establecer un valor para la variable point_of_sale_boxes.\n */\nexport function setPointOfSaleBoxes(state, point_of_sale_boxes) {\n state.point_of_sale_boxes = point_of_sale_boxes;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users/mutations.js","import $http from '../../axios/';\nimport {Notification, MessageBox} from 'element-ui';\nimport branchOfficeWarehouses from '../branchoffices-warehouses';\n\n export async function fetchUsers(\n {commit, state},\n requestParameters = {params: state.params}\n ) {\n await $http\n .get('/api/usuarios', requestParameters)\n .then(response => {\n commit('setUsers', response.data.data);\n commit('setError', false);\n })\n\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('UserError', error.message);\n commit('setError', true);\n });\n }\n\nexport async function addUser({commit, state}) {\n let formData = new FormData();\n formData.append('signature', state.selectedUser.signature);\n for (const key in state.selectedUser) {\n if (key != 'signature') {\n formData.append(key, state.selectedUser[key]);\n }\n }\n await $http\n .post('/api/usuarios', formData)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El Usuario ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('resetSelectedUser');\n commit('setError', false);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('UserError', error.response.data.message);\n commit('setError', true);\n });\n}\n\nexport async function updateUser({commit, state}) {\n let formData = new FormData();\n formData.append('signature', state.selectedUser.signature);\n for (const key in state.selectedUser) {\n if (key != 'signature') {\n formData.append(key, state.selectedUser[key]);\n }\n }\n formData.append('_method', 'put');\n await $http\n .post('/api/usuarios/' + state.selectedUser.id, formData)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El Usuario ha sido actualizado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('setError', false);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('UserError', error.message);\n commit('setError', true);\n });\n}\n\nexport async function getUser({commit, state}, id) {\n if (state.getUserEdit) {\n await $http\n .get(`/api/usuarios/${id}`)\n .then(response => {\n let contact = response.data.data;\n contact.deleted_at =\n contact.deleted_at == null || contact.deleted_at == '' ? 0 : 1;\n commit('setUser', contact);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('UserError', error.message);\n });\n commit('setGetUser', false);\n }\n}\n\n// Obtiene todos los suscriptores\nexport async function fetchSubscribers({dispatch, state, rootState, commit}) {\n if (!state.subscribers.length) {\n await dispatch(\n 'subscribers/fetchSubscribers',\n {params: {paginate: false}},\n {root: true}\n );\n commit('setSubscribers', rootState.subscribers.subscribers);\n }\n}\n\n// Obtiene todos los suscriptores seleccionados\nexport async function fetchSubscribersFiltered({\n dispatch,\n state,\n rootState,\n commit\n }) {\n let subscribers_filtered = [];\n\n if (state.selectedUser.subscribers.length) {\n let selected_subscribers = JSON.parse(\n JSON.stringify(state.selectedUser.subscribers)\n );\n\n let return_subscriber = false;\n\n subscribers_filtered = state.subscribers.filter(subscriber => {\n selected_subscribers.map(ss => {\n if (ss == subscriber.id) {\n return_subscriber = true;\n }\n });\n if (return_subscriber) {\n return_subscriber = false;\n return subscriber;\n }\n });\n }\n\n commit('setSubscribersFiltered', subscribers_filtered);\n}\n\n// Obtiene todas las sedes\nexport async function fetchBranchOffices({\n dispatch,\n state,\n rootState,\n commit\n }) {\n await dispatch(\n 'branchOffices/fetchBranchOffices',\n {\n params: {\n subscriber_id: state.selectedUser.subscriber_id,\n paginate: false\n }\n },\n {root: true}\n );\n commit('setBranchOffices', rootState.branchOffices.branchOffices);\n}\n\n// Obtiene todas las bedegas de la sede seleccionada\nexport async function fetchBranchOfficeWarehouses({\n dispatch,\n state,\n rootState,\n commit\n }) {\n await dispatch(\n 'branchOfficeWarehouses/fetchBranchOfficeWarehouses',\n {\n params: {\n branchoffice_id: state.selectedUser.branchoffice_id,\n paginate: false\n }\n },\n {root: true}\n );\n commit(\n 'setBranchOfficeWarehouses',\n rootState.branchOfficeWarehouses.branchoffice_warehouses\n );\n}\n\nexport async function fetchModules({commit, state}) {\n if (!state.modules.length) {\n await $http\n .get('/api/modulos')\n .then(response => {\n commit('setModules', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n }\n}\n\n// Obtiene todos los modulos seleccionados\nexport async function fetchModulesFiltered({\n dispatch,\n state,\n rootState,\n commit\n }) {\n let modules_filtered = [];\n\n if (state.selectedUser.modules.length) {\n let selected_modules = JSON.parse(\n JSON.stringify(state.selectedUser.modules)\n );\n\n let return_module = false;\n\n modules_filtered = state.modules.filter(module => {\n selected_modules.map(m => {\n if (m == module.id) {\n return_module = true;\n }\n });\n if (return_module) {\n return_module = false;\n return module;\n }\n });\n }\n\n commit('setModulesFiltered', modules_filtered);\n}\n\nexport async function fetchRoles({commit, state}) {\n await $http\n .get('/api/rol')\n .then(response => {\n commit('setRoles', response.data);\n })\n .catch(error => {\n console.log(error.message);\n });\n}\n\n//Obtener los terceros de la base de datos\nexport async function fetchContacts({commit, state}, query) {\n let typeuser;\n\n switch (state.selectedUser.type) {\n case 'e':\n typeuser = 'is_employee';\n break;\n case 'c':\n typeuser = 'is_customer';\n break;\n case 'p':\n typeuser = 'is_provider';\n break;\n }\n\n let params = {\n params: {\n subscribers: state.selectedUser.subscribers,\n typeuser: typeuser,\n query: query\n }\n };\n\n if (state.findForId) {\n params.params.id = state.selectedUser.contact_id;\n }\n\n await $http.get('/api/terceros-por-tipo', params).then(response => {\n commit('setContacts', response.data.data);\n });\n}\n\n//Agrupar los terceros\nexport async function fetchGroupedContacts(\n {commit, state, dispatch},\n query,\n id\n) {\n await dispatch('fetchContacts', query, id);\n\n /*let grouped_contacts = [\n {\n label: 'Clientes',\n options: []\n },\n {\n label: 'Proveedores',\n options: []\n },\n {\n label: 'Empleados',\n options: []\n }\n ];\n\n let contacts = state.contacts\n\n contacts.map((c) => {\n if (c.is_customer) {\n let cc = JSON.parse(JSON.stringify(c))\n cc.id = 'c' + cc.id\n grouped_contacts[0].options.push(cc)\n }\n if (c.is_provider) {\n let cp = JSON.parse(JSON.stringify(c))\n cp.id = 'p' + cp.id\n grouped_contacts[1].options.push(cp)\n }\n if (c.is_employee) {\n let ce = JSON.parse(JSON.stringify(c))\n ce.id = 'e' + ce.id\n grouped_contacts[2].options.push(ce)\n }\n })\n\n commit('setGroupedContacts', grouped_contacts)*/\n}\n\nexport function dataUserClerk({commit, state}, id) {\n let contact = state.contact;\n\n let clerk = contact.clerks.find(clerk => clerk.id == id);\n\n let data = {\n name: '',\n surname: '',\n email: '',\n photo: state.selectedUser.photo,\n contact_id: state.selectedUser.contact_id,\n clerk_id: id,\n type: state.selectedUser.type\n };\n\n if (clerk) {\n if (clerk.email != null && contact.email != '') {\n data.name = clerk.name;\n data.surname = clerk.surname;\n data.email = clerk.email;\n data.photo = clerk.photo;\n } else {\n MessageBox.alert('El funcionario no tiene registrado un email', 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n });\n\n data.name = '';\n data.surname = '';\n data.email = '';\n data.photo = '';\n }\n\n commit('setDataUser', data);\n }\n}\n\nexport async function dataUserContact({commit, state}) {\n await $http\n .get('/api/terceros/' + state.selectedUser.contact_id)\n .then(response => {\n commit('setContact', response.data.data);\n\n let data = {\n name: state.selectedUser.name,\n surname: state.selectedUser.surname,\n email: state.selectedUser.email,\n photo: '',\n clerk_id: state.selectedUser.clerk_id,\n type: state.selectedUser.type,\n contact_warehouse_id: state.selectedUser.contact_warehouse_id\n };\n\n let disabledClerk = true;\n if (state.selectedUser.type == 'e') {\n if (state.contact.email != null && state.contact.email != '') {\n data = {\n name: state.contact.name,\n surname: state.contact.surname,\n email: state.contact.email,\n photo: state.contact.employee.photo,\n contact_id: state.contact.id,\n type: 'e'\n };\n } else {\n MessageBox.alert(\n 'El empleado no tiene registrado un email',\n 'Error',\n {\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n }\n ).then(verifica => {\n });\n }\n } else if (state.selectedUser.type == 'p') {\n let clerks = state.contact.clerks;\n commit('setClerks', clerks);\n commit('setContactsWarehouses', state.contact.warehouses);\n data.photo = state.contact.provider.logo;\n data.contact_id = state.contact.id;\n data.type = 'p';\n disabledClerk = false;\n } else if (state.selectedUser.type == 'c') {\n let clerks = state.contact.clerks;\n commit('setClerks', clerks);\n commit('setContactsWarehouses', state.contact.warehouses);\n data.photo = state.contact.customer.logo;\n data.contact_id = state.contact.id;\n data.type = 'c';\n data.name = state.contact.name;\n data.surname = state.contact.surname;\n data.email = state.contact.email;\n disabledClerk = false;\n }\n\n commit('setDisabledClerk', disabledClerk);\n commit('setDataUser', data);\n })\n .catch(error => {\n console.log(error);\n });\n}\n\nexport function setClerks({commit, state}) {\n let disabledClerk = true;\n\n if (state.selectedUser.type == 'p' || state.selectedUser.type == 'c') {\n let clerks = state.contacts[0].clerks;\n commit('setClerks', clerks);\n disabledClerk = false;\n }\n\n commit('setDisabledClerk', disabledClerk);\n}\n\nexport function setContactsWarehouses({commit, state}) {\n let disabledClerk = true;\n\n if (state.selectedUser.type == 'p' || state.selectedUser.type == 'c') {\n let contacts_warehouses = state.contacts[0].warehouses;\n commit('setContactsWarehouses', contacts_warehouses);\n disabledClerk = false;\n }\n\n commit('setDisabledClerk', disabledClerk);\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({commit, dispatch}, filter) {\n commit('setFilter', filter.target.value);\n dispatch('fetchUsers');\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage) {\n commit('setPerPage', parseInt(perPage.target.value));\n dispatch('fetchUsers');\n}\n\nexport function setPagePagination({commit, dispatch}, page) {\n commit('setPage', parseInt(page));\n dispatch('fetchUsers');\n}\n\nexport function setSortByPagination({commit, dispatch}, sortBy) {\n commit('setSortBy', sortBy);\n}\n\nexport function setSortPagination({commit, dispatch}, sort) {\n commit('setSort', sort);\n}\n\n/**\n * Obtener cajas de punto de venta.\n */\nexport async function getPointOfSaleBoxes({commit, state}) {\n if (!state.point_of_sale_boxes.length) {\n await $http.get(`/api/parametros-por-codigo/081?sort_by=name_parameter`)\n .then((response) => {\n commit('setPointOfSaleBoxes', response.data.data);\n })\n .catch((error) => {\n console.error(error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users/actions.js","export function getParams (state){\n return state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users/index.js","export const defaultUserLogued = () => {\n return {\n id: \"\",\n name: \"\",\n email: \"\",\n token: \"\"\n };\n};\n\nexport const defaultUserB2b = () => {\n return {\n id: \"\",\n description: \"\"\n };\n};\n\nexport default {\n auth: { email: \"\", password: \"\" },\n user_logued: defaultUserLogued(),\n user_b2b: defaultUserB2b(),\n status: false,\n logued_type: \"\",\n selected_branchoffice: \"\",\n selected_branchoffice_warehouse: \"\",\n branchoffices: [],\n branchoffices_warehouses: [],\n permissions: [],\n subscriber: {},\n forgot: {\n email: \"\",\n password: \"\",\n password_confirmation: \"\",\n token: \"\"\n },\n change: {\n email: \"\",\n password: \"\",\n password_confirmation: \"\"\n },\n current_branchoffice: {\n selected_branchoffice: \"\",\n selected_branchoffice_warehouse: \"\"\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/login/state.js","import { defaultUserLogued } from \"./state\";\n\nexport function login(state, auth) {\n state.user_logued = auth.user;\n state.status = true;\n}\n\nexport function loginFail(state, error) {\n state.user = false;\n}\n\nexport function logout(state) {\n Object.assign(state.user_logued, defaultUserLogued());\n (state.authentication = { email: \"\", password: \"\" }), (state.status = false);\n}\n\nexport function setUserLogued(state, user_logued) {\n state.user_logued = user_logued;\n}\n\nexport function setUserLoguedB2b(state, user_b2b) {\n state.user_b2b = user_b2b;\n}\n\nexport function setForgotPassword(state, forgot) {\n forgot.password = \"\";\n forgot.password_confirmation = \"\";\n state.forgot = forgot;\n}\n\nexport function setLoguedType(state, logued_type) {\n state.logued_type = logued_type;\n}\n\nexport function setLowerCaseAuthEmail(state) {\n state.auth.email = state.auth.email.toLowerCase();\n}\n\nexport function setBranchOffices(state, branchoffices) {\n localStorage.setItem(\"branchoffices\", JSON.stringify(branchoffices));\n state.branchoffices = branchoffices;\n}\n\nexport function setPermissions(state, permissions) {\n state.permissions = permissions;\n}\n\nexport function setBranchOfficesWarehouses(state, branchoffices_warehouses) {\n // Guardamos todos los \"branchoffices_warehouses\"\n if (localStorage.branchoffices_warehouses_all === undefined) {\n localStorage.branchoffices_warehouses_all = JSON.stringify(\n branchoffices_warehouses\n );\n }\n\n // Codificamos el JSON\n let branchoffices_warehouses_all = JSON.parse(\n localStorage.branchoffices_warehouses_all\n );\n\n // Selecionamos el \"id\" del \"selected_branchoffice\"\n let selected_branchoffice = state.selected_branchoffice;\n\n // Buscamos los \"branchoffices_warehouses\" segun el id del \"selected_branchoffice\"\n let branchoffices_warehouses_temp = branchoffices_warehouses_all.filter(\n bw => {\n return bw.branchoffice_id == selected_branchoffice;\n }\n );\n\n // Seteamos la variable del LocalStorage\n localStorage.setItem(\n \"branchoffices_warehouses\",\n JSON.stringify(branchoffices_warehouses_temp)\n );\n\n state.branchoffices_warehouses = branchoffices_warehouses_temp;\n}\n\nexport function setSelectedBranchOffice(state, selected_branchoffice) {\n let found_branchoffice = state.branchoffices.find(\n b => b.id == selected_branchoffice\n );\n\n if (found_branchoffice === undefined) {\n found_branchoffice = state.branchoffices.find(b => b.main);\n }\n\n let branchoffice_id = found_branchoffice.id;\n\n state.selected_branchoffice = branchoffice_id;\n localStorage.setItem(\"selected_branchoffice\", branchoffice_id);\n}\n\nexport function setSelectedBranchOfficeWarehouse(\n state,\n selected_branchoffice_warehouse\n) {\n // Traemos todos los \"branchoffices_warehouses_all\"\n let branchoffices_warehouses_all = JSON.parse(\n localStorage.branchoffices_warehouses_all\n );\n\n // Buscamos \"branchoffice_warehouse\" segun el id de \"selected_branchoffice_warehouse\"\n let found_branchoffice_warehouse = branchoffices_warehouses_all.find(\n bw => bw.id == selected_branchoffice_warehouse\n );\n\n // Si no se encuentra datos se busca la sede principal\n if (!found_branchoffice_warehouse) {\n found_branchoffice_warehouse = branchoffices_warehouses_all.find(\n bw =>\n bw.branchoffice_id == state.selected_branchoffice &&\n bw.warehouse_code == \"01\"\n );\n }\n\n // Si no encuentra ninguno se busca el primero de la lista\n if (!found_branchoffice_warehouse) {\n found_branchoffice_warehouse = branchoffices_warehouses_all[0];\n }\n\n // Seteamos los valores\n state.selected_branchoffice_warehouse = found_branchoffice_warehouse.id;\n localStorage.setItem(\n \"selected_branchoffice_warehouse\",\n found_branchoffice_warehouse.id\n );\n}\nexport function resetSelectedBranchofficeWarehouse(state, value) {\n state.selected_branchoffice_warehouse = \"\";\n localStorage.setItem(\"selected_branchoffice_warehouse\", \"\");\n}\n\nexport function setCurrentBranchoffice(state) {\n state.current_branchoffice.selected_branchoffice = parseInt(\n localStorage.selected_branchoffice\n );\n\n state.current_branchoffice.selected_branchoffice_warehouse = parseInt(\n localStorage.selected_branchoffice_warehouse\n );\n}\n\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/login/mutations.js","import $http from '../../axios';\nimport { Notification } from \"element-ui\";\n\nexport async function authentication({ commit, state }) {\n\n commit('setLowerCaseAuthEmail')\n\n return new Promise(async(resolve, reject) => {\n await $http.post('/api/login', state.auth)\n .then((response) => {\n if (response.data.data.user) {\n commit('setLoguedType', response.data.data.user.type)\n commit('login', response.data.data)\n localStorage.setItem('user', JSON.stringify(response.data.data.user))\n localStorage.setItem('subscriber', JSON.stringify(response.data.data.subscriber))\n localStorage.setItem('permissions', JSON.stringify(response.data.data.role_and_permisions))\n commit('setSubscriber', response.data.data.subscriber)\n commit('setBranchOffices', response.data.data.branch_offices)\n commit('setSelectedBranchOffice', response.data.data.user.branchoffice_id)\n commit('setBranchOfficesWarehouses', response.data.data.branch_offices_warehouses)\n commit('setSelectedBranchOfficeWarehouse', response.data.data.user.branchoffice_warehouse_id)\n commit('setPermissions', response.data.data.role_and_permisions)\n resolve(response);\n }\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'La dirección de correo electrónico o contraseña proporcionada es incorrecta',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n })\n reject(error);\n })\n })\n}\n\nexport async function forgotPassword({ state }) {\n return new Promise(async(resolve, reject) => {\n await $http.post('/api/contrasena/olvido', state.forgot)\n .then((response) => {\n Notification.success({\n title: 'Bien hecho',\n message: '¡Hemos enviado por correo electrónico el enlace para restablecer su contraseña!',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n })\n resolve(response);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'No podemos encontrar un usuario con esa dirección de correo electrónico.',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n })\n reject(error);\n })\n })\n}\n\nexport async function getTokenResetPassword({ commit }, token) {\n return new Promise(async(resolve, reject) => {\n await $http.get('/api/contrasena/buscar/' + token)\n .then((response) => {\n commit('setForgotPassword', response.data)\n resolve(response);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Este token de restablecimiento de contraseña no es válido.',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n })\n reject(error);\n })\n })\n}\n\nexport async function resetPassword({ commit, state }) {\n return new Promise(async(resolve, reject) => {\n await $http.post('/api/contrasena/restablecer', state.forgot)\n .then((response) => {\n commit('setForgotPassword', {})\n Notification.success({\n title: 'Bien hecho',\n message: '¡Contraseña restablecida exitosamente!',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n })\n resolve(response);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Ocurrio un error durante el restablecimiento de la contraseña. Por favor intente nuevamente.',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n })\n reject(error);\n })\n })\n}\n\nexport async function changePassword({ commit, state }) {\n return new Promise(async(resolve, reject) => {\n await $http.post('/api/cambiar/contrasena', state.change)\n .then((response) => {\n\n let user = JSON.parse(localStorage.getItem('user'));\n user.password_changed = true\n localStorage.setItem('user', JSON.stringify(user))\n\n Notification.success({\n title: 'Bien hecho',\n message: '¡Contraseña actualizada exitosamente!',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n })\n resolve(response);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Ocurrio un error durante la actualización de la contraseña. Por favor intente nuevamente.',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n })\n reject(error);\n })\n })\n}\n\nexport async function fetchUserB2b({ dispatch, state }) {\n let user = JSON.parse(localStorage.getItem('user'))\n let params = {\n params: {\n ide: user.contact_warehouse_id\n }\n }\n\n return new Promise(async(resolve, reject) => {\n\n await $http.get('/api/establecimientos-vendedor', params).then(async(response) => {\n dispatch('loginB2b', response.data.data)\n resolve(response)\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n reject(error)\n })\n })\n}\n\nexport async function loginB2b({ commit, state }, customer) {\n\n localStorage.setItem('user_b2b', JSON.stringify(customer))\n commit('setUserLoguedB2b', customer)\n\n}\n\nexport async function logout({ commit }) {\n // Corregir el logout\n\n let user = JSON.parse(localStorage.getItem('user'))\n commit('logout')\n localStorage.clear();\n}\n\nexport async function getSubscriber({commit, dispatch, state}) {\n return new Promise(async (resolve, reject) => {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n localStorage.setItem('subscriber', JSON.stringify(response.data.data))\n commit('setSubscriber', response.data.data)\n resolve(response.data.data);\n })\n .catch(error => {\n reject();\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/login/actions.js","export function isVI (state){\n return state.subscriber.identification === '800198348'\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/login/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/login/index.js","export const defaultSelectedBrand = () => {\n return {\n brand_code: '',\n description: '',\n thumbnails: null,\n image: null,\n image_file: null,\n provider_id: '',\n maker_id: '',\n lock_buy: 0,\n block_sale: 0,\n deploy_sales_force_app: 0,\n deploy_b2c: 0,\n deploy_b2b: 0,\n percentage_commision: 0\n }\n}\n\nexport default {\n\n brands: [],\n brandsList: [],\n providers: [],\n selectedBrand: defaultSelectedBrand(),\n error: false,\n errorMessage: '',\n action: 'create',\n actionSubbrand: 'create',\n brandEdit: null,\n\n getBrandEdit: true,\n\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'brand_code',\n sort: 'ASC'\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/brands/state.js","import {\n defaultSelectedBrand\n} from './state';\n\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\n\nexport function setBrandsList(state, data) {\n state.brandsList = data;\n}\n\nexport function setBrand(state, brand) {\n state.selectedBrand = brand;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function brandError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n state.brands = [];\n}\n\nexport function setGetBrandEdit(state, getBrandEdit) {\n state.getBrandEdit = getBrandEdit;\n}\n\n//Establece el valor por defecto de selectedBrand\nexport function resetSelectedBrand(state) {\n let id = state.selectedBrand.id;\n Object.assign(state.selectedBrand, defaultSelectedBrand());\n state.selectedBrand.id = id;\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy;\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort;\n}\n\nexport function setLogo(state, image) {\n state.selectedBrand.image = image;\n}\n\nexport function setProviders(state, providers) {\n state.providers = providers;\n}\n\n/**\n * Establecer un valor para el atributo image de la variable selectedBrand.\n */\nexport function setImageToSelectedBrand(state, image) {\n state.selectedBrand.image = image;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/brands/mutations.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\n//Obtener los marcas\nexport async function fetchBrands(\n {commit, state},\n requestParameters = {\n params: state.params\n }\n) {\n await $http\n .get('/api/marcas', requestParameters)\n .then(response => {\n commit('setBrands', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('brandError', error.message);\n });\n}\n\n//Crear tercero\nexport async function addBrand({commit, state}) {\n\n let form_data = new FormData();\n\n for (let key in state.selectedBrand) {\n form_data.append(key, state.selectedBrand[key]);\n }\n\n await $http\n .post('/api/marcas', form_data)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'La Marca ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setBrand', response.data.data);\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la Marca ya existe';\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n });\n\n commit('brandError', error.message);\n });\n}\n\n//Consultar tercero por id\nexport async function getBrand({commit, state}, id) {\n if (state.getBrandEdit) {\n await $http\n .get(`/api/marcas/${id}`)\n .then(response => {\n commit('setBrand', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('brandError', error.message);\n });\n\n commit('setGetBrandEdit', false);\n }\n}\n\n//Actualizar tercero\nexport async function updateBrand({commit, state},updated_image) {\n\n let form_data = new FormData();\n\n for (let key in state.selectedBrand) {\n\n if (key == 'image'){\n if (updated_image)\n form_data.append(key, state.selectedBrand[key]);\n }else{\n form_data.append(key, state.selectedBrand[key]);\n }\n\n }\n\n await $http\n .post(`/api/marcas/${state.selectedBrand.id}`, form_data)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'La marca ha sido actualizada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setBrand', response.data.data);\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la marca ya existe';\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n\n commit('brandError', error.message);\n });\n}\n\n//Eliminar tercero\nexport async function removeBrand({commit, dispatch}, brand) {\n await $http\n .delete(`/api/marcas/${brand.id}`)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'La marca ha sido eliminada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('fetchBrands');\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('BrandError', error.message);\n });\n}\n\nfunction mapProviders(contacts) {\n return contacts.map(p => {\n let surname = p.surname == null ? '' : p.surname;\n return {\n value: p.id,\n label: p.identification + ' ' + p.name + ' ' + surname\n };\n });\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({commit, dispatch}, filter) {\n commit('setFilter', filter.target.value);\n dispatch('fetchBrands');\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage) {\n commit('setPerPage', parseInt(perPage.target.value));\n dispatch('fetchBrands');\n}\n\nexport function setPagePagination({commit, dispatch}, page) {\n commit('setPage', parseInt(page));\n dispatch('fetchBrands');\n}\n\nexport function setSortByPagination({commit, dispatch}, sortBy) {\n commit('setSortBy', sortBy);\n // dispatch('fetchBrands')\n}\n\nexport function setSortPagination({commit, dispatch}, sort) {\n commit('setSort', sort);\n // dispatch('fetchBrands')\n}\n\n// Carga los logos\nexport function logoBrand({commit}, image) {\n commit('setLogo', image);\n}\n\nexport async function fetchProviders({dispatch, state, rootState, commit}) {\n if (!state.providers.length) {\n await dispatch(\n 'contacts/listContact',\n {\n params: {\n type: 'is_provider'\n }\n },\n {\n root: true\n }\n );\n commit('setProviders', mapProviders(rootState.contacts.contacts));\n }\n}\n\n//Obtener el listado de marcas sin filtros\nexport async function getBrandList({commit, state}) {\n await $http\n .get('/api/lista-marcas')\n .then(response => {\n commit('setBrandsList', response.data);\n })\n .catch(error => {\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/brands/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function brandsList(state) {\n return state.brandsList;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/brands/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/brands/index.js","export const defaultSelectedSubbrand = () => {\n return {\n subbrand_code: '',\n description: '',\n image: '',\n lock_buy: 0,\n block_sale: 0,\n data_sheet: '',\n margin_cost_percentage: '',\n action: 'n',\n }\n}\n\nexport default {\n\n subbrands: [],\n subbrandsList: [],\n selectedSubbrand: defaultSelectedSubbrand(),\n error: false,\n errorMessage: '',\n actionSubbrand: 'create',\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subbrands/state.js","import {\n defaultSelectedSubbrand\n} from \"./state\";\n\nexport function setSubbrands(state, subbrands) {\n state.subbrands = subbrands;\n}\n\nexport function setSubbrand(state, subbrand) {\n state.selectedSubbrand = JSON.parse(JSON.stringify(subbrand));\n}\n\nexport function setActionSubbrands(state, action) {\n state.actionSubbrand = action;\n}\n\nexport function subbrandError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\n//Establece el valor por defecto de selectedSubbrand\nexport function resetSelectedSubbrand(state) {\n let id = state.selectedSubbrand.id\n Object.assign(state.selectedSubbrand, defaultSelectedSubbrand())\n if (id) {\n state.selectedSubbrand.id = id\n }\n}\n\nexport function setImagenCarga(state, image) {\n state.selectedSubbrand.image = image\n}\n\nexport function setDocumentPath(state, data_sheet) {\n state.selectedSubbrand.data_sheet = data_sheet;\n}\n\nexport function setSubBrandList(state, data) {\n state.subbrandsList = data;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subbrands/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener los submarcas\nexport async function fetchSubbrands ({\n commit,\n state,\n rootState\n}) {\n await $http.get(`/api/submarcas?brand_id=${rootState.brands.selectedBrand.id}`)\n .then((response) => {\n commit('setSubbrands', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('subbrandError', error.message)\n })\n\n}\n\n//Crear funcionario\nexport async function addSubbrand ({\n commit,\n state,\n dispatch,\n rootState\n}) {\n state.selectedSubbrand.brand_id = rootState.brands.selectedBrand.id;\n\n await $http.post('/api/submarcas', state.selectedSubbrand)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Submarca ha sido creada',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('resetSelectedSubbrand')\n dispatch('fetchSubbrands')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.subbrand_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subbrandError', error.message)\n })\n}\n\n//Consultar funcionario por id\nexport async function getSubbrand ({\n commit,\n state\n}, id) {\n\n if (state.selectedSubbrand.id != id) {\n\n await $http.get(`/api/submarcas/${id}`)\n .then((response) => {\n commit('setSubbrand', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('subbrandError', error.message)\n })\n }\n}\n\n//Actualizar funcionario\nexport async function updateSubbrand ({\n commit,\n state,\n dispatch\n}) {\n\n await $http.put(`/api/submarcas/${state.selectedSubbrand.id}`, state.selectedSubbrand)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Submarca ha sido actualizada',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('setActionSubbrands', 'create')\n commit('resetSelectedSubbrand')\n dispatch('fetchSubbrands')\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.subbrand_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subbrandError', error.message)\n })\n}\n\n\n//Eliminar funcionario\nexport async function removeSubbrand ({\n commit,\n dispatch\n}, subbrand) {\n\n await $http.delete(`/api/submarcas/${subbrand.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Submarca ha sido eliminada',\n duration: 3000,\n customClass: 'notification-box',\n });\n dispatch('fetchSubbrands')\n })\n .catch((error) => {\n MessageBox.alert(error.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subbrandError', e.message)\n })\n}\n\nexport function cargaSubmarca ({\n commit\n}, image) {\n commit('setImagenCarga', image)\n}\n\nexport function documentChangePath ({\n commit\n}, path) {\n commit('setDocumentPath', path)\n}\n\n//Descargar documento\nexport async function downloadDocument ({\n state\n}) {\n let extension = state.selectedSubbrand.data_sheet.split('.').pop()\n await $http({\n url: state.selectedSubbrand.data_sheet,\n method: 'GET',\n responseType: 'blob', // important\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', state.selectedSubbrand.description + '.' + extension);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\nexport async function listSubbrands ({\n commit,\n state\n}, requestParameters = {\n params: state.params\n}) {\n\n await $http.get('/api/lista-submarcas', requestParameters)\n .then((response) => {\n commit('setSubbrands', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('subbrandError', error.message)\n })\n}\n\n\n//Obtener las categorias por sublinea\nexport async function getSubBrandByBrandId ({\n commit,\n state\n}, brand_id) {\n\n await $http.get(`/api/submarca-por-marca/?brand_id=${brand_id}`)\n .then((response) => {\n commit('setSubBrandList', response.data)\n })\n .catch((error) => {\n\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subbrands/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function subBrandsList(state) {\n return state.subbrandsList;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subbrands/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subbrands/index.js","export const defaultSelectedCategory = () => {\n return {\n categorie_code: '',\n description: '',\n line_id: '',\n subline_id: null,\n }\n}\n\nexport default {\n\n categories: [],\n categoriesList: [],\n selectedCategory: defaultSelectedCategory(),\n error: false,\n errorMessage: '',\n action: 'create',\n actionSubcategory: 'create',\n categoryEdit: null,\n\n getCategoryEdit: true,\n\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'categorie_code',\n sort: 'ASC'\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/categories/state.js","import {\n defaultSelectedCategory\n} from \"./state\";\n\nexport function setCategories(state, categories) {\n state.categories = categories;\n}\n\nexport function setCategory(state, category) {\n state.selectedCategory = category;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function categoryError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.categories = []\n}\n\nexport function setGetCategoryEdit(state, getCategoryEdit) {\n state.getCategoryEdit = getCategoryEdit;\n}\n\n//Establece el valor por defecto de selectedCategory\nexport function resetSelectedCategory(state) {\n let id = state.selectedCategory.id\n Object.assign(state.selectedCategory, defaultSelectedCategory())\n state.selectedCategory.id = id\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort\n}\n\nexport function setCategoriesList(state, data) {\n state.categoriesList = data;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/categories/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener los categorias\nexport async function fetchCategories({\n commit,\n state\n}, requestParameters = {\n params: state.params\n}) {\n\n await $http.get('/api/categorias', requestParameters)\n .then((response) => {\n commit('setCategories', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('categoryError', error.message)\n })\n}\n\n//Crear tercero\nexport async function addCategory({\n commit,\n state\n}) {\n\n await $http.post('/api/categorias', state.selectedCategory)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La categoria ha sido creada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setCategory', response.data.data)\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la categoria ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n\n commit('categoryError', error.message)\n })\n}\n\n//Consultar tercero por id\nexport async function getCategory({\n commit,\n state\n}, id) {\n\n if (state.getCategoryEdit) {\n\n await $http.get(`/api/categorias/${id}`)\n .then((response) => {\n commit('setCategory', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('categoryError', error.message)\n })\n\n commit('setGetCategoryEdit', false)\n\n }\n}\n\n//Actualizar tercero\nexport async function updateCategory({\n commit,\n state\n}) {\n\n await $http.put(`/api/categorias/${state.selectedCategory.id}`, state.selectedCategory)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La categoria ha sido actualizada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setCategory', response.data.data)\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = 'El código de la categoria ya existe'\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('categoryError', error.message)\n })\n}\n\n\n//Eliminar tercero\nexport async function removeCategory({\n commit,\n dispatch\n}, category) {\n\n await $http.delete(`/api/categorias/${category.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La categoria ha sido eliminada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n dispatch('fetchCategories')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('CategoryError', error.message)\n })\n}\n\n//Obtener las categorias por sublinea\nexport async function getCategoriesBySublineId({\n commit,\n state\n}, subline_id) {\n\n await $http.get(`/api/categorias-por-sublinea/?subline_id=${subline_id}`)\n .then((response) => {\n commit('setCategoriesList', response.data)\n })\n .catch((error) => {\n\n })\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({\n commit,\n dispatch\n}, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchCategories')\n}\n\nexport function setPerPagePagination({\n commit,\n dispatch\n}, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchCategories')\n}\n\nexport function setPagePagination({\n commit,\n dispatch\n}, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchCategories')\n}\n\nexport function setSortByPagination({\n commit,\n dispatch\n}, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchCategories')\n}\n\nexport function setSortPagination({\n commit,\n dispatch\n}, sort) {\n commit('setSort', sort)\n // dispatch('fetchCategories')\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/categories/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function categoriesList(state) {\n return state.categoriesList\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/categories/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/categories/index.js","export const defaultSelectedSubcategory = () => {\n return {\n subcategorie_code: '',\n description: '',\n }\n}\n\nexport default {\n\n subcategories: [],\n subCategoriesList: [],\n selectedSubcategory: defaultSelectedSubcategory(),\n error: false,\n errorMessage: '',\n actionSubcategory: 'create',\n getContactEdit: true,\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subcategories/state.js","import {\n defaultSelectedSubcategory\n} from \"./state\";\n\nexport function setSubcategories(state, subcategories) {\n state.subcategories = subcategories;\n}\n\nexport function setSubcategory(state, subcategory) {\n state.selectedSubcategory = JSON.parse(JSON.stringify(subcategory));\n}\n\nexport function setActionSubcategories(state, action) {\n state.actionSubcategory = action;\n}\n\nexport function subcategoryError(state, error) {\n state.error = true\n state.errorMessage = error\n}\n\nexport function setSubCategoriesList(state, data) {\n state.subCategoriesList = data;\n\n}\n\n\n\n//Establece el valor por defecto de selectedSubcategory\nexport function resetSelectedSubcategory(state) {\n let id = state.selectedSubcategory.id\n Object.assign(state.selectedSubcategory, defaultSelectedSubcategory())\n if (id) {\n state.selectedSubcategory.id = id\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subcategories/mutations.js","import $http from '../../axios'\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener los subcategorias\nexport async function fetchSubcategories({\n commit,\n state,\n rootState\n}) {\n\n // if (!state.subcategories.length) {\n await $http.get(`/api/subcategorias?categorie_id=${rootState.categories.selectedCategory.id}`)\n .then((response) => {\n commit('setSubcategories', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('subcategoryError', error.message)\n })\n // }\n}\n\n//Crear funcionario\nexport async function addSubcategory({\n commit,\n state,\n dispatch,\n rootState\n}) {\n state.selectedSubcategory.categorie_id = rootState.categories.selectedCategory.id;\n\n await $http.post('/api/subcategorias', state.selectedSubcategory)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Subcategoria ha sido creada',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('resetSelectedSubcategory')\n dispatch('fetchSubcategories')\n state.error = false\n })\n .catch((error) => {\n\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.subcategory_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subcategoryError', error.message)\n })\n}\n\n//Consultar funcionario por id\nexport async function getSubcategory({\n commit,\n state\n}, id) {\n\n if (state.selectedSubcategory.id != id) {\n\n await $http.get(`/api/subcategorias/${id}`)\n .then((response) => {\n commit('setSubcategory', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('subcategoryError', error.message)\n })\n }\n\n}\n\n//Actualizar funcionario\nexport async function updateSubcategory({\n commit,\n state,\n dispatch\n}) {\n\n await $http.put(`/api/subcategorias/${state.selectedSubcategory.id}`, state.selectedSubcategory)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Subcategoria ha sido actualizada',\n duration: 3000,\n customClass: 'notification-box',\n });\n commit('setActionSubcategories', 'create')\n commit('resetSelectedSubcategory')\n dispatch('fetchSubcategories')\n state.error = false\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.subcategory_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subcategoryError', error.message)\n })\n}\n\n\n//Eliminar funcionario\nexport async function removeSubcategory({\n commit,\n dispatch\n}, subcategory) {\n\n await $http.delete(`/api/subcategorias/${subcategory.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Subcategoria ha sido eliminada',\n duration: 3000,\n customClass: 'notification-box',\n });\n dispatch('fetchSubcategories')\n })\n .catch((error) => {\n MessageBox.alert(error.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n })\n\n commit('subcategoryError', e.message)\n })\n}\n\nexport async function listSubcategories({\n commit,\n state\n}, requestParameters = {\n params: state.params\n}) {\n\n await $http.get('/api/lista-subcategorias', requestParameters)\n .then((response) => {\n commit('setSubcategory', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('subcategoryError', error.message)\n })\n}\n\n\nexport async function getSubCategoriesByCategorieId({\n commit,\n state\n}, category_id) {\n\n await $http.get(`/api/subcategorias-por-categoria?category_id=${category_id}`)\n .then((response) => {\n commit('setSubCategoriesList', response.data)\n })\n .catch((error) => {\n\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subcategories/actions.js","export function getParams(state) {\n return state.params\n}\n\nexport function subCategoriesList(state) {\n return state.subCategoriesList;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subcategories/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/subcategories/index.js","export const defaultSelectedMenu = () => {\n return {\n module_id: null,\n order: null,\n icon: null,\n url: \"\",\n menu_id: null,\n description: \"\",\n second_level: []\n };\n};\nexport default {\n menu: [],\n selected_menu: defaultSelectedMenu(),\n permissions: [],\n modules: [],\n parents_menu: [],\n menus: [],\n menus_filtered: [],\n error: false,\n error_message: \"\",\n action: \"create\",\n get_menu_subscriber: true,\n left_menu: {\n selected_menu: null\n },\n menuVideoTutorial: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/menu/state.js","import { defaultSelectedMenu } from \"./state\";\n\nexport function setMenu(state, menu) {\n menu.map(module => {\n if (module.first_level) {\n module.first_level.map(fl => {\n if (fl.visible === undefined) {\n fl.visible = false;\n }\n });\n }\n });\n\n state.menu = menu;\n}\n\nexport function setSelectedMenu(state, selected_menu) {\n state.selected_menu = JSON.parse(JSON.stringify(selected_menu));\n}\n\nexport function setModules(state, modules) {\n state.modules = modules;\n}\n\nexport function setMenus(state, menus) {\n state.menus = menus;\n}\n\nexport function setMenusFiltered(state, menus_filtered) {\n state.menus_filtered = menus_filtered;\n}\n\nexport function setParentsMenus(state, parents_menu) {\n state.parents_menu = parents_menu;\n}\n\nexport function cleanMenuId(state) {\n state.selected_menu.menu_id = \"\";\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function menuError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n}\n\nexport function setGetMenu(state, get_menu) {\n state.get_menu = get_menu;\n}\n\nexport function resetSelectedMenu(state) {\n state.selected_menu = defaultSelectedMenu();\n}\n\nexport function refactorMenu(state) {\n state.menu.map(module => {\n if (module.first_level) {\n module.first_level.map(fl => {\n fl.module_id = module.id;\n if (fl.second_level) {\n fl.second_level.map(sl => {\n sl.module_id = module.id;\n sl.menu_id = fl.id;\n });\n }\n });\n }\n });\n}\n\nexport function setPermissions(state, permissions) {\n state.permissions = permissions;\n}\n\nexport function setSelectedMenuUser(state, selected_menu_user) {\n state.left_menu.selected_menu = selected_menu_user;\n}\n\nexport function setMenuVideoTutorial(state, notes) {\n state.menuVideoTutorial = notes;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/menu/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function getMenu({ commit, dispatch }) {\n await $http\n .get(\"/api/menu\")\n .then(response => {\n commit(\"setMenu\", response.data.data);\n dispatch(\"fetchModules\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getPermissions({ commit, dispatch }) {\n await $http.get(\"/api/permisos\").then(response => {\n commit(\"setPermissions\", response.data);\n });\n}\n\n//Actualizar menu de suscriptor\nexport async function store({ commit, state }) {\n await $http\n .post(`/api/menu/`, state.menu)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \" El menu ha sido actualizado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"setMenu\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"menuSubscriberError\", error.message);\n });\n}\n\nexport async function fetchParentsMenus({ state, commit, dispatch }) {\n let module_id = state.selected_menu.module_id;\n if (module_id) {\n let module = state.menu.find(m => m.id === module_id);\n\n let parents_menu = [];\n\n module.first_level.map(fl => {\n parents_menu.push(fl);\n });\n\n commit(\"setParentsMenus\", parents_menu);\n }\n}\n\nexport async function fetchModules({ commit, state }) {\n let menu = JSON.parse(JSON.stringify(state.menu));\n\n let modules = [];\n\n menu.map(module => {\n modules.push(module);\n });\n\n commit(\"setModules\", modules);\n}\n\nexport async function fetchMenus({ commit, state }) {\n if (!state.menus.length) {\n await $http\n .get(\"/api/menus\")\n .then(response => {\n commit(\"setMenus\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"menuSubscriberError\", error.message);\n });\n }\n}\n\nexport async function fetchSubscribers({ commit, state, rootState, dispatch }) {\n if (!state.subscribers.length) {\n await dispatch(\n \"subscribers/fetchSubscribers\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setSubscribers\", rootState.subscribers.subscribers);\n }\n}\n\nexport function copyMenuItem({ commit, state }, menu_copy) {\n let current_menu = JSON.parse(JSON.stringify(state.menu));\n\n menu_copy = JSON.parse(JSON.stringify(menu_copy));\n menu_copy.id = (Math.floor(Math.random() * (10000 - 1000)) + 1000) * -1;\n\n let copied = false;\n let menu_id = menu_copy.menu_id;\n\n current_menu.map(module => {\n if (menu_copy.module_id === module.id) {\n if (menu_id == null || menu_id === \"\") {\n if (module.id === menu_copy.module_id) {\n if (!module.first_level) {\n module.first_level = [];\n }\n module.first_level.push(menu_copy);\n copied = true;\n }\n }\n if (module.first_level && !copied) {\n module.first_level.map(fl => {\n if (fl.id === menu_id) {\n if (!fl.second_level) {\n fl.second_level = [];\n }\n fl.second_level.push(menu_copy);\n copied = true;\n }\n if (fl.second_level && !copied) {\n fl.second_level.map(sl => {\n if (sl.id === menu_id) {\n if (!sl.third_level) {\n sl.third_level = [];\n }\n sl.third_level.push(menu_copy);\n copied = true;\n }\n });\n }\n });\n }\n }\n });\n\n commit(\"setMenu\", current_menu);\n commit(\"refactorMenu\");\n}\n\nexport function deleteMenuItem({ commit, state }, menu_delete) {\n let menu = JSON.parse(JSON.stringify(state.menu));\n\n menu_delete = JSON.parse(JSON.stringify(menu_delete));\n\n let menu_id = menu_delete.id;\n\n let deleted = false;\n\n menu.map(module => {\n if (module.id === menu_delete.module_id) {\n if (module.first_level && !deleted) {\n module.first_level.map((fl, ifl) => {\n if (fl.id === menu_id) {\n module.first_level.splice(ifl, 1);\n deleted = true;\n }\n if (fl.second_level && !deleted) {\n fl.second_level.map((sl, isl) => {\n if (sl.id === menu_id) {\n fl.second_level.splice(isl, 1);\n deleted = true;\n }\n if (sl.third_level && !deleted) {\n sl.third_level.map((tl, itl) => {\n if (tl.id == menu_id) {\n sl.third_level.splice(itl, 1);\n deleted = true;\n }\n });\n }\n });\n }\n });\n }\n }\n });\n\n commit(\"setMenu\", menu);\n commit(\"refactorMenu\");\n}\n\nexport function addMenuItem({ commit, state }) {\n let current_menu = JSON.parse(JSON.stringify(state.menu));\n\n let selected_menu = JSON.parse(JSON.stringify(state.selected_menu));\n selected_menu.id = (Math.floor(Math.random() * (10000 - 1000)) + 1000) * -1;\n\n let added = false;\n\n for (let module in current_menu) {\n if (module.id === selected_menu.module_id && !added) {\n if (selected_menu.menu_id && !added) {\n } else {\n module.first_level.push(selected_menu);\n }\n }\n }\n\n current_menu.map(module => {\n if (module.id === selected_menu.module_id && !added) {\n if (selected_menu.menu_id) {\n if (module.first_level) {\n module.first_level.map(first_level => {\n if (first_level.id === selected_menu.menu_id && !added) {\n if (!first_level.second_level) {\n first_level.second_level = [];\n }\n if (!selected_menu.third_level) {\n selected_menu.third_level = [];\n }\n first_level.second_level.push(selected_menu);\n added = true;\n }\n });\n }\n } else {\n module.first_level.push(selected_menu);\n }\n }\n });\n\n commit(\"setMenu\", current_menu);\n commit(\"resetSelectedMenu\");\n}\n\nexport function updateMenuItem({ commit, state }) {\n let selected_menu = JSON.parse(JSON.stringify(state.selected_menu));\n\n let menu = JSON.parse(JSON.stringify(state.menu));\n\n let menu_id = selected_menu.id;\n\n let updated = false;\n\n menu.map(module => {\n if (module.id == selected_menu.module_id) {\n if (module.first_level && !updated) {\n module.first_level.map((fl, ifl) => {\n if (fl.id == menu_id) {\n module.first_level.splice(ifl, 1, selected_menu);\n updated = true;\n }\n if (fl.second_level && !updated) {\n fl.second_level.map((sl, isl) => {\n if (sl.id == menu_id) {\n fl.second_level.splice(isl, 1, selected_menu);\n updated = true;\n }\n });\n }\n });\n }\n }\n });\n\n commit(\"setMenu\", menu);\n commit(\"resetSelectedMenu\");\n}\n\nexport function filterMenus({ state, commit }) {\n let menus = state.menus;\n\n let menus_filtered = [];\n\n let current_menu = JSON.parse(JSON.stringify(state.menu));\n\n if (\n state.selected_menu.menu_id == null ||\n state.selected_menu.menu_id == \"\"\n ) {\n menus_filtered = menus.filter(m => {\n if (m.level == 1) {\n return m;\n }\n });\n } else {\n let menu = null;\n\n current_menu.map(module => {\n if (module.id == state.selected_menu.module_id) {\n if (module.first_level) {\n module.first_level.map(fl => {\n if (fl.id == state.selected_menu.menu_id) {\n menu = fl;\n }\n if (fl.second_level) {\n fl.second_level.map(sl => {\n if (sl.id == state.selected_menu.menu_id) {\n menu = sl;\n }\n });\n }\n });\n }\n }\n });\n\n if (menu) {\n if (menu.level === 1) {\n menus_filtered = menus.filter(m => {\n if (m.level == 2) {\n return m;\n }\n });\n } else if (menu.level === 2) {\n menus_filtered = menus.filter(m => {\n if (m.level === 3) {\n return m;\n }\n });\n }\n }\n }\n\n commit(\"setMenusFiltered\", menus_filtered);\n}\n\nexport function changeVisible({ commit, state }, menu_change) {\n let menu = JSON.parse(JSON.stringify(state.menu));\n\n let menu_id = menu_change.id;\n\n menu.map(module => {\n if (module.id === menu_change.module_id) {\n if (module.first_level) {\n module.first_level.map((fl, ifl) => {\n if (fl.id === menu_id) {\n fl.visible = !fl.visible;\n } else {\n fl.visible = false;\n }\n });\n }\n }\n });\n\n commit(\"setMenu\", menu);\n}\n\nexport async function findAllMenuVideoTutorial({ commit }, menu_id) {\n await $http\n .get(\"/api/menu-video-tutorial\", {\n params: {\n menu_id\n }\n })\n .then(response => {\n commit(\"setMenuVideoTutorial\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createMenuVideoTutorial({ dispatch }, data) {\n await $http\n .post(\"/api/menu-video-tutorial\", data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Creado con exito\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateMenuVideoTutorial({ dispatch }, data) {\n await $http\n .put(`/api/menu-video-tutorial/${data.id}`, data.data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Actualizado con exito\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteMenuVideoTutorial({ dispatch }, id) {\n await $http\n .delete(`/api/menu-video-tutorial/${id}`)\n .then(response => {\n // dispatch(\"findAllMenuVideoTutorial\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/menu/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/menu/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/menu/index.js","export const defaultSelectedBanner = () => {\n\treturn {\n\t\tline_id: '',\n\t\tparameter_id: '',\n\t\tname: '',\n\t\tbig_banner: '',\n\t\tsmall_banner: '',\n\t\tsince: '',\n\t\tuntil: '',\n\t\tstate: false,\n\t\trange_date: []\n\t}\n}\n\nexport default {\n\tbanners: [],\n\tselectedBanner: defaultSelectedBanner(),\n\tgetBannerEdit: true,\n\terror: false,\n\terrorMessage: '',\n\taction: 'create',\n\trange_date: [],\n\tlines: [],\n\tparameters: [],\n\tparams: {\n\t\tpagination: true,\n\t\tpage: 1,\n\t\tperPage: 15,\n\t\tfilter: '',\n\t\tsortBy: 'until',\n\t\tsort: 'DESC',\n\t\tbannerSize: 'big'\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/banners-b2b/state.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n// Obtener banners\nexport async function fetchBanners(\n { commit, state },\n requestParameters = { params: state.params }\n) {\n await $http\n .get(\"/api/banners\", requestParameters)\n .then(response => {\n commit(\"setBanners\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n}\n\n// Crear banner\nexport async function addBanner({ commit, state }) {\n await $http\n .post(\"/api/banners\", state.selectedBanner)\n .then(response => {\n Notification.success({\n title: \"¡Éxito!\",\n message: \"El banner ha sido agregado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"resetSelectedBanner\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n dangerouslyUseHTMLString: true,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n}\n\n// Obtener banner individual\nexport async function getBanner({ commit, state }, id) {\n if (state.getBannerEdit) {\n await $http\n .get(`/api/banners/${id}`)\n .then(response => {\n commit(\"setBanner\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n commit(\"setGetBannerEdit\", false);\n }\n}\n\n// Editar banner\nexport async function updateBanner({ commit, state }) {\n $http\n .put(`/api/banners/${state.selectedBanner.id}`, state.selectedBanner)\n .then(response => {\n Notification.success({\n title: \"¡Éxito!\",\n message: \"El banner ha sido actualizado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"setBanner\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n}\n\n// Eliminar banner\nexport async function removeBanner({ commit, dispatch }, banner) {\n $http\n .delete(`/api/banners/${banner.id}`)\n .then(response => {\n Notification.success({\n title: \"¡Éxito!\",\n message: \"El banner ha sido eliminado\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchBanners\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n}\n\n/* Paginación */\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchBanners\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchBanners\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchBanners\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n}\n\n// Obtener líneas\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\n// Obtener parámetros\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter };\n });\n}\n\nexport async function fetchParameters({ dispatch, state, rootState, commit }) {\n if (!state.parameters.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { idParamTable: 5, paginate: false } },\n { root: true }\n );\n commit(\"setParameters\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Carga los banner\nexport function bigBannerImage({ commit }, big_banner) {\n commit(\"setBigBannerImage\", big_banner);\n}\n\nexport function smallBannerImage({ commit }, small_banner) {\n commit(\"setSmallBannerImage\", small_banner);\n}\n\n// listar banners\nexport async function listBanner(\n { commit, state },\n requestParameters = { parameter: state.params }\n) {\n await $http\n .get(`/api/banner-list`)\n .then(response => {\n commit(\"setBanners\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"bannerError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/banners-b2b/actions.js","import { defaultSelectedBanner } from './state'\n\nexport function setBanners (state, banners) {\n\tstate.banners = banners\n}\n\nexport function setBanner (state, banner) {\n\tstate.selectedBanner = banner\n}\n\nexport function bannerError (state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.banners = []\n}\n\nexport function setAction(state, action) {\n\tstate.action = action;\n}\n\nexport function resetSelectedBanner (state) {\n\tObject.assign(state.selectedBanner, defaultSelectedBanner())\n}\n\nexport function setGetBannerEdit (state, getBannerEdit) {\n\tstate.getBannerEdit = getBannerEdit\n}\n\n/* Paginación */\nexport function setFilter (state, filter) {\n\tstate.params.page = 1\n\tstate.params.filter = filter\n}\n\nexport function setPerPage (state, perPage) {\n\tstate.params.page = 1\n\tstate.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n\tstate.params.page = page\n}\n\nexport function setSortBy (state, sortBy) {\n\tstate.params.sortBy = sortBy\n}\n\nexport function setSort (state, sort) {\n\tstate.params.sort = sort\n}\n\n\nexport function setLines(state, lines) {\n\tstate.lines = lines.map(p => {\n\t\treturn {value: p.id, label: p.line_description}\n\t})\n}\n\nexport function setParameters(state, parameters) {\n\tstate.parameters = parameters\n}\n\nexport function setBigBannerImage(state, big_banner) {\n\tstate.selectedBanner.big_banner = big_banner\n}\n\nexport function setSmallBannerImage(state, small_banner) {\n\tstate.selectedBanner.small_banner = small_banner\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/banners-b2b/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/banners-b2b/index.js","export const defaultSelectedHome = () =>{\n return{\n search:'',\n reference:''\n }\n}\nexport default {\n selectedHome: defaultSelectedHome(),\n banners: [],\n brands:[],\n products:[],\n\terror: false,\n errorMessage: '',\n prods: [],\n\n params: {\n idParameter:20,\n // lines:''\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/home/state.js","import $http from \"../../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchBanner(\n { dispatch, state, rootState, commit },\n requestParameters = { params: state.params }\n) {\n if (!state.banners.length) {\n await dispatch(\n \"bannerB2b/listBanner\",\n requestParameters /* {params:{idParameter:19, idLine:21}} */,\n { root: true }\n );\n commit(\"setBanners\", rootState.bannerB2b.banners);\n }\n}\nexport async function fetchBrand({ dispatch, state, rootState, commit }) {\n if (!state.brands.length) {\n await dispatch(\n \"brands/fetchBrands\",\n { params: { paginate: false, lines: state.params.lines } },\n { root: true }\n );\n commit(\"setBrands\", rootState.brands.brands);\n }\n}\nexport async function fetchProducts({ dispatch, state, rootState, commit }) {\n if (!state.products.length) {\n await dispatch(\n \"catalog/fetchProducts\",\n { params: { paginate: true, lines: state.params.lines } },\n { root: true }\n );\n commit(\"setProds\", rootState.catalog.products);\n }\n}\n\n/* export async function fetchPromotions({dispatch, state, rootState, commit}) {\n\n let requestParameters = {\n params:{\n contact_warehouse_id:rootState.login.user_b2b.id\n }\n }\n\n await $http.get(`/api/productos-promociones`, requestParameters)\n .then((response) => {\n commit('setProds', response.data.data)\n })\n .catch((error) => {\n\n })\n} */\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/home/actions.js","import { defaultSelectedBanner } from './state'\n\nexport function setBanners(state, bannerB2b) {\n state.banners = bannerB2b.map(p => {\n return {key:p.id, big: p.big_banner, small:p.small_banner}\n })\n}\nexport function setBrands(state, brands) {\n state.brands = brands.map(p => {\n return {value:p.id, brand: p.description, img:p.image}\n })\n}\n\nexport function setProds(state, prods) {\n state.prods = prods\n}\n\nexport function setBanner (state, banner) {\n\tstate.selectedBanner = banner\n}\n\nexport function bannerError (state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.banners = []\n}\n\nexport function setLines(state, lines) {\n\tstate.lines = lines.map(p => {\n\t\treturn {value: p.id, label: p.line_description}\n\t})\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/home/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/home/index.js","import $http from \"../../../axios\";\nimport { Notification } from \"element-ui\";\n\n// Obtener banners\nexport async function fetchProducts(\n { dispatch,commit, state, rootState },\n requestParameters = { params: state.params }\n) {\n let user_b2b = JSON.parse(localStorage.user_b2b);\n requestParameters.params.contact_id = user_b2b.contact_id;\n requestParameters.params.branchoffice_storage =\n localStorage.selected_branchoffice;\n requestParameters.params.branchoffice_id = user_b2b.branchoffice.id;\n requestParameters.params.product_id = null;\n\n let moedel_id = await dispatch(\"getModelBycode\", '010');\n requestParameters.params.model_id = moedel_id;\n\n //Loader on\n state.loader = true;\n\n let params = JSON.parse(JSON.stringify(requestParameters))\n\n params.params.user_connect = null\n params.params.from_catalog = 1\n\n await $http\n .get(\"/api/productos\", params)\n .then(response => {\n commit(\"setProducts\", {\n products: response.data.data,\n cart: rootState.cart.cart\n })\n commit(\"setDateOfFetch\")\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"productError\", error.message);\n });\n\n //Loader off\n state.loader = false;\n}\n\nexport async function getProductsById(\n { dispatch,commit, state, rootState },\n id\n) {\n \n let requestParameters = { params: state.params }\n let user_b2b = JSON.parse(localStorage.user_b2b);\n requestParameters.params.contact_id = user_b2b.contact_id;\n requestParameters.params.branchoffice_storage =\n localStorage.selected_branchoffice;\n requestParameters.params.branchoffice_id = user_b2b.branchoffice.id;\n\n let moedel_id = await dispatch(\"getModelBycode\", '010');\n requestParameters.params.model_id = moedel_id;\n requestParameters.params.product_id = id;\n let params = JSON.parse(JSON.stringify(requestParameters))\n params.params.user_connect = null\n params.params.from_catalog = 1\n\n await $http\n .get(\"/api/productos\", params)\n .then(response => {\n commit(\"setProduct\", {\n products: response.data.data,\n cart: rootState.cart.cart\n })\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false, only_lines_unlocked_b2b: 1 } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\nexport async function fetchSublines(\n { dispatch, state, rootState, commit },\n requestParameters = { params: state.category_params }\n) {\n let params = {\n params: {\n lines: state.params.filter_lines,\n filter_brands: state.params.filter_brands,\n filter_groups: state.params.filter_groups\n }\n };\n\n await dispatch(\"sublines/listSublines\", params, { root: true });\n commit(\"setGroups\", rootState.sublines.sublines);\n}\n\nexport async function fetchBrand({ dispatch, state, rootState, commit }) {\n console.log(state.params.filter_lines);\n\n await dispatch(\n \"brands/fetchBrands\",\n { params: { paginate: false, lines: state.params.filter_lines } },\n { root: true }\n );\n commit(\"setBrands\", rootState.brands.brands);\n}\n\nexport async function fetchSubbrands(\n { dispatch, state, rootState, commit },\n requestParameters = { params: state.params }\n) {\n let params = {\n params: {\n brands: state.params.filter_brands\n }\n };\n await dispatch(\"subbrands/listSubbrands\", params, { root: true });\n commit(\"setSubbrands\", rootState.subbrands.subbrands);\n}\n\nexport async function fetchCategories(\n { dispatch, state, rootState, commit },\n requestParameters = { params: state.category_params }\n) {\n await dispatch(\"categories/fetchCategories\", requestParameters, {\n root: true\n });\n commit(\"setCategories\", rootState.categories.categories);\n}\n\n// Obtener banners\nexport async function fetchPricesProducts({ commit, state, rootState }) {\n let products = state.products.data;\n\n await $http\n .post(\"/api/calcular-precios/\" + rootState.login.user_b2b.id, products)\n .then(response => {\n commit(\"setProductsData\", response.data.data);\n })\n .catch(error => {});\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchProducts\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchProducts\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchProducts\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n // dispatch('fetchProducts')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n // dispatch('fetchProducts')\n}\n\nexport function setRole({ commit, dispatch }, role) {\n commit(\"setRole\", role);\n // dispatch('fetchProducts')\n}\n\n/** Obtener promociones */\nexport async function getPromotions({ commit, state }, product) {\n var params = {\n params: {\n product_id: product.id,\n line_id: product.line != null ? product.line.id : null,\n subline_id: product.subline != null ? product.subline.id : null,\n brand_id: product.brand != null ? product.brand.id : null,\n subbrand_id: product.subbrand != null ? product.subbrand.id : null,\n branchoffice_warehouse_id:\n product.branchoffice_warehouse_id != null\n ? product.branchoffice_warehouse_id\n : null\n }\n };\n\n await $http.get(\"/api/promociones-activas\", params).then(response => {\n commit(\"setSelectedProduct\", product);\n commit(\"setPromotions\", response.data.data);\n });\n}\n\n/** Buscar productos según los criterios de clasificación */\nexport function fetchProductsByClasification(\n { commit, state },\n requestParams = { params }\n) {\n let user_b2b = JSON.parse(localStorage.user_b2b);\n requestParams.params.contact_id = user_b2b.contact_id;\n\n $http.get(\"/api/productos-clasificacion\", requestParams).then(response => {\n commit(\"setProductsFiltered\", response.data.data);\n });\n}\n\n/** Abrir modal de promociones */\nexport async function getModalPromotions(\n { state, dispatch, commit, rootState },\n product\n) {\n let user = JSON.parse(localStorage.user);\n product.branchoffice_warehouse_id = user.branchoffice_warehouse_id;\n await dispatch(\"getPromotions\", product);\n\n // Comprobar que productos de la promoción estan en carrito\n let cart = JSON.parse(JSON.stringify(rootState.cart.cart));\n await commit(\"setProductsPromotionsTable\", cart);\n await commit(\"setProductsBenefitTable\", cart);\n\n commit(\"setShowPromotionsModal\", true);\n}\n\nexport async function validateAllPromotionRules({\n state,\n commit,\n dispatch,\n rootState\n}) {\n state.promotions.map(promotion => {\n dispatch(\"validatePromotionRules\", promotion.id);\n });\n}\n\nexport async function changePromotionProduct(\n { state, commit, dispatch, rootState },\n promotion_product\n) {\n dispatch(\"validatePromotionRules\", promotion_product.promotion_id);\n}\n\nexport async function validatePromotionRules(\n { state, commit, dispatch, rootState },\n promotion_id = null\n) {\n commit(\"validatePromotion\");\n}\n\nexport async function setBenefitProduct({ state }) {\n // Producto de menor precio\n if (state.selectedPromotion.gift_type == 2) {\n var product_benefit = null;\n var min_val = null;\n\n state.selectedPromotion.products_promotions.map((pp, index_pp) => {\n if (min_val == null) {\n min_val = pp.product.price.price;\n product_benefit = JSON.parse(JSON.stringify(pp.product));\n } else {\n if (pp.product.price.price < min_val) {\n min_val = pp.product.price.price;\n product_benefit = JSON.parse(JSON.stringify(pp.product));\n }\n }\n });\n\n var iva = product_benefit.line.taxes.find(t => t.code == 10);\n\n product_benefit.quantity = 1;\n product_benefit.val_brut =\n product_benefit.price.price * product_benefit.quantity;\n product_benefit.val_iva = (product_benefit.val_brut * iva.percentage) / 100;\n product_benefit.is_benefit = true;\n state.selectedPromotion.specific_product = product_benefit;\n }\n\n // Producto especifico\n if (state.selectedPromotion.gift_type != 2) {\n if (state.selectedPromotion.specific_product_id != null) {\n await $http\n .get(`/api/productos/${state.selectedPromotion.specific_product_id}`)\n .then(response => {\n product_benefit = response.data.data;\n\n var iva = product_benefit.line.taxes.find(t => t.code == 10);\n\n product_benefit.quantity = 1;\n product_benefit.val_brut =\n product_benefit.price.price * product_benefit.quantity;\n product_benefit.val_iva =\n (product_benefit.val_brut * iva.percentage) / 100;\n product_benefit.is_benefit = true;\n state.selectedPromotion.specific_product = product_benefit;\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer el beneficio\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n }\n}\n\nexport function getBenefitProductById({ state, commit, dispatch, rootState }) {}\n\nexport async function getBranchOfficesWarehousesAvailableByProduct(\n { state, commit, dispatch, rootState },\n product_id\n) {\n await $http\n .get(`/api/inventario-por-producto/${product_id}`)\n .then(response => {\n commit(\"setBranchOfficesWarehousesAvailableProduct\", response.data);\n })\n .catch(error => {\n console.error(error);\n\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer el contenido\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getProduct({ commit, state, rootState }, product_id) {\n let user_b2b = JSON.parse(localStorage.user_b2b);\n\n let params = {\n params: {\n branchoffice_id: user_b2b.branchoffice_id,\n product_id: product_id,\n warehouse_id: user_b2b.id\n }\n };\n\n commit(\"cart/setLockPromotions\", true, { root: true });\n\n await $http\n .get(\"/api/promocion-por-producto\", params)\n .then(response => {\n commit(\"setSelectedProduct\", response.data.data);\n\n let products = JSON.parse(JSON.stringify(state.products));\n\n let indexProduct = products.data.findIndex(p => p.id == product_id);\n\n if (indexProduct >= 0) {\n products.data.splice(indexProduct, 1, response.data.data);\n }\n })\n .catch(error => {});\n\n commit(\"cart/setLockPromotions\", false, { root: true });\n}\nexport async function getModelBycode({commit, state},code){\n var model_id\n await $http\n .get(`/api/modelo-por-codigo/${code}`)\n .then(response => {\n if (response.data.data) {\n model_id = response.data.data.id\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n return model_id\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/catalog/actions.js","export function setProducts(state, data) {\n data.products.data.map((p, index_p) => {\n p.quantity = '';\n p.click = 0;\n p.total = p.price.price;\n p.price.calculated = false;\n\n if (p.hasPromotion) {\n p.product_promotions.map(pp => {\n pp.comply = false;\n pp.specific_product = pp.specific_product ? pp.specific_product : null;\n });\n }\n\n // Carrito\n if (data.cart.documents_products) {\n data.cart.documents_products.map((dp, indexdp) => {\n if (dp.product_id) {\n if (dp.product_id == p.id) {\n p.quantity = dp.quantity;\n }\n }\n });\n }\n\n //test\n var priceInventory = p.inventory.find(\n pi => pi.branchoffice_warehouse_id == 279 && pi.product_id == p.id\n );\n if (priceInventory) {\n p.quantity_available = priceInventory.available;\n }\n });\n\n state.products = data.products;\n}\n\nexport function setProduct(state, data) {\n data.products.data.map((p, index_p) => {\n p.quantity = 0;\n p.click = 0;\n p.total = p.price.price;\n p.price.calculated = false;\n\n if (p.hasPromotion) {\n p.product_promotions.map(pp => {\n pp.comply = false;\n pp.specific_product = pp.specific_product ? pp.specific_product : null;\n });\n }\n\n // Carrito\n if (data.cart.documents_products) {\n data.cart.documents_products.map((dp, indexdp) => {\n if (dp.product_id) {\n if (dp.product_id == p.id) {\n p.quantity = dp.quantity;\n }\n }\n });\n }\n\n //test\n var priceInventory = p.inventory.find(\n pi => pi.branchoffice_warehouse_id == 279 && pi.product_id == p.id\n );\n if (priceInventory) {\n p.quantity_available = priceInventory.available;\n }\n });\n\n state.selectedProductItem = data.products.data.length > 0 ? data.products.data[0] : {};\n}\n\nexport function productError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n state.products = [];\n}\n\nexport function setLines(state, lines) {\n state.lines = lines.map(p => {\n return { value: p.id, label: p.line_description };\n });\n}\n\nexport function setSublines(state, sublines) {\n state.sublines = sublines.map(p => {\n return { value: p.id, label: p.subline_description };\n });\n}\n\nexport function setBrands(state, brands) {\n state.brands = brands.map(p => {\n return { ...p, value: p.id, label: p.description, imagen: p.thumbnails };\n });\n}\n\nexport function setCategories(state, categories) {\n state.categories = categories.map(p => {\n return { value: p.id, label: p.description };\n });\n}\n\nexport function setGroups(state, groups) {\n state.groups = groups.map(p => {\n return { value: p.id, label: p.subline_description };\n });\n\n state.sublines = groups.map(p => {\n return { value: p.id, label: p.subline_description };\n });\n}\n\nexport function setSubbrands(state, subbrands) {\n state.subbrands = subbrands.map(p => {\n return { value: p.id, label: p.description };\n });\n}\n\nexport function setProductsData(state, products) {\n state.products.data = products;\n}\n\nexport function setBranchOfficesWarehousesAvailableProduct(state, data) {\n state.branchOfficesWarehousesAvailableProduct = data;\n state.branchOfficesWarehousesAvailableProduct.previous_product_id = null;\n}\nexport function resetBranchOfficesWarehousesAvailableProduct(state, data) {\n state.branchOfficesWarehousesAvailableProduct = {\n product: null,\n branchOfficesAvailable: [],\n previous_product_id: null\n };\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\nexport function setReference(state, reference) {\n state.params.page = 1;\n state.params.reference = reference;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy;\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort;\n}\nexport function setFilterLine(state, line) {\n state.params.filter_lines = line;\n}\nexport function setFilterSublines(state, sublines) {\n state.params.filter_subline = sublines;\n state.category_params.filter_subline = sublines;\n}\nexport function setFilterBrand(state, brand) {\n state.params.filter_brands = brand;\n state.category_params.filter_brands = brand;\n}\nexport function setFilterGroup(state, sublines = []) {\n state.params.filter_groups = sublines;\n state.category_params.filter_groups = sublines;\n}\nexport function setFilterCategories(state, categories = []) {\n state.params.filter_categories = categories;\n}\nexport function setFilterSubbrands(state, subbrands) {\n state.params.filter_subbrands = subbrands;\n}\n\n/** Asignar promociones */\nexport function setPromotions(state, promotions) {\n state.selectedPromotion = promotions[0];\n state.promotions = promotions;\n\n var exist_product = state.selectedPromotion.products_promotions.find(\n pp => pp.product.id == state.selectedProduct.id\n );\n\n if (exist_product === undefined) {\n state.selectedProduct.quantity = 0;\n state.selectedPromotion.products_promotions.push({\n id: null,\n promotion_id: state.selectedPromotion.id,\n product_id: state.selectedProduct.id,\n minimum_amount: null,\n discount: 0,\n pay_soon: null,\n cash_payment: null,\n product: JSON.parse(JSON.stringify(state.selectedProduct))\n });\n }\n}\n\n/** SELECCIONAR UNA PROMOCION **/\nexport function setSelectedPromotion(state, promotion) {\n state.selectedPromotion = promotion;\n}\n\n/** Asignar valor al producto seleccionado */\nexport function setSelectedProduct(state, product) {\n state.selectedProduct = product;\n}\n\n/** Asignar productos filtrados por criterios de clasificación */\nexport function setProductsFiltered(state, products) {\n state.productsFiltered = products;\n}\n\n/** Abrir o cerrar modal de promociones */\nexport function setShowPromotionsModal(state, bool) {\n state.showPromotionsModal = bool;\n}\n\n/** Mostrar los productos que estan en carrito en el modal de promociones */\nexport function setProductsPromotionsTable(state, cart) {\n let promotions = JSON.parse(JSON.stringify(state.promotions));\n\n promotions.map(promo => {\n promo.products_promotions.map(ppp => {\n ppp.discount_value = 0;\n ppp.product.quantity = 0;\n });\n });\n\n promotions.map(promo => {\n cart.documents_products.find(dp => {\n if (dp.promotion_id == promo.id) {\n if (promo.products_promotions.length) {\n dp.samePromotion.map(sp => {\n if (sp.unit_value_before_taxes > 0) {\n if (!sp.is_benefit) {\n promo.products_promotions.map(ppp => {\n if (ppp.product_id == sp.product_id) {\n ppp.product.quantity = sp.quantity;\n ppp.product.price.price = parseInt(\n sp.unit_value_before_taxes\n );\n ppp.discount_value = sp.discount_value;\n }\n });\n }\n }\n });\n } else {\n // Obetener productos que tengan precio\n let hasPrice = dp.samePromotion.filter(\n p => p.unit_value_before_taxes > 0\n );\n\n // Reemplazar los productos de samePromotion solo por los que tienen precio\n dp.samePromotion = hasPrice;\n\n dp.samePromotion.map(sp => {\n sp.product.quantity = sp.quantity;\n sp.product.price.price = parseInt(sp.unit_value_before_taxes);\n sp.discount_value = 0;\n });\n promo.products_promotions = dp.samePromotion;\n }\n }\n });\n });\n\n state.promotions = promotions;\n}\n\n/** Mostrar el producto beneficio en el modal de promociones */\nexport function setProductsBenefitTable(state, cart) {\n let promotions = JSON.parse(JSON.stringify(state.promotions));\n\n promotions.map(promo => {\n cart.documents_products.find(dp => {\n if (dp.unit_value_before_taxes == 0) {\n promo.specific_product = {\n code: dp.product.code,\n description: dp.product.description,\n price: {\n price: 0\n }\n };\n }\n });\n });\n\n state.promotions = promotions;\n}\n\nexport function setLoader(state, data) {\n state.loader = data;\n}\n\nexport function validatePromotion(state, data) {\n //if (state.selectedPromotion.promotion_type_id == 3) {\n\n // Validamos por la cantidad minima\n var total_quantity = 0;\n var total_val_brut = 0;\n\n state.selectedPromotion.comply = false;\n\n state.selectedPromotion.products_promotions.map((pp, index_pp) => {\n total_quantity += parseInt(pp.product.quantity ? pp.product.quantity : 0);\n total_val_brut += pp.product.quantity\n ? pp.product.price.price * pp.product.quantity\n : 0;\n });\n\n if (state.selectedPromotion.minimum_amount) {\n if (total_quantity >= state.selectedPromotion.minimum_amount) {\n state.selectedPromotion.comply = true;\n }\n }\n\n if (state.selectedPromotion.minimum_gross_value) {\n if (total_val_brut >= state.selectedPromotion.minimum_gross_value) {\n state.selectedPromotion.comply = true;\n }\n }\n\n //}\n}\n\nexport function setPromotionUpdate(state, prod) {\n var promotion = prod.promotion;\n var samePromotion = prod.samePromotion;\n\n samePromotion.map((sp, index_sp) => {\n // Validamos que el producto no sea un beneficio\n if (sp.is_benefit == true) {\n promotion.specific_product_id = sp.product.id;\n return;\n }\n\n // Validamos si el producto existe\n var exist_product_key = promotion.products_promotions.findIndex(\n pp => pp.product.id == sp.product.id\n );\n\n // No existe\n if (exist_product_key == -1) {\n promotion.products_promotions.push({\n id: null,\n promotion_id: promotion.id,\n product_id: sp.product.id,\n minimum_amount: null,\n discount: 0,\n pay_soon: null,\n cash_payment: null,\n quantity: sp.quantity,\n product: JSON.parse(JSON.stringify(sp.product)),\n is_benefit: sp.is_benefit\n });\n } else {\n promotion.products_promotions[exist_product_key].quantity = sp.quantity;\n }\n });\n\n let product = {\n product_promotions: [promotion]\n };\n\n state.selectedProduct = product;\n}\n\nexport function setlabelButtonPromotion(state, text = \"Aplicar Promoción\") {\n state.labelButtonPromotion = text;\n}\n\nexport function setAddingProduct(state, product) {\n let products = JSON.parse(JSON.stringify(state.products))\n\n products.data.map(p => {\n if (p.id === product.product_id){\n p.adding = true\n }\n })\n\n state.products = products\n}\n\nexport function quitAddingProduct(state, product) {\n let products = JSON.parse(JSON.stringify(state.products))\n\n products.data.map(p => {\n p.adding = false\n })\n\n state.products = products\n}\n\nexport function setGettingPromotions(state, product) {\n let products = JSON.parse(JSON.stringify(state.products))\n\n products.data.map(p => {\n if (p.id === product.id){\n p.gettingPromotions = true\n }\n })\n\n state.products = products\n}\n\nexport function quitGettingPromotions(state, product) {\n let products = JSON.parse(JSON.stringify(state.products))\n\n products.data.map(p => {\n p.gettingPromotions = false\n })\n\n state.products = products\n}\n\nexport function setRole(state, user){\n state.params.role_user = user;\n}\n\nexport function setDateOfFetch(state){\n state.date_of_fetch = new Date();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/catalog/mutations.js","export function getParams (state){\n return state.params\n}\n\nexport function getShowPromotionsModal (state){\n return state.showPromotionsModal\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/catalog/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n mutations,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/catalog/index.js","export default {\n brands: [],\n loader: true,\n lines: [],\n sublines: [],\n products: {data:[]},\n groups: [],\n categories: [],\n subbrands: [],\n error: false,\n errorMessage: \"\",\n type_user:\"\",\n params: {\n filter_lines: [],\n filter_sublines: [],\n filter_brands: [],\n filter_subbrands: [],\n filter_groups: [],\n filter_categories: [],\n paginate: true,\n page: 1,\n filter: \"\",\n reference: \"\",\n warehouse: 0,\n only_promotions: false,\n clasification: \"\",\n role_user: \"\",\n only_lines_unlocked_b2b: 1\n },\n category_params: {\n filter_brands: [],\n filter_groups: [],\n lines: \"\"\n },\n promotions: [],\n selectedProduct: [],\n selectedPromotion: null,\n productsFiltered: [],\n showPromotionsModal: false,\n minimumPriceProducts: [],\n labelButtonPromotion: \"Aplicar Promoción\",\n branchOfficesWarehousesAvailableProduct: {\n product: null,\n branchOfficesAvailable: [],\n previous_product_id: null\n },\n date_of_fetch:null,\n selectedProductItem: {\n total:0,\n quantity_available:'',\n long_description:'',\n code:'',\n cant:null,\n click:0,\n brand:{},\n category:{},\n line:{},\n products_attachments:[],\n subline:{},\n price:{}\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/catalog/state.js","export const defaultSelectedCustomer = () => {\n\treturn {\n id: null\n\t}\n}\n\nexport default {\n\tcustomers: [],\n\tselectedCustomer: defaultSelectedCustomer(),\n\terror: false,\n\terrorMessage: '',\n typeIdentifications:[],\n\n params: {\n id:'',\n employee_type:'',\n paginate: true,\n page: 1,\n filter: '',\n is_customer: true\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ecommerce/state.js","import $http from '../../axios'\nimport { Notification } from 'element-ui'\n\nexport async function fetchCustomers ({ commit, state }, /* query, */ requestParameters = { params: state.params }) {\n\t//let user = JSON.parse(localStorage.getItem('user'))\n\tlet selected_branchoffice = JSON.parse(localStorage.selected_branchoffice)\n\tlet data = state.params\n\n\tdata.branchoffice_id = selected_branchoffice\n\n\tlet params = {\n\t\tparams: data\n\t}\n\n\tawait $http.get('/api/establecimientos-vendedor', params).then((response) => {\n\t\tcommit('setCustomers', response.data.data)\n\t}).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('ecommerceError', error.message)\n\t})\n}\n\nexport async function loginB2b ({ commit, state }) {\n\n\tlet customer_id = state.selectedCustomer.id\n\tlocalStorage.setItem('user_b2b', JSON.stringify(state.selectedCustomer))\n\tcommit('login/setUserLoguedB2b', state.selectedCustomer, { root: true })\n}\n\nexport async function runGetTypeIdentification ({ commit, state }) {\n\tawait $http.get('/api/extra-data/type-identification')\n\t\t.then(response => {\n\t\t\treturn response.data\n\t\t})\n\t\t.then(response => {\n\t\t\tcommit('getTypeIdentification', response[0].extra_parameters)\n\t\t})\n\t\t.catch(error => {\n\t\t\tNotification.error({\n\t\t\t\ttitle: '¡Error!',\n\t\t\t\tmessage: error.message,\n\t\t\t\ttype: 'error',\n\t\t\t\tduration: 1500,\n\t\t\t\tcustomClass: 'notification-box'\n\t\t\t})\n\t\t\tcommit('ecommerceError', error.message)\n\t\t})\n}\n\nexport function setFilterPagination ({ state, commit, dispatch }) {\n\t\tcommit('setFilter', state.params.filter)\n\t\tdispatch('fetchCustomers')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n\tcommit('setPerPage', parseInt(perPage.target.value))\n\tdispatch('fetchCustomers')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n\tcommit('setPage', parseInt(page))\n\tdispatch('fetchCustomers')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n\tcommit('setSortBy', sortBy)\n\t// dispatch('fetchLicenses')\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n\tcommit('setSort', sort)\n\t// dispatch('fetchLicenses')\n}\n\nexport async function createCartCustomerCopy({}, document_id) {\n\treturn await new Promise(async (resolve, reject) => {\n\t\tawait $http.post('/api/carrito-cliente-copia', {\n document_id\n })\n .then((response) => {\n resolve(response);\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: 'Error al crear la copia del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n reject(error);\n });\n\t});\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ecommerce/actions.js","import { defaultSelectedCustomer } from './state'\n\nexport function setCustomers (state, customers) {\n\tstate.customers = customers\n}\n\nexport function ecommerceError (state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.customers = []\n}\n\nexport function getTypeIdentification (state, payload) {\n\tstate.typeIdentifications = payload\n}\n\nexport function setSelectedCustomer (state, customer) {\n\tstate.selectedCustomer = customer\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter (state, filter) {\n\tstate.params.page = 1\n\tstate.params.filter = filter\n}\n\nexport function setPerPage (state, perPage) {\n\tstate.params.page = 1\n\tstate.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n\tstate.params.page = page\n}\n\nexport function setSortBy (state, sortBy) {\n\tstate.params.sortBy = sortBy\n}\n\nexport function setSort (state, sort) {\n\tstate.params.sort = sort\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ecommerce/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ecommerce/index.js","export const defaultSelectedProduct = () => {\n return {\n total:0,\n quantity_available:'',\n long_description:'',\n code:'',\n cant:null,\n click:0,\n brand:{},\n category:{},\n line:{},\n products_attachments:[],\n subline:{},\n price:{},\n description: ''\n }\n}\nexport default {\n brand:[],\n selectedProduct : defaultSelectedProduct(),\n related:[],\n product:[],\n group:[],\n category:[],\n products_attachments_carrusel:[],\n imagen:'',\n\terror: false,\n errorMessage: '',\n\n params: {\n price_list_id:0\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/product-detail/state.js","import $http from \"../../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function getProduct(\n {commit, state, dispatch, rootState},\n product_id,\n requestParameters = { params: state.params }\n) {\n let user_b2b = JSON.parse(localStorage.user_b2b);\n let model_id = await dispatch('getModelBycode', '010');\n let params = {\n params: {\n contact_id: user_b2b.contact_id,\n branchoffice_id: user_b2b.branchoffice_id,\n model_id\n }\n };\n\n\n await $http\n .get(\n \"/api/calcular-precio/\" + rootState.login.user_b2b.id + \"/\" + product_id,\n params\n )\n .then(response => {\n commit(\"setProduct\", response.data.data);\n })\n .catch(error => {});\n}\nexport async function getrelated({ commit, state,dispatch }, id) {\n let user_b2b = JSON.parse(localStorage.user_b2b);\n let model_id = await dispatch('getModelBycode', '010');\n let params = {\n params: {\n branchoffice_id: user_b2b.branchoffice_id,\n model_id\n }\n };\n await $http\n .get(`/api/relacionados/${id}`, params)\n .then(response => {\n commit(\"setRelated\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"productError\", error.message);\n });\n}\n\nexport async function getModelBycode({commit, state},code){\n var model_id\n await $http\n .get(`/api/modelo-por-codigo/${code}`)\n .then(response => {\n if (response.data.data) {\n model_id = response.data.data.id\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n return model_id\n}\n\nexport async function fetchBrand({ dispatch, state, rootState, commit }) {\n if (!state.brands.length) {\n await dispatch(\n \"brands/fetchBrands\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setBrands\", rootState.brands.brands);\n }\n}\n\nexport async function fetchCategories({ dispatch, state, rootState, commit }) {\n if (!state.categories.length) {\n await dispatch(\n \"categories/fetchCategories\",\n { params: { paginate: true, line: true } },\n { root: true }\n );\n commit(\"setCategories\", rootState.categories.categories);\n }\n}\n\nexport async function fetchSublines({ dispatch, state, rootState, commit }) {\n if (!state.groups.length) {\n await dispatch(\n \"sublines/listSublines\",\n { params: { line: true } },\n { root: true }\n );\n commit(\"setGroups\", rootState.sublines.sublines);\n }\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchProducts\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchProducts\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchProducts\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n // dispatch('fetchProducts')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n // dispatch('fetchProducts')\n}\n\nexport function setProductsAttachments({commit,dispatch},productAttachment){\n commit(\"setProductsAttachments\",productAttachment);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/product-detail/actions.js","\nexport function setProduct (state, product) {\n\n\tproduct.quantity = 1\n\tproduct.total = product.price.price\n\tstate.selectedProduct = product\n\n\tstate.related = product.related_products\n\tstate.imagen = product.products_attachments == '' ? product.brand.image : product.products_attachments[0].src\n}\n\nexport function setProductsAttachments (state, products_attachments) {\n\tproducts_attachments.map(pa => {\n const encodedSrc = encodeURI(pa.src).replace(/#/g, '%23');\n const encodedThump = encodeURI(pa.thumb).replace(/#/g, '%23');\n\n pa.src = getApiDomain() + encodedSrc;\n pa.thumb = getApiDomain() + encodedThump;\n\t})\n\tstate.products_attachments_carrusel = products_attachments;\n }\n/**\n * Establecer un valor para la variable imagen.\n */\nexport function setImagen(state, imagen) {\n state.imagen = imagen;\n}\n\n/**\n * Establecer un valor para la variable selectedProduct.\n */\nexport function setSelectedProduct(state, selectedProduct) {\n state.selectedProduct = selectedProduct;\n}\n\nexport function setProductCant (state, product) {\n\tstate.selectedProduct.quantity = product.quantity\n}\n\nexport function setRelated (state, related) {\n\trelated.forEach(p => {\n\t\tp.quantity = null, p.click = 0, p.total = p.price.price, p.add = false\n\t});\n\tstate.related = related\n}\n\nexport function productError (state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.products = []\n}\n\nexport function setBrands (state, brands) {\n\tstate.brands = brands.map(p => {\n\t\treturn { value: p.id, label: p.description, imagen: p.thumbnails }\n\t})\n}\nexport function setCategories (state, categories) {\n\tstate.categories = categories.map(p => {\n\t\treturn { value: p.id, label: p.description }\n\t})\n}\nexport function setGroups (state, groups) {\n\tstate.groups = groups.map(p => {\n\t\treturn { value: p.id, label: p.subline_description }\n\t})\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/product-detail/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/product-detail/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n mutations,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/product-detail/index.js","export const defaultSelectedModel = () => {\n return {\n pay_taxes: null\n };\n};\n\nexport default {\n cartInitial: [],\n cart: {\n documents_information: {\n price_list: \"\"\n }\n },\n total: 0,\n pdf: \"\",\n show_pdf: false,\n error: false,\n errorMessage: \"\",\n params:{\n user_connect: []\n },\n last_cart: {\n parameter: {\n name_parameter: \"\"\n }\n },\n selected_model: defaultSelectedModel(),\n lockAdd: false,\n lockPromotions: false,\n pathPdf:null,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/cart/state.js","import $http from \"../../../axios\";\nimport {MessageBox, Notification} from 'element-ui';\n\n// Agregar items al carrito\nexport async function addCartItems({commit, state, dispatch, rootState}, products) {\n commit('setLockAdd', true);\n commit('setLockPromotions', true);\n commit('catalog/setAddingProduct', products, {root: true});\n \n let two_days_ago = new Date();\n two_days_ago.setDate(two_days_ago.getDate() - 2);\n if (rootState.catalog.date_of_fetch && rootState.catalog.date_of_fetch <= two_days_ago) {\n Notification.error({\n title: \"¡Error!\",\n message: 'Se recomienda listar el catalogo de nuevo',\n type: \"error\",\n duration: 5000,\n customClass: \"notification-box\"\n });\n commit('setLockAdd', false);\n commit('setLockPromotions', false);\n commit('catalog/quitAddingProduct', [], {root: true}); \n return;\n }\n\n products.model_id = state.selected_model.id;\n products.warehouse_id = rootState.login.user_b2b.id;\n products.branchoffice_id = rootState.login.user_b2b.branchoffice_id;\n products.return_document = 0;\n\n await $http.post('/api/items-carrito?is_client_portal=true', products).then(async () => {\n await dispatch('fetchCart', {\n contact_id: rootState.login.user_b2b.contact_id,\n branchoffice_id: rootState.login.user_b2b.id,\n user_id: rootState.login.user_logued.id\n });\n }).catch(error => {\n if (error.response && error.response.data && error.response.data.message){\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 5000,\n customClass: \"notification-box\"\n });\n }\n });\n\n commit('setLockAdd', false);\n commit('setLockPromotions', false);\n commit('catalog/quitAddingProduct', [], {root: true});\n}\n\n// Eliminar items del carrito\nexport async function removeCartItems({ commit, dispatch, rootState }, item) {\n await $http.delete(`/api/items-carrito/${item.id}`).then(async response => {\n await commit(\"deleteItemCart\", item);\n await dispatch(\"fetchCart\", {\n contact_id: rootState.login.user_b2b.contact_id,\n branchoffice_id: rootState.login.user_b2b.id,\n user_id: rootState.login.user_logued.id\n });\n });\n}\n\n// Crear nuevo carrito\nexport async function newCart({ commit, state }, cart) {\n await $http\n .post(\"/api/carrito\", cart)\n .then(response => {\n commit(\"setCart\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n}\n\n// Obtener los datos del carrito\nexport async function fetchCart({ commit, state }, parameters) {\n\n const is_cart_copy = localStorage.getItem('cart_copy');\n\n\tconst params = {\n\t\tis_cart_copy\n\t}\n\n await $http\n .get(\n `/api/carrito/${parameters.contact_id}/${parameters.branchoffice_id}/${parameters.user_id}`,\n { params }\n )\n .then(async response => {\n await commit(\"setCart\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n}\n\n/* Agregar items relacionados al carrito */\nexport async function addToCartFinalize(\n { rootState, dispatch },\n { id, cant, price, line_id, subline_id, brand_id, percentage_iva_sale }\n) {\n let product = {\n document_id: rootState.cart.cart.id,\n product_id: id,\n seller: rootState.login.user_b2b.seller_id,\n line_id: line_id,\n subline_id: subline_id,\n brand_id: brand_id,\n applies_inventory: true,\n quantity: cant,\n unit_value_before_taxes: price.price,\n iva_percentage: percentage_iva_sale,\n discount_value: Math.round((price.price * price.percentage) / 100)\n };\n\n await dispatch(\"addCartItems\", product);\n}\n\n/* Agregar información del carrito */\nexport async function addInformation({ commit, state }, information) {\n await $http\n .post(\"/api/informacion-carrito\", information)\n .then(response => {\n commit(\"setInformation\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n}\n\n/* Finalizar proceso de pedido */\nexport async function finalizeOrderAction({dispatch, rootState, commit, state}, cart) {\n // Validamos el monto mini por pedido\n let minimum_order_amount = rootState.login.user_b2b.branchoffice.minimum_order_amount;\n const is_cart_copy = localStorage.getItem('cart_copy');\n\n\n if (minimum_order_amount) {\n if (cart.total_value < minimum_order_amount) {\n commit('cartError', 'El valor total del pedido es inferior al monto mínimo.');\n\n return;\n }\n }\n\n let data = {\n id: cart.id,\n observation: cart.observation,\n affects_prefix_document: cart.affects_prefix_document,\n affects_number_document: cart.affects_number_document,\n model_code: '010',\n is_cart_copy\n };\n\n let vouchertype_id = await dispatch('getVouchertype', {\n code: '001',\n branchoffice: rootState.login.user_b2b.branchoffice_id\n });\n\n await $http\n .post(`/api/finalizar-pedido`, data)\n .then(async response => {\n // Preparar datos obligatorios del carrito\n let cart = {\n warehouse_id: rootState.login.user_b2b.id,\n vouchertype_id: vouchertype_id,\n prefix: 'Pd',\n contact_id: rootState.login.user_b2b.contact_id,\n inventory_operation: 'pedido',\n in_progress: true,\n pay_condition: rootState.login.user_b2b.pay_condition,\n send_point: rootState.login.user_b2b.send_point,\n seller_id: rootState.login.user_b2b.seller_id,\n user_id: rootState.login.user_logued.id,\n documents_information: {\n price_list: rootState.login.user_b2b.price_list_id\n }\n };\n // Crear carrito\n await dispatch('newCart', cart);\n //console.log(response.data);\n commit('setLastCart', response.data);\n commit('cartError', '');\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: 'Error al finalizar el pedido',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n if (data.dps_new_price) {\n console.log(2);\n\n commit(\n 'cartError',\n `Estimado Cliente.
${data.message}.`\n );\n commit('serDpNewPrice', data.dps_new_price);\n }else{\n console.log(1);\n commit(\n 'cartError',\n 'Estimado Cliente.
Estamos presentando algunos problemas de comunicación, por favor intentelo nuevamente.'\n );\n }\n });\n}\n\n/**\n * Finalizar cotización\n */\nexport async function finalizeQuotation({dispatch, rootState, commit, state}, cart) {\n // Validamos el monto mínimo de la cotización\n let minimum_order_amount = rootState.login.user_b2b.branchoffice.minimum_order_amount;\n\n if (minimum_order_amount) {\n if (cart.total_value < minimum_order_amount) {\n commit('cartError', 'El valor total de la cotización es inferior al monto mínimo.');\n\n return;\n }\n }\n\n let data = {\n id: cart.id,\n observation: cart.observation,\n affects_prefix_document: cart.affects_prefix_document,\n affects_number_document: cart.affects_number_document,\n model_code: '005'\n };\n\n let voucher_type_id = await dispatch('getVouchertype', {\n code: '001',\n branchoffice: rootState.login.user_b2b.branchoffice_id\n });\n\n await $http\n .post(`/api/finalizar-pedido`, data)\n .then(async response => {\n\n // Preparar datos obligatorios del carrito\n let cart = {\n warehouse_id: rootState.login.user_b2b.id,\n vouchertype_id: voucher_type_id,\n prefix: 'Pd',\n contact_id: rootState.login.user_b2b.contact_id,\n inventory_operation: 'pedido',\n in_progress: true,\n pay_condition: rootState.login.user_b2b.pay_condition,\n send_point: rootState.login.user_b2b.send_point,\n seller_id: rootState.login.user_b2b.seller_id,\n user_id: rootState.login.user_logued.id,\n documents_information: {\n price_list: rootState.login.user_b2b.price_list_id\n }\n };\n\n // Crear cotización\n await dispatch('newCart', cart);\n commit('setLastCart', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: 'Error al finalizar el pedido',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n\n commit(\n 'cartError',\n 'Estimado Cliente.
Estamos presentando algunos problemas de comunicación, por favor inténtelo nuevamente.'\n );\n });\n}\n\nexport async function getVouchertype({commit, state},voucherType){\n var params = {\n code_voucher_type:voucherType.code,\n branchoffice: voucherType.branchoffice\n }\n var voucherType_id\n await $http\n .get(`/api/tipo-comprobante`, {params})\n .then(response => {\n if (response.data) {\n voucherType_id = response.data.id\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n return voucherType_id\n}\n\nexport async function getModelBycode({commit, state},code){\n await $http\n .get(`/api/modelo-por-codigo/${code}`)\n .then(response => {\n if (response.data.data) {\n commit(\"setSelectedModel\", response.data.data);\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n}\n\n\nexport async function getPdf({ commit, state }, id) {\n await $http\n .get(`/api/imprimir-pedido/${id}`)\n .then(response => {\n commit(\"setPdf\", response.data.data.pdf);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n}\n\nexport async function getCustomerCategoty({ commit, state }, contact_customer_id) {\n let contactCustomer = null\n await $http\n .get(`/api/categoria-cliente-prospecto/${contact_customer_id}`)\n .then(response => {\n contactCustomer = response.data.data\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n return contactCustomer\n}\nexport async function downloadDocument({ state }) {\n let name = state.pdf.split(\"/\").pop();\n // let extension = name.split('.').pop()\n await $http({\n url: state.pdf,\n method: \"GET\",\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", name);\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n/* Agregar items al carrito */\nexport async function addToCart({ rootState, dispatch, state }, product) {\n\n let user = JSON.parse(localStorage.getItem('user'));\n let user_b2b = JSON.parse(localStorage.getItem('user_b2b'));\n let subscriber = JSON.parse(localStorage.getItem('subscriber'));\n\n let discount_value = 0;\n\n if (!product.combo && subscriber.identification !== '800198348' && rootState.login.user_b2b.discount_percentage != null && product.price.price){\n discount_value = (product.price.price * parseFloat(rootState.login.user_b2b.discount_percentage)) / 100 * product.quantity;\n }\n\n let calculate_discount = !product.combo && subscriber.identification !== '800198348';\n\n let addProduct = {\n product_id: product.product_id ? product.product_id : product.id,\n seller_id: rootState.login.user_b2b.seller_id,\n contact_id: rootState.login.user_b2b.contact.id,\n quantity: product.quantity,\n original_quantity: product.quantity,\n model_id: state.selected_model.id,\n promotion_id: product.promotion_id,\n is_benefit: product.is_benefit ? product.is_benefit : false,\n discount_value: discount_value,\n document_product_id: product.document_product_id,\n calculate_discount: calculate_discount,\n unit_value_before_taxes: product.price\n ? product.price.price\n : undefined,\n unit_list_value: product.unit_list_value\n };\n\n let vouchertype_id = await dispatch(\"getVouchertype\", {code:'001', branchoffice: rootState.login.user_b2b.branchoffice_id});\n\n // Validar si el carrito existe\n if (!state.cart.id) {\n // Preparar datos obligatorios del carrito\n let cart = {\n warehouse_id: rootState.login.user_b2b.id,\n vouchertype_id: vouchertype_id,\n prefix: \"Pd\",\n contact_id: rootState.login.user_b2b.contact_id,\n inventory_operation: \"pedido\",\n in_progress: true,\n model_id: state.selected_model.id,\n pay_condition: rootState.login.user_b2b.pay_condition,\n send_point: rootState.login.user_b2b.send_point,\n seller_id: rootState.login.user_b2b.seller_id,\n user_id: rootState.login.user_logued.id,\n documents_information: {\n price_list: rootState.login.user_b2b.price_list_id\n }\n };\n\n // Crear carrito\n await dispatch(\"newCart\", cart);\n }\n\n // Asignar el id del carrito\n addProduct.document_id = rootState.cart.cart.id;\n // Agregar producto al carrito\n if (addProduct.quantity > 0) {\n await dispatch(\"addCartItems\", addProduct);\n }\n}\n\nexport async function checkCart({ rootState, dispatch, state }) {\n // Validar si el carrito existe\n let vouchertype_id = await dispatch(\"getVouchertype\", {code:'001', branchoffice: rootState.login.user_b2b.branchoffice_id});\n\n if (!state.cart.id) {\n // Preparar datos obligatorios del carrito\n let cart = {\n warehouse_id: rootState.login.user_b2b.id,\n vouchertype_id: vouchertype_id,\n prefix: \"Pd\",\n contact_id: rootState.login.user_b2b.contact_id,\n inventory_operation: \"pedido\",\n in_progress: true,\n pay_condition: rootState.login.user_b2b.pay_condition,\n send_point: rootState.login.user_b2b.send_point,\n seller_id: rootState.login.user_b2b.seller_id,\n user_id: rootState.login.user_logued.id,\n documents_information: {\n price_list: rootState.login.user_b2b.price_list_id\n }\n };\n\n // Crear carrito\n await dispatch(\"newCart\", cart);\n }\n}\n\n/* Agregar productos de promoción al carrito */\n//Obsoleto\nexport async function addPromotionToCart(\n { state, rootState, dispatch },\n product\n) {\n let productAdd = {\n product_id: product.id,\n promotion_id: product.promotion,\n seller: rootState.login.user_b2b.seller_id,\n applies_inventory: false,\n quantity: product.quantity,\n unit_value_before_taxes: product.price.price,\n discount_value: Math.round((product.price.price * product.discount) / 100),\n original_quantity: product.quantity,\n line_id: product.line_id,\n brand_id: product.brand_id,\n subbrand_id: product.subbrand_id,\n subline_id: product.subline_id,\n category_id: product.category_id\n };\n let vouchertype_id = await dispatch(\"getVouchertype\", {code:'001', branchoffice: rootState.login.user_b2b.branchoffice_id});\n\n // Validar si el carrito existe\n if (rootState.cart.cart.id == null || rootState.cart.cart.id == \"\") {\n // Preparar datos obligatorios del carrito\n let cart = {\n warehouse_id: rootState.login.user_b2b.id,\n vouchertype_id: vouchertype_id,\n prefix: \"Pd\",\n contact_id: rootState.login.user_b2b.contact_id,\n inventory_operation: \"pedido\",\n in_progress: true,\n pay_condition: rootState.login.user_b2b.pay_condition,\n send_point: rootState.login.user_b2b.send_point,\n seller_id: rootState.login.user_b2b.seller_id,\n user_id: rootState.login.user_logued.id,\n documents_information: {\n price_list: rootState.login.user_b2b.price_list_id\n }\n };\n\n // Crear carrito\n await dispatch(\"newCart\", cart);\n\n // Obtener el id del carrito recién creado\n productAdd.document_id = rootState.cart.cart.id;\n\n // Agregar producto al carrito\n await dispatch(\"addCartItems\", productAdd);\n } else {\n // Asignar el id del carrito\n productAdd.document_id = rootState.cart.cart.id;\n\n // Agregar producto al carrito\n await dispatch(\"addCartItems\", productAdd);\n }\n}\n\n/** Aplicar descuento a la promoción cuando se cumple */\nexport async function applyBenefit(\n { state, commit, dispatch, rootState },\n promotion\n) {\n // Agregar el beneficio al carrito o actualizar las unidades del beneficio\n if (promotion.comply && promotion.specific_product != null) {\n let product = {\n id: promotion.specific_product.id,\n quantity: promotion.specific_product.quantity,\n promotion_id: promotion.id,\n is_benefit: true\n };\n await dispatch(\"addToCart\", product);\n }\n}\n\n/**\n * Obtiene el modelo de acuerdo al id del mismo\n * @param commit\n * @param state\n * @param requestParameters\n * @returns {Promise}\n */\nexport async function fetchModel({ commit, state }, model_id) {\n await $http\n .get(\"/api/modelos/\" + model_id)\n .then(response => {\n commit(\"setSelectedModel\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/cart/actions.js","import { defaultSelectedCart } from \"./state\";\n\nexport function setCart(state, cart) {\n\n if (cart.documents_products) {\n cart.documents_products.map((dp, index) => {\n dp.edit_discount_value = false;\n });\n }\n\n state.cart = cart;\n state.cartInitial = cart;\n}\n\nexport function setCartItems(state, items) {\n state.cart.items = items;\n}\n\nexport function setPathPdf(state, path) {\n console.log(path);\n state.pathPdf = path;\n}\n\nexport function setInformation(state, information) {\n state.cart.information = information;\n}\n\nexport function cartError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n}\n\nexport function setTotal(state, total) {\n state.total = total;\n}\n\nexport function setPdf(state, pdf) {\n state.pdf = pdf;\n}\n\nexport function addItemCart(state, item) {\n let documents_products = [];\n\n if (state.cart.documents_products) {\n documents_products = state.cart.documents_products\n }\n\n documents_products.push(item)\n\n state.cart.documents_products = documents_products;\n}\n\nexport function deleteItemCart(state, item) {\n let documents_products = [];\n\n documents_products = JSON.parse(\n JSON.stringify(state.cart.documents_products)\n );\n\n let index = documents_products.findIndex(dp => dp.id == item.id);\n\n if (index >= 0) {\n documents_products.splice(index, 1);\n }\n\n state.cart.documents_products = documents_products;\n}\n\nexport function setLastCart(state, last_cart) {\n state.last_cart = last_cart;\n}\n\n/**\n * Asigna un valor a la variable de state selected_model\n * @param state\n * @param selected_model\n */\nexport function setSelectedModel(state, selected_model) {\n state.selected_model = selected_model;\n}\n\nexport function setLockAdd(state, lockAdd) {\n state.lockAdd = lockAdd\n}\n\nexport function setLockPromotions(state, lockPromotions) {\n state.lockPromotions = lockPromotions\n}\nexport function serDpNewPrice(state, dps_new_price) {\n state.cart.documents_products.map(dp => {\n let updated_price = dps_new_price.find(dp_np => dp_np == dp.id)\n if (updated_price) dp._rowVariant = 'warning'\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/cart/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nconst namespaced = true\n\nexport default {\n\tnamespaced,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/cart/index.js","import $http from '../../../axios'\nimport { Notification } from 'element-ui'\nexport async function getrelated({commit, state}, id, requestParameters = {params: state.params}) {\n await $http.get(`/api/relacionados/${id}`, requestParameters)\n .then((response) => {\n commit('setRelatedCart', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('cartError', error.message)\n })\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/relative-products-form/actions.js","export function setProductsForm (state, productsForm) {\n state.productsForm = productsForm\n}\n\nexport function setRelatedCart (state, related) {\n related.forEach(p => {\n p.quantity = null, p.total = p.price.price, p.add = false\n });\n state.related = related\n}\n\nexport function setCartItems (state, items) {\n state.cart.items = items\n}\n\nexport function cartError (state, payload) {\n state.error = true\n state.errorMessage = payload\n state.cart = []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/relative-products-form/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nconst namespaced = true\n\nexport default {\n\tnamespaced,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/relative-products-form/index.js","\n\nexport default {\n brand:[],\n related:[],\n product:[],\n group:[],\n category:[],\n imagen:'',\n\terror: false,\n errorMessage: '',\n\tproductsForm:[],\n\tparams: {\n price_list_id:0,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/relative-products-form/state.js","import $http from '../../../axios'\nimport { Notification } from 'element-ui'\n\n// Obtener banners\nexport async function fetchOrders({ commit, state }, requestParameters = { params: state.params }) {\n await $http.get('/api/pedidos', requestParameters)\n .then((response) => {\n commit('setOrders', response.data.data)\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('productError', error.message)\n })\n}\n\nexport async function fetchBrand({ dispatch, state, rootState, commit }) {\n if (!state.brands.length) {\n await dispatch('brands/fetchBrands', { params: { paginate: false } }, { root: true })\n commit('setBrands', rootState.brands.brands)\n }\n}\n\nexport async function fetchSublines({ dispatch, state, rootState, commit }, requestParameters = { params: state.category_params }) {\n await dispatch('sublines/listSublines', requestParameters, { root: true })\n commit('setGroups', rootState.sublines.sublines)\n}\n\nexport async function fetchCategories({ dispatch, state, rootState, commit }, requestParameters = { params: state.category_params }) {\n await dispatch('categories/fetchCategories', requestParameters, { root: true })\n commit('setCategories', rootState.categories.categories)\n\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {value: p.id, label: p.name_parameter}\n })\n}\n\n//Obtener los parametros de una tabla\nexport async function getStates({commit, state}) {\n await $http.get(`/api/parametros?paramtable_id=64&paginate=false`)\n .then((response) => {\n commit('setStates', response.data.data)\n console.log(state.states)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener los parametros de una tabla\nexport async function getStatesAuth({commit, state}) {\n await $http.get(`/api/parametros?paramtable_id=94&paginate=false`)\n .then((response) => {\n commit('setStatesAuth', response.data.data)\n console.log(state.states)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n }\n\n// Obtiene las clases de personas\nexport async function fetchDocumentStatus({dispatch, state, rootState, commit}) {\n if (!state.status.length) {\n await dispatch('parameters/listParameter', {params: {idParamTable: 64, paginate: false}}, {root: true})//TODO: Determinar el idParamTable\n commit('setDocumentStatus', mapParameters(rootState.parameters.parameters))\n }\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchProducts')\n}\n\nexport function setFilterReference({ commit, dispatch }, reference) {\n commit('setReference', reference.target.value)\n dispatch('fetchProducts')\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchProducts')\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchProducts')\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchProducts')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit('setSort', sort)\n // dispatch('fetchProducts')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/orders-history/actions.js","export function setOrders(state, orders) {\n state.orders = orders;\n}\n\nexport function setDocumentStatus(state, status) {\n state.status = status\n}\n\nexport function productError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.products = []\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterDate(state, date) {\n state.params.filter_date = date\n}\nexport function setFilterStatus(state, status) {\n state.params.filter_status = status\n}\nexport function setReference(state, reference) {\n state.params.page = 1\n state.params.reference = reference\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort\n}\n\nexport function setStates (state, states) {\n state.states = states\n}\n\nexport function setStatesAuth (state, states) {\n state.states_auth = states\n }\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/orders-history/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/orders-history/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n mutations,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/orders-history/index.js","export default {\n orders: [],\n transporter: [],\n products: [],\n status: [],\n error: false,\n errorMessage: '',\n states: [],\n states_auth: [],\n params: {\n filter_date: [],\n filter_status: [],\n filter_status_auth:[],\n paginate: true,\n sortBy: 'id',\n sort: 'DESC',\n warehouse: 0\n },\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/orders-history/state.js","import $http from \"../../../axios\";\nimport { Notification } from \"element-ui\";\n\n// Obtener banners\nexport async function fetchReceivables(\n { commit, state },\n requestParameters = {\n params: state.params\n }\n) {\n requestParameters.params.sortBy = \"document_id\";\n\n await $http\n .get(\"/api/cartera\", requestParameters)\n .then(response => {\n commit(\"setReceivables\", data);\n })\n .catch(error => {\n /*Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })*/\n commit(\"receivableError\", error.message);\n });\n}\n\n// Obtener cartera del cliente\nexport async function fetchReceivablesByContactId(\n { commit, state },\n contact_id\n) {\n await $http\n .get(`/api/cartera/${contact_id}`)\n .then(response => {\n commit(\"setReceivables\", response.data);\n })\n .catch(error => {\n console.error(error);\n /*Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })*/\n });\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchReceivables\");\n}\n\nexport function setFilterReference({ commit, dispatch }, reference) {\n commit(\"setReference\", reference.target.value);\n dispatch(\"fetchReceivables\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchReceivables\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchReceivables\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n}\n\n\nexport async function getReceivableCSV({ }, id) {\n $http({\n url: `/api/Informe-cartera/${id}`,\n method: 'GET',\n responseType:'blob'\n }).then(response => {\n \n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n let date = Date();\n link.setAttribute(\"download\", `CARTERA-${date.toString()}.csv`);\n document.body.appendChild(link);\n link.click();\n\n \n\n\n }).catch(error => {\n\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/receivable/actions.js","import moment from 'moment'\n\nexport function setReceivables (state, receivables) {\n let subscriber = JSON.parse(localStorage.getItem(\"subscriber\"))\n if (subscriber) {\n if (subscriber.identification == '900338016') {\n // Asignamos los registros\n state.receivables = receivables\n // Calculamos \n state.totalReceivables = 0;\n state.receivables.forEach(element => {\n \n state.totalReceivables += element.receivable[0].invoice_balance\n \n });\n }else{\n state.totalReceivables = receivables[0].final_balance;\n }\n }\n \n \n \n}\n\nexport function receivableError (state, payload) {\n state.error = true\n state.errorMessage = payload\n state.receivables = []\n}\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setPerPage (state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n state.params.page = page\n}\n\nexport function setSortBy (state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort (state, sort) {\n state.params.sort = sort\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/receivable/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/receivable/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n mutations,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/receivable/index.js","export default {\n receivables: [],\n error: false,\n errorMessage: '',\n totalReceivables: 0,\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n sortBy: 'invoice_id',\n sort: 'ASC',\n warehouse: 0,\n color_text: \"color-default\",\n color_backg: \" \",\n address: \"\",\n telephone: \"\",\n style_line : \"linea-sup\",\n background_c : \"default\",\n email: \"\",\n company: \"\",\n color_text_soft: \"color-default\"\n },\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/receivable/state.js","import $http from '../../../axios'\nimport { Notification } from 'element-ui'\n\n// Obtener banners\nexport async function fetchProducts({commit, state, dispatch, rootState}, requestParameters = { params: state.params }) {\n\n let user_b2b = JSON.parse(localStorage.user_b2b);\n let model_id = await dispatch('getModelBycode', '010');\n requestParameters.params.contact_id = user_b2b.contact_id;\n requestParameters.params.model_id = model_id;\n requestParameters.params.branchoffice_storage = localStorage.selected_branchoffice;\n requestParameters.params.branchoffice_id = user_b2b.branchoffice.id;\n requestParameters.params.from_catalog = 1\n\n\tawait $http.get('/api/productos-reposicion', requestParameters)\n\t\t.then((response) => {\n\t\t\tcommit('setProducts', response.data.data)\n\t\t}).catch((error) => {\n\t\t\tNotification.error({\n\t\t\t\ttitle: '¡Error!',\n\t\t\t\tmessage: error.message,\n\t\t\t\ttype: 'error',\n\t\t\t\tduration: 1500,\n\t\t\t\tcustomClass: 'notification-box'\n\t\t\t})\n\t\t\tcommit('productError', error.message)\n\t\t})\n\n}\n\n// Obtener banners\nexport async function fetchPricesProducts({ commit, state, rootState }) {\n\tlet products = state.products.data\n\tawait $http.post('/api/calcular-precios/' + rootState.login.user_b2b.id, products)\n\t.then((response) => {\n\t\tcommit('setProductsData', response.data.data)\n\t}).catch((error) => {\n\t})\n\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n\tcommit('setFilter', filter.target.value)\n\tdispatch('fetchProducts')\n}\n\nexport function setFilterReference({ commit, dispatch }, reference) {\n\tcommit('setReference', reference.target.value)\n\tdispatch('fetchProducts')\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n\tcommit('setPerPage', parseInt(perPage.target.value))\n\tdispatch('fetchProducts')\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n\tcommit('setPage', parseInt(page))\n\tdispatch('fetchProducts')\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n\tcommit('setSortBy', sortBy)\n\t\t// dispatch('fetchProducts')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n\tcommit('setSort', sort)\n\t\t// dispatch('fetchProducts')\n}\n\nexport async function fetchBrands({ dispatch, state, rootState, commit }) {\n\tif (!state.brands.length) {\n\t\tawait dispatch('brands/fetchBrands', { params: { paginate: false } }, { root: true })\n\t\tcommit('setBrands', rootState.brands.brands)\n\t}\n}\n\nexport async function getModelBycode({commit, state},code){\n var model_id\n await $http\n .get(`/api/modelo-por-codigo/${code}`)\n .then(response => {\n if (response.data.data) {\n model_id = response.data.data.id\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"cartError\", error.message);\n });\n return model_id\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/replacement-assistant/actions.js","export function setProducts(state, products) {\n\tproducts.data.forEach(p => {\n\t\tp.quantity = p.documents_products[0].quantity\n p.total = p.price.price * p.documents_products[0].quantity\n\t});\n\tstate.products = products\n}\nexport function productError(state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.products = []\n}\nexport function setProductsData(state, products) {\n\tstate.products.data = products;\n}\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n\tstate.params.page = 1\n\tstate.params.filter = filter\n}\nexport function setReference(state, reference) {\n\tstate.params.page = 1\n\tstate.params.reference = reference\n}\n\nexport function setPerPage(state, perPage) {\n\tstate.params.page = 1\n\tstate.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n\tstate.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n\tstate.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n\tstate.params.sort = sort\n}\n\nexport function setBrands(state, brands) {\n\tstate.brands = brands.map(p => {\n\t\treturn { value: p.id, label: p.description, imagen: p.thumbnails }\n\t})\n}\n\nexport function setFilterBrand(state, brand) {\n\tstate.params.filter_brands = brand\n\t//state.category_params.filter_brands = brand;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/replacement-assistant/mutations.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/replacement-assistant/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n mutations,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/replacement-assistant/index.js","export default {\n\tproducts: [],\n\tbrands: [],\n\terror: false,\n\terrorMessage: '',\n\tparams: {\n\t\tpaginate: true,\n\t\tpage: 1,\n\t\twarehouse: 0,\n\t\tonly_promotions: false,\n\t\tfilter_date: '2019-01-01',\n\t\tfilter_brands: [],\n line_id: null,\n lines: []\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/replacement-assistant/state.js","export const defaultProspective = () => {\n\treturn {\n\t identification_type: null,\n interest_products_ids: [],\n\t\tidentification: '',\n\t\tcheck_digit: 0,\n\t\tname: '',\n\t\taddress: '',\n\t\tmain_telephone: null,\n\t\tcell_phone: '',\n\t\tobservations: '',\n\t\tphoto: null,\n\t\tcontact_name: '',\n\t\tsurname: '',\n\t\tgender: null,\n\t\temail: '',\n\t\tlatitud: '',\n\t\tlongitud: '',\n\t\tcity_id: '',\n\t\twarehouse_id: '',\n\t\ttradename:''\n\t}\n}\n\nexport default {\n\tprospective: defaultProspective(),\n\tdepartments: [],\n\tcities: [],\n\tidentificationTypes: [],\n interestProducts: [],\n\tlines: [],\n\terror: false,\n\terrorMessage: '',\n\tparams: {\n\t\t// something\n\t},\n\tloader: false,\n\tperson:{\n\t\ttype:0\n\t},\n\timage:{\n\t\turl:null,\n\t\tshowRotate:false\n\t}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prospective-client/state.js","import { defaultProspective } from \"./state\";\n\nexport function setProspective(state, prospective) {\n state.prospective = prospective;\n}\n\nexport function cleanInputCity(state) {\n state.prospective.city_id = \"\";\n}\n\nexport function setTargetImg(state, payload) {\n state.prospective.photo = payload;\n}\n\nexport function setPhotoFile(state, photo) {\n state.prospective.photo = photo;\n}\n\nexport function setDepartments(state, departments) {\n state.departments = departments.map(p => {\n return { value: p.id, label: p.department };\n });\n}\n\nexport function setCities(state, cities) {\n state.cities = cities.map(p => {\n return { value: p.id, label: p.city };\n });\n}\n\nexport function prospectiveError(state, payload) {\n state.error = payload;\n}\n\nexport function setIdentificationTypes(state, identificationTypes) {\n state.identificationTypes = identificationTypes;\n}\n\nexport function setLines(state, lines) {\n state.lines = lines.map(p => {\n return { value: p.id, label: p.line_description };\n });\n}\n\nexport function resetProspectiveForm(state) {\n Object.assign(state.prospective, defaultProspective());\n}\n\nexport function getProspectiveWarehouseId(state, warehouse_id) {\n state.prospective.warehouse_id = warehouse_id;\n}\n\nexport async function assignNewClientIdent(state, payload) {\n state.prospective.identification_type = payload;\n}\n\nexport function setInterestProducts(state, interestProducts) {\n state.interestProducts = interestProducts;\n}\n\nexport function seStatImage(state) {\n state.image.url = null;\n state.showRotate = false;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prospective-client/mutations.js","export function getParams (state){\n return state.params\n}\n\nexport function getTypePerson (state){\n return state.typePerson\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prospective-client/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prospective-client/index.js","import $http from '../../axios'\nimport { Notification } from 'element-ui'\n\nexport async function getDaysDebt({commit,state},payload){\n\tconst days = payload.days\n\tawait $http.get(`/api/client-debt/${days}`).then((res) => {\n\t\tcommit('getDaysDebt',res.data)\n\t}).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('ecommerceError', error.message)\n\t})\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-managment/actions.js","import { defaultSelectedCustomer } from './state'\n\nexport function getDaysDebt(state,payload){\n\tstate.customDay = payload\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-managment/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-managment/index.js","export const defaultSelectedCustomer = () => {\n\treturn {\n\n\t}\n}\n\nexport default {\n\tcustomDay:0,\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-managment/state.js","export function getParams(state) {\n return state.params;\n}\n\nexport function getProductDataSheet(state) {\n return state.data_sheets;\n}\n\nexport function ListProductsTable(state) {\n return state.tableProduct;\n}\n\nexport function detailLoadFile (state) {\n return state.loadImages\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products/index.js","export const defaultSelectedVisit = () => {\n\treturn {\n\t\tseller_id: '',\n\t\tcontact_id: '',\n\t\tcontact_warehouse_id: '',\n\t\tvisit_type: '',\n\t\tlongitude_checkin: '',\n\t\tlatitude_checkin: '',\n\t\tlatitude_checkout: '',\n\t\tlongitude_checkout: '',\n\t\tmotive: [],\n\t\ttest: '',\n\t\tdistance: '',\n\t\tcheckin_date: '',\n\t\tcheckout_date: '',\n\t\tobservation: '',\n\t\tphoto: '',\n\t\tcheckout_ok: '',\n\t\trange_date: []\n\t}\n}\n\nlet date = new Date();\nlet month=date.getMonth()+1;\nlet dateOne=date.getFullYear()+'-'+month+'-01';\nlet dateTwo=date.getFullYear()+'-'+month+'-'+date.getDate();\n\nexport default {\n\tloading: {\n module: true\n },\n\tvisits: [],\n\tsellers: [],\n\tselectedVisit: defaultSelectedVisit(),\n\terror: false,\n\terrorMessage: '',\n\tparams: {\n\t\tpaginate: true,\n\t\tpage: 1,\n\t\tperPage: 15,\n\t\tfilter: '',\n\t\tsortBy: 'seller_id',\n\t\tsort: 'ASC',\n\t\tfilter_date: [dateOne,dateTwo]\n\t},\n\tag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/visits/state.js","import defaultSelectedVisit from './state'\n\nexport function setSellers(state, sellers) {\n\tstate.sellers = sellers\n}\n\nexport function sellerError(state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.sellers = []\n}\n\nexport function visitError(state, payload) {\n\tstate.error = true\n\tstate.errorMessage = payload\n\tstate.visits = []\n}\n\nexport function setFilterDate(state, date) {\n\tstate.params.filter_date = date\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/visits/mutations.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui'\n\nexport async function fetchSellers({ commit, state }, requestParameters = { params: state.params }) {\n\tawait $http.get('/api/estadisticas-vendedores', requestParameters).then((response) => {\n\t\tcommit('setSellers', response.data)\n\t}).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('sellerError', error.message)\n\t})\n}\n\nexport async function fetchVisits({ commit, state }) {\n\tawait $http.get('/api/seguimiento-vendedores').then((response) => {\n\t\tcommit('setSellers', response.data.data)\n\t}).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('visitError', error.message)\n\t})\n}\n\n/**\n *\n * @returns {Promise}\n */\nexport async function reportGenerate({state, commit}) {\n // commit('setPreloader', true)\n await $http({\n url: \"/api/reportes/estadisticas-vendedores\",\n method: \"GET\",\n responseType: \"blob\",\n params: state.params\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n console.log(url);\n link.setAttribute(\"download\", \"Visitas vendedores.xlsx\");\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n // commit('setPreloader', false)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/visits/actions.js","export function getParams(state) {\n\treturn state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/visits/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/visits/index.js","import $http from '../../axios'\nimport { Notification } from 'element-ui'\nimport { cpus } from 'os';\n\nexport async function getProducts({commit,state}){\n\tawait $http.get(`api/lista-productos`).then((response)=>{\n\t\tcommit('getProducts',response.data);\n\t})\n}\nexport async function getBranchsWare({commit,state}){\n\tawait $http.get('api/branchs-ware').then((response)=>{\n\t\tcommit('getBranchsWare',response.data);\n\t}).catch((error)=>{\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t})\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/listproducts/actions.js","import { defaultSelectedCustomer } from './state'\n\nexport function getProducts(state,payload){\n\tstate.products = payload;\n}\nexport function getBranchsWare(state,payload){\n\t// this.$store.dispatch(\"listproducts/getBranchsWare\");\n\tstate.branchsWare= payload;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/listproducts/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/listproducts/index.js","export default {\n\tproducts:[],\n\tbranchsWare:[],\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/listproducts/state.js","/* export function setPrices(state,prices){\n prices.data.map(p => {\n if(!p.price.price){\n p.price.id = 0\n p.price.price = 0\n p.price.product_id = p.id\n p.price.price_list_id = 1\n p.branchoffice_id = 1\n }\n })\n\n state.prices=prices;\n} */\nexport function setBranchs(state, branch) {\n state.branchs = branch;\n}\nexport function setListPrices(state, listPrice) {\n state.listPrices = listPrice;\n}\nexport function setPrice(state, price) {\n state.idChangedPrice = price;\n}\nexport function setFilterPrice(state, id) {\n state.params.id = id;\n}\nexport function setFilterPriceList(state, list) {\n state.params.list = list;\n}\nexport function setBranchOffices(state, branchOffice) {\n state.branchOffices = branchOffice;\n}\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\nexport function setList(state, list) {\n state.list = list.sort((a, b) => a.code_parameter - b.code_parameter);\n}\nexport function setPrices(state, prices) {\n prices.data.map(p => {\n p.new_price = p.new_price || p.price.price\n });\n\n state.prices = prices\n}\nexport function setparamsUpdatePrices(state) {\n state.paramsUpdatePrices = [];\n}\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\nexport function setMsgErrorLoadExcel(state, value) {\n state.msgErrorLoadExcel = value;\n}\n\nexport function setAudit(state, auditPriceList) {\n state.auditPriceList = auditPriceList;\n}\n\nexport function setPricesExcel(state, prices) {\n prices.map(p => {\n p.new_price = p.new_price || p.price.price\n });\n\n state.pricesExcel = prices\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nexport async function getPrices({ commit, state }, paginate=true) {\n\n let params = state.params\n params.paginate = paginate ? 1 : null\n\n await $http\n .get(\"/api/price\", { params })\n .then(res => {\n if (paginate){\n commit(\"setPrices\", res.data.data);\n }else{\n commit(\"setPricesExcel\", res.data.data);\n }\n\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"priceError\", error.message);\n });\n}\n\nexport async function updatedPrice({ commit, state }) {\n await $http\n .put(`/api/price-update`, state.paramsUpdatePrices)\n .then(res => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se Ha actualizado el precio\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function updatedPriceExcel({ state }, data) {\n await $http\n .put(`/api/price-update-excel`, data)\n .then(res => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha cargado la informacion correctamente.\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function uploadExcel({ commit, state }, excel) {\n await $http\n .post(\"/api/import-excel\", excel)\n .then(res => {})\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"updatePriceError\", error.message);\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices({ commit, state }) {\n await $http\n .get(\"/api/sedes\")\n .then(response => {\n commit(\"setBranchOffices\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchBrand({ dispatch, state, rootState, commit }) {\n await dispatch(\n \"brands/fetchBrands\",\n { params: { paginate: false, lines: state.params.lines } },\n { root: true }\n );\n commit(\"setBrands\", rootState.brands.brands);\n}\n\nexport async function fetchList({ commit }) {\n await $http\n .get(\"/api/parametros-por-tabla/14\")\n .then(response => {\n commit(\"setList\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n}\n\nexport async function uploadFilePrice({ commit }, data) {\n await $http\n .post(\"/api/price-format-excel\", data)\n .then(response => {\n commit(\"setPrices\", response.data);\n }).catch(async error => {\n const message = error.response.data.message ? error.response.data.message : 'Internal Server Error';\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error',\n });\n });\n}\n\nexport async function getAuditListPrice({ commit, state },id_price_list) {\n await $http\n .get(\"/api/auditoria-lista-precio/\"+id_price_list)\n .then(response => {\n commit(\"setAudit\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices/index.js","export default {\n params: {\n branchOffice_id: null,\n brand: null,\n list: null,\n product: null,\n line_id: null,\n option: 1,\n per_page: 50,\n page: 1\n },\n paramsUpdatePrices: [],\n branchOffices: [],\n brands: [],\n list: [],\n prices: {data:[]},\n lines: [],\n msgErrorLoadExcel: \"\",\n auditPriceList: [],\n pricesExcel: [],\n optionsSelect: [\n {\n value: 1,\n label: \"1-Todos\"\n },\n {\n value: 2,\n label: \"2-Con Precio\"\n },\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices/state.js","export function setDocuments(state, document) {\n state.documents = document;\n}\n\nexport function setVouchersType(state, voucher) {\n state.vouchersType = voucher;\n}\n\nexport function setCategory(state, category) {\n state.categories = category;\n}\n\nexport function setFilterCategory(state, category) {\n state.category.id = category;\n}\n\nexport function setFilterVouchersType(state, voucherType) {\n state.params.voucherType = voucherType;\n}\n\nexport function setFilterBranch(state, branch) {\n state.params.branch = branch;\n}\n\nexport function setFilterDate(state, date) {\n state.params.date = date;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function getDocuments({commit,state},requestParameters = {params: state.params}){\n await $http.get('/api/documents',requestParameters).then((res)=>{\n commit('setDocuments',res.data);\n }).catch((error)=>{\n Notification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n commit('documentError', error.message)\n })\n}\nexport async function getVouchersType({commit,state},parameter){\n await $http.get('/api/voucherstype',parameter).then((res)=>{\n commit('setVouchersType',res.data);\n }).catch((error)=>{\n Notification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n commit('voucherTypeError', error.message)\n })\n}\nexport async function getCategory({commit,state},requestParameters ={params: state.category}){\n await $http.get('/api/category',requestParameters).then((res)=>{\n commit('setCategory',res.data);\n }).catch((error)=>{\n Notification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n commit('CategoryError', error.message)\n })\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions.js","export function getParams (state){\n return state.params\n}\nexport function getCategories(state){\n return state.category\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/index.js","export default{\n documents:[],\n vouchersType:[],\n categories:[],\n category:{\n id:'',\n },\n\nparams:{\n voucherType:'',\n branch:'',\n date:''\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/state.js","export function setInventories(state,inventary){\n state.inventories=inventary;\n}\nexport function inventoriesError(state,payload){\n state.error = true\n state.errorMessage = payload\n state.inventories = []\n}\nexport function setFilter(state, filter){\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage){\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page){\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy){\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort){\n state.params.sort = sort\n}\n\nexport function setInventoryAge(state, data){\n state.inventoryAge = data.map(item => ({\n ...item,\n balance_unds: parseInt(item.balance_unds),\n balance_vrs: parseFloat(item.balance_vrs),\n cost_prom: parseFloat(item.cost_prom)\n }))\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventories/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchInventories({commit,state},requestParameters={params:state.params}){\n await $http.get('api/inventories',requestParameters).then((res)=>{\n commit('setInventories',res.data.data);\n }).catch((error)=>{\n Notification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n commit('inventoriesError', error.message)\n });\n}\nexport function setFilterPagination({commit, dispatch}, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchInventories')\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchInventories')\n}\n\nexport function setPagePagination({commit, dispatch}, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchInventories')\n}\n\nexport function setSortByPagination({commit, dispatch}, sortBy) {\n commit('setSortBy', sortBy)\n}\n\nexport function setSortPagination({commit, dispatch}, sort) {\n commit('setSort', sort)\n}\n\n\nexport async function getInventoryAge({ commit }){\n await $http.get('/api/edad-inventario')\n .then((res)=>{\n commit('setInventoryAge', res.data);\n }).catch((error)=>{\n Notification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventories/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventories/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventories/index.js","export default{\n inventories: [],\n error: false,\n errorMessage: '',\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'id',\n sort: 'ASC'\n },\n inventoryAge: []\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventories/state.js","export const defaultSelectedTypeOperation = () => {\n return {\n code: '',\n description: '',\n parameter_id: null,\n affectation: '',\n inventory_cost: '',\n }\n}\nexport default {\n typesOperation: [],\n error: false,\n errorMessage: '',\n selectedTypeOperation: defaultSelectedTypeOperation(),\n action: 'create',\n getTypeOperationEdit: true,\n parameters: null,\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n sortBy: 'id',\n sort: 'ASC',\n paramtable_id: 73,\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/types-operations/state.js","import { defaultSelectedTypeOperation } from \"./state\";\nexport function setTypesOperation(state, typesOperation) {\n state.typesOperation = typesOperation;\n}\nexport function setTypeOperation(state, typeOperation) {\n state.selectedTypeOperation = typeOperation;\n}\nexport function setAction(state, action) {\n state.action = action;\n}\nexport function setGetTypeOperation(state, getTypeOperationEdit) {\n state.getTypeOperationEdit = getTypeOperationEdit;\n}\nexport function resetSelectedTypeOperation(state) {\n state.selectedTypeOperation = defaultSelectedTypeOperation();\n}\n\nexport function typesOperationError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.typesOperation = []\n}\nexport function setFilter(state, filter) {\n state.params.page = 1\n state.params.filter = filter\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n state.params.page = page\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort\n}\n\nexport function setParameters(state, parameters) {\n state.parameters = parameters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/types-operations/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchTypesOperation ({ commit, state }, requestParameters = { params: state.params }) {\n await $http.get('/api/types_operations', requestParameters).then((res) => {\n commit('setTypesOperation', res.data.data);\n commit('setGetTypeOperation', true)\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('typesOperationError', error.message)\n });\n}\nexport async function addTypeOperation ({ commit, state, dispatch }) {\n await $http.post('/api/types_operations', state.selectedTypeOperation)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El tipo de operacion ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n // dispatch('fetchTypesOperation')\n commit('setTypeOperation', response.data.data)\n state.error = false\n })\n // .catch ((error) => {\n // let message;\n // MessageBox.alert(error.message, 'Error', {\n // confirmButtonText: 'Aceptar',\n // type: 'error'\n // })\n // commit('typesOperationError', error.message)\n\n // })\n}\nexport async function getTypeOperation ({ commit, state }, id) {\n if (state.getTypeOperationEdit) {\n await $http.get(`/api/types_operations/${id}`)\n .then((response) => {\n commit('setTypeOperation', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('typesOperationError', error.message)\n })\n\n commit('setGetTypeOperation', false)\n }\n}\nexport async function updateTypeOperation ({ commit, state, dispatch }) {\n $http.put(`/api/types_operations/${state.selectedTypeOperation.id}`, state.selectedTypeOperation)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La operación ha sido actualizada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setTypeOperation', response.data.data)\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.license_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n commit('typesOperationError', error.message)\n })\n}\nexport async function removeTypeOperation ({ commit, dispatch }, typeOperation) {\n $http.delete(`/api/types_operations/${typeOperation.id}`).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El tipo de operacion ha sido eliminado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchTypesOperation')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('typesOperationError', error.message)\n })\n}\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchTypesOperation')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchTypesOperation')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchTypesOperation')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n commit('setSort', sort)\n}\n\nexport async function getParametersByCode ({ commit, state }) {\n await $http.get(`/api/parametros`, state).then(response => {\n commit('setParameters', response.data.data);\n\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/types-operations/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/types-operations/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/types-operations/index.js","export const templateTransaction = () => {\n return {\n columns: [\n {\n name: \"Orden\",\n field: \"order\",\n format: \"number\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Descripción\",\n field: \"description\",\n format: \"text\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Cuenta Aux\",\n field: \"account_aux_id\",\n style: {width: \"600px !important\", backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Cuenta Raiz\",\n field: \"account_root_id\",\n style: {width: \"600px !important\", backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"DB/CR\",\n field: \"db_cr\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Cap Tercero\",\n field: \"cap_contact\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Tercero por defecto\",\n field: \"default_contact_id\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Crear Tercero\",\n field: \"create_contact\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Doc Banco\",\n field: \"doc_bank\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Detalle por defecto\",\n field: \"default_detail\",\n format: \"text\",\n width: 400,\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Partida Cuadre\",\n field: \"square_match\",\n style: {backgroundColor: \"#d5f3d3\"}\n },\n {\n name: \"Acciones\",\n field: \"actions\"\n }\n ],\n data: [],\n row_create: {\n id: null,\n template_id: \"\",\n order: \"\",\n description: \"\",\n account_aux_id: \"\",\n account_root_id: \"\",\n db_cr: \"\",\n cap_contact: \"\",\n default_contact_id: \"\",\n create_contact: \"\",\n default_detail: \"\",\n square_match: \"\",\n doc_bank: \"\",\n new: true\n },\n row_selected: {},\n row_selected_type: {},\n params: {\n notAux: false,\n onlyAux: false,\n user_connect: [],\n mails:[\"Seleccione Correos\"]\n\n }\n };\n};\n\nexport const defaultSelectedModel = () => {\n return {\n condition: null,\n price_list: null,\n method: null,\n subscriber_id: 1,\n code: \"\",\n description: \"\",\n\n operationType_id: \"\",\n voucherType_id: \"\",\n consecutive_handling: \"\",\n return_model_id: \"\",\n select_branchoffice: 0,\n select_projects: 0,\n select_warehouse: 0,\n quantity_decimals: 0,\n select_validate_wms: 0,\n select_date_entry: 0,\n select_import: 0,\n select_cost_center: 2,\n seller_mode: \"\",\n currency: \"\",\n observation_tittle_1: \"\",\n observation_tittle_2: \"\",\n observation_tittle_3: \"\",\n footnotes: \"\",\n user_id: \"\",\n capture_pay_days: false,\n select_conveyor: 2,\n document_name: 2,\n capt_delivery_address: 2,\n capt_license: 2,\n final_function: \"\",\n\n contact_capture: 0,\n contact_type: \"\",\n contact_category: \"\",\n contact_id: \"\",\n\n basic_contact_information: \"\",\n financial_info: 0,\n button_360: 0,\n send_contact_email: \"\",\n \"days_number\": null,\n\n doc_base_management: 2,\n voucher_type_id: \"\",\n model_id: \"\",\n see_backorder: 0,\n see_seller_doc: 0,\n\n doc_cruce_management: 2,\n tittle: \"\",\n valid_exist: \"\",\n value_control: 0,\n quantity_control: 0,\n crossing_document_dates: 2,\n\n add_products: 0,\n price_list_id: \"\",\n add_promotions_button: 0,\n recalc_iva_less_cost: 0,\n recalc_iva_base: \"\",\n up_excel_button: 0,\n down_excel_button: 0,\n line_id: \"\",\n see_location: 0,\n\n modify_prices: 0,\n see_discount: 0,\n edit_discount: 0,\n see_bonus_amount: 0,\n edit_bonus_amount: 0,\n see_vrunit_base: 0,\n see_cant_backorder: 0,\n backorder_quantity_control: \"\",\n see_physical_cant: 0,\n edit_physical_cant: 0,\n see_lots: 0,\n edit_lots: 0,\n edit_unit_value: 0,\n see_applied_promotion: 0,\n see_seller: 0,\n edit_seller: 0,\n see_product_observation: 0,\n edit_product_observation: 0,\n hide_value: 0,\n cents_values: 0,\n hands_free_operation: 0,\n hide_values: 0,\n pay_taxes: 0,\n recalculate_prices:0,\n apply_discount_percentage:0,\n\n retention_management: \"\",\n discount_foot_bill: 0,\n handle_payment_methods: 2,\n payment_methods_allowed_id: \"\",\n purchase_difference_management: 0,\n\n print: 0,\n print_template: \"\",\n print_tittle: \"\",\n product_order: \"\",\n total_letters: 0,\n cash_drawer_opens: 0,\n\n branchoffice_id:Number (localStorage.selected_branchoffice) ,\n branchoffice_warehouse_id:null,\n TRM_value: null,\n edit_value_iva: null,\n import_number: null,\n branchoffice_vouchertype_id: null,\n branchoffice_change: null,\n business: 0,\n cost_center: 0,\n inherit_products: 0,\n iva_theoretical:0,\n multiple_documents: 0,\n capture_money: 0,\n expiration_date: 0,\n invoice_cufe: 0,\n email_sends: null,\n whatsapp_numbers: null,\n subject_mail: null,\n body_mail: null,\n capture_rt_fte:0,\n capture_cta_ret_ica:0,\n edit_tariff:0,\n user_created : null,\n capture_cufe_sist_ant : 0,\n point_of_sale: false,\n default_point_of_sale: false,\n type_point_of_sale_id: null,\n assign_automatic_electronic_invoice_uvt: false,\n dispatch_request: 0,\n contact_warehouse_point_of_sale_id: null,\n default_hands_free: false,\n printing_format_point_of_sale_id: null,\n contact_warehouse_point_of_sale: null,\n dispatch_change_document_daterequest: 0,\n type_contact: null,\n manage_contact: 0,\n capture_seller: 0,\n show_box: 0,\n capture_sale_order: 0,\n show_availability: 0,\n suspend_and_resume: 1,\n manage_nonconsumption: 0,\n model_id_for_prods_without_availability: \"\",\n availability_remains:null,\n active: 1,\n use_observation: \"\",\n general_discount: 0,\n };\n};\n\nexport default {\n list: [],\n models: [],\n typesOperations: {data:[]},\n voucherTypes: [],\n currencys: [],\n users: [],\n paymentMethods: [],\n contactCategories: [],\n contacts: [],\n lines: [],\n priceLists: [],\n templates: [],\n selectedModel: defaultSelectedModel(),\n error: false,\n errorMessage: \"\",\n action: \"create\",\n lineEdit: null,\n contactSelected: null,\n getModelEdit: true,\n\n params: {\n paginate: false,\n page: 1,\n perPage: 15,\n filter: \"\",\n active: 1,\n sortBy: \"code\",\n sort: \"ASC\",\n mails:[\"Seleccione Correos\"]\n },\n\n contactParams: {\n type: \"\",\n category: \"\"\n },\n\n paramTables: [],\n accountingConcept: [],\n accountingAccording: [],\n accountingAccount: [],\n debitCreditArray: [\n {\n label: \"DÉBITO\",\n value: \"DEBITO\"\n },\n {\n label: \"CRÉDITO\",\n value: \"CREDITO\"\n }\n ],\n accounting: {\n order_accounting: \"\",\n accounting_concept: \"\",\n accounting_according: \"\",\n accounting_account: \"\",\n debit_credit: \"\",\n balancing_account: false\n },\n templateTransaction: templateTransaction(),\n types_point_of_sale: [\n {id: 1,text: 'Facturación Electrónica'},\n {id: 2,text: 'Facturación No Electrónica'},\n {id: 3,text: 'Devolución de Venta'},\n {id: 4,text: 'Cotización'},\n {id: 5,text: 'Gastos (Lista conceptos)'},\n {id: 6,text: 'Orden Venta (Pedido Cliente)'},\n {id: 7,text: 'Remision Venta'},\n ],\n contacts_warehouses_point_of_sale: [],\n printing_formats: [\n {id: 1,text: 'Carta'},\n {id: 2,text: 'Ticket'}\n ],\n contacts_options:[\n {id: 1,text: 'Terceros'},\n {id: 2,text: 'Sucursales'}\n ],\n paramstemplates:{\n perPage: 1000,\n sortBy: 'id',\n sort: 'ASC',\n paginate : true,\n filter : null,\n },\n\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/models/state.js","import { defaultSelectedModel } from \"./state\";\nimport shortid from \"shortid\";\nimport {Notification} from \"element-ui\";\n\nexport function setModels(state, models) {\n state.models = models;\n}\n\nexport function setModel(state, model) {\n state.selectedModel = model;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\nexport function setParamTables(state, paramTables) {\n state.paramTables = paramTables;\n}\n\nexport function modelError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n state.models = [];\n}\n\nexport function setGetModelEdit(state, getModelEdit) {\n state.getModelEdit = getModelEdit;\n}\n\n//Establece el valor por defecto de selectedModel\nexport function resetSelectedModel(state) {\n //let id = state.selectedModel.id\n Object.assign(state.selectedModel, defaultSelectedModel());\n //state.selectedModel.id = id\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy;\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort;\n}\n\n//-------------------Suscriptores---------------------//\nexport function setBranchOffices(state, branchoffices) {\n state.branchoffices = branchoffices.map(p => {\n return { value: p.id, label: p.name };\n });\n}\n//-------------------Suscriptores---------------------//\nexport function setLines(state, lines) {\n state.lines = lines.map(p => {\n return { value: p.id, label: p.line_description };\n });\n}\n\n//-------------------Suscriptores---------------------//\nexport function setUsers(state, users) {\n state.users = users.map(p => {\n return { value: p.id, label: p.name + \" \" + p.surname };\n });\n}\n//-------------------Suscriptores---------------------//\nexport function setBranchOfficeWarehouses(state, warehouses) {\n state.warehouses = warehouses.map(p => {\n return { value: p.id, label: p.warehouse_description };\n });\n}\n// Carga el select de tipos de documento\nexport function setVoucherTypes(state, voucherTypes) {\n state.voucherTypes = voucherTypes.map(p => {\n return {\n value: p.id,\n label: p.name_voucher_type,\n code: p.code_voucher_type,\n consecutive_number: p.consecutive_number\n };\n });\n}\n// Carga el select de centro de costos\nexport function setCosts(state, costs) {\n state.costs = costs;\n}\n\n// Carga el select de las monedas\nexport function setCurrencys(state, currencys) {\n state.currencys = currencys;\n}\n\n// Carga el select de las formas de pago\nexport function setPaymentMethods(state, paymentMethods) {\n state.paymentMethods = paymentMethods;\n}\n// Carga el select de las formas de pago\nexport function setCategoryContact(state, contactCategories) {\n state.contactCategories = contactCategories;\n}\nexport function setPriceLists(state, priceLists) {\n state.priceLists = priceLists;\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts.map(p => {\n return { value: p.id, label: p.name + \" \" + p.surname };\n });\n}\n\nexport function typesOperationError(state, params) {\n state.errorMessage = params;\n}\n\nexport function setTypesOperation(state, params) {\n state.typesOperations = params;\n}\n\nexport function setContactSelected(state, contact) {\n state.contactSelected = contact;\n}\n\nexport function setList(state, list) {\n state.list = list;\n}\n\nexport function resetBranchofficeWarehouseId(state) {\n state.selectedModel.branchoffice_warehouse_id = null;\n}\n\n// ======================================== //\n// CONTABILIDAD\n// ======================================== //\n\n/**\n * Guardar los conceptos de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport function setAccountingConcept(state, data) {\n state.accountingConcept = data;\n}\n\n/**\n * Guardar el listado de según de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport function setAccountingAccording(state, data) {\n state.accountingAccording = data;\n}\n\n/**\n * Guardar el listado de cuentas de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport function setAccountingAccount(state, data) {\n state.accountingAccount = data;\n}\n\nexport function setRegisterAccounting(state) {\n\n\n // Validamos que los campos no esten vacios.\n if (\n\n !state.accounting.accounting_concept ||\n !state.accounting.accounting_according ||\n !state.accounting.debit_credit\n //!state.accounting.order_accounting\n // !state.accounting.accounting_account\n ) {\n return;\n }\n\n\n let concept = state.accountingConcept.find(\n concept => concept.value === state.accounting.accounting_concept\n );\n\n\n let according = state.accountingAccording.find(\n according => according.value === state.accounting.accounting_according\n );\n\n let data = {\n model_id: state.selectedModel.id,\n concept_id: state.accounting.accounting_concept,\n according_id: state.accounting.accounting_according,\n account_id: state.accounting.accounting_account,\n debit_credit: state.accounting.debit_credit,\n balancing_account: state.accounting.balancing_account,\n order_accounting: state.accounting.order_accounting,\n\n //\n concept: {\n name_parameter: concept.label,\n id: concept.id\n },\n accounting: {\n order_accounting: state.accounting.order_accounting,\n },\n according: {\n name_parameter: according.label,\n id: according.id\n },\n account: state.accountingAccount.find(\n account => account.id === state.accounting.accounting_account\n )\n\n };\n\n\n // Validar si ya existe en el arreglo\n let exists = state.selectedModel.template_accountings.find(\n ta =>\n ta.concept_id == data.concept_id &&\n ta.according_id == data.according_id &&\n ta.account_id == data.account_id &&\n ta.debit_credit == data.debit_credit &&\n ta.order_accounting == data.order_accounting &&\n ta.balancing_account == data.balancing_account\n );\n\n\n\n\n let update = state.selectedModel.template_accountings.find(\n ta =>\n ta.concept_id == data.concept_id &&\n ta.according_id == data.according_id &&\n ta.account_id == data.account_id &&\n ta.debit_credit == data.debit_credit\n );\n\n\n\n\n\n if (exists) {\n return;\n }\n\n\n\n let filter = state.selectedModel.template_accountings.filter(item => item.balancing_account === true);\n if (filter.length > 0 && data.balancing_account === true){\n Notification.error({\n title: \"Error!\",\n message: \"Solo puede haber una partida de cuadre\",\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n return;\n }\n\n\n\n\n if(update){\n state.selectedModel.template_accountings.forEach(function callback(currentValue, index, array) {\n if(update.concept_id == state.selectedModel.template_accountings[index]['concept_id']\n && update.according_id == state.selectedModel.template_accountings[index]['according_id']\n && update.debit_credit == state.selectedModel.template_accountings[index]['debit_credit']\n && update.account_id == state.selectedModel.template_accountings[index]['account_id']\n )\n {\n /* state.selectedModel.template_accountings.forEach(function callback(currentValue1, index1, array1) {\n if(state.selectedModel.template_accountings[index1]['order_accounting'] == data.order_accounting){\n state.selectedModel.template_accountings[index1]['order_accounting'] = parseInt(data.order_accounting)+1;\n state.selectedModel.template_accountings[index]['order_accounting'] = data.order_accounting;\n }else{\n state.selectedModel.template_accountings[index]['order_accounting'] = data.order_accounting;\n }\n }); */\n state.selectedModel.template_accountings[index]['order_accounting'] = data.order_accounting;\n state.selectedModel.template_accountings[index]['balancing_account'] = data.balancing_account;\n }\n\n if(state.selectedModel.template_accountings[index]['order_accounting']==''){\n state.selectedModel.template_accountings[index]['order_accounting'] = 0;\n }\n });\n }else{\n state.selectedModel.template_accountings.push(data);\n }\n\n\n\n\n/* state.selectedModel.template_accountings.forEach(function callback(currentValue2, index2, array2) {\n\n let pos_prev = parseInt(index2)-1;\n if(parseInt(state.selectedModel.template_accountings[index2]['order_accounting'])>0){\n if(state.selectedModel.template_accountings[index2]['order_accounting'] == state.selectedModel.template_accountings[pos_prev]['order_accounting']){\n state.selectedModel.template_accountings[index2]['order_accounting'] =parseInt(state.selectedModel.template_accountings[index2]['order_accounting'])+1;\n }\n }\n }); */\n\n // Guardamos info\n state.selectedModel.template_accountings = state.selectedModel.template_accountings.sort((a, b) => a.order_accounting - b.order_accounting);\n // Resetear el formulario\n resetRegisterAccounting(state);\n}\n\nexport function resetRegisterAccounting(state) {\n state.accounting.accounting_concept = \"\";\n state.accounting.accounting_according = \"\";\n state.accounting.accounting_account = \"\";\n state.accounting.debit_credit = \"\";\n state.accounting.balancing_account = false;\n state.accounting.order_accounting = \"\";\n}\n\nexport function deleteRegisterAccounting(state, data) {\n // Eliminamos del listado\n let template_accountings = state.selectedModel.template_accountings.filter(\n ta =>\n ta.concept_id != data.concept_id ||\n ta.according_id != data.according_id ||\n ta.account_id != data.account_id ||\n ta.debit_credit != data.debit_credit ||\n ta.balancing_account != data.balancing_account ||\n ta.order_accounting != data.order_accounting\n );\n\n // Actualizamos.\n state.selectedModel.template_accountings = template_accountings;\n}\n\nexport function editRegisterAccounting(state, data){\n state.accounting.accounting_concept = data.concept_id;\n state.accounting.accounting_according = data.according_id;\n state.accounting.accounting_account = data.account_id;\n state.accounting.debit_credit = data.debit_credit;\n state.accounting.balancing_account = data.balancing_account;\n state.accounting.order_accounting = data.order_accounting;\n}\n\nexport function setTemplateTransaction(state) {\n if (state.selectedModel && state.selectedModel.transactions && state.selectedModel.transactions.length > 0) {\n state.templateTransaction.data = JSON.parse(\n JSON.stringify(state.selectedModel.transactions)\n );\n }\n\n return state.templateTransaction;\n}\nexport function resetTemplateTransaction(state) {\n state.templateTransaction.data = [];\n return state.templateTransaction;\n}\n\nexport function addNewRowTemplateTransaction(state) {\n let last_data = null;\n if (state.templateTransaction.data.length > 0) {\n last_data = JSON.parse(\n JSON.stringify(\n state.templateTransaction.data[\n state.templateTransaction.data.length - 1\n ]\n )\n );\n }\n\n let row_create = JSON.parse(\n JSON.stringify(state.templateTransaction.row_create)\n );\n\n let order = 10;\n\n if (last_data) {\n order = parseInt(last_data.order) + 10;\n }\n\n row_create.order = order;\n row_create.id = shortid.generate();\n\n state.templateTransaction.data.push(row_create);\n}\n\nexport function deleteRowTemplateTransaction(state, id) {\n let index = state.templateTransaction.data.findIndex(d => d.id === id);\n state.templateTransaction.data.splice(index, 1);\n}\n\nexport function deleteAccountTemplateTransaction(state, data) {\n let transaction = state.templateTransaction.data.find(d => d.id === data.id);\n switch (data.type) {\n case \"account_root\":\n transaction.account_root_id = \"\";\n transaction.account_root = \"\";\n break;\n case \"account_aux\":\n transaction.account_aux_id = \"\";\n transaction.account_aux = \"\";\n break;\n }\n}\n\nexport function setTemplateTransactionOnlyAux(state, value) {\n state.templateTransaction.params.onlyAux = value;\n}\n\nexport function setTemplateTransactionNotAux(state, value) {\n state.templateTransaction.params.notAux = value;\n}\n\nexport function setTemplateTransactionRowSelectedType(state, value) {\n state.templateTransaction.row_selected_type = value;\n}\n\nexport function setTemplateTransactionRowSelected(state, data) {\n state.templateTransaction.row_selected = data;\n}\n\nexport function resetTemplateTransactionRowSelected(state) {\n state.templateTransaction.row_selected = {};\n}\n\n/**\n * Establecer un valor para la variable contacts_warehouses_point_of_sale.\n */\nexport function setContactsWarehousesPointOfSale(state, contacts_warehouses_point_of_sale) {\n state.contacts_warehouses_point_of_sale = contacts_warehouses_point_of_sale;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/models/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Obtener los modelos\nexport async function fetchModels({ commit, state },requestParameters = { params: state.params }) {\n requestParameters.params.user_connect = null;\n await $http\n .get(\"/api/modelos\", requestParameters)\n .then(response => {\n if (requestParameters.params.paginate){\n commit(\"setModels\", response.data.data);\n }else{\n commit(\"setModels\", response.data);\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function fetchContacts({ commit, state }, filter) {\n await $http\n .get(\"/api/contactos-categoria\", {\n params: {\n type: state.selectedModel.contact_type,\n category: state.selectedModel.contact_category,\n filter: filter\n }\n })\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Crear tercero\nexport async function addModel({ commit, state }) {\n console.log(state.selectedModel);\n state.selectedModel.sesion_branchoffice_id =Number(localStorage.selected_branchoffice)\n await $http\n .post(\"/api/modelos\", state.selectedModel)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El modelo ha sido creado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setModel\", response.data.data);\n\n state.error = false;\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = \"El código de El modelo ya existe\";\n } else {\n message = error.response.data.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n dangerouslyUseHTMLString: true,\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n });\n\n commit(\"modelError\", error.message);\n });\n}\n\n//Consultar tercero por id\nexport async function getModel({ commit, state }, id) {\n // if (state.getModelEdit) {\n await $http\n .get(`/api/modelos/${id}`)\n .then(response => {\n console.log('response.data.data :>> ', response.data.data);\n commit(\"setModel\", response.data.data);\n\n if (state.selectedModel.contact_warehouse_point_of_sale){\n commit('setContactsWarehousesPointOfSale', [state.selectedModel.contact_warehouse_point_of_sale])\n }\n\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n\n commit(\"setGetModelEdit\", false);\n // }\n}\n\n//Actualizar tercero\nexport async function updateModel({ commit, state }) {\n\n let data = state.selectedModel;\n state.selectedModel.templateTransaction = state.templateTransaction.data;\n data.sesion_branchoffice_id =Number(localStorage.selected_branchoffice)\n\n await $http\n .put(`/api/modelos/${state.selectedModel.id}`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El modelo ha sido actualizado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n //commit(\"setModel\", response.data.data);\n })\n .catch(error => {\n let message;\n\n if (error.response.status == 422) {\n message = \"El código de El modelo ya existe\";\n } else {\n message = error.response.data.message;\n }\n\n MessageBox.alert(message, \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\"\n });\n\n commit(\"modelError\", error.message);\n });\n}\n\n//Eliminar tercero\nexport async function removeModel({ commit, dispatch }, id) {\n await $http\n .delete(`/api/modelos/${id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El modelo ha sido eliminado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchModels\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit(\"setFilter\", filter.target.value);\n dispatch(\"fetchModels\");\n}\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchModels\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchModels\");\n}\n\nexport function setSortByPagination({ commit, dispatch }, sortBy) {\n commit(\"setSortBy\", sortBy);\n // dispatch('fetchModels')\n}\n\nexport function setSortPagination({ commit, dispatch }, sort) {\n commit(\"setSort\", sort);\n // dispatch('fetchModels')\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter, code: p.code_parameter };\n });\n}\n\n//-------Parametros-----------//\n// Obtiene los Centros de Costo\nexport async function fetchCostCenter({ dispatch, state, rootState, commit }) {\n if (!state.costs.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { idParamTable: 9, paginate: false } },\n { root: true }\n ); //TODO: Determinar el idParamTable\n commit(\"setCosts\", mapParameters(rootState.parameters.parameters));\n }\n}\nexport async function fetchCategoryContact({\n dispatch,\n state,\n rootState,\n commit\n}) {\n await $http\n .get(\"/api/categoria-cliente/\" + state.selectedModel.contact_type, {\n params: { paginate: false }\n })\n .then(response => {\n commit(\"setCategoryContact\", mapParameters(response.data));\n });\n\n //await dispatch('parameters/listParameter', { params: { idParamTable: state.selectedModel.contact_type, paginate: false } }, { root: true })\n //commit('setCategoryContact', mapParameters(rootState.parameters.parameters))\n}\n\n// Obtiene las Monedas\nexport async function fetchCurrencys({ dispatch, state, rootState, commit }) {\n if (!state.currencys.length) {\n await dispatch(\"parameters/listParameter\",\n { params: { idParamTable: 66, paginate: false } },\n { root: true }\n );\n commit(\"setCurrencys\", mapParameters(rootState.parameters.parameters));\n }\n}\n// Obtiene las Monedas\nexport async function fetchPriceLists({ dispatch, state, rootState, commit }) {\n if (!state.priceLists.length) {\n await dispatch(\"parameters/listParameter\", {params: {idParamTable: 14, paginate: false}}, {root: true});\n commit(\"setPriceLists\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las Formas de Pago\nexport async function fetchPaymentMethods({dispatch,state,rootState,commit}) {\n if (!state.paymentMethods.length) {\n await dispatch(\"parameters/listParameter\",{ params: { idParamTable: 69, paginate: false } },{ root: true });\n commit(\"setPaymentMethods\", mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los tipos de documentos\nexport async function fetchVoucherTypes({dispatch, state, rootState, commit}, from_session = false) {\n if (!state.voucherTypes.length) {\n await dispatch(\"vouchersTypes/fetchVouchersTypes\", {\n params: {\n paginate: false,\n branch_office_main: from_session ? false : true,\n branchoffice: from_session ? Number(localStorage.selected_branchoffice) : '010'\n }},\n {root: true});\n commit(\"setVoucherTypes\", rootState.vouchersTypes.vouchersTypes);\n }\n}\n\n// Obtiene las lineas\nexport async function fetchLines({dispatch, state, rootState, commit}) {\n if (!state.lines.length) {\n await dispatch(\"lines/fetchLines\", {params: {paginate: false}}, {root: true});\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\n//Obtiene los usuarios\nexport async function fetchUsers({dispatch, state, rootState, commit}) {\n\n let subscriber = JSON.parse(localStorage.getItem('subscriber'))\n let sub_id = subscriber ? subscriber.id : null;\n state.selectedModel.subscriber_id = sub_id;\n if (!state.users.length) {\n await dispatch(\"users/fetchUsers\", {\n params: {\n subscriber_id: state.selectedModel.subscriber_id,\n paginate: false\n }\n },\n {root: true}\n );\n commit(\"setUsers\", rootState.users.users);\n }\n}\n\nexport async function fetchTypesOperation({commit, state}, requestParameters = {params: state.params}) {\n let params = {\n params: {\n paginate: false\n }\n };\n console.log(state.typesOperations)\n if (!state.typesOperations.data.length) {\n await $http.get(\"/api/types_operations\", params).then(res => {\n console.log(res.data)\n commit(\"setTypesOperation\", res.data);\n }).catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"typesOperationError\", error.message);\n });\n }\n}\n\nexport async function getContactById({ commit, state }, id) {\n await $http.get(`/api/contactos/${id}`).then(response => {\n commit(\"setContactSelected\", response.data.data);\n });\n}\n\n//Obtener las tablas de parametros\nexport async function fetchParamTables({ commit, state }) {\n // options += `&search=${state.tableParamTable.options.search}`;\n const params = {\n params: {\n paginate: false\n }\n };\n\n if (!state.paramTables.length) {\n await $http\n .get(\"/api/tablas-parametros\", params)\n .then(response => {\n commit(\"setParamTables\", response.data.data);\n })\n .catch(error => {\n });\n }\n}\n\nexport async function fetchList({ commit }) {\n await $http\n .get(\"/api/parametros-por-tabla/14\")\n .then(response => {\n commit(\"setList\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n// ======================================== //\n// CONTABILIDAD\n// ======================================== //\n\n/**\n * Obtener los conceptos de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport async function fetchAccountingConcept({dispatch,state,rootState,commit}) {\n\n if (!state.accountingConcept.length) {\n await dispatch(\"parameters/listParameter\", {\n params: {idParamTable: 105, paginate: false}\n },\n {root: true}\n );\n commit(\"setAccountingConcept\", mapParameters(rootState.parameters.parameters));\n }\n}\n/**\n * Obtener el listado de según de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport async function fetchAccountingAccording({dispatch,state,rootState,commit}) {\n\n if (!state.accountingAccording.length) {\n await dispatch(\"parameters/listParameter\", {\n params: {idParamTable: 106, paginate: false}\n },\n {root: true}\n );\n commit(\"setAccountingAccording\", mapParameters(rootState.parameters.parameters));\n }\n}\n/**\n * Obtener el listado de cuentas de contabilidad.\n *\n * @author Kevin Galindo\n */\nexport async function fetchAccountingAccount({ commit, state }) {\n const options = {\n data: {\n paginate: false\n }\n };\n\n if (!state.accountingAccount.length) {\n\n await $http\n .get(\"/api/cuentas\", options)\n .then(response => {\n commit(\"setAccountingAccount\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n }\n}\n\n/**\n * Guardar los datos de contabilizacion en el modelo\n *\n * @author Kevin Galindo\n */\nexport async function saveTemplateAccounting({ commit, state }) {\n const data = {\n model_id: state.selectedModel.id,\n templateAccountings: state.selectedModel.template_accountings\n\n };\n\n await $http\n .post(\"/api/modelos-contabilidad\", data)\n .then(response => {\n // commit(\"setAccountingAccount\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchVoucherTypesByBranchofficeId(\n { dispatch, rootState, commit },\n branchoffice_id\n) {\n await dispatch(\n \"vouchersTypes/fetchVouchersTypes\",\n { params: { paginate: false, branchoffice: branchoffice_id } },\n { root: true }\n );\n commit(\"setVoucherTypes\", rootState.vouchersTypes.vouchersTypes);\n}\n\n/***\n * Consultar sucursales de terceros.\n */\nexport async function getContactsWarehouses({commit, state}, filter) {\n\n if (filter.length < 3){\n return;\n }\n\n let params = {query: filter, paginate: 0};\n await $http.get('/api/warehouses-contact', {params}).then(\n (response) => {\n commit('setContactsWarehousesPointOfSale', response.data.data);\n }\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/models/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/models/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/models/index.js","export function setTaxes (state, taxes) {\n state.taxes = taxes;\n}\n\n\nexport function setSelectedTax (state, selectedTax) {\n state.selectedTax = selectedTax;\n}\n\n\n\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function getAction (state) {\n return state.action;\n}\n\nexport function clearTax (state) {\n state.selectedTax = {};\n}\n\nexport function modifyIsDisabled (state, bol) {\n state.isDisabled = bol;\n}\n\nexport function setPerPage (state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n state.params.page = page\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/taxes/mutations.js","import $http from '../../axios'\nimport { Notification, MessageBox } from 'element-ui'\n\n\n\n\nexport async function getTaxes ({ commit, state }) {\n\n //para enviar parametros porurl en un metodo get\n //recuerde pasarle un objeto como parametro example {params: state.params}\n await $http.get('/api/impuestos', { params: state.params }).then((response) => {\n commit('setTaxes', response.data.data)\n })\n\n\n\n}\n\nexport async function getTaxesNotFilter ({ commit, state }) {\n\n //para enviar parametros porurl en un metodo get\n //recuerde pasarle un objeto como parametro example {params: state.params}\n await $http.get('/api/impuestos').then((response) => {\n commit('setTaxes', response.data.data)\n })\n\n\n\n}\n\n\nexport async function getTax ({ commit }, id) {\n await $http.get(`/api/impuestos/${id}`).then((response) => {\n commit('setSelectedTax', response.data.data)\n }).catch((error) => {\n console.error(error.message)\n })\n}\n\n\n\nexport async function newTax ({ state }) {\n await $http.post('/api/impuestos', state.selectedTax).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El impuesto ha sido creado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function updateTax ({ state }) {\n await $http.put(`/api/impuestos/${state.selectedTax.id}`, state.selectedTax).then(() => {\n Notification.success({\n title: 'Exito!',\n message: 'El impuesto ha sido editado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\nexport async function deleteTax (context, id) {\n\n await $http.delete(`/api/impuestos/${id}`).then(() => {\n Notification.success({\n title: 'Exito!',\n message: 'El impuesto ha sido eliminado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch(error => {\n console.error(error.message)\n })\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('getTaxes')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('getTaxes')\n}\n\n\n/* export async function imagen({ commit, dispatch }, image) {\n\n // este metodo es el funcional para la subida de archivos desde vue a back\n let formData = new FormData();\n formData.append('image', image);\n\n let selected_promotion = {\n id: 1,\n name: 'sadgfklj'\n }\n\n await $http.post('/api/imagen',formData).then(()=>{\n })\n} */\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/taxes/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nconst namespaced = true;\nexport default {\n\n state,\n mutations,\n actions,\n namespaced,\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/taxes/index.js","export default {\n taxes: [],\n selectedTax: {},\n action: '',\n isDisabled: false,\n params: {\n page: 1,\n perPage: 50,\n filter: ''\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/taxes/state.js","export const defaultSelectedPromotion = () => {\n return {\n image: null,\n image2: null,\n line_id: null,\n specific_product_id: \"\",\n products_promotions: [],\n discount: null,\n pay_soon: null,\n cash_payment: null,\n minimum_gross_value: null,\n gift_type: null,\n description2: null,\n title: null,\n branchoffice_id: null\n };\n};\n\n// Columnas por defecto\nexport const defaultColumnsGrid = () => {\n return [\n { name: \"Código\", field: \"product.code\" },\n { name: \"Descripción\", field: \"product.description\" },\n { name: \"Precio Lista\", field: \"product.price.price\", format: \"currency\" },\n { name: \"Cantidad\", field: \"quantity\", format: \"number\", editable: true },\n { name: \"Valor Total\", field: \"total_promotion\" },\n { name: \"Acciones\", field: \"actions\" }\n ];\n};\n\n// Columnas promociones MIX\nexport const mixColumnsGrid = () => {\n return [\n { name: \"Código\", field: \"product.code\" },\n { name: \"Descripción\", field: \"product.description\" },\n { name: \"Precio Lista\", field: \"product.price.price\", format: \"currency\" },\n { name: \"Precio Promocio\", field: \"discount_value\", format: \"currency\" },\n { name: \"Porcentaje Desc %\", field: \"discount\", format: \"number\" },\n { name: \"Cantidad\", field: \"quantity\", format: \"number\", editable: true },\n { name: \"Valor Total\", field: \"total_promotion\" },\n { name: \"Acciones\", field: \"actions\" }\n ];\n};\n\nexport default {\n promotions: null,\n lines: [],\n sublines: [],\n brands: [],\n subbrands: [],\n products: [],\n branchoffices: [],\n selected_promotion: defaultSelectedPromotion(),\n original_copy_selected_promotion: null,\n params: {\n page: 1,\n perPage: 50,\n sede_salida: null,\n filter: null,\n clasification: \"\",\n branchoffice: \"\",\n line:'',\n brand:''\n },\n promotionLoader: true,\n //\n promotionsActives: [],\n selectedPromotion: {\n id: null,\n specific_product: []\n },\n productsFiltered: [],\n columnsGrid: defaultColumnsGrid(),\n //\n mixColumnsGrid: mixColumnsGrid(),\n defaultColumnsGrid: defaultColumnsGrid(),\n\n benefitSelected: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/promotions/state.js","import { defaultSelectedPromotion } from \"./state\";\n\nexport function setPromotions(state, promotions) {\n state.promotions = promotions;\n}\n\nexport function setDefaultSelectedPromotion(state) {\n state.selected_promotion = defaultSelectedPromotion();\n}\n\nexport function setPromotion(state, selected_promotion) {\n state.selected_promotion = selected_promotion;\n}\n\nexport function setPromotionSelectes(state, selected_promotion) {\n state.original_copy_selected_promotion = JSON.parse(\n JSON.stringify(selected_promotion)\n );\n state.selected_promotion = selected_promotion;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\n\nexport function setProducts(state, products) {\n state.products = products;\n}\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\nexport function setSubLines(state, sublines) {\n state.sublines = sublines;\n}\n\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\n\nexport function setSubbrands(state, subbrands) {\n state.subbrands = subbrands;\n}\n\nexport function modifyIsDisabled(state, bol) {\n state.isDisabled = bol;\n}\n\nexport function setImage(state, image) {\n state.selected_promotion.image = image;\n}\n\nexport function setImage2(state, image) {\n state.selected_promotion.image2 = image;\n}\n\nexport function setBranchoffices(state, branchoffices) {\n state.branchoffices = branchoffices;\n}\nexport function setPromotionLoader(state, status) {\n state.promotionLoader = status;\n}\n\n/**\n *\n * Este metodo se encarga de setear\n * la informacion de las promociones activas\n *\n * @author Kevin Galindo\n */\nexport function setPromotionsActives(state, promotionsActives) {\n state.promotionsActives = promotionsActives;\n}\n\nexport function setBenefitSelected(state, benefitSelected) {\n state.benefitSelected = benefitSelected;\n}\n\n/**\n *\n * Este metodo setea la promocion seleccionada\n *\n * @author Kevin Galindo\n */\nexport async function setSelectedPromotion(state, promotion) {\n if (promotion.promotion_type_id == 3) {\n state.columnsGrid = state.mixColumnsGrid;\n } else {\n if (!promotion.specific_product_id && promotion.discount) {\n state.columnsGrid = state.mixColumnsGrid;\n promotion.promotionHandlesDiscount = true;\n } else {\n state.columnsGrid = state.defaultColumnsGrid;\n }\n }\n\n // promotion.specific_product = [];\n\n await setBenefitSelected(state, promotion.specific_product_id);\n await emptyProductsFiltered(state);\n\n state.selectedPromotion = promotion;\n\n state.selectedPromotion.products_promotions.map(pp => {\n calculateValuesProductDiscount(state, pp.product_id);\n });\n}\n\nexport function calculateValuesProductDiscount(state, product_id) {\n let productKey = state.selectedPromotion.products_promotions.findIndex(\n pp => pp.product_id === product_id\n );\n\n let product = state.selectedPromotion.products_promotions.find(\n pp => pp.product_id === product_id\n );\n\n if (product) {\n if (state.selectedPromotion.discount) {\n let price = product.product.price.price;\n let discount_value =\n (parseInt(price) * parseInt(state.selectedPromotion.discount)) / 100;\n\n product.discount = state.selectedPromotion.discount;\n product.discount_value = parseInt(price - discount_value);\n\n state.selectedPromotion.products_promotions[productKey] = product;\n }\n }\n}\n\n/**\n *\n * Este metodo setear los\n * productos buscados\n *\n * @author Kevin Galindo\n */\nexport function setProductsFiltered(state, products) {\n state.productsFiltered = products;\n}\n\n/**\n *\n * @author Kevin Galindo\n */\nexport function setStatusPromotion(state, data) {\n state.selectedPromotion.comply = data;\n}\n\n/**\n *\n * @author Kevin Galindo\n */\nexport function setPromotionByProduct(state, product) {\n // Agregamos el producto seleccionado alas promociones\n if (product.id) {\n product.product_promotions.map((p, indexpp) => {\n let product_promotion = {\n product_id: product.id,\n product: JSON.parse(JSON.stringify(product)),\n promotion_id: p.id,\n quantity: 0\n };\n\n let added = p.products_promotions.find(pp => pp.product_id == product.id);\n\n if (!added) {\n p.products_promotions.push(product_promotion);\n }\n });\n }\n\n state.promotionsActives = product.product_promotions;\n}\n\nexport function emptyProductsFiltered(state) {\n state.productsFiltered = [];\n}\n\nexport function setSpecificProducts(state, data) {\n state.benefitSelected = data[0].id;\n state.selectedPromotion.specific_product = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/promotions/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport { parse } from \"path\";\n\nexport async function getPromotions({ commit, state }) {\n await $http\n .get(`/api/promociones`, {\n params: state.params\n })\n .then(response => {\n commit(\"setPromotions\", response.data.data);\n })\n .catch(response => {});\n}\n\nexport async function getPromotionById({ commit }, id) {\n await $http\n .get(`/api/promocion/${id}`, {\n params: {\n branchoffice_storage: localStorage.getItem(\"selected_branchoffice\")\n }\n })\n .then(response => {\n response = response.data.data;\n response.date = [response.start_date, response.end_date];\n\n commit(\"setPromotionSelectes\", response);\n });\n}\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"getPromotions\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"getPromotions\");\n}\n\nexport async function getLines({ commit }) {\n await $http.get(\"/api/lineas\").then(response => {\n commit(\"setLines\", response.data.data);\n });\n}\nexport async function getSubLines({ commit, state }) {\n await $http\n .get(\"/api/sublineas\", {\n params: { lines: state.selected_promotion.line_id }\n })\n .then(response => {\n commit(\"setSubLines\", response.data.data);\n });\n}\n\nexport async function getBrands({ commit }) {\n await $http.get(\"/api/marcas\").then(response => {\n commit(\"setBrands\", response.data.data);\n });\n}\nexport async function getSubBrands({ commit, state }) {\n await $http\n .get(\"/api/submarcas\", {\n params: {\n brand_id: state.selected_promotion.brand_id\n }\n })\n .then(response => {\n commit(\"setSubbrands\", response.data.data);\n });\n}\n\nexport async function getProductByParam({ commit }, param) {\n await $http.get(`/api/promociones/search/${param}`).then(response => {\n commit(\"setProducts\", response.data.data);\n });\n}\n\nexport async function getProductById({ commit }, id) {\n if (id) {\n await $http.get(`/api/productos/${id}`).then(response => {\n commit(\"setProducts\", response.data.data);\n });\n }\n}\n\nexport async function deletePromotion({}, id) {\n await $http.delete(`/api/promociones/${id}`).then(re => {\n Notification.success({\n title: \"Exito!\",\n message: \"La promocion ha sido eliminada correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createPromotion({ state, commit }) {\n commit(\"setPromotionLoader\", true);\n let formData = new FormData();\n formData.append(\"image\", state.selected_promotion.image2);\n state.selected_promotion.image = null;\n\n for (const val in state.selected_promotion) {\n if (val == \"products_promotions\") {\n formData.append(val, JSON.stringify(state.selected_promotion[val]));\n } else {\n if (\n state.selected_promotion[val] &&\n state.selected_promotion[val] != null\n ) {\n formData.append(val, state.selected_promotion[val]);\n } else {\n formData.append(val, \"\");\n }\n }\n }\n\n await $http.post(`/api/promociones`, formData).then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La promoción se ha creado correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setPromotionLoader\", false);\n}\n\nexport async function updatePromotion({ state }, id) {\n // if (state.selected_promotion.gift_type == 2) {\n // state.selected_promotion.specific_product_id = null;\n // }\n let formData = new FormData();\n formData.append(\"image\", state.selected_promotion.image2);\n\n for (const val in state.selected_promotion) {\n if (val == \"products_promotions\") {\n formData.append(val, JSON.stringify(state.selected_promotion[val]));\n } else {\n if (\n state.selected_promotion[val] &&\n state.selected_promotion[val] != null\n ) {\n formData.append(val, state.selected_promotion[val]);\n } else {\n formData.append(val, \"\");\n }\n }\n }\n ///formData no funciona con metodo post realice el siguiente metodo y remplaze la solicitud por un metodo post\n formData.append(\"_method\", \"put\");\n await $http.post(`/api/promociones/${id}`, formData).then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La promocion ha sido editada correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getBranchoffices({ commit }) {\n await $http\n .get(\"/api/branchs\")\n .then(response => {\n commit(\"setBranchoffices\", response.data.data);\n })\n .catch(response => {});\n}\n\n/**\n *\n * @author Kevin Galindo\n */\nexport async function getPromotionsActives({ commit, state }, params) {\n await $http\n .get(`/api/promociones-activas`)\n .then(response => {\n commit(\"setPromotionsActives\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer las promociones\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n *\n * @author Kevin Galindo\n */\nexport async function fetchProductsByClasification({ commit, state }) {\n //contact_id\n let user_b2b = JSON.parse(localStorage.user_b2b);\n\n let params = {\n params: {\n search: state.params.clasification,\n line_id: state.selectedPromotion.line_id,\n subline_id: state.selectedPromotion.subline_id,\n brand_id: state.selectedPromotion.brand_id,\n subbrand_id: state.selectedPromotion.subbrand_id,\n promotion_id: state.selectedPromotion.id\n }\n };\n\n if (user_b2b) {\n params.params.branchoffice_id = user_b2b.branchoffice.id;\n }\n\n await $http\n .get(`/api/productos-clasificacion`, params)\n .then(response => {\n commit(\"setProductsFiltered\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer los productos por clasificacion\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Este metodo se encarga de setear el beneficio\n *\n * @author Kevin Galindo\n */\nexport async function validateBenefitPromotion({ state }) {\n if (!state.selectedPromotion.comply) {\n return;\n }\n\n let total_quantity = 0;\n let total_val_brut = 0;\n let comply_quantity_promotion = 0;\n\n // Calculamos la cantidad y el valor bruto\n state.selectedPromotion.products_promotions.map((pp, index_pp) => {\n total_quantity += pp.quantity ? parseInt(pp.quantity) : 0;\n if (pp.discount_value) {\n total_val_brut += pp.quantity\n ? pp.product.price.price * pp.quantity - pp.discount_value\n : 0;\n } else {\n total_val_brut += pp.quantity ? pp.product.price.price * pp.quantity : 0;\n }\n });\n\n comply_quantity_promotion = Math.floor(\n total_quantity / state.selectedPromotion.minimum_amount\n );\n\n // Producto de menor precio\n if (state.selectedPromotion.gift_type == 2) {\n var product_benefit = null;\n var min_val = null;\n\n // Seleccionamos el producto de menor precio\n state.selectedPromotion.products_promotions.map((pp, index_pp) => {\n if (!min_val) {\n min_val = parseInt(pp.product.price.price);\n product_benefit = JSON.parse(JSON.stringify(pp.product));\n } else {\n if (parseInt(pp.product.price.price) < min_val) {\n min_val = parseInt(pp.product.price.price);\n product_benefit = JSON.parse(JSON.stringify(pp.product));\n }\n }\n });\n\n var iva = product_benefit.line.taxes.find(t => t.code == 10);\n product_benefit.quantity = comply_quantity_promotion; //#\n\n product_benefit.val_brut =\n Math.round(product_benefit.price.price) * product_benefit.quantity;\n product_benefit.val_iva =\n (Math.round(product_benefit.val_brut) * iva.percentage_sale) / 100;\n product_benefit.is_benefit = true;\n product_benefit.selected = false;\n\n // Validamos si hay un producto con igual precio\n let specificProductRepeat = [];\n\n state.selectedPromotion.products_promotions.map((pp, index_pp) => {\n if (pp.quantity == 0) {\n return;\n }\n if (pp.product.id == product_benefit.id) {\n return;\n }\n\n // Si el producto es del igual valor se guarda en el arreglo para su proxima seleccion\n if (\n Math.round(pp.product.price.price) ===\n Math.round(product_benefit.price.price)\n ) {\n let productRepeat = pp.product;\n\n var iva = productRepeat.line.taxes.find(t => t.code == 10);\n\n productRepeat.quantity = comply_quantity_promotion; //#\n\n productRepeat.val_brut =\n Math.round(productRepeat.price.price) * productRepeat.quantity;\n productRepeat.val_iva =\n (Math.round(productRepeat.val_brut) * iva.percentage_sale) / 100;\n productRepeat.is_benefit = true;\n productRepeat.selected = false;\n\n specificProductRepeat.push(productRepeat);\n }\n });\n\n // Agregamos el/los beneficios\n specificProductRepeat.push(product_benefit);\n\n state.benefitSelected = specificProductRepeat[0].id;\n state.selectedPromotion.specific_product = specificProductRepeat;\n }\n\n // Producto especifico\n if (state.selectedPromotion.gift_type != 2) {\n if (state.selectedPromotion.specific_product_id != null) {\n await $http\n .get(`/api/productos/${state.selectedPromotion.specific_product_id}`)\n .then(response => {\n product_benefit = response.data.data;\n\n var iva = product_benefit.line.taxes.find(t => t.code == 10);\n\n product_benefit.quantity = comply_quantity_promotion; //#\n product_benefit.val_brut =\n product_benefit.price.price * product_benefit.quantity;\n product_benefit.val_iva =\n (product_benefit.val_brut * iva.percentage) / 100;\n product_benefit.is_benefit = true;\n state.selectedPromotion.specific_product = product_benefit;\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer el beneficio\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n }\n}\n\n/**\n *\n * @author Jhon García\n */\nexport async function updatePromotions({ commit, state }) {\n await $http\n .get(`/api/actualizar-promociones`)\n .then(response => {\n Notification.success({\n title: \"Muy bien\",\n message: \"Las promociones se están actualizando.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar las promociones\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/promotions/actions.js","export function getSelectedPromotion(state) {\n return state.selected_promotion\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/promotions/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nimport * as getters from './getters'\n\nconst namespaced = true;\nexport default {\n\n state,\n mutations,\n actions,\n namespaced,\n getters\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/promotions/index.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport moment from \"moment\";\nimport {setPagination} from \"./mutations\";\n\n/** Obtiene el modelo */\nexport async function fetchModel({ commit, state }, model) {\n\n if (+state.model.id !== +model) {\n await $http\n .get(`/api/obtener-modelo/${model}`)\n .then(response => {\n commit(\"setModel\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"errorMessage\", error.message);\n });\n }\n}\n/** Obtener lista de Productos nuevo filtro */\nexport async function searchProducts ({state,commit}, filter) {\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit('setProducts', response.data.data.data)\n })\n}\n\n/** Obtiene los documentos base */\nexport async function fetchBaseDocuments( { commit, state, dispatch }, voucher_type) {\n commit(\"setDisabledSelect\", false);\n commit(\"setLoadingBaseDocuments\", true);\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n\n if (state.params.state_auth.find(sa => sa == 0) !== undefined) {\n state.params.state_auth = [0];\n state.params.state_backorder = [];\n }\n\n if ((!state.params.filterDate[0] || !state.params.filterDate[1]) && !state.params.document){\n return;\n }\n\n //console.log(state.params.filter.length,state.params.product.length, state.params.seller_id.length);\n await $http\n .get(\"/api/documentos-base\", {\n params: {\n branchoffice_id: selected_branchoffice,\n voucher_type: voucher_type,\n filter: state.params.filter,\n fromDate:state.params.filterDate[0],\n toDate:state.params.filterDate[1],\n model_id: state.model.id,\n closed: state.params.closed,\n state_wallet: state.params.state_auth,\n state_backorder: state.params.state_backorder,\n seller_id: state.params.seller_id,\n products: state.params.product,\n city_id: state.params.city_id,\n user_id: state.params.user_id,\n contact: state.params.contact,\n paginate: true,\n page: state.params.page,\n document: state.params.document,\n }\n })\n .then(response => {\n commit(\"setLoadingBaseDocuments\", false);\n commit(\"setBaseDocuments\", response.data.data.data);\n commit(\"setPagination\", {per_page: response.data.data.per_page, total_rows: response.data.data.total});\n commit(\"reSetselected_documents\");\n if (state.model.availability_remains == 2 || (state.model.operation_type && state.model.operation_type.affectation == 2 && (state.model.operation_type.inventory_movement == 1 || state.model.operation_type.inventory_movement == 2))) {\n dispatch(\"fetchUnds\", response.data.data.data);\n }\n if (response.data.message == 'Se detectó una posible desconexión con el modulo de cartera.') {\n MessageBox.alert(response.data.message,\n \"Atención\", {\n dangerouslyUseHTMLString: true,\n confirmButtonText: \"Aceptar\",\n type: \"warning\",\n });\n commit(\"setDisabledSelect\", true);\n }\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setLoadingBaseDocuments\", false);\n commit(\"errorMessage\", error.message);\n });\n}\n\nexport async function fetchUnds({commit, state}, documents){\n let documents_id = []\n await documents.map(doc => {\n documents_id.push(doc.id)\n });\n\n const chunks = [];\n for (let i = 0; i < documents_id.length; i += 50) {\n chunks.push(documents_id.slice(i, i + 50));\n }\n\n await chunks.forEach(async docs => {\n let params = {\n 'documents_id' : docs,\n 'model_id' : state.model.id\n }\n await $http\n .post(`/api/unds`, params)\n .then(response => {\n commit(\"setUnds\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n });\n\n\n}\n\n/** Obtiene las sedes */\nexport async function fetchBranchoffices({\n commit,\n state,\n rootState,\n dispatch\n}) {\n if (!state.branchoffices.length) {\n await dispatch(\n \"branchOffices/fetchBranchOffices\",\n {\n params: { paginate: false }\n },\n { root: true }\n );\n commit(\"setBranchoffices\", rootState.branchOffices.branchOffices);\n }\n}\n\n/** Obtiene las bodegas */\nexport async function fetchBranchofficeWarehouses({\n commit,\n state,\n rootState,\n dispatch\n}) {\n if (!state.warehouses.length && state.branchoffices.id) {\n await dispatch(\n \"branchOfficeWarehouses/fetchBranchOfficeWarehouses\",\n {\n params: {\n paginate: false,\n branchoffice_id: state.branchoffices.id\n }\n },\n { root: true }\n );\n commit(\n \"setWarehouses\",\n rootState.branchOfficeWarehouses.branchoffice_warehouses\n );\n }\n}\n\n/** Obtiene los estados de los documentos */\nexport async function fetchStatus({ commit, state, rootState, dispatch }) {\n if (!state.status.length) {\n $http.get(\"/api/estados-de-documentos\").then(response => {\n commit(\"setStatus\", response.data.data);\n });\n }\n}\n\n/** Filtrar por búsqueda */\nexport function filterSearch({ commit, dispatch }, filter) {\n commit(\"setFilterSearch\", filter.target.value);\n dispatch(\"fetchBaseDocuments\");\n}\n\n/**\n * Esta funcion se encarga de\n * cambiar el estado de \"cerrado\" al documento\n *\n * @author Kevin Galindo\n */\nexport async function closeDocument({ dispatch, state }, data) {\n const { id } = data;\n const voucher_type_id = state.model.voucher_type_id\n ? state.model.voucher_type_id\n : state.model.voucherType_id;\n\n if (id) {\n await $http\n .post(`/api/documentos/cerrar/${id}`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Registro actualizado.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n /* dispatch(\"fetchBaseDocuments\", voucher_type_id);*/\n })\n .catch(error => {\n console.error(error);\n\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n}\n\n/**\n * Esta funcion se encarga de\n * cambiar el estado de \"cerrado\" al documento\n *\n * @author Kevin Galindo\n */\n export async function closeDocuments({ dispatch, state }, data) {\n const { id } = data;\n const voucher_type_id = state.model.voucher_type_id\n ? state.model.voucher_type_id\n : state.model.voucherType_id;\n await $http\n .post(`/api/documentos/cerrar-varios`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Registro actualizado.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchBaseDocuments\", voucher_type_id);\n })\n .catch(error => {\n console.error(error);\n\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// Traer los pedidos retenidos\nexport async function fetchListOrderReject({ commit, state }, status) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n\n let params = {\n params: {\n paginate: false,\n search: state.params.filter,\n fromDate: state.params.filterDate[0],\n toDate: state.params.filterDate[1],\n motiveOrder: \"TODO\",\n branchoffice_id: selected_branchoffice,\n model_id: 1\n }\n };\n\n commit(\"setLoadingBaseDocuments\", true);\n\n await $http\n .get(`/api/lista-pedidos/${status}`, params)\n .then(response => {\n commit(\"setBaseDocuments\", response.data);\n // commit(\"setListOrdersReject\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setLoadingBaseDocuments\", false);\n}\n\nexport async function getDocumentByAuthorize({ commit, state }) {\n const user = JSON.parse(localStorage.user);\n\n let params = {\n params: {\n user_id : user.id,\n date : state.params_.date\n }\n };\n\n commit(\"setLoadingBaseDocuments\", true);\n\n await $http\n .get(`/api/documentos-autorizar`, params)\n .then(response => {\n commit(\"setDocumentsByAuthorize\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setLoadingBaseDocuments\", false);\n}\n\nexport async function downloadDocumentsMissingBackOrder({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let params = {\n params: {\n branchoffice_id: selected_branchoffice,\n model_id: state.model.id\n }\n };\n await $http\n .get(`/api/documentos-backorder-faltante`, params)\n .then(response => {\n let objArray = response.data.data;\n let objArrayDetail = response.data.dataDetail;\n let nameDoc = response.data.name_excel;\n\n const array =\n typeof objArray !== \"object\" ? JSON.parse(objArray) : objArray;\n const arrayDetail =\n typeof objArrayDetail !== \"object\"\n ? JSON.parse(objArrayDetail)\n : objArrayDetail;\n\n //Header\n let str =\n `${Object.values(response.data.header)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n\n let dataCsv = array.reduce((str, next) => {\n next.DESCRIP_PROD = next.DESCRIP_PROD.replace('#', '')\n str +=\n `${Object.values(next)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n return str;\n }, str);\n\n // Detail\n //--Header\n let str2 =\n `${Object.values(response.data.headerDetail)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n\n //--detailData\n let dataCsvDetail = arrayDetail.reduce((str2, next) => {\n next.DESCRIP_PROD = next.DESCRIP_PROD.replace('#', '')\n str2 +=\n `${Object.values(next)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n return str2;\n }, str2);\n\n dataCsv += \"\\n\\n\";\n dataCsv += dataCsvDetail;\n\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(dataCsv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = \"BackOrderFaltante.csv\";\n hiddenElement.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al Descargar la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n *\n * @returns {Promise}\n */\nexport async function generateReportAuthorizedDocuments(\n { state, commit },\n dates\n) {\n\n const date = moment(new Date()).format(\"YYYY/MM/DD HH:mm:ss\");\n let url = \"/api/reportes/autorizacion-documentos?\";\n url += \"dates[]=\" + dates[0];\n url += \"&dates[]=\" + dates[1];\n url += \"&date_generate=\" + date;\n\n commit(\"setLoadingAuthorizedDocuments\", true);\n await $http({\n url: url,\n method: \"GET\",\n responseType: \"blob\"\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\n \"download\",\n `Informe-De-Documentos-Autorizados-${moment(date).format(\"YYYY-MM-DD hh-mm-ss\")}.xlsx`\n );\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message:\n \"No se encontraron registros para este usuario en las fechas seleccionadas\",\n type: \"error\",\n duration: 5000,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingAuthorizedDocuments\", false);\n}\n\nexport async function fetchCities({ commit, state }) {\n await $http\n .get(\"/api/ciudades\")\n .then(response => {\n commit(\"setCities\", response.data.data);\n });\n}\nexport async function fetchUsers({commit, state}) {\n await $http.get('/api/usuarios').then((response) => {\n commit('setUsers', response.data.data);\n });\n}\n\n//Obtener los terceros\nexport async function fetchContacts({commit, state}, query) {\n\n if (query.length < 3) return;\n\n let params = { query }\n\n await $http.get('/api/terceros-lite', { params })\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n//Obtener los terceros\nexport async function fectchProducts({commit, state}, data) {\n state.loading_base.selected_documents = true\n let params = { products_ids : state.params.product }\n commit('setDocumentsProducts', [])\n await $http.get(`/api/productos-documento-base/${data.id}`, {params})\n .then((response) => {\n response.data.data.all_quantities = data.all_quantities\n commit('setDocumentsProducts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n state.loading_base.selected_documents = false\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchBaseDocuments\");\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/base-documents/actions.js","export function getParams (state) {\n\treturn state.params\n}\n\nexport function getSelectedRows (state) {\n return state.selected_rows\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/base-documents/getters.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/base-documents/index.js","import { Loading } from \"element-ui\";\n\nexport default {\n selected_documents : [],\n baseDocuments: [],\n branchoffices: [],\n warehouses: [],\n status: [],\n model: {\n operation_type: {\n code: null\n },\n voucher_type: {\n code_voucher_type: null\n }\n },\n params: {\n paginate: false,\n page: 1,\n perPage: 15,\n filter: \"\",\n filterDate: [],\n sortBy: \"voucher_date\",\n sort: \"DESC\",\n closed: false,\n retained: false,\n rejected: false,\n seller_id: [],\n user_id:null,\n city_id:null,\n state_auth: [\"03\", \"05\"],\n state_backorder: [\"1\", \"2\"],\n product:[],\n detailed_by_product:1,\n contact:null,\n document: \"\"\n },\n loadingBaseDocuments: false,\n error: false,\n errorMessage: \"\",\n documentsByAuthorize: [],\n loadingAuthorizedDocuments: false,\n selected_rows: [],\n products:[],\n disabled_select:false,\n cities:[],\n users:[],\n params_:{\n date:null\n },\n contacts:[],\n documents_products:[],\n selected_documents_products:[],\n loading_base:{\n selected_documents:false\n },\n pagination: {\n total_rows: null,\n per_page: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/base-documents/state.js","import { stat } from \"fs\";\n\nexport function setRequestHeaders(state, requestHeaders) {\n state.requestHeaders = requestHeaders;\n}\nexport function setCopyRequestHeaders(state, requestHeaders) {\n state.copyRequestHeaders = JSON.parse(JSON.stringify(requestHeaders));\n}\nexport function requestHeadersError(state, payload) {\n state.error = true\n state.errorMessage = payload\n state.requestHeaders = []\n}\nexport function setFilterDate(state, date) {\n state.params.date = date;\n}\n\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage(state, page) {\n state.params.page = page\n}\nexport function setFilter(state, filter) {\n state.params.page = 1\n state.params.filter = filter\n}\n\n\nexport function setContactB2B(state,user) {\n\n state.params.contactB2B = user;\n}\n\n\nexport function setProducts(state, products) {\n state.selectedRequestProduct.request_products = products;\n}\nexport function setContactWarehouses(state, contactWarehouse) {\n state.contactsWarehouse = contactWarehouse;\n}\n\nexport function setRole(state, role) {\n state.role = role;\n}\n\n\n\nexport function setTypeUser(state, typeUser) {\n state.typeUser=typeUser;\n}\n\nexport function setRenderB2B(state, renderB2B) {\n state.renderB2B=renderB2B;\n}\n\nexport function setContactId(state,contactId) {\n\n state.params.contact_id = contactId;\n}\n\nexport function setParamRole(state, role) {\n state.params.role = role;\n}\n\n\n\nexport function setParamTypeUser(state, typeUser) {\n state.params.typeUser=typeUser;\n}\n\n\n\nexport function setParamWarehouse(state, warehouse) {\n state.params.warehouse=warehouse;\n}\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-headers/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchRequestHeaders ({ commit, state }, requestParameters = { params: state.params }) {\n await $http.get('/api/request_headers', requestParameters).then((res) => {\n\n commit('setRequestHeaders', res.data.data);\n commit('setCopyRequestHeaders', res.data.data);\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('requestHeadersError', error.message)\n });\n}\nexport async function updateRequestHeaders ({ commit, state, dispatch }, params) {\n\n $http.put(`/api/request_headers/${params.id}`, params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La solcitud ha sido actualizada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchRequestHeaders')\n })\n .catch((error) => {\n let message;\n\n if (error.response.status == 422) {\n message = error.response.data.errors.license_code[0]\n } else {\n message = error.message\n }\n\n MessageBox.alert(message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n // commit('requestHeadersError', error.message)\n })\n}\n\n\nexport async function contactWarehousesBiId ({ state, commit }, params) {\n await $http.get(`/api/establecimientos/${params}`).then((response) => {\n commit('setContactWarehouses', response.data.data);\n })\n}\n\nexport async function contactWarehousesBiContact ({ state, commit }) {\n await $http.get(`/api/establecimientos/ids`, { params: state.params }).then((response) => {\n commit('setParamWarehouse', response.data.data);\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-headers/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-headers/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-headers/index.js","\nexport default {\n requestHeaders: [],\n copyRequestHeaders: [],\n error: false,\n errorMessage: '',\n role: null,\n typeUser:'',\n renderB2B:false ,\n contactsWarehouse: null,\n action: 'create',\n params: {\n page: 1,\n perPage: 50,\n contactB2B: null,\n filter: null,\n date: '',\n contact_id: null,\n role: null,\n typeUser:'',\n warehouse:null,\n requestType: '',\n status_request: false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-headers/state.js","export const defaultSelectedRequesProduct = () => {\n return {\n id: '',\n contact_id: '',\n contacts_warehouse_id: '',\n request_date: '',\n request_type: '',\n maintenance_type: '',\n units: '',\n direc_observation: '',\n customer_observation: '',\n provider_observation: '',\n request_products: []\n }\n}\nexport default {\n requestProducts: [],\n contactsWarehouse: [],\n formEditable: false,\n error: false,\n renderB2B: false,\n\n errorMessage: '',\n resetForm: false,\n selectedRequestProduct: defaultSelectedRequesProduct(),\n action: 'create',\n paramsRP: {\n typeUser: '',\n role: 33,\n warehouse: null,\n contact_id: null,\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-products/state.js","import { defaultSelectedRequesProduct } from \"./state\";\nexport function setRequestsProduct (state, requestProducts) {\n state.requestProducts = requestProducts;\n}\nexport function requestProductsError (state, payload) {\n state.error = true\n state.errorMessage = payload\n state.requestProducts = []\n}\nexport function setRequestProduct (state, requestProduct) {\n state.selectedRequestProduct = requestProduct;\n}\n\nexport function setProducts (state, products) {\n state.selectedRequestProduct.request_products = products;\n}\n\nexport function setContactWarehouses (state, contactWarehouse) {\n state.contactsWarehouse = contactWarehouse;\n}\nexport function setRequestProductwithName (state, requestProduct) {\n let $array = requestProduct.request_products;\n requestProduct.request_products = [];\n $array.forEach(element => {\n element.description = element.product.description;\n\n\n requestProduct.request_products.push(element);\n });\n state.selectedRequestProduct = requestProduct;\n}\n\n\nexport function resetdefaultSelectedRequesProduct (state) {\n let contact_id = state.selectedRequestProduct.contacts_warehouse_id;\n state.selectedRequestProduct = defaultSelectedRequesProduct()\n if (state.resetForm) {\n state.selectedRequestProduct.contacts_warehouse_id = contact_id;\n }\n}\n\n\nexport function setFormEditable (state, params) {\n state.formEditable = params;\n}\n\n\nexport function setContactsWarehouseId (state, contactWarehouseId) {\n state.selectedRequestProduct.contacts_warehouse_id = contactWarehouseId;\n}\n\nexport function setResetForm (state, resetForm) {\n state.resetForm = resetForm;\n}\n\nexport function setParamRole (state, role) {\n state.paramsRP.role = role;\n}\n\n\nexport function setParamTypeUser (state, typeUser) {\n state.paramsRP.typeUser = typeUser;\n}\n\n\nexport function setTypeUser (state, typeUser) {\n state.typeUser = typeUser;\n}\n\nexport function setRenderB2B (state, renderB2B) {\n state.renderB2B = renderB2B;\n}\n\nexport function setContactId (state, contactId) {\n state.selectedRequestProduct.contacts_id = contactId;\n}\n\nexport function setParamContactId (state, contactId) {\n state.paramsRP.contact_id = contactId;\n}\n\nexport function setParamWarehouse (state, warehouse) {\n state.paramsRP.warehouse = warehouse;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-products/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchRequestHeaders ({ commit, state }) {\n await $http.get('api/request_headers').then((res) => {\n commit('setRequestsProduct', res.data);\n\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('requestProductsError', error.message)\n });\n}\nexport async function addRequestProduct ({ commit, state }) {\n await $http.post('/api/insert-request', state.selectedRequestProduct)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Solicitud registrada correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('setRequestsProduct', response.data.data)\n state.error = false\n })\n\n .catch((error) => {\n MessageBox.alert(error.message, 'Error nada', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n })\n commit('requestProductsError', error.message)\n })\n}\n\n\nexport async function getContactsWarehouses ({ commit, state }, filter) {\n let params = { query: filter, paginate: 0 }\n await $http.get('/api/warehouses-contact', {params}).then(\n (response) => {\n commit('setContactWarehouses', response.data.data);\n }\n )\n}\n\n\nexport async function getRequestHeraderBiId ({ state, commit }, id) {\n await $http.get(`/api/request_headers/${id}`).then((response) => {\n commit('setRequestProductwithName', response.data.data);\n })\n}\n\nexport async function contactWarehousesBiId ({ state, commit }, params) {\n await $http.get(`/api/establecimientos/${params}`).then((response) => {\n commit('setContactWarehouses', response.data.data);\n })\n}\n\nexport async function contactWarehousesBiContact ({ state, commit }) {\n await $http.get(`/api/establecimientos/ids`, { params: state.paramsRP }).then((response) => {\n commit('setParamWarehouse', response.data.data);\n })\n}\n\n\nexport async function getByIdArray ({ commit, state }) {\n\n await $http.get('/api/establecimientos/array', { params: state.paramsRP }).then(\n (response) => {\n commit('setContactWarehouses', response.data);\n }\n )\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-products/actions.js","export function getParams(state) {\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-products/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-products/index.js","/**\n * Calcula y obtiene el subtotal del documento (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getSubTotal(state) {\n let sub_total = 0;\n\n state.selected_document.documents_products.map(dp => {\n sub_total += dp.total_value_brut;\n });\n\n return sub_total;\n}\n\n/**\n * Calcula y obtiene el valor bruto de los productos (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getValBrutInProducts(state) {\n let vr_brut = 0;\n\n state.selected_document.documents_products.map(dp => {\n if (dp.product.line) {\n if (dp.product.line.tipe != 2) {\n vr_brut += parseInt(dp.total_value_brut);\n }\n }\n });\n\n return vr_brut;\n}\n\n/**\n * Calcula y obtiene el valor bruto de los Servicios (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getValBrutInServices(state) {\n let vr_brut = 0;\n\n state.selected_document.documents_products.map(dp => {\n if (dp.product.line) {\n if (dp.product.line.tipe == 2) {\n vr_brut += parseInt(dp.total_value_brut);\n //(dp.unit_value_before_taxes - dp.discount_value) * dp.quantity;\n }\n }\n });\n\n return vr_brut;\n}\n\n/**\n * Calcula y obtiene el total del iva de los productos del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIvaProducts(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n if (dp.product.line) {\n if (dp.product.line.tipe != 2) {\n if (dpt.tax.code == \"10\") {\n iva += parseInt(dp.total_value_iva);\n }\n }\n }\n });\n });\n\n return iva;\n}\n/**\n * Calcula y obtiene el total del iva de los productos del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIvaServices(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n if (dp.product.line) {\n if (dp.product.line.tipe == 2) {\n if (dpt.tax.code == \"10\") {\n iva += parseInt(dp.total_value_iva);\n }\n }\n }\n });\n });\n\n return iva;\n}\n\n/**\n * Calcula y obtiene el total del iva del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIva(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n /*dp.document_product_taxes.map(dpt => {\n if (dpt.tax.code == '10') {\n iva += (dp.unit_value_before_taxes - dp.discount_value) * dp.quantity * dpt.tax_percentage / 100\n }\n })*/\n iva += dp.total_value_iva;\n });\n return iva;\n}\n\n/**\n * Calcula y obtiene el total de cada uno de los impuestos del documento\n * @param state\n * @returns {[]}\n */\nexport function getTotalTaxes(state) {\n let sub_total = getSubTotal(state);\n let iva = getTotalIva(state);\n\n let iva_retention = true;\n let ica_retention = true;\n let source_retention = true;\n\n let contact = state.selected_document.contact;\n\n if (contact) {\n let type = state.params_contacts.type;\n\n switch (type) {\n case \"is_customer\":\n if (contact.customer) {\n iva_retention = contact.customer.retention_iva;\n ica_retention = contact.customer.retention_iva;\n source_retention = contact.customer.retention_source;\n }\n break;\n case \"is_provider\":\n if (contact.provider) {\n iva_retention = contact.customer.retention_iva;\n ica_retention = contact.customer.retention_iva;\n source_retention = contact.customer.retention_source;\n }\n break;\n }\n }\n\n let taxes = [];\n\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n let tax = {\n description: dpt.tax.description,\n percentage: dpt.tax_percentage,\n total: 0,\n increase: dpt.tax.increase\n };\n\n if (dpt.tax.base == 1) {\n if (sub_total >= dpt.base_value) {\n tax.total = iva; //sub_total * dpt.tax_percentage / 100\n }\n } else if (dpt.tax.base == 2) {\n if (iva >= dpt.base_value) {\n tax.total = (iva * dpt.tax_percentage) / 100;\n }\n }\n\n if (tax.total != 0) {\n let found_tax = taxes.find(\n t =>\n t.description == tax.description && t.percentage == tax.percentage\n );\n if (!found_tax) {\n let add = true;\n switch (tax.description) {\n case \"RETE-IVA\":\n add = iva_retention;\n break;\n case \"RETE-ICA\":\n add = ica_retention;\n break;\n case \"RETE-FUENTE\":\n add = source_retention;\n break;\n }\n\n if (add) {\n taxes.push(tax);\n }\n }\n }\n });\n });\n\n return taxes;\n}\n\n/**\n * Calcula el total del documento incluyendo impuestos\n * @param state\n * @returns {number}\n */\nexport function getTotal(state) {\n let sub_total = getSubTotal(state);\n let taxes = getTotalTaxes(state);\n let total_taxes = 0;\n\n taxes.map(tax => {\n if (tax.increase) {\n total_taxes += tax.total;\n } else {\n total_taxes -= tax.total;\n }\n });\n\n return sub_total + total_taxes;\n}\n\n/**\n *\n * Traer las diferencias\n */\nexport function getPurchaseDifference(state) {\n let documentsProduct = state.selected_document.documents_products;\n let productPurchaseDifference = [];\n\n if (state.selected_document.id === state.selected_document.document.id) {\n return productPurchaseDifference;\n }\n\n documentsProduct.map((dp, indexdp) => {\n // DIFERENCIA POR CANTIDAD\n if (parseInt(dp.quantity) != parseInt(dp.physical_unit)) {\n productPurchaseDifference.push({\n id: dp.id,\n description: `${dp.product.code} - ${dp.product.description}`,\n difference_quantity: dp.physical_unit - dp.quantity, //Math.abs(dp.quantity - dp.physical_unit),\n difference_value:\n dp.unit_value_before_taxes * (dp.physical_unit - dp.quantity),\n type_difference: 0\n });\n }\n\n // DIFERENCIA POR VALORES\n if (dp.unit_value_before_taxes != dp.base_unit_value) {\n let dpRepeat = productPurchaseDifference.find(ppd => ppd.id == dp.id);\n let valDif =\n (dp.base_unit_value - dp.unit_value_before_taxes) * dp.quantity;\n\n if (dpRepeat) {\n if (dpRepeat.difference_quantity != 0) {\n dpRepeat.difference_value += valDif;\n } else {\n dpRepeat.difference_value = valDif;\n }\n } else {\n productPurchaseDifference.push({\n id: dp.id,\n description: `${dp.product.code} - ${dp.product.description}`,\n difference_quantity: 0,\n difference_value: valDif,\n type_difference: 0\n });\n }\n }\n });\n\n return productPurchaseDifference;\n}\n\nexport function getBranchofficeWarehousesSelect(state) {\n const branchoffice_change = state.selected_model.branchoffice_change;\n const selected_branchoffice = localStorage.selected_branchoffice;\n let branchofficeWarehousesArray = [];\n\n if (branchoffice_change == 2) {\n state.branchofficeWarehouses.map((branchoffice, index) => {\n let data = {\n label: `${branchoffice.code} - ${branchoffice.name}`,\n name: branchoffice.name,\n options: []\n };\n\n branchoffice.warehouses.map(warehouse => {\n let dataWarehouse = {\n value: warehouse.id,\n text: `${warehouse.warehouse_code} - ${warehouse.warehouse_description}`\n };\n data.options.push(dataWarehouse);\n });\n\n branchofficeWarehousesArray.push(data);\n });\n\n return branchofficeWarehousesArray;\n } else if (branchoffice_change == 1) {\n let branchoffice = state.branchofficeWarehouses.find(\n bw => bw.id == selected_branchoffice\n );\n\n let data = {};\n\n if (branchoffice) {\n data = {\n label: `${branchoffice.code} - ${branchoffice.name}`,\n name: branchoffice.name,\n options: []\n };\n\n branchoffice.warehouses.map(warehouse => {\n let dataWarehouse = {\n value: warehouse.id,\n text: `${warehouse.warehouse_code} - ${warehouse.warehouse_description}`\n };\n data.options.push(dataWarehouse);\n });\n\n branchofficeWarehousesArray.push(data);\n }\n\n return branchofficeWarehousesArray;\n } else {\n return branchofficeWarehousesArray;\n }\n}\n\nexport function footerTotalTotalValueIva(state) {\n let documents_products = state.selected_document.documents_products;\n let total_value_iva = 0;\n let total_value_brut = 0;\n\n if (documents_products) {\n documents_products.map(dp => {\n let total_value_iva_dp = dp.total_value_iva || 0;\n total_value_iva += parseFloat(total_value_iva_dp);\n });\n\n documents_products.map(\n dp => (total_value_brut += parseFloat(dp.total_value_brut))\n );\n }\n\n return total_value_iva;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-movements/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-movements/index.js","export const defaultSelectedDateFrom = () => {\n let d = new Date();\n return `${d.getFullYear()}01`;\n};\nexport const defaultSelectedDateUp = () => {\n let d = new Date();\n return `${d.getFullYear()}${d.getMonth()+1}`;\n};\nexport default {\n show_pdf:false,\n clients:[],\n params: {\n year_month_from: defaultSelectedDateFrom(),\n year_month_up: defaultSelectedDateUp(),\n provider: [],\n type: 1,\n },\n mails: [],\n file:null,\n paramsEmail:{\n to:[],\n subject:null,\n body:null,\n filename:null\n\n },\n pathPdf:null,\n preloader:false,\n authenticatedRole:''\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/certificates-retentions/state.js","\nimport {getApiDomain} from \"../../util/domains\";\n\nexport function setClients(state,clients) {\n state.clients=clients\n}\n\n\n\nexport function setShowPdf(state, value) {\n state.show_pdf=value;\n}\n\n\nexport function setPathPdf(state,pathPdf ) {\n state.pathPdf= getApiDomain() + '/storage/pdf/' + pathPdf;\n}\n\n\nexport function setParamMailTo(state,mail) {\n state.paramsEmail.to=[];\n state.paramsEmail.to.push(mail);\n\n}\n\n\nexport function setParamDefault(state) {\n state.params=paramsDefault();\n}\n\n\nexport function setPreloader(state, preloader) {\n state.preloader=preloader;\n}\n\nexport function setAuthenticatedRole(state,authenticatedRole){\n state.authenticatedRole=authenticatedRole;\n}\n\nexport function setMails(state,mails){\n state.mails=mails;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/certificates-retentions/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport {getApiDomain} from \"../../util/domains\";\n\n/**\n * Obtiene el modelo de acuerdo al id del mismo\n * @param commit\n * @param state\n * @param requestParameters\n * @returns {Promise}\n */\nexport async function pdfCertificateRetention({state,commit},type) {\n state.params.type = type;\n var response = await $http.get('/api/pdfCertificadoRetencion',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n console.log('RUTAAAA',response.data );\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/certificates-retentions/actions.js","/**\n * Calcula y obtiene el subtotal del documento (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getSubTotal(state) {\n let sub_total = 0;\n\n state.selected_document.documents_products.map(dp => {\n sub_total += dp.total_value_brut;\n });\n\n return sub_total;\n}\n\n/**\n * Calcula y obtiene el valor bruto de los productos (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getValBrutInProducts(state) {\n let vr_brut = 0;\n\n state.selected_document.documents_products.map(dp => {\n if (dp.product.line) {\n if (dp.product.line.tipe != 2) {\n vr_brut += parseInt(dp.total_value_brut);\n }\n }\n });\n\n return vr_brut;\n}\n\n/**\n * Calcula y obtiene el valor bruto de los Servicios (total antes de impuestos)\n * @param state\n * @returns {number}\n */\nexport function getValBrutInServices(state) {\n let vr_brut = 0;\n\n state.selected_document.documents_products.map(dp => {\n if (dp.product.line) {\n if (dp.product.line.tipe == 2) {\n vr_brut += parseInt(dp.total_value_brut);\n //(dp.unit_value_before_taxes - dp.discount_value) * dp.quantity;\n }\n }\n });\n\n return vr_brut;\n}\n\n/**\n * Calcula y obtiene el total del iva de los productos del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIvaProducts(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n if (dp.product.line) {\n if (dp.product.line.tipe != 2) {\n if (dpt.tax.code == \"10\") {\n iva += parseInt(dp.total_value_iva);\n }\n }\n }\n });\n });\n\n return iva;\n}\n/**\n * Calcula y obtiene el total del iva de los productos del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIvaServices(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n if (dp.product.line) {\n if (dp.product.line.tipe == 2) {\n if (dpt.tax.code == \"10\") {\n iva += parseInt(dp.total_value_iva);\n }\n }\n }\n });\n });\n\n return iva;\n}\n\n/**\n * Calcula y obtiene el total del iva del documento\n * @param state\n * @returns {number}\n */\nexport function getTotalIva(state) {\n let iva = 0;\n state.selected_document.documents_products.map(dp => {\n /*dp.document_product_taxes.map(dpt => {\n if (dpt.tax.code == '10') {\n iva += (dp.unit_value_before_taxes - dp.discount_value) * dp.quantity * dpt.tax_percentage / 100\n }\n })*/\n iva += dp.total_value_iva;\n });\n return iva;\n}\n\n/**\n * Calcula y obtiene el total de cada uno de los impuestos del documento\n * @param state\n * @returns {[]}\n */\nexport function getTotalTaxes(state) {\n let sub_total = getSubTotal(state);\n let iva = getTotalIva(state);\n\n let iva_retention = true;\n let ica_retention = true;\n let source_retention = true;\n\n let contact = state.selected_document.contact;\n\n if (contact) {\n let type = state.params_contacts.type;\n\n switch (type) {\n case \"is_customer\":\n if (contact.customer) {\n iva_retention = contact.customer.retention_iva;\n ica_retention = contact.customer.retention_iva;\n source_retention = contact.customer.retention_source;\n }\n break;\n case \"is_provider\":\n if (contact.provider) {\n iva_retention = contact.customer.retention_iva;\n ica_retention = contact.customer.retention_iva;\n source_retention = contact.customer.retention_source;\n }\n break;\n }\n }\n\n let taxes = [];\n\n state.selected_document.documents_products.map(dp => {\n dp.document_product_taxes.map(dpt => {\n let tax = {\n description: dpt.tax.description,\n percentage: dpt.tax_percentage,\n total: 0,\n increase: dpt.tax.increase\n };\n\n if (dpt.tax.base == 1) {\n if (sub_total >= dpt.base_value) {\n tax.total = iva; //sub_total * dpt.tax_percentage / 100\n }\n } else if (dpt.tax.base == 2) {\n if (iva >= dpt.base_value) {\n tax.total = (iva * dpt.tax_percentage) / 100;\n }\n }\n\n if (tax.total != 0) {\n let found_tax = taxes.find(\n t =>\n t.description == tax.description && t.percentage == tax.percentage\n );\n if (!found_tax) {\n let add = true;\n switch (tax.description) {\n case \"RETE-IVA\":\n add = iva_retention;\n break;\n case \"RETE-ICA\":\n add = ica_retention;\n break;\n case \"RETE-FUENTE\":\n add = source_retention;\n break;\n }\n\n if (add) {\n taxes.push(tax);\n }\n }\n }\n });\n });\n\n return taxes;\n}\n\n/**\n * Calcula el total del documento incluyendo impuestos\n * @param state\n * @returns {number}\n */\nexport function getTotal(state) {\n let sub_total = getSubTotal(state);\n let taxes = getTotalTaxes(state);\n let total_taxes = 0;\n\n taxes.map(tax => {\n if (tax.increase) {\n total_taxes += tax.total;\n } else {\n total_taxes -= tax.total;\n }\n });\n\n return sub_total + total_taxes;\n}\n\n/**\n *\n * Traer las diferencias\n */\nexport function getPurchaseDifference(state) {\n let documentsProduct = state.selected_document.documents_products;\n let productPurchaseDifference = [];\n\n if (state.selected_document.id === state.selected_document.document.id) {\n return productPurchaseDifference;\n }\n\n documentsProduct.map((dp, indexdp) => {\n // DIFERENCIA POR CANTIDAD\n if (parseInt(dp.quantity) != parseInt(dp.physical_unit)) {\n productPurchaseDifference.push({\n id: dp.id,\n description: `${dp.product.code} - ${dp.product.description}`,\n difference_quantity: dp.physical_unit - dp.quantity, //Math.abs(dp.quantity - dp.physical_unit),\n difference_value:\n dp.unit_value_before_taxes * (dp.physical_unit - dp.quantity),\n type_difference: 0\n });\n }\n\n // DIFERENCIA POR VALORES\n if (dp.unit_value_before_taxes != dp.base_unit_value) {\n let dpRepeat = productPurchaseDifference.find(ppd => ppd.id == dp.id);\n let valDif =\n (dp.base_unit_value - dp.unit_value_before_taxes) * dp.quantity;\n\n if (dpRepeat) {\n if (dpRepeat.difference_quantity != 0) {\n dpRepeat.difference_value += valDif;\n } else {\n dpRepeat.difference_value = valDif;\n }\n } else {\n productPurchaseDifference.push({\n id: dp.id,\n description: `${dp.product.code} - ${dp.product.description}`,\n difference_quantity: 0,\n difference_value: valDif,\n type_difference: 0\n });\n }\n }\n });\n\n return productPurchaseDifference;\n}\n\nexport function getBranchofficeWarehousesSelect(state) {\n const branchoffice_change = state.selected_model.branchoffice_change;\n const selected_branchoffice = localStorage.selected_branchoffice;\n let branchofficeWarehousesArray = [];\n\n if (branchoffice_change == 2) {\n state.branchofficeWarehouses.map((branchoffice, index) => {\n let data = {\n label: `${branchoffice.code} - ${branchoffice.name}`,\n name: branchoffice.name,\n options: []\n };\n\n branchoffice.warehouses.map(warehouse => {\n let dataWarehouse = {\n value: warehouse.id,\n text: `${warehouse.warehouse_code} - ${warehouse.warehouse_description}`\n };\n data.options.push(dataWarehouse);\n });\n\n branchofficeWarehousesArray.push(data);\n });\n\n return branchofficeWarehousesArray;\n } else if (branchoffice_change == 1) {\n let branchoffice = state.branchofficeWarehouses.find(\n bw => bw.id == selected_branchoffice\n );\n\n let data = {};\n\n if (branchoffice) {\n data = {\n label: `${branchoffice.code} - ${branchoffice.name}`,\n name: branchoffice.name,\n options: []\n };\n\n branchoffice.warehouses.map(warehouse => {\n let dataWarehouse = {\n value: warehouse.id,\n text: `${warehouse.warehouse_code} - ${warehouse.warehouse_description}`\n };\n data.options.push(dataWarehouse);\n });\n\n branchofficeWarehousesArray.push(data);\n }\n\n return branchofficeWarehousesArray;\n } else {\n return branchofficeWarehousesArray;\n }\n}\n\nexport function footerTotalTotalValueIva(state) {\n let documents_products = state.selected_document.documents_products;\n let total_value_iva = 0;\n let total_value_brut = 0;\n\n if (documents_products) {\n documents_products.map(dp => {\n let total_value_iva_dp = dp.total_value_iva || 0;\n total_value_iva += parseFloat(total_value_iva_dp);\n });\n\n documents_products.map(\n dp => (total_value_brut += parseFloat(dp.total_value_brut))\n );\n }\n\n return total_value_iva;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/certificates-retentions/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/certificates-retentions/index.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n fecha.setDate(fecha.getDate()-30);\n return fecha;\n\n};\n\nexport default {\n loading: {\n module: true\n },\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDate(),\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n view_delete_from: null,\n view_delete_up: null,\n filter_text: \"\"\n },\n params_accounts_from: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_accounts_up: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accounts_from: [],\n accounts_up: [],\n auxiliary_book: [],\n trial_balance: [],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n iconAcordion: \"ti-angle-down\",\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/nuevo-informe/state.js","\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setAccountsUp(state, accounts_up) {\n state.accounts_up = accounts_up\n}\n\nexport function settrial_balance(state, trial_balance) {\n state.trial_balance = trial_balance\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setLevels (state, levels){\n state.levels = levels\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/nuevo-informe/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las Levels\nexport async function fetchLevels(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/98\")\n .then(response => {\n commit(\"setLevels\", sortJSON(response.data, 'code_parameter', 'asc'));\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Desde\nexport async function fetchAccountsFrom(\n { commit, state },\n requestParameters = { params: state.params_accounts_from }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsFrom\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Hasta\nexport async function fetchAccountsUp(\n { commit, state },\n requestParameters = { params: state.params_accounts_up }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsUp\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactWarehouses(\n { commit, state },\n requestParameters = { params: state.params_contact_warehouse }\n) {\n await $http\n .get(\"/api/sucursales\", requestParameters)\n .then(response => {\n commit(\"setContactWarehouses\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n// obtener Data libro Contable\nexport async function fetchTrialBalance({commit, state}) {\n await $http.get('/api/trial-balance', { params : state.params})\n .then((response) => {\n commit('settrial_balance', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nfunction sortJSON(data, key, orden) {\n return data.sort(function (a, b) {\n var x = a[key],\n y = b[key];\n\n if (orden === 'asc') {\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n }\n\n if (orden === 'desc') {\n return ((x > y) ? -1 : ((x < y) ? 1 : 0));\n }\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/nuevo-informe/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/nuevo-informe/index.js","const tableOrderReject = {\n loading: false,\n data: [],\n fieldsMyActivity: [\n // {\n // key: \"selected\",\n // label: \"\"\n // },\n {\n key: 'detail',\n label: ''\n },\n {\n key: 'document_date',\n label: 'Fecha',\n thStyle: {\n 'min-width': '100px !important'\n }\n },\n {\n key: 'consecutive',\n label: 'Orden de Venta',\n thStyle: {\n 'min-width': '30px !important'\n }\n },\n {\n key: 'total_value',\n label: 'Valor Total',\n thStyle: {\n 'min-width': '30px !important'\n }\n },\n // {\n // key: \"available_quota\",\n // label: \"Cupo Real Disponible\",\n // thStyle: {\n // \"min-width\": \"30px !important\"\n // }\n // },\n {\n key: 'warehouse_description',\n label: 'Cliente',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'warehouse.types_negotiation_portfolio_.name_parameter',\n label: 'Tipo Cartera',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'warehouse.branchoffice.name',\n label: 'Sede Cliente',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'user_authorizes_wallet.name',\n label: 'Usuario',\n thStyle: {\n 'min-width': '100px !important'\n }\n },\n {\n key: 'status_authorized',\n label: 'Estado',\n thStyle: {\n 'min-width': '200px !important'\n }\n },\n {\n key: 'date_authorized',\n label: 'Fecha Estado',\n thStyle: {\n 'min-width': '200px !important'\n }\n },\n {\n key: 'observation_authorized',\n label: 'Observacion Estado',\n thStyle: {\n 'min-width': '200px !important'\n }\n },\n {\n key: 'actions',\n label: 'Opciones',\n thStyle: {\n 'min-width': '100px !important'\n }\n }\n ],\n fields: [\n // {\n // key: \"selected\",\n // label: \"\"\n // },\n {\n key: 'detail',\n label: ''\n },\n {\n key: 'document_date',\n label: 'Fecha',\n thStyle: {\n 'min-width': '100px !important'\n }\n },\n {\n key: 'consecutive',\n label: 'Ord Venta',\n thStyle: {\n 'min-width': '30px !important'\n }\n },\n {\n key: 'total_value',\n label: 'Vr-Total',\n thStyle: {\n 'min-width': '55px !important'\n }\n },\n {\n key: 'backorder_value',\n label: 'Vr-Pendiente',\n sortable: true,\n thStyle: {\n 'min-width': '55px !important'\n }\n },\n // {\n // key: \"available_quota\",\n // label: \"Cupo Real Disponible\",\n // thStyle: {\n // \"min-width\": \"30px !important\"\n // }\n // },\n {\n key: 'motive_retained',\n label: 'Motivo',\n thStyle: {\n 'min-width': '200px !important'\n }\n },\n {\n key: 'warehouse_description',\n label: 'Cliente',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'warehouse.types_negotiation_portfolio_.name_parameter',\n label: 'Tipo Cartera',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'warehouse.branchoffice.name',\n label: 'Sede Cliente',\n thStyle: {\n 'min-width': '150px !important'\n }\n },\n {\n key: 'seller.name',\n label: 'Vendedor',\n thStyle: {\n 'min-width': '90px !important'\n }\n },\n {\n key: 'state_backorder.name_parameter',\n label: 'Estado Fact',\n thStyle: {\n 'min-width': '90px !important'\n }\n },\n {\n key: 'actions',\n label: 'Opciones',\n thStyle: {\n 'min-width': '100px !important'\n }\n }\n ],\n errors: {\n has: false,\n message: '',\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 30,\n search: '',\n currentPage: 1,\n fromDate: ['', ''],\n typeMotive: '',\n statusOrder: '',\n sede: null,\n myActivity: false,\n dateFromMyActivity: '',\n state_backorder: null,\n state_auth: '07'\n }\n};\n\nconst dataApproved = {\n document_id: '',\n observation_authorized: '',\n max_value_authorized: '',\n status_id_authorized: '',\n user_id_authorizes: ''\n};\nexport default {\n orderReject: [],\n //ERROR STATE\n error: false,\n errorMessage: '',\n // Tabla\n tableOrderReject,\n dataApproved,\n states_backorder: [],\n model: {}\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/orders_retained/state.js","export function setListOrdersReject(state, data) {\n // Agregamos los datos de la tabla\n state.tableOrderReject.data = data;\n\n // Asignamos la opcion isActive\n if (state.tableOrderReject.data.length > 0) {\n state.tableOrderReject.data.map(tor => {\n tor.isSelected = false;\n });\n }\n\n // Quitamos los valores de la tabla del arreglo\n //delete data.data;\n\n // Agregamos los datos de la paginacion\n //state.tableOrderReject.pagination = data;\n}\n\nexport function removeDocumentListOrdersRejectById(state, document_id) {\n if (state.tableOrderReject.data.length > 0) {\n let keyDoc = state.tableOrderReject.data.findIndex(\n tor => tor.id == document_id\n );\n\n if (keyDoc >= 0) {\n state.tableOrderReject.data.splice(keyDoc, 1);\n }\n }\n}\n\n\n\n/**\n *\n * @param {*} state\n * @param {*} products\n */\n export function setProducts(state, products){\n console.log(state.tableOrderReject.data[products.index])\n state.tableOrderReject.data[products.index].documents_products = products.data\n}\n\n\nexport function resetDataApproved(state) {\n state.dataApproved = {\n document_id: \"\",\n observation_authorized: \"\",\n max_value_authorized: \"\",\n status_id_authorized: \"\",\n user_id_authorizes: \"\"\n };\n\n\n}\n\nexport function setStatesBackOrder(state, data){\n state.states_backorder = data;\n}\n\n/**\n * Establecer un valor para la variable model.\n */\nexport function setModel(state, model) {\n state.model = model;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/orders_retained/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nexport async function getModel({commit}){\n await $http\n .get(`/api/modelo-por-codigo/205`)\n .then(response => {\n if (response.data.data) {\n commit(\"setModel\", response.data.data);\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n//Obtener todos los registros de la ficha de datos.\nexport async function fetchListOrderReject({ commit, state, dispatch }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n\n await dispatch('getModel')\n\n let params = {\n filter: state.tableOrderReject.options.search,\n fromDate: state.tableOrderReject.options.fromDate[0],\n toDate: state.tableOrderReject.options.fromDate[1],\n motive_rejected: state.tableOrderReject.options.typeMotive,\n branchoffice_id: state.tableOrderReject.options.sede,\n state_wallet: [state.tableOrderReject.options.state_auth],\n state_backorder: state.tableOrderReject.options.state_backorder,\n detained: true,\n model_id: state.model.id,\n myActivity: state.tableOrderReject.options.myActivity,\n dateFromMyActivity: state.tableOrderReject.options.dateFromMyActivity\n };\n\n // En caso de que la sede este vacia se agrega una por defecto.\n // if (!params.params.branchoffice_id) {\n // params.params.branchoffice_id = selected_branchoffice;\n // state.tableOrderReject.options.sede = selected_branchoffice;\n // }\n\n state.tableOrderReject.loading = true;\n\n await $http\n .get(`/api/documentos-retenidos`, {params})\n .then(response => {\n commit(\"setListOrdersReject\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n state.tableOrderReject.loading = false;\n}\n\nexport async function changeStatusOrder({ dispatch, commit, state }) {\n var user = JSON.parse(localStorage.user);\n state.dataApproved.user_id_authorizes = user.id;\n // state.tableOrderReject.loading = true;\n\n await $http\n .put(`/api/pedido/actualizar-estado`, state.dataApproved)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n commit(\n \"removeDocumentListOrdersRejectById\",\n state.dataApproved.document_id\n );\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n // await dispatch(\"fetchListOrderReject\");\n\n // state.tableOrderReject.loading = false;\n}\n\nexport async function retainOrderById({ dispatch, commit, state }, id) {\n var user = JSON.parse(localStorage.user);\n state.dataApproved.user_id_authorizes = user.id;\n state.dataApproved.status_id_authorized = 914;\n\n await $http\n .put(`/api/pedido/${id}/retener`, state.dataApproved)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n await dispatch(\"fetchListOrderReject\");\n}\n\n// Obtener cartera del cliente\nexport async function getDocumentProducts(\n { commit, state },\n params\n) {\n await $http\n .get(`/api/productos-documento/${params.id}`)\n .then(response => {\n commit(\"setProducts\", {data:response.data.data, index:params.index});\n })\n .catch(error => {\n console.error(error);\n /*Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })*/\n });\n}\n\n\n// traer estados backorder\nexport async function fetchStatesBackOrder({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/050\")\n .then(response => {\n commit(\"setStatesBackOrder\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/orders_retained/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/orders_retained/index.js","const tableDespatch = {\n loading: false,\n data: [],\n fields: [],\n fieldSubTable: [\n {\n key: \"product.code\",\n label: \"Codigo\"\n },\n {\n key: \"product.description\",\n label: \"Descripción\"\n },\n {\n key: \"ubi\",\n label: \"Ubicación\",\n variant: \"success\"\n },\n {\n key: \"quantity\",\n label: \"Cantidad\"\n },\n {\n key: \"Num_-_Lote\",\n label: \"Num - Lote\"\n },\n {\n key: \"product.weight\",\n label: \"Peso\"\n },\n {\n key: \"unit_value_before_taxes\",\n label: \"Vr-Unitario\"\n },\n {\n key: \"total_value_brut\",\n label: \"Vr-Bruto\"\n },\n {\n key: \"total_value_iva\",\n label: \"Vr-IVA\"\n },\n {\n key: \"total_value\",\n label: \"Vr-Total\"\n }\n ],\n errors: {\n has: false,\n message: \"\",\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n zone_id: \"\",\n perPage: 100,\n search: \"\",\n currentPage: 1,\n date: [],\n state: null,\n guide: null,\n protractor:null,\n contact_id:null,\n consecutive:null\n\n\n }\n};\n\nvar tableDocumentsProductsLot = {\n data: [],\n dataFilter: [],\n brands: [],\n brandsSelected: null,\n fields: [\n {\n key: \"product.code\",\n label: \"Codigo\"\n },\n {\n key: \"product.description\",\n label: \"Descripción\"\n },\n {\n key: \"products_lots.num_lot\",\n label: \"Num Lote\"\n },\n {\n key: \"products_lots.expiration_date\",\n label: \"Fecha Vencimiento\"\n }\n ]\n};\n\nexport default {\n contact_branchoffices: [],\n contacts:[],\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n despatchInvoiceList: [],\n action: \"create\",\n //ERROR STATE\n error: false,\n errorMessage: \"\",\n // Tabla\n conyevors: [],\n tableDespatch,\n tableDocumentsProductsLot,\n contactZone: [],\n params: {\n location: null,\n product: null\n },\n loading_report_butons:{\n print_sticker:false,\n excel_despatch:false,\n excel_pickin:false,\n pdf_pickin:false,\n pdf_proactor:false,\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch/state.js","export function setDespatchInvoiceList(state, data) {\n state.despatchInvoiceList = data;\n}\n\nexport function setContactBranchoffice(state, data) {\n let contact_branchoffices = []\n state.contact_branchoffices = []\n data.data.map((element) => {\n if (element.warehouse) {\n if (!contact_branchoffices.find((el) => element.warehouse.branchoffice_id == el.id)) {\n if (element.warehouse.branchoffice) {\n contact_branchoffices.push(element.warehouse.branchoffice)\n }\n }\n }\n })\n\n state.contact_branchoffices = contact_branchoffices;\n\n}\n\nexport function setDespatchInvoiceTable(state, data) {\n data.data.map((val, index_val) => {\n val.pack_off = false;\n val.documents_products = []\n // // Recorremos los productos de la factura\n // val.documents_products.map((dp, index_dp) => {\n // dp.products_lots = {\n // id: null,\n // documents_products_id: dp.id,\n // num_lot: null,\n // expiration_date: null\n // };\n // });\n });\n\n // Agregamos los datos de la tabla\n state.tableDespatch.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.tableDespatch.pagination = data;\n}\n\nexport function setParametersZone(state, data) {\n state.contactZone = data;\n}\n\nexport function setconyevors(state, conyevors) {\n state.conyevors = conyevors;\n}\n\nexport function setDocumentsProductsLot(state, data) {\n // Vaciamos el contenido\n state.tableDocumentsProductsLot.data = [];\n\n // Recorremos los datos de despachos\n state.tableDespatch.data.map((d, index) => {\n // Recorremos los productos de la factura\n d.documents_products.map((dp, index) => {\n // Validamos si existe\n var find = state.tableDocumentsProductsLot.data.find(\n dd => dd.id == dp.id\n );\n if (find !== undefined) return false;\n if (dp.product.line.line_code != \"1155\") return false;\n if (!d.pack_off) return false;\n\n dp.products_lots.num_lot = null;\n state.tableDocumentsProductsLot.data.push(dp);\n });\n });\n\n // Recorremos el objeto para agregar las marcas\n state.tableDocumentsProductsLot.data.map((dpl, index_dpl) => {\n var find = state.tableDocumentsProductsLot.brands.find(\n db => db.id == dpl.product.brand.id\n );\n if (find !== undefined) return;\n\n state.tableDocumentsProductsLot.brands.push({\n id: dpl.product.brand.id,\n description: dpl.product.brand.description\n });\n });\n}\n\nexport function setConsecutiveProductLot(state, data) {\n // Variables\n var consecutive = Number(\n state.tableDocumentsProductsLot.dataFilter[0].products_lots.num_lot\n );\n\n // Validamos que el indice sea 0\n if (consecutive == 0) return;\n\n // Realizamos el sonsecutivo\n for (let i = 0; i < state.tableDocumentsProductsLot.dataFilter.length; i++) {\n state.tableDocumentsProductsLot.dataFilter[\n i\n ].products_lots.num_lot = consecutive;\n consecutive++;\n }\n}\n\nexport function setExpirationDateProductLot(state) {\n // Variables\n var expiration_date =\n state.tableDocumentsProductsLot.dataFilter[0].products_lots.expiration_date;\n\n // Validar\n if (expiration_date == null || expiration_date == \"\") return;\n\n // Asignamos el valor\n\n state.tableDocumentsProductsLot.dataFilter.map((df, index) => {\n df.products_lots.expiration_date = expiration_date;\n });\n}\n\nexport function searchProductLotByBrand(state, e) {\n /*state.tableDocumentsProductsLot.data.map((dpl, index_dpl) => {\n dpl.products_lots.num_lot = null;\n })*/\n\n var data = state.tableDocumentsProductsLot.data.filter((dpl, index_dpl) => {\n return dpl.product.brand.id == e;\n });\n\n state.tableDocumentsProductsLot.dataFilter = data;\n}\n\nexport function setColumnTableDespatch(state , visible) {\n let fields = [\n {\n key: \"detail\",\n label: \"\"\n },\n {\n key: \"document_date\",\n label: \"Fecha\",\n thStyle: {\n \"min-width\": \"100px !important\"\n }\n },\n {\n key: \"consecutive\",\n label: \"Numero Documento\"\n },\n {\n key: \"document_date\",\n label: \"Factura\"\n },\n {\n key: \"contact.name\",\n label: \"Cliente\"\n },\n {\n key: \"contact.address\",\n label: \"Direccion\"\n },\n {\n key: \"total_value\",\n label: \"Vr-total\"\n },\n // {\n // key: \"warehouse.zone_despatch_id\",\n // label: \"Zona\",\n // variant: \"success\"\n // },\n {\n key: \"contact_city\",\n label: \"Ciudad\"\n },\n {\n key: \"documents_information.protractor\",\n label: \"Transportador\",\n variant: \"success\"\n },\n {\n key: \"documents_information.guide_number\",\n label: \"Numero de guia\",\n variant: \"success\"\n },\n {\n key: \"number_stickers\",\n label: \"Numero de cajas\",\n variant: \"success\"\n },\n {\n key: \"documents_information.delivery_observation\",\n label: \"Obs Despacho\",\n variant: \"success\"\n },\n {\n key: \"documents_information.invoice_filed\",\n label: \"Factura Radicada\",\n thClass:\n visible ? \"\" : \"d-none\",\n tdClass: visible ? \"\" : \"d-none\"\n },\n {\n key: \"actions\",\n label: \"Opciones\",\n thClass:\n state.tableDespatch.options.state == \"DESPACHADO\" ? \"\" : \"d-none\",\n tdClass: state.tableDespatch.options.state == \"DESPACHADO\" ? \"\" : \"d-none\"\n }\n ];\n\n state.tableDespatch.fields = fields;\n}\n\nexport function setDateRangeParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n\n // Fecha Actual\n\n state.tableDespatch.options.date[1] = dt.toISOString().substring(0, 10);\n\n //Hace 30 Dias\n dt.setDate(dt.getDate() - 1);\n state.tableDespatch.options.date[0] = dt.toISOString().substring(0, 10);\n}\nexport function setloading_print_sticker(state, loading_print_sticker) {\n state.loading_report_butons.print_sticker = loading_print_sticker\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport { map } from \"d3\";\n\n/*export async function fetchDataSheets({\n commit,\n state\n}) {\n\n\n}*/\n\n\nexport async function getProducts ({ commit, state }, data) {\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n let params = {\n params: {\n branchoffice_warehouse_id : selected_branchoffice_warehouse,\n code_voucher_type : data.row.vouchertype ? data.row.vouchertype.code_voucher_type :null\n }\n }\n\n await $http.get(`/api/despachos-productos/${data.id}`, params)\n .then((response) => {\n response.data.data.map(el => {\n if (el.product.inventory.length == 0) {\n el.product.inventory[0] = {location : null}\n }\n })\n data.row.documents_products = response.data.data\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('error', error.message)\n })\n}\n\n\nexport async function fetchDespatchInvoice({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n\n // Loading\n state.tableDespatch.loading = true;\n\n // Definimos las opciones\n let params = {\n params: {\n page: state.tableDespatch.options.currentPage,\n perPage: state.tableDespatch.options.perPage,\n search: state.tableDespatch.options.search,\n //date': null,\n zone_id: state.tableDespatch.options.zone_id,\n contact_id: state.tableDespatch.options.contact_id,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n state: state.tableDespatch.options.state,\n branchoffice_id: selected_branchoffice,\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n model_id: 1,\n guide: state.tableDespatch.options.guide,\n protractor : state.tableDespatch.options.protractor,\n consecutive : state.tableDespatch.options.consecutive,\n }\n };\n if (state.tableDespatch.options.date.length > 0) {\n params.params.fromDate = state.tableDespatch.options.date[0];\n params.params.toDate = state.tableDespatch.options.date[1];\n }\n\n await $http\n .get(`/api/lista-despachos/`, params)\n .then(response => {\n commit(\"setContactBranchoffice\", response.data);\n commit(\"setColumnTableDespatch\", params.params.state == 1000);\n commit(\"setDespatchInvoiceTable\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n state.tableDespatch.loading = false;\n}\n\n//Obtener los parametros de una tabla\nexport async function fetchParametersZone({ commit, rootState }) {\n await $http\n .get(`/api/parametros?paramtable_id=6`)\n .then(response => {\n commit(\"setParametersZone\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Obtener los transportadores\nexport async function fetchConveyor({ commit, rootState }) {\n await $http\n .get(`/api/lista-transportadores`)\n .then(response => {\n commit(\"setconyevors\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateDespatchInvoice({ commit, state, dispatch }, data) {\n await $http\n .put(`/api/despachos/${data.id}`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Registro actualizado.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n // dispatch('fetchDespatchInvoice')\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// Actualizamos el registro.\nexport async function updateDespatchStatus({ commit, state, dispatch }) {\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n\n var productLot = state.tableDocumentsProductsLot.data;\n var send = {\n despatch,\n productLot\n };\n\n send.give_back = state.tableDespatch.options.state === null ? false : true;\n\n try {\n var response = await $http.put(`/api/despachos-masivo`, send);\n Notification.success({\n title: \"Exito!\",\n message: response.data,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDespatchInvoice\");\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\n// Actualizamos el registro.\nexport async function updateDespatchStatusOA({ commit, state, dispatch }) {\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n\n var productLot = state.tableDocumentsProductsLot.data;\n var send = {\n despatch,\n productLot\n };\n\n send.give_back = state.tableDespatch.options.state === null ? false : true;\n send.admin_operations = true;\n\n try {\n var response = await $http.put(`/api/despachos-masivo`, send);\n Notification.success({\n title: \"Exito!\",\n message: response.data,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDespatchInvoice\");\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.paramsquery\n}) {\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n console.log(error);\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n // commit('contactError', error.message)\n })\n}\n\nexport async function generatePdf({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n\n var validate_pro = 0;\n var validate = false;\n var row;\n\n despatch.forEach(element => {\n if (element.documents_information != null) {\n if (element.documents_information.protractor == null) {\n validate_pro++;\n }\n }\n });\n\n despatch = despatch.map(function(item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch\n };\n\n if (validate_pro > 0) {\n await MessageBox.alert(\n \"Hay facturas sin Transportador. ¿Desea Continuar?\",\n \"Error\",\n {\n // dangerouslyUseHTMLString: true,\n confirmButtonText: \"Continual\",\n cancelButtonText: \"Cancelar\",\n type: \"warning\"\n // customClass: 'notification-error'\n }\n )\n .then(() => {\n validate = true;\n })\n .catch(() => {\n validate = false;\n });\n } else {\n validate = true;\n }\n\n if (validate) {\n try {\n var response = await $http.get(`/api/pdfdespatch`, {\n params: send,\n responseType: \"blob\"\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"Transportador.pdf\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n }\n}\n\nexport async function generatePickin({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function(item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch\n };\n\n try {\n var response = await $http.get(`/api/pdfpickin`, {\n params: send,\n responseType: \"blob\"\n });\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"pickin.pdf\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\n//Actualizar un registro uno a uno.\nexport async function updateDespatchStatusOne(\n { commit, state, dispatch },\n data\n) {\n try {\n var response = await $http.put(`/api/despachos-cambiar-estado/${data.id}`, {\n state: data.state\n });\n Notification.success({\n title: \"Exito!\",\n message: response.data,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDespatchInvoice\");\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\nexport async function updatelocation({ state }) {\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n\n var params = {\n branchoffice_warehouse: selected_branchoffice_warehouse,\n product: state.params.product,\n location: state.params.location\n };\n\n try {\n var response = await $http.put(`/api/actualizar-localizacion`, params);\n if (response.data.status) {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n } else {\n Notification.error({\n title: \"Error!\",\n message: response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n}\n\nexport async function generateexcel({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n\n // Definimos las opciones\n let params = {\n params: {\n page: state.tableDespatch.options.currentPage,\n // perPage: state.tableDespatch.options.perPage,\n search: state.tableDespatch.options.search,\n //date': null,\n zone_id: state.tableDespatch.options.zone_id,\n contact_id: state.tableDespatch.options.contact_id,\n state: state.tableDespatch.options.state,\n branchoffice_id: selected_branchoffice,\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n model_id: 1,\n guide: state.tableDespatch.options.guide,\n protractor : state.tableDespatch.options.protractor,\n perPage: state.tableDespatch.pagination.total,\n }\n };\n if (state.tableDespatch.options.date.length > 0) {\n params.params.fromDate = state.tableDespatch.options.date[0];\n params.params.toDate = state.tableDespatch.options.date[1];\n }\n\n await $http({\n url: `/api/exceldespachos`,\n method: \"GET\",\n params: params.params,\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"despachos.csv\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function generateexcelPickin({ commit, state }) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function(item) {\n return item.id;\n });\n var send = {\n // date: state.tableDespatch.options.date,\n state: state.tableDespatch.options.state,\n fromDate: state.tableDespatch.options.date[0],\n toDate: state.tableDespatch.options.date[1],\n branchoffice_id: selected_branchoffice,\n model_id: 1,\n selected_branchoffice_warehouse: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n despatch\n };\n\n await $http({\n url: `/api/excelpickin`,\n method: \"GET\",\n params: send,\n responseType: \"blob\" // important\n })\n .then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"pickin.csv\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\nexport async function printLabels_({ commit, state }, link) {\n let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n let selected_branchoffice_warehouse = JSON.parse(\n localStorage.selected_branchoffice_warehouse\n );\n var despatch = state.tableDespatch.data.filter(value => {\n return value.pack_off;\n });\n despatch = despatch.map(function(item) {\n return item.id;\n });\n let params = {\n params: {\n page: state.tableDespatch.options.currentPage,\n perPage: state.tableDespatch.options.perPage,\n search: state.tableDespatch.options.search,\n //date': null,\n zone_id: state.tableDespatch.options.zone_id,\n contact_id: state.tableDespatch.options.contact_id,\n state: state.tableDespatch.options.state,\n branchoffice_id: selected_branchoffice,\n branchoffice_warehouse_id: selected_branchoffice_warehouse,\n contact_branchoffice_id: state.tableDespatch.options.contact_branchoffice_id,\n model_id: 1,\n guide: state.tableDespatch.options.guide,\n protractor : state.tableDespatch.options.protractor,\n consecutive : state.tableDespatch.options.consecutive,\n link : link,\n despatch\n }\n };\n if (state.tableDespatch.options.date.length > 0) {\n params.params.fromDate = state.tableDespatch.options.date[0];\n params.params.toDate = state.tableDespatch.options.date[1];\n }\n\n await $http({\n url: `/api/excel-etiquetas`,\n method: \"GET\",\n params: params.params,\n responseType: \"blob\" // important\n })\n .then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"Impresion-Stickers.csv\"); //or any other extension\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch/actions.js","export function invoicesToDispatch (state) {\n var data = state.tableDespatch.data.filter((value) => {\n return value.pack_off;\n })\n return data\n}\n\nexport function countDocumentsProductsLot (state) {\n return state.tableDocumentsProductsLot.data.length;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch/index.js","export function invoicesToDispatch (state) {\n var data = state.tableDespatch.data.filter((value) => {\n return value.pack_off;\n })\n return data\n}\n\nexport function countDocumentsProductsLot (state) {\n return state.tableDocumentsProductsLot.data.length;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch-packing/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch-packing/index.js","export function setContacts (state, contacts) {\n state.contacts = contacts\n}\nexport function setParamsContacts (state, filter) {\n state.params_contacts.filter = filter\n}\nexport function setLines (state, lines) {\n state.lines = lines \n}\nexport function setBrands (state, brands) {\n state.brands = brands \n}\nexport function setDiscount (state, discount) {\n state.discount = discount \n}\nexport function setDiscounts (state, discounts) {\n state.discounts = discounts \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\n\nexport async function fetchContacts ({ commit, state, rootState }) {\n\n let params = {\n params: state.params_contacts\n }\n \n await $http.get('/api/terceros', params)\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchLines ({ commit, state }) {\n \n await $http.get('/api/lista-lineas')\n .then((response) => {\n commit('setLines', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchBrands ({ commit, state }) {\n \n await $http.get('/api/lista-marcas')\n .then((response) => {\n commit('setBrands', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function createDiscount ({ commit, state }, params) {\n \n await $http.post('/api/crear-descuento', params)\n .then((response) => { \n commit('setDiscount', response.data)\n Notification.success({\n title: 'Hecho!',\n message: 'Se ha registrado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchDiscounts ({ commit, state }) {\n \n await $http.get('/api/lista-descuentos')\n .then((response) => {\n commit('setDiscounts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchDiscount ({ commit, state }, id) {\n \n await $http.get(`/api/descuento/${id}`)\n .then((response) => {\n commit('setDiscount', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function updateDiscount ({ commit, state }, params) {\n \n await $http.put('/api/actualizar-descuento', params)\n .then((response) => {\n Notification.success({\n title: 'Hecho!',\n message: 'Se ha actualizado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function deleteDiscount ({ commit, state }, id) { \n await $http.delete('/api/eliminar-descuento/'+id, )\n .then((response) => { \n Notification.success({\n title: 'Hecho!',\n message: 'Se ha Eliminado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchParameters ({ commit }, id) {\n await $http.get(`/api/parametros?paramtable_id=5`)\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount/index.js","export default {\n discount: null,\n discounts: [],\n contacts: [],\n lines : [],\n brands : [],\n params_contacts: {\n filter: '',\n type: 'is_customer',\n paginate: false,\n },\n params : {\n client: null,\n line : null,\n brand: null,\n percentage: null,\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount/state.js","\nexport function setBranchOffices(state, branchOffices) {\n state.branchOffices = branchOffices;\n}\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setAccountsUp(state, accounts_up) {\n state.accounts_up = accounts_up\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts.map(p => {\n let name_complete = p.surname?p.identification+\"-\"+p.name+\" \"+p.surname:p.identification+\"-\"+p.name;\n return { value: p.id, label: name_complete };\n });\n}\n\nexport function setVouchersTypes(state, vouchertype) {\n state.voucherTypes = vouchertype\n}\n\nexport function setContactWarehouses(state, contact_warehouses){\n state.contact_warehouses = contact_warehouses\n}\nexport function setauxiliary_book(state, auxiliary_book) {\n state.auxiliary_book = auxiliary_book\n}\nexport function setParams(state, params){\n state.params = params\n}\nexport function setTotals(state, data) {\n state.totals = data\n}\nexport function setRequiredFields(state, bool) {\n state.requiredFields = bool\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book/index.js","export default {\n loading: {\n module: true\n },\n params: {\n year_month_from: null,\n year_month_up: null,\n contact_warehouse_id:null,\n branchoffice_id: null,\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n contact_id: null,\n vouchertype_id: null,\n consecutive_doc_afecta: null,\n prex_doc_afecta: null,\n page: 1,\n perPage: 1000,\n\n },\n params_accounts_from: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_accounts_up: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: false,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n params_contact_warehouse:{\n filter:'',\n contact_id:null\n },\n paramsVoucherType:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n branchOffices: [],\n accounts_from: [],\n accounts_up: [],\n contacts:[],\n sales:[],\n contact_warehouses:[],\n auxiliary_book:[],\n voucherTypes:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n requiredFields:false,\n loading_report : false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setContacts(state, contacts) {\n console.log(contacts)\n state.contacts = contacts\n}\n\nexport function setauxiliary_book(state, auxiliary_book) {\n state.auxiliary_book = auxiliary_book\n}\nexport function setParams(state, params){\n state.params = params\n}\nexport function setSubscriber(state, subscriber){\n state.subscriber = subscriber\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book-contact/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n//Obtener los terceros\nexport async function fetchContacts({commit, state},requestParameters = {params: state.params_contacts}) {\n state.loading.search_contact = true;\n await $http.get('/api/terceros-lite', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n\n state.loading.search_contact = false;\n}\n\n// obtener Data libro Contable\nexport async function fetchAuxiliaryBookContact({commit, state}) {\n await $http.get('/api/libro-auxiliar-tercero', { params : state.params})\n .then((response) => {\n commit('setauxiliary_book', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book-contact/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book-contact/index.js","export default {\n loading: {\n module: true,\n search_contact: false,\n },\n params: {\n year_month_from: '202005',\n year_month_up: null,\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n contact_id: null,\n contact_identification: null,\n },\n params_contacts:{\n paginate: false,\n page: 1,\n perPage: 50,\n query: '',\n filter: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n },\n accounts_from: [],\n contacts:[],\n auxiliary_book:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n subscriber : null\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book-contact/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setLines(state, lines){\n state.lines = lines\n}\nexport function setreporte_comisiones(state, reporte_comisiones) {\n state.reporte_comisiones = reporte_comisiones\n /*let pagos = state.reporte_comisiones_pagos.data;\n let descuentos = state.reporte_comisiones_descuentos.data;\n\n reporte_comisiones.data.map(p => {\n let pagos_find = pagos.filter(\n x => {\n if (x.document_id == p.document_id && x.affects_document_id == p.affects_document_id)\n return x\n }\n )\n let descuentos_find = descuentos.filter(\n g => {\n if (g.document_id == p.document_id && g.affects_document_id == p.affects_document_id )\n return g\n }\n )\n ? descuentos.filter(\n g => {\n if (g.document_id == p.document_id && g.affects_document_id == p.affects_document_id )\n return g\n }\n )\n : \"0\";\n\n let pagos_amount = 0 ;\n pagos_find.forEach( item => {\n pagos_amount+= parseFloat(item.value)\n })\n\n let discounts_amount = 0 ;\n descuentos_find.forEach( item => {\n discounts_amount+= parseFloat(item.value)\n })\n\n p.pay = (pagos_amount/1.19) - discounts_amount\n p.pay_with_iva = pagos_amount - discounts_amount\n p.discount = discounts_amount;\n })\n*/\n\n //console.log(reporte_comisiones);\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setreporte_comisiones_descuento(state,reporte_comisiones_descuentos){\n\n state.reporte_comisiones_descuentos = reporte_comisiones_descuentos\n}\n\nexport function setreporte_comisiones_pagos(state,reporte_comisiones_pagos){\n state.reporte_comisiones_pagos = reporte_comisiones_pagos\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n//Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.params_cotact\n}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisions({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisionsDisccounts({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones-descuentos', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones_descuento', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisionsPays({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones-pagos', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones_pagos', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchLines ({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch('lines/fetchLines', { params: { paginate: false } }, { root: true })\n commit('setLines', rootState.lines.lines)\n }\n}\n\nexport async function downloadAccountingPdf({}, data) {\n let name = data.name_cont + ' No. ' + data.cash_receipt + '.pdf'\n await $http({\n url: '/api/descargar-pdf-contabilidad/'+data.document_id\n ,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\nexport async function downloadDocumentPdf({state}, data) {\n let name = data.name_inv + ' No. ' + data.invoice + '.pdf'\n let url = '/api/documentos/descargar-pdf/' + data.affects_document_id\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n state.loading.download_pdf = false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions/index.js","export default {\n loading: {\n module: true\n },\n params: {\n seller_type: \"1\",\n year_month_from: '',\n year_month_up: '',\n type_query: \"1\",\n lines: [],\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n accounts_from: [],\n contacts:[],\n lines :[],\n reporte_comisiones:[],\n reporte_comisiones_descuentos:[],\n reporte_comisiones_pagos:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setreporte_bo(state, reporte_bo) {\n state.reporte_bo = reporte_bo\n //console.log(reporte_comisiones);\n}\nexport function setParams(state, params){\n state.params = params\n}\nexport function setStatesAuth(state, data){\n state.stateAuthOption = data\n let defaults = [];\n state.stateAuthOption.forEach(el => {\n if ([ '03', '05' ].includes(el.code_parameter)){\n defaults.push(el.id)\n }\n });\n\n state.params.state_auth = defaults;\n}\nexport function setUnds(state, unds) {\n console.log(state.reporte_bo)\n\n state.reporte_bo.data.map(doc => {\n let und = unds.find(el => el.document_id == doc.document_id)\n if (und) {\n // setTimeout(() => {\n doc.total_backorder_quantity = und.total_backorder_quantity\n doc.total_unds = und.total_unds\n doc.loading_unds = false\n // }, 150);\n }\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-bo/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\nexport async function fetchSellers({commit, state}, text) {\n let params = { filter:text}\n console.log(new Date()+\"Empezando Sellers\");\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n }\n\n//Obtener los terceros\nexport async function fetchContacts({commit, state}, requestParameters = {\n params: state.params_contact\n}) {\n console.log(new Date()+\"Empezando Contacts\");\n await $http.get('/api/vendedores-clientes', requestParameters)\n .then((response) => {\n console.log(response);\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportBo({commit, state,dispatch}) {\n state.loading.module = true;\n await $http.get('/api/reporte-bo', { params : state.params})\n .then((response) => {\n commit('setreporte_bo', response.data);\n dispatch(\"fetchUnds\", response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchStatesAuth({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/060\")\n .then(response => {\n commit(\"setStatesAuth\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function fetchUnds({commit, state}, documents){\n let documents_id = []\n await documents.map(doc => {\n documents_id.push(doc.document_id)\n });\n\n let params = {\n 'documents_id' : documents_id\n }\n await $http\n .post(`/api/unds`, params)\n .then(response => {\n commit(\"setUnds\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n} \n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-bo/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-bo/index.js","export default {\n loading: {\n module: true\n },\n params: {\n contact_id: null,\n seller_id: null,\n subscriber: [],\n state_auth: [],\n disable:false,\n },\n params_contact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n seller_id: null\n },\n accounts_from: [],\n contacts:[],\n sellers:[],\n reporte_bo:[],\n stateAuthOption:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-bo/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setBranchOffices(state, Branchoffices) {\n state.branchoffices = Branchoffices;\n}\n\nexport function setWarehouses(state, Warehouses) {\n state.warehouses = Warehouses;\n}\nexport function setconciation_balances(state, reporte_comisiones) {\n state.conciliation_balances = reporte_comisiones\n //console.log(reporte_comisiones);\n}\nexport function setParams(state, params){\n state.params = params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/conciliation-balances/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\nexport async function fetchBranchOffices({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\n\n//Obtener los terceros\nexport async function fetchWarehouses({ commit, state }, requestParameters = { params: state.params }) {\n \n await $http\n .get(\"/api/bodegas-sedes/\", requestParameters)\n .then(response => {\n commit(\"setWarehouses\", response.data);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n \n\n// obtener Data libro Contable\nexport async function fetchReportConciliation({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/conciliacion-saldos', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setconciation_balances', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/conciliation-balances/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/conciliation-balances/index.js","export default {\n loading: {\n module: true\n },\n params: {\n branchoffice_id: 0,\n warehouses_id: 0,\n only_exist: 0,\n user_connect: [],\n },\n accounts_from: [],\n contacts:[],\n conciliation_balances:[],\n branchoffices:[],\n warehouses:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/conciliation-balances/state.js","\nexport function setBranchOffices(state, branchOffices) {\n state.branchOffices = branchOffices;\n}\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setAccountsUp(state, accounts_up) {\n state.accounts_up = accounts_up\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setVouchersTypes(state, vouchertype) {\n state.voucherTypes = vouchertype \n}\n\nexport function setContactWarehouses(state, contact_warehouses){\n state.contact_warehouses = contact_warehouses\n}\nexport function setaccount_balance(state, account_balance) {\n state.account_balance = account_balance\n}\n\nexport function setcontact_balance(state, contact_balance) {\n state.contact_balance = contact_balance\n}\n\nexport function setdocument_balance(state, document_balance) {\n state.document_balance = document_balance\n //console.log(state.document_balance);\n\n}\n\nexport function setParams(state, params){\n state.params = params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-balance/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las sedes\nexport async function fetchBranchOffices({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\n\n//cuentas para select Desde\nexport async function fetchAccountsFrom(\n { commit, state },\n requestParameters = { params: state.params_accounts_from }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsFrom\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Hasta\nexport async function fetchAccountsUp(\n { commit, state },\n requestParameters = { params: state.params_accounts_up }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsUp\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactWarehouses(\n { commit, state },\n requestParameters = { params: state.params_contact_warehouse }\n) {\n await $http\n .get(\"/api/sucursales\", requestParameters)\n .then(response => {\n //console.log(response );\n commit(\"setContactWarehouses\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.params_cotact\n}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener los tipos de comprobante\nexport async function fetchVouchertype({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.paramsVoucherType})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchAccountBalance({commit, state}) {\n await $http.get('/api/consulta-cuentas', { params : state.params})\n .then((response) => {\n commit('setaccount_balance', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getBalanceContact({commit, state}, id) {\n await $http.get('/api/consulta-terceros-balance/'+id, { params : state.params})\n .then((response) => {\n commit('setcontact_balance', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function getBalanceDocument({commit, state},account_client) {\n //console.log(account_client);\n\n await $http.get('/api/consulta-documentos-balance/'+account_client.contact_id+\"/\"+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('setdocument_balance', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-balance/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-balance/index.js","export default {\n loading: {\n module: true\n },\n params: {\n year_month: null,\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n },\n params_accounts_from: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_accounts_up: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n params_contact_warehouse:{\n filter:'',\n contact_id:null\n },\n paramsVoucherType:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n branchOffices: [],\n accounts_from: [],\n accounts_up: [],\n contacts:[],\n sales:[],\n contact_warehouses:[],\n account_balance:[],\n contact_balance:[],\n document_balance:[],\n voucherTypes:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-balance/state.js","export const defaultSelectedDateFrom = () => {\n let d = new Date();\n return `${d.getFullYear()}`;\n};\nexport default {\n loading: {\n module: true\n },\n params: {\n year: defaultSelectedDateFrom(),\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n contact_id: null,\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n accounts_from: [],\n contacts:[],\n state_finaze:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/estados-financieros/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setstate_finanze(state, state_finaze) {\n state.state_finaze = state_finaze\n}\nexport function setParams(state, params){\n state.params = params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/estados-financieros/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n//Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.params_cotact\n}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchstatefinaze({commit, state}) {\n\n await $http.get('/api/estados-financieros', { params : state.params})\n .then((response) => {\n commit('setstate_finanze', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/estados-financieros/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/estados-financieros/index.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n fecha.setDate(fecha.getDate()-30);\n return fecha;\n\n};\n\nexport default {\n loading: {\n module: false\n },\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDate(),\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n view_delete_from: null,\n view_delete_up: null,\n filter_text: \"\",\n filter_tag: \"\",\n format: 1,\n },\n params_accounts_from: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_accounts_up: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accounts_from: [],\n accounts_up: [],\n auxiliary_book: [],\n trial_balance: [],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n iconAcordion: \"ti-angle-down\",\n balance_account_contact: [],\n balance_account_contact_document: [],\n subscriber: null,\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance/state.js","\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setAccountsUp(state, accounts_up) {\n state.accounts_up = accounts_up\n}\n\nexport function settrial_balance(state, trial_balance) {\n state.trial_balance = trial_balance\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setLevels (state, levels){\n state.levels = levels\n}\n\nexport function set_balance_account_contact(state, set_balance_account_contact) {\n state.balance_account_contact = set_balance_account_contact\n}\n\nexport function setdocument_balance_account_contact(state, balance_account_contact_document) {\n state.balance_account_contact_document = balance_account_contact_document\n}\n\nexport function setSubscriber(state, subscriber){\n state.subscriber = subscriber\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las Levels\nexport async function fetchLevels(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/98\")\n .then(response => {\n commit(\"setLevels\", sortJSON(response.data, 'code_parameter', 'asc'));\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Desde\nexport async function fetchAccountsFrom(\n { commit, state },\n requestParameters = { params: state.params_accounts_from }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsFrom\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Hasta\nexport async function fetchAccountsUp(\n { commit, state },\n requestParameters = { params: state.params_accounts_up }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsUp\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactWarehouses(\n { commit, state },\n requestParameters = { params: state.params_contact_warehouse }\n) {\n await $http\n .get(\"/api/sucursales\", requestParameters)\n .then(response => {\n commit(\"setContactWarehouses\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n// obtener Data libro Contable\nexport async function fetchTrialBalance({commit, state}) {\n await $http.get('/api/trial-balance', { params : state.params})\n .then((response) => {\n commit('settrial_balance', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nfunction sortJSON(data, key, orden) {\n return data.sort(function (a, b) {\n var x = a[key],\n y = b[key];\n\n if (orden === 'asc') {\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n }\n\n if (orden === 'desc') {\n return ((x > y) ? -1 : ((x < y) ? 1 : 0));\n }\n });\n}\n\nexport async function getBalanceContactAccount({commit, state},account_client) {\n await $http.get('/api/consulta-terceros-balance/'+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('set_balance_account_contact', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getBalanceContactAccountDocument({commit, state},account_client) {\n await $http.get('/api/documentos-balance-cuenta-usuario/'+account_client.contact_id+\"/\"+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('setdocument_balance_account_contact', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get('/api/suscriptor')\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance/index.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n fecha.setDate(fecha.getDate()-30);\n return fecha;\n\n};\n\nexport default {\n loading: {\n module: false\n },\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDate(),\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n view_delete_from: null,\n view_delete_up: null,\n filter_text: \"\",\n filter_tag: \"\",\n contact_id:null,\n },\n params_contacts:{\n paginate: false,\n page: 1,\n perPage: 50,\n query: '',\n filter: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n query:null,\n },\n contacts:[],\n params_accounts_from: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n params_accounts_up: {\n notAux: false,\n onlyAux: false,\n paginate: true,\n page: 1,\n perPage: 30,\n filter: \"\",\n sortBy: \"code\",\n sort: \"ASC\"\n },\n accounts_from: [],\n accounts_up: [],\n auxiliary_book: [],\n trial_balance: [],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n iconAcordion: \"ti-angle-down\",\n balance_account_contact: [],\n balance_account_contact_document: [],\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance-contact/state.js","\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setAccountsUp(state, accounts_up) {\n state.accounts_up = accounts_up\n}\n\nexport function settrial_balance(state, trial_balance) {\n state.trial_balance = trial_balance\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setLevels (state, levels){\n state.levels = levels\n}\n\nexport function set_balance_account_contact(state, set_balance_account_contact) {\n state.balance_account_contact = set_balance_account_contact\n}\n\nexport function setdocument_balance_account_contact(state, balance_account_contact_document) {\n state.balance_account_contact_document = balance_account_contact_document\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance-contact/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las Levels\nexport async function fetchLevels(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/98\")\n .then(response => {\n commit(\"setLevels\", sortJSON(response.data, 'code_parameter', 'asc'));\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Desde\nexport async function fetchAccountsFrom(\n { commit, state },\n requestParameters = { params: state.params_accounts_from }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsFrom\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Hasta\nexport async function fetchAccountsUp(\n { commit, state },\n requestParameters = { params: state.params_accounts_up }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsUp\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactWarehouses(\n { commit, state },\n requestParameters = { params: state.params_contact_warehouse }\n) {\n await $http\n .get(\"/api/sucursales\", requestParameters)\n .then(response => {\n commit(\"setContactWarehouses\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n// obtener Data libro Contable\nexport async function fetchTrialBalance({commit, state}) {\n await $http.get('/api/trial-balance-contact', { params : state.params})\n .then((response) => {\n commit('settrial_balance', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n state.loading.module = false;\n}\n\nfunction sortJSON(data, key, orden) {\n return data.sort(function (a, b) {\n var x = a[key],\n y = b[key];\n\n if (orden === 'asc') {\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n }\n\n if (orden === 'desc') {\n return ((x > y) ? -1 : ((x < y) ? 1 : 0));\n }\n });\n}\n\nexport async function getBalanceContactAccount({commit, state},account_client) {\n await $http.get('/api/consulta-terceros-balance/'+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('set_balance_account_contact', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getBalanceContactAccountDocument({commit, state},account_client) {\n await $http.get('/api/documentos-balance-cuenta-usuario/'+account_client.contact_id+\"/\"+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('setdocument_balance_account_contact', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener los terceros\nexport async function fetchContacts({commit, state},requestParameters = {params: state.params_contacts}) {\n await $http.get('/api/terceros-lite', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance-contact/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/trial-balance-contact/index.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n fecha.setDate(fecha.getDate()-30);\n return fecha;\n\n};\n\nexport const defaultSelectedDateFrom = () => {\n var fecha = new Date();\n return fecha.getFullYear()+'01';\n\n};\n\nexport default {\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n params: {\n count_months:0,\n year_month_from: defaultSelectedDateFrom(),\n year_month_up: defaultSelectedDate(),\n account_from: null,\n option:1,\n account_up: null,\n months:[],\n description_account_from: null,\n description_account_up: null,\n view_delete_from: null,\n view_delete_up: null,\n filter_text: \"\",\n filter_tag: \"\",\n },\n account_comparsion: [],\n loading: {\n module: false\n },\n months:[\n {\n id:'01',\n name:'Enero'\n },\n {\n id:'02',\n name:'Febrero'\n },\n {\n id:'03',\n name:'Marzo'\n },\n {\n id:'04',\n name:'Abril'\n },\n {\n id:'05',\n name:'Mayo'\n },\n {\n id:'06',\n name:'Junio'\n },\n {\n id:'07',\n name:'Julio'\n },\n {\n id:'08',\n name:'Agosto'\n },\n {\n id:'09',\n name:'Septiembre'\n },\n {\n id:'10',\n name:'Octubre'\n },\n {\n id:'11',\n name:'Noviembre'\n },\n {\n id:'12',\n name:'Diciembre'\n },\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-comparison/state.js","export function setAccountComparsion(state, account_comparsion){\n state.account_comparsion = account_comparsion\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-comparison/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n\nexport async function fetchAccountComparsion({ state, commit }) {\n await $http\n .get(\"/api/comparativo-cuentas\", { params : state.params})\n .then(response => {\n commit(\"setAccountComparsion\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-comparison/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/account-comparison/index.js","export const defaultproducts = () => {\n return {\n products_kardex: []\n }\n }\n\nexport const defaultContacts = () => {\n return {\n data: [],\n total: 1\n }\n}\n\nexport default {\n loading:{\n download_pdf:false,\n kardex:false\n },\n products: [],\n discountInconsistencies: [],\n types_validates: [\n {\n id:1,\n name:\"Comprobantes descuadrados\"\n },\n {\n id:2,\n name:\"Documentos sin contabilizar\"\n },\n {\n id:3,\n name:\"Cuentas de total erradas\"\n },\n {\n id:4,\n name:\"Cuentas de Resultados\"\n },\n {\n id:5,\n name:\"Saldos de Cuentas\"\n },\n {\n id:6,\n name:\"Salto de Consecutivo\"\n },\n ],\n\n branchOffices: [],\n branchoffice_warehouses: [],\n\n branchoffice_warehouses_entry: [],\n product:defaultproducts(),\n\n params: {\n type_validate:null,\n date_ini: '',\n date_end: ''\n },\n\n params_reconstructor: {\n date: null,\n product:null,\n document_product:null\n },\n\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n paramsProducts:{\n validate_exhausted : false,\n paginate: false,\n product: '',\n branchoffice_warehouse_id: '',\n filter: '',\n page: 1,\n perPage: 15\n },\n document:'',\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-inconsistencies/state.js","import {defaultContacts} from \"./state\";\n\nexport function setBranchOffices(state, branchOffices){\n state.branchOffices = branchOffices;\n}\n\n//Establece el valor por defecto de contacts\nexport function resetContacts(state) {\n Object.assign(state.contacts, defaultContacts())\n\n}\n\nexport function setBranchofficeWarehouses(state, branchofficeWarehouses){\n state.branchoffice_warehouses = branchofficeWarehouses;\n}\nexport function setSedeSalida(state, sede_salida) {\n state.params.sede_salida = sede_salida\n}\nexport function setBodegaSalida(state, bodega_salida) {\n state.params.bodega_salida = bodega_salida\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n// trae todos los productos\nexport function setStateProducts(state, products) {\n state.products = products;\n }\n\nexport function setDiscountInconsistencies(state, discountInconsistencies) {\n state.discountInconsistencies = discountInconsistencies;\n}\nexport function setParams(state, params) {\n state.params = params;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-inconsistencies/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses({commit, state}, brancheoffice) {\n await $http.get(`/api/bodegas-sedes?branchoffice_id=${brancheoffice}`)\n .then((response) => {\n commit('setBranchofficeWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices({commit, state}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n }\n\n //Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.paramsquery\n}) {\n\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n//consulta Descuento Inconsistencias\nexport async function getDiscountInconsistencies({commit,state}) {\n state.loading.kardex = true\n var data = {\n params: state.params,\n }\n await $http.get('/api/detencion-inconsistencias', data)\n .then((response) => {\n commit('setDiscountInconsistencies', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n state.loading.kardex = false\n}\n\nexport async function cleanDiscountInconsistencies({commit,state}) {\n commit('setDiscountInconsistencies', [])\n\n}\n\nexport async function searchProducts ({\n state,\n commit\n}) {\n\n let requestParameters = {\n params: state.paramsProducts\n }\n await $http.get('/api/lista-productos', requestParameters).then((response) => {\n commit('setStateProducts', response.data.data.data)\n }\n\n )\n}\n\n\nexport async function fixvalues ({ commit }, params) {\n let requestParameters = { params:params }\n await $http.get(`/api/reconstructor`, requestParameters)\n .then((response) => {\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n }\n\nexport async function downloadDocument({state}, documentToPdf) {\n state.loading.download_pdf = true\n\n let name = documentToPdf.vouchertype.name_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n\n let url = ''\n\n if (documentToPdf.operationType_id == 4){\n url ='/api/traslado/descargar-pdf/' + documentToPdf.id\n }else if (documentToPdf.operationType_id == 3){\n url = '/api/traslado/descargar-pdf/' + documentToPdf.thread\n }else{\n url = '/api/documentos/descargar-pdf/' + documentToPdf.id\n }\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n state.loading.download_pdf = false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-inconsistencies/actions.js","export function getParams (state){\n return state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-inconsistencies/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-inconsistencies/index.js","import moment from \"moment\";\n\nconst tableServiceRequests = {\n data: [],\n pagination: {},\n params: {\n observation: null,\n paginate: false,\n perPage: 100,\n page: 1,\n close: false,\n rejected: false,\n dateRange: [\n moment()\n .subtract(2, \"months\")\n .startOf(\"month\")\n .format(\"YYYY-MM-DD\"),\n moment().format(\"YYYY-MM-DD\")\n ],\n service_requests_types_id: null,\n service_requests_state_id: null\n },\n loader: false\n};\n\nexport const defaultSelectedServiceRequest = () => {\n return {\n document_id: \"\",\n data: null,\n historyStates: [],\n observation: \"\",\n stateSelectedUpdate: null,\n loader: false,\n product_id: null,\n products: []\n };\n};\n\nexport default {\n transfer_ch_cr: null,\n transfer_ch_pro: null,\n serviceRequestsStates: [],\n tableServiceRequests,\n selectedServiceRequest: defaultSelectedServiceRequest(),\n sellers: [],\n paramsquery: {\n query: null\n },\n contacts: [],\n contactsWarehouses: [],\n products: [],\n params: {\n address: null,\n option: []\n },\n types: [],\n document: null,\n fileName: \"\",\n showModalPdf: false,\n paramsProduct: {\n code_line_filter: null\n },\n rotationRefreshmentProducts: [],\n photographicEvidences: [],\n typePhotographicEvidence: [],\n typesRotationRefreshmentProducts: [],\n responseUploadFilesRequest: {},\n action: \"create\",\n cities: [],\n purchaseOptions: [],\n vehicleDataByPlate: null,\n listReasonsApprovals: [],\n listReasonsRejection: [],\n productsSublineScrap: [],\n productsLineBatteries: [],\n productsLineBatteriesScrap: [],\n responseCreateRequest: null,\n errorUpdateStatus: null,\n responseSelectedServiceRequest: null,\n pathsDocumentsStatus: null,\n finalizeUpdateState: null,\n typeImageCodesRequired: [\"01\", \"02\", \"03\", \"04\", \"05\"],\n invoicesContact: [],\n creditNoteDocuments: [],\n loadingServiceRequests: false,\n requestServiceApproveForm: {\n motive_id: \"\",\n product_id: \"\",\n observation: \"\"\n },\n isActionUpdateStateView: false,\n scrapReceptionProducts: [],\n batteryMaintenanceProducts: [],\n createDocumentCurrentStateError: null,\n selectedMails: [],\n fetchData: true\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-service/state.js","import { defaultSelectedServiceRequest } from \"./state\";\nimport shortid from \"shortid\";\nimport { dragDisable } from \"d3\";\n\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\nexport function resetSellers(state, sellers) {\n state.sellers = [];\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setContactsWarehouse(state, contactsWarehouse) {\n state.contactsWarehouses = contactsWarehouse;\n}\nexport function setProducts(state, products) {\n state.products = products;\n}\n\nexport function setProductsLineBatteries(state, products) {\n state.productsLineBatteries = products;\n}\n\nexport function setProductsLineBatteriesScrap(state, products) {\n state.productsLineBatteriesScrap = products;\n}\n\nexport function setTypes(state, types) {\n state.types = types;\n}\n\nexport function setReplacePhotographicEvidence(state, data) {\n state.params.photographic_evidences = data;\n}\nexport function setRequestServiceApproveForm(state, data) {\n state.requestServiceApproveForm = data;\n}\n\nexport function setIsActionUpdateStateView(state, value) {\n state.isActionUpdateStateView = value;\n}\n\n/**\n * Este metodo se encarga de resetear el formulario de registro.\n *\n * @author Kevin Galindo\n */\nexport function resetFormRequestService(state, types) {\n state.params = {\n observation: null,\n type: null,\n contact: null,\n seller: null,\n product: null,\n user: null,\n address: null\n };\n\n state.typePhotographicEvidence = [];\n}\n\n/**\n *\n * Este mutador se encarga de setear la informacion de la\n * tabla con su paginacion.\n *\n * @author Kevin Galindo\n */\nexport function setServiceRequests(state, data) {\n // Agregamos los datos de la tabla\n state.tableServiceRequests.data = data;\n\n // Quitamos los valores de la tabla del arreglo\n // delete data.data;\n\n // // Agregamos los datos de la paginacion\n // state.tableServiceRequests.pagination = data;\n}\n\n/**\n *\n * Este mutador de setear el\n * registro seleccionado para poder editar\n * o ver informacion sobre el\n *\n * @author Kevin Galindo\n */\nexport function setSelectedServiceRequest(state, item) {\n // Agregamos el registro\n state.selectedServiceRequest.data = item;\n}\n\nexport function setErrorUpdateStatus(state, item) {\n state.errorUpdateStatus = item;\n}\nexport function setResponseSelectedServiceRequest(state, item) {\n state.responseSelectedServiceRequest = item;\n}\nexport function setPathsDocumentsStatus(state, item) {\n state.pathsDocumentsStatus = item;\n}\nexport function setFinalizeUpdateState(state, item) {\n state.finalizeUpdateState = item;\n}\n\nexport function setTypeImageCodesRequired(state, data) {\n state.typeImageCodesRequired = data;\n}\n\nexport function setInvoicesContact(state, data) {\n state.invoicesContact = data;\n}\nexport function setCreditNoteDocuments(state, data) {\n state.creditNoteDocuments = data;\n}\n\nexport function setLoadingServiceRequests(state, value) {\n state.loadingServiceRequests = value;\n}\n\n/**\n *\n * Este mutador se encarga de organizar el\n * historico de los estados por registro\n *\n * @author Kevin Galindo\n */\nexport function setHistoryStateServiceRequest(state) {\n let actual_state = state.selectedServiceRequest.data.actual_state.state;\n let serviceRequest = state.selectedServiceRequest.data;\n let allStatesByType = serviceRequest.type.states;\n let completedStates = serviceRequest.status_history;\n let historyStates = [];\n let historyStatesReturn = [];\n\n // Validamos los estados que ya hayan sido finalizados\n allStatesByType.map((ast, astIndex) => {\n let stateExists = completedStates.find(cp => cp.state.id == ast.id);\n\n // Si existe el estado se agrega la informacion\n if (stateExists) {\n historyStates.push({\n service_requests_status_history_id: stateExists.id,\n id: stateExists.state.id,\n name: stateExists.state.name,\n date: stateExists.date,\n user: stateExists.user,\n observation: stateExists.observation,\n completed: true,\n service_requests_state_id: stateExists.state.service_requests_state_id,\n document: stateExists.document,\n path_file_document: stateExists.path_file_document,\n path_file_document_customer: stateExists.path_file_document_customer,\n path_file_document_reverse: stateExists.path_file_document_reverse\n });\n\n return;\n }\n\n // Si no existe se agrega sin info\n historyStates.push({\n id: ast.id,\n name: ast.name,\n date: \"\",\n user: \"\",\n observation: \"\",\n completed: false,\n service_requests_state_id: ast.service_requests_state_id\n });\n });\n\n // Quitamos los estados\n historyStates.map((hs, indexhs) => {\n if (hs.completed) {\n historyStatesReturn.push(hs);\n return;\n }\n let existSubState = historyStates.find(\n hhs => actual_state.id == hhs.service_requests_state_id\n );\n\n if (existSubState) {\n if (actual_state.id == hs.service_requests_state_id) {\n historyStatesReturn.push(hs);\n }\n } else {\n if (\n actual_state.service_requests_state_id == hs.service_requests_state_id\n ) {\n historyStatesReturn.push(hs);\n }\n }\n });\n\n //Organizamos la informacion\n historyStatesReturn.sort(function(a, b) {\n let keyA = a.id;\n let keyB = b.id;\n\n // Compare the 2 dates\n if (keyA < keyB) return -1;\n if (keyA > keyB) return 1;\n return 0;\n });\n\n // Agregamos la informacion\n state.selectedServiceRequest.historyStates = historyStatesReturn;\n}\n\n/**\n *\n * este metodo se encarga de finalizar\n * la actualizacion de un documento\n *\n * @author Kevin Galindo\n */\nexport function finalizeSelectedServiceRequest(state) {\n state.selectedServiceRequest.observation = \"\";\n}\n\nexport function setResponseCreateRequest(state, data) {\n state.responseCreateRequest = data;\n}\n\n/**\n *\n * este metodo se encarga cambiar el estado del\n * loader del modal\n *\n * @author Kevin Galindo\n */\nexport function setStateLoaderSelectedServiceRequest(state, value) {\n state.selectedServiceRequest.loader = value;\n}\n\n/**\n *\n * este metodo se encarga cambiar el estado del\n * loader de la tabla\n *\n * @author Kevin Galindo\n */\nexport function setStateLoadertableServiceRequests(state, value) {\n state.tableServiceRequests.loader = value;\n}\n\nexport function setDocument(state, id) {\n state.document = document;\n}\n\nexport function setPDf(state, pdf) {\n state.fileName = pdf;\n state.showModalPdf = true;\n}\n\nexport function setShowModalPdf(state, showModalPdf) {\n state.showModalPdf = showModalPdf;\n}\nexport function setServiceRequestsStates(state, serviceRequestsStates) {\n state.serviceRequestsStates = serviceRequestsStates;\n}\n\nexport function setDocumentActualState(state, data) {\n let serviceRequest = state.selectedServiceRequest.data;\n\n const { actual_state, document } = data;\n\n let stateUpdate = serviceRequest.status_history.find(\n hs => hs.state.id === actual_state.state.id\n );\n\n if (stateUpdate) {\n stateUpdate.document = document;\n }\n}\n\nexport function setDefaulrSelectedServiceRequest(state, data) {\n Object.assign(state.selectedServiceRequest, defaultSelectedServiceRequest());\n}\n\nexport function setdoccument_id(state, doccument_id) {\n state.doccument_id = doccument_id;\n}\n\nexport function setTypePhotographicEvidence(state, data) {\n state.typePhotographicEvidence = data;\n}\n\nexport function setPurchaseOptions(state, data) {\n state.purchaseOptions = data;\n}\n\nexport function setListReasonsApprovals(state, data) {\n state.listReasonsApprovals = data;\n}\n\nexport function setListReasonsRejection(state, data) {\n state.listReasonsRejection = data;\n}\n\nexport function setProductsSublineScrap(state, data) {\n state.productsSublineScrap = data;\n}\n\n/*--- PhotographicEvidence CRUD ---*/\nexport function setPhotographicEvidence(state, data) {\n state.photographicEvidences = data;\n}\n\nexport function addPhotographicEvidence(state, item) {\n const type = state.typePhotographicEvidence.find(\n t => t.value === item.type_image_id\n );\n\n const file = validateAndRenameFileDuplicate(state, item.document);\n\n state.photographicEvidences.push({\n ...item,\n document: file,\n document_name: file.name,\n id: shortid.generate(),\n type_image: {\n name_parameter: type.label,\n code_parameter: type.code\n }\n });\n}\n\nfunction validateAndRenameFileDuplicate(state, file) {\n let newFile = file;\n const fileNameFull = file.name;\n const fileName = fileNameFull\n .split(\".\")\n .slice(0, -1)\n .join(\".\");\n const fileType = file.type;\n const fileExtensions =\n fileNameFull.substring(\n fileNameFull.lastIndexOf(\".\"),\n fileNameFull.length\n ) || fileNameFull;\n\n const exists = state.photographicEvidences.filter(\n p => p.document_name === fileNameFull\n );\n\n if (exists.length) {\n let notRepeated = false;\n\n let countRepeated = exists.length;\n const blob = file.slice(0, file.size, fileType);\n do {\n const fileNameNew = `${fileName}(${countRepeated})${fileExtensions}`;\n\n const existsNewFileName = state.photographicEvidences.filter(\n p => p.document_name === fileNameNew\n );\n\n if (existsNewFileName.length === 0) {\n newFile = new File([blob], fileNameNew, { type: fileType });\n notRepeated = true;\n }\n\n countRepeated++;\n } while (!notRepeated);\n }\n\n return newFile;\n}\n\nexport function updatePhotographicEvidence(state, item) {\n const index = state.photographicEvidences.findIndex(p => p.id === item.id);\n\n if (index >= 0) {\n const type = state.typePhotographicEvidence.find(\n t => t.value === item.type_image_id\n );\n\n state.photographicEvidences.splice(index, 1, {\n ...item,\n document_name: item.document.name,\n type_image: {\n name_parameter: type.label,\n code_parameter: type.code\n }\n });\n }\n}\n\nexport function deletePhotographicEvidence(state, item) {\n const index = state.photographicEvidences.findIndex(p => p.id === item.id);\n\n if (index >= 0) {\n state.photographicEvidences.splice(index, 1);\n }\n}\n\n/*--- rotationRefreshmentProducts CRUD ---*/\nexport function setTypesRotationRefreshmentProducts(state, data) {\n state.typesRotationRefreshmentProducts = data;\n}\n\nexport function setRotationRefreshmentProducts(state, data) {\n state.rotationRefreshmentProducts = data;\n}\n\nexport function addRotationRefreshmentProducts(state, item) {\n const type = state.typesRotationRefreshmentProducts.find(\n t => t.value === item.type_id\n );\n\n const product = state.products.find(t => t.id === item.product_id);\n\n state.rotationRefreshmentProducts.push({\n ...item,\n id: shortid.generate(),\n quantity: parseInt(item.quantity),\n product,\n type: {\n name_parameter: type.label\n }\n });\n}\n\nexport function updateRotationRefreshmentProducts(state, item) {\n const index = state.rotationRefreshmentProducts.findIndex(\n p => p.id === item.id\n );\n\n if (index >= 0) {\n const type = state.typesRotationRefreshmentProducts.find(\n t => t.value === item.type_id\n );\n\n const product = state.products.find(t => t.id === item.product_id);\n\n state.rotationRefreshmentProducts.splice(index, 1, {\n ...item,\n product,\n type: {\n name_parameter: type.label\n }\n });\n }\n}\n\nexport function deleteRotationRefreshmentProducts(state, item) {\n const index = state.rotationRefreshmentProducts.findIndex(\n p => p.id === item.id\n );\n\n if (index >= 0) {\n state.rotationRefreshmentProducts.splice(index, 1);\n }\n}\n\nexport function setResponseUploadFilesRequest(state, response) {\n state.responseUploadFilesRequest = response;\n}\n\nexport async function updatePhotographicEvidences(state, data) {\n await Promise.all(\n data.map(item => {\n const index = state.photographicEvidences.findIndex(\n p => p.document_name === item.name\n );\n const itemFound = state.photographicEvidences.find(\n p => p.document_name === item.name\n );\n\n if (index >= 0) {\n state.photographicEvidences.splice(index, 1, {\n ...itemFound,\n path_s3: item.path\n });\n }\n })\n );\n}\n\nexport function setAction(state, value) {\n state.action = value;\n}\n\nexport function setRequest(state, data) {\n state.params = data;\n state.sellers = [data.seller];\n state.contactsWarehouses = [data.contacts_warehouse];\n\n switch (data.service_requests_types_id) {\n case 1:\n state.params.product_id = data.products[0].product_id;\n state.products = data.products.map(({ product }) => product);\n state.photographicEvidences = data.photographic_evidences.map(item => ({\n ...item,\n document_name: item.name,\n path_s3: item.path\n }));\n break;\n case 5:\n state.rotationRefreshmentProducts = data.products;\n break;\n case 6:\n state.params.product_id = data.products[0].product_id;\n state.params.quantity = data.products[0].quantity;\n state.products = data.products.map(({ product }) => product);\n break;\n }\n}\n\nexport function setCities(state, data) {\n state.cities = data;\n}\n\nexport function setVehicleDataByPlate(state, data) {\n state.vehicleDataByPlate = data;\n}\n\nexport function setCreateDocumentCurrentStateError(state, data) {\n state.createDocumentCurrentStateError = data;\n}\n\n/*--- ScrapReceptionProducts CRUD ---*/\nexport function setScrapReceptionProducts(state, data) {\n state.scrapReceptionProducts = data;\n}\n\nexport function addScrapReceptionProducts(state, item) {\n const product = state.productsLineBatteriesScrap.find(\n t => t.id === item.product_id\n );\n\n state.scrapReceptionProducts.push({\n ...item,\n id: shortid.generate(),\n quantity: parseInt(item.quantity),\n product\n });\n}\n\nexport function updateScrapReceptionProducts(state, item) {\n const index = state.scrapReceptionProducts.findIndex(p => p.id === item.id);\n\n if (index >= 0) {\n const product = state.productsLineBatteriesScrap.find(\n t => t.id === item.product_id\n );\n\n state.scrapReceptionProducts.splice(index, 1, {\n ...item,\n product\n });\n }\n}\n\nexport function deleteScrapReceptionProducts(state, item) {\n const index = state.scrapReceptionProducts.findIndex(p => p.id === item.id);\n\n if (index >= 0) {\n state.scrapReceptionProducts.splice(index, 1);\n }\n}\n\n/*--- BatteryMaintenanceForm CRUD ---*/\nexport function setBatteryMaintenanceProducts(state, data) {\n state.batteryMaintenanceProducts = data;\n}\n\nexport function addBatteryMaintenanceProducts(state, item) {\n const product = state.productsLineBatteries.find(\n t => t.id === item.product_id\n );\n\n state.batteryMaintenanceProducts.push({\n ...item,\n id: shortid.generate(),\n quantity: parseInt(item.quantity),\n product\n });\n}\n\nexport function updateBatteryMaintenanceProducts(state, item) {\n const index = state.batteryMaintenanceProducts.findIndex(\n p => p.id === item.id\n );\n\n if (index >= 0) {\n const product = state.productsLineBatteries.find(\n t => t.id === item.product_id\n );\n\n state.batteryMaintenanceProducts.splice(index, 1, {\n ...item,\n product\n });\n }\n}\n\nexport function deleteBatteryMaintenanceProducts(state, item) {\n const index = state.batteryMaintenanceProducts.findIndex(\n p => p.id === item.id\n );\n\n if (index >= 0) {\n state.batteryMaintenanceProducts.splice(index, 1);\n }\n}\n\nexport function setSelectedMails(state, data) {\n state.selectedMails = data;\n}\n\nexport function deleteLastItemSelectedMails(state, data) {\n state.selectedMails = state.selectedMails.pop();\n}\n\nexport function setFetchData(state, value) {\n state.fetchData = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-service/mutations.js","import $http from \"../../axios\";\nimport axios from \"axios\";\nimport { Notification } from \"element-ui\";\nimport { userIsCustomer, userIsSeller } from \"../../util/roleFunctions\";\n\nexport async function getServiceRequests({ state, commit }) {\n //Loader\n commit(\"setDefaulrSelectedServiceRequest\");\n commit(\"setLoadingServiceRequests\", true);\n\n // Sede\n const branchoffice_id = localStorage.selected_branchoffice;\n\n // Parametros\n let params = {\n params: state.tableServiceRequests.params\n };\n\n params.params.branchoffice_id = branchoffice_id;\n\n // Peticion\n await $http\n .get(\"/api/solicitudes-de-servicio\", params)\n .then(response => {\n commit(\"setServiceRequests\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer las solicitudes de servicio.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n\n commit(\"setLoadingServiceRequests\", false);\n}\n\nexport async function updateStateServiceRequest({ state, commit }, payload) {\n // Loader\n commit(\"setStateLoaderSelectedServiceRequest\", true);\n commit(\"setErrorUpdateStatus\", null);\n\n await $http\n .post(\"/api/solicitudes-de-servicio/actualizar-estado\", {\n ...payload,\n emails: state.selectedMails\n })\n .then(async response => {\n let stateServiceRequest = response.data.data;\n await commit(\"setResponseSelectedServiceRequest\", stateServiceRequest);\n\n // await commit(\"setHistoryStateServiceRequest\");\n // await commit(\"finalizeSelectedServiceRequest\");\n })\n .catch(error => {\n commit(\"setErrorUpdateStatus\", error.response.data);\n commit(\"setStateLoaderSelectedServiceRequest\", false);\n state.selectedServiceRequest.stateSelectedUpdate = null;\n });\n}\n\nexport async function pdf(documentid) {}\n\nexport async function createDocumentByStateId({ commit, state }, params) {\n await $http\n .post(\"/api/solicitudes-de-servicio/crear-documento-estado-actual\", {\n ...params,\n emails: state.selectedMails\n })\n .then(response => {\n commit(\"setPathsDocumentsStatus\", response.data.documents);\n commit(\"setSelectedServiceRequest\", response.data.serviceRequest);\n commit(\"setHistoryStateServiceRequest\");\n })\n .catch(error => {\n if (error.response.status === 500) {\n commit(\"setCreateDocumentCurrentStateError\", error.response.data);\n }\n\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setStateLoaderSelectedServiceRequest\", false);\n state.selectedServiceRequest.stateSelectedUpdate = null;\n}\n\nexport async function fetchContacts(\n { commit, state },\n requestParameters = { params: state.paramsquery }\n) {\n await $http\n .get(\"/api/terceros\", requestParameters)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchContactsWarehouse({ commit, state }, data) {\n let user = JSON.parse(localStorage.user);\n // let selected_branchoffice = JSON.parse(localStorage.selected_branchoffice);\n // data.branchoffice_id = selected_branchoffice;\n\n const isSeller = userIsSeller();\n const isCustomer = userIsCustomer();\n\n if (isSeller) {\n data.seller_id = user.contact.id;\n }\n\n if (isCustomer) {\n data.contact_id = user.contact.id;\n }\n\n let params = {\n params: data\n };\n\n await $http\n .get(\"/api/establecimientos-vendedor/no-paginar\", params)\n .then(response => {\n commit(\"setContactsWarehouse\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchTypes({ commit, state }) {\n await $http\n .get(\"/api/lista-tipos-solicitud\")\n .then(response => {\n commit(\"setTypes\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchInvoicesContact({ commit, state }, id) {\n await $http\n .get(`/api/cartera/${id}`)\n .then(response => {\n commit(\"setInvoicesContact\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchCreditNoteDocuments({ commit, state }, id) {\n await $http\n .get(`/api/solicitudes-de-servicio/documentos-notacredito-tercero/${id}`)\n .then(response => {\n commit(\"setCreditNoteDocuments\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateStateHistoryById({ commit, state }, data) {\n await $http\n .post(\n `/api/solicitudes-de-servicio/actualizar-estado/${data.id}`,\n data.data\n )\n .then(response => {})\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchsellers({ commit, state }, text) {\n let params = { filter: text };\n await $http\n .get(\"/api/lista-vendedores\", { params })\n .then(response => {\n commit(\"setSellers\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function searchProducts({ state, commit }, filter) {\n let params = state.paramsProduct;\n\n params.filter = filter;\n params.paginate = false;\n params.branchoffice_id = localStorage.selected_branchoffice;\n params.branchoffice_warehouse_id =\n localStorage.selected_branchoffice_warehouse;\n\n if (\n state.selectedServiceRequest.stateSelectedUpdate &&\n state.selectedServiceRequest.stateSelectedUpdate.id == 10\n ) {\n params.code_line_filter = \"050\";\n params.branchoffice_warehouse_code = \"02\";\n } else {\n params.code_line_filter = \"\";\n params.branchoffice_warehouse_code = \"\";\n }\n\n if ([1, 6].includes(state.params.service_requests_types_id)) {\n params.code_line_filter = \"010\";\n }\n\n await $http.get(\"/api/lista-productos\", { params }).then(response => {\n commit(\"setProducts\", response.data.data.data);\n });\n}\n\nexport async function searchProductsLineBatteries({ state, commit }, filter) {\n let params = { ...state.paramsProduct };\n\n params.filter = filter;\n params.paginate = false;\n params.branchoffice_id = localStorage.selected_branchoffice;\n params.branchoffice_warehouse_id =\n localStorage.selected_branchoffice_warehouse;\n params.code_line_filter = \"010\";\n\n await $http.get(\"/api/lista-productos\", { params }).then(response => {\n commit(\"setProductsLineBatteries\", response.data.data.data);\n commit(\"setProducts\", response.data.data.data);\n });\n}\n\nexport async function searchProductsLineBatteriesScrap(\n { state, commit },\n filter\n) {\n let params = { ...state.paramsProduct };\n\n params.filter = filter;\n params.paginate = false;\n params.branchoffice_id = localStorage.selected_branchoffice;\n params.branchoffice_warehouse_id =\n localStorage.selected_branchoffice_warehouse;\n params.code_line_filter = \"050\";\n\n await $http.get(\"/api/lista-productos\", { params }).then(response => {\n commit(\"setProductsLineBatteriesScrap\", response.data.data.data);\n });\n}\n\nexport async function searchProductsLineBatteriesAndScrap(\n { state, commit },\n filter\n) {\n let params = state.paramsProduct;\n\n params.filter = filter;\n params.paginate = false;\n params.branchoffice_id = localStorage.selected_branchoffice;\n params.branchoffice_warehouse_id =\n localStorage.selected_branchoffice_warehouse;\n params.code_line_filter = \"010\";\n\n await $http\n .get(\"/api/lista-productos\", {\n params: { ...params, desc_subline_filter: \"CHATARRA\" }\n })\n .then(response => {\n commit(\"setProductsSublineScrap\", response.data.data.data);\n });\n}\n\n// export async function searchProductsLineWarranties({ state, commit }, filter) {\n\n// let params = state.paramsProduct;\n\n// params.filter = filter;\n// params.paginate = false;\n// params.branchoffice_id = localStorage.selected_branchoffice;\n// params.branchoffice_warehouse_id =\n// localStorage.selected_branchoffice_warehouse;\n// params.code_line_filter = \"010\";\n\n// await $http.get(\"/api/lista-productos\", { params }).then(response => {\n// commit(\"setProducts\", response.data.data.data);\n// });\n\n// }\n\nexport async function createRequest({ state, commit }) {\n await $http\n .post(\"/api/solicitudes-de-servicio/crear\", {\n ...state.params,\n branchoffice_id: localStorage.selected_branchoffice,\n emails: state.selectedMails\n })\n .then(response => {\n commit(\"resetFormRequestService\");\n commit(\"setResponseCreateRequest\", response.data.data);\n Notification.success({\n title: \"Exito!\",\n message: \"Registro Creado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(() => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al crear el registro.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateRequest({ state, commit }) {\n await $http\n .put(`/api/solicitudes-de-servicio/${state.params.id}`, {\n ...state.params\n })\n .then(() => {\n commit(\"resetFormRequestService\");\n Notification.success({\n title: \"Exito!\",\n message: \"Registro Actualizado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(() => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al crear el registro.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function uploadFilesRequest({ state, commit }, files) {\n let formData = new FormData();\n files.forEach(file => {\n formData.append(\"files[]\", file);\n });\n\n await $http\n .post(\"/api/solicitudes-de-servicio/cargar-archivos\", formData)\n .then(response => {\n commit(\"setResponseUploadFilesRequest\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al crear el registro.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function requestServiceReplacePhotographicEvidence(\n { state, commit },\n payload\n) {\n await $http\n .put(\n \"/api/actualizar-evidencia-fotografica/solicitudes-de-servicio\",\n payload\n )\n .then(response => {\n commit(\"setReplacePhotographicEvidence\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al crear el registro.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchRequestById({ commit }, id) {\n await $http\n .get(`/api/solicitudes-de-servicio/${id}`)\n .then(response => {\n commit(\"setRequest\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la solicitud.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchVehicleDataByPlate({ commit }, plate) {\n await $http\n .get(`/api/solicitudes-de-servicio/verifik/detalles-vehiculo/${plate}`)\n .then(response => {\n commit(\"setVehicleDataByPlate\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la solicitud.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Este metodo trae los estados por tipo de solicitud\n *\n * @author Kevin Galindo\n */\nexport async function getStateByServiceRequestType(\n { commit },\n service_requests_type_id\n) {\n let params = {\n params: {\n service_requests_type_id: service_requests_type_id\n }\n };\n\n await $http\n .get(\"/api/estados-por-solicitud-de-servicio\", params)\n .then(response => {\n commit(\"setServiceRequestsStates\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer tipos de solicitudes de servicio.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchTypePhotographicEvidence({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.typePhotographicEvidence.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"210\", paginate: false } },\n { root: true }\n );\n commit(\n \"setTypePhotographicEvidence\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function fetchTypesRotationRefreshmentProducts({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.typesRotationRefreshmentProducts.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"220\", paginate: false } },\n { root: true }\n );\n commit(\n \"setTypesRotationRefreshmentProducts\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function fetchPurchaseOptions({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.purchaseOptions.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"230\", paginate: false } },\n { root: true }\n );\n commit(\n \"setPurchaseOptions\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter, code: p.code_parameter };\n });\n}\n\n// Obtiene las ciudades\nexport async function fetchCities({ dispatch, state, rootState, commit }) {\n if (!state.cities.length) {\n await dispatch(\n \"cities/fetchCities\",\n { params: { department_id: null } },\n { root: true }\n );\n commit(\"setCities\", rootState.cities.cities);\n }\n}\n\nexport async function fetchListReasonsApprovals({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.listReasonsApprovals.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"S-138\", paginate: false } },\n { root: true }\n );\n commit(\n \"setListReasonsApprovals\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function fetchListReasonsRejection({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.listReasonsRejection.length) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"S-139\", paginate: false } },\n { root: true }\n );\n commit(\n \"setListReasonsRejection\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function createReverseApprovalDocument({ commit }, obj) {\n if (obj) {\n await $http\n .post(\"/api/solicitudes-de-servicio/reversar-documento\", obj)\n .then(response => {\n commit(\"setPathsDocumentsStatus\", response.data.documents);\n commit(\"setSelectedServiceRequest\", response.data.serviceRequest);\n commit(\"setHistoryStateServiceRequest\");\n })\n .catch(error => {\n commit(\"setErrorUpdateStatus\", error.response.data);\n });\n }\n}\n\nexport async function downloadDocument({ state }, data) {\n // const { url, name } = data;\n // axios({\n // url, //your url\n // method: \"GET\",\n // responseType: \"blob\" // important\n // }).then(response => {\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"file.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n // });\n}\n\nexport async function searchDocumentNc({ commit, state }, params) {\n await $http\n .get(\"/api/documento/buscar/\", {\n params\n })\n .then(response => {\n commit(\"setCreditNoteDocuments\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al buscar el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function simpleUpdateServiceRequestById({ commit, state }, data) {\n await $http\n .post(\n `/api/solicitudes-de-servicio/actualizar-solicitud/${data.id}`,\n data.data\n )\n .then(response => {})\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-service/actions.js","export function isActionCreate(state) {\n return state.action === \"create\";\n}\n\nexport function isActionEdit(state) {\n return state.action === \"edit\";\n}\nexport function isActionUpdateState(state) {\n return state.action === \"update-state\";\n}\nexport function isActionIncome(state) {\n return state.action === \"income\";\n}\n\nexport function isBatteryMaintenanceTransfer(state) {\n return state.action === \"battery-maintenance-transfer\";\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-service/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/request-service/index.js","import moment from \"moment/moment\";\n\nexport function setFormBankStatement(state, data) {\n state.formBankStatement = {\n ...state.formBankStatement,\n ...data\n };\n}\n\nexport function setFormBankConciliation(state, data) {\n state.formBankConciliation = {\n ...state.formBankConciliation,\n ...data\n };\n}\n\nexport function setAccounts(state, data) {\n state.accounts = data;\n}\n\nexport function setDataBankConciliation(state, data) {\n const documentTransactions = data.documentTransactions;\n const newDocumentTransactions = documentTransactions.map(item => ({\n ...item,\n cod_contact_transaction: item.contact.identification\n }));\n state.dataBankConciliation = {\n ...data,\n documentTransactions: newDocumentTransactions\n };\n}\n\nexport function setFormBankStatementResponse(state, data) {\n state.formBankStatementResponse = data;\n}\n\nexport function setFormBankStatementLoading(state, value) {\n state.formBankStatementLoading = value;\n}\n\nexport function setDataBankConciliationLoading(state, value) {\n state.dataBankConciliationLoading = value;\n}\n\nexport function setBankConciliationOperTransactions(state, data) {\n state.bankConciliationOperTransactions = {\n ...state.bankConciliationOperTransactions,\n ...data\n };\n}\n\nexport function setBankConciliationTransactionsDetail(state, value) {\n state.bankConciliationTransactionsDetail = value;\n}\n\nexport function setBankConciliationStatus(state, value) {\n state.bankConciliationStatus = value;\n}\n\nexport function setDataBankConciliationTransactions(state, data) {\n state.dataBankConciliationTransactions = data;\n}\n\nexport function setGenerateBankConciliationResponse(state, data) {\n state.generateBankConciliationResponse = data;\n}\n\nexport function orderByItemBankDocumentTransactions(state, params) {\n const {\n items = [],\n keyTable,\n prioritySelected = false,\n totalValue = 0\n } = params;\n\n const item = items[0];\n\n console.log(\"state.dataBankConciliation :>> \", state.dataBankConciliation);\n\n // Reset data\n if (keyTable === \"bankConcilOper\") {\n state.dataBankConciliation.bankConcilOper = state.dataBankConciliation.bankConcilOper.map(\n item => ({\n ...item,\n isSort: false,\n isEqualValue: false\n })\n );\n } else {\n state.dataBankConciliation.documentTransactions = state.dataBankConciliation.documentTransactions.map(\n item => ({\n ...item,\n isSort: false,\n isEqualValue: false\n })\n );\n }\n\n const tableUpdateKey =\n keyTable === \"bankConcilOper\"\n ? \"documentTransactions\"\n : \"bankConcilOper\";\n\n const data = state.dataBankConciliation[tableUpdateKey];\n let keysPropObj = {\n date: \"oper_date\",\n type: \"tran_type\",\n value: \"oper_value\",\n cod_contact: \"cod_contact\"\n };\n let keysPropArr = {\n date: \"document_date\",\n type: \"transactions_type\",\n value: \"operation_value\",\n cod_contact: \"cod_contact_transaction\"\n };\n\n if (keyTable === \"documentTransactions\") {\n keysPropObj = {\n date: \"document_date\",\n type: \"transactions_type\",\n value: \"operation_value\",\n cod_contact: \"cod_contact\"\n };\n keysPropArr = {\n date: \"oper_date\",\n type: \"tran_type\",\n value: \"oper_value\",\n cod_contact: \"cod_contact\"\n };\n }\n\n const dataSortVal = data.map(d => {\n let isSort = false;\n let isEqualValue = d[keysPropArr.value] == totalValue;\n\n if (d[keysPropArr.type] === item[keysPropObj.type]) {\n isSort = true;\n }\n\n if (d[keysPropArr.cod_contact] === item[keysPropObj.cod_contact]) {\n isSort = true;\n }\n\n return {\n ...d,\n isSort,\n isEqualValue: isSort && isEqualValue\n };\n });\n\n const data1 = dataSortVal.filter(item => item.isSort);\n const data2 = dataSortVal.filter(item => !item.isSort);\n\n data1.sort((a, b) => {\n const diffValorA = Math.abs(\n a[keysPropArr.value] - item[keysPropObj.value]\n );\n const diffValorB = Math.abs(\n b[keysPropArr.value] - item[keysPropObj.value]\n );\n\n const diffDateA = Math.abs(\n moment(a[keysPropArr.date])\n .startOf(\"day\")\n .diff(moment(item[keysPropObj.date]).startOf(\"day\"))\n );\n const diffDateB = Math.abs(\n moment(b[keysPropArr.date])\n .startOf(\"day\")\n .diff(moment(item[keysPropObj.date]).startOf(\"day\"))\n );\n\n if (diffValorA !== diffValorB) {\n return diffValorA - diffValorB;\n }\n\n if (item.cod_contact) {\n const isCodContactMatchA =\n a[keysPropArr.cod_contact] === item[keysPropObj.cod_contact];\n const isCodContactMatchB =\n b[keysPropArr.cod_contact] === item[keysPropObj.cod_contact];\n\n if (\n isCodContactMatchA &&\n a[keysPropArr.value] === item[keysPropObj.value]\n ) {\n return 0;\n } else if (isCodContactMatchA) {\n return -1;\n } else if (isCodContactMatchB) {\n return 1;\n }\n }\n\n return diffDateA - diffDateB;\n });\n\n data2.sort((a, b) => {\n return a[keysPropArr.value] - b[keysPropArr.value];\n });\n\n data2.sort((a, b) => {\n if (a[keysPropArr.type] !== b[keysPropArr.type]) {\n if (a[keysPropArr.type] === item[keysPropObj.type]) return -1;\n if (b[keysPropArr.type] === item[keysPropObj.type]) return 1;\n\n return a[keysPropArr.type].localeCompare(b[keysPropArr.type]);\n }\n\n const diffA = Math.abs(a[keysPropArr.value] - totalValue);\n const diffB = Math.abs(b[keysPropArr.value] - totalValue);\n\n if (diffA < diffB) return -1;\n if (diffA > diffB) return 1;\n\n return 0;\n });\n\n setDataBankConciliationSelectedPriority(state, {\n data: { [tableUpdateKey]: data1.concat(data2) },\n prioritySelected\n });\n}\n\nexport function setDataBankConciliationSelectedPriority(state, params) {\n const { data, prioritySelected } = params;\n\n if (prioritySelected) {\n const dataReorder = {\n ...state.dataBankConciliation,\n ...data\n };\n\n const {\n informationExtract,\n accountingInformation\n } = state.bankConciliationOperTransactions;\n\n const informationExtractIds = informationExtract.map(item => item.id);\n const accountingInformationIds = accountingInformation.map(\n item => item.id\n );\n\n const bankConcilOperSelected = dataReorder.bankConcilOper\n .filter(item => informationExtractIds.includes(item.id))\n .slice();\n const documentTransactionsSelected = dataReorder.documentTransactions.filter(\n item => accountingInformationIds.includes(item.id)\n );\n\n const bankConcilOperNotSelected = dataReorder.bankConcilOper.filter(\n item => !informationExtractIds.includes(item.id)\n );\n const documentTransactionsNotSelected = dataReorder.documentTransactions.filter(\n item => !accountingInformationIds.includes(item.id)\n );\n\n bankConcilOperSelected.sort((a, b) => a.id - b.id);\n documentTransactionsSelected.sort((a, b) => a.id - b.id);\n\n const bankConcilOper = [\n ...bankConcilOperSelected,\n ...bankConcilOperNotSelected\n ];\n\n const documentTransactions = [\n ...documentTransactionsSelected,\n ...documentTransactionsNotSelected\n ];\n\n const bankConcilOperUnique = bankConcilOper.filter(\n (item, index, self) =>\n index === self.findIndex(obj => obj.id === item.id)\n );\n\n const documentTransactionsUnique = documentTransactions.filter(\n (item, index, self) =>\n index === self.findIndex(obj => obj.id === item.id)\n );\n\n state.dataBankConciliation = {\n bankConcilOper: bankConcilOperUnique,\n documentTransactions: documentTransactionsUnique\n };\n } else {\n const dataReorder = {\n ...state.dataBankConciliation,\n ...data\n };\n\n state.dataBankConciliation = dataReorder;\n }\n}\n\nexport function setBankReconciliationReport(state, data) {\n state.bankReconciliationReport = data;\n}\n\nexport function setBankReconciliationReportResponse(state, data) {\n state.bankReconciliationReportResponse = data;\n}\n\nexport function setAuxiliaryAccounts(state, data) {\n state.auxiliary_accounts = data;\n}\n\nexport function setDataVoucherTransaction(state, data) {\n if (data.debit_credit === \"C\") {\n state.voucherPayload.total_credit = data.value;\n } else {\n state.voucherPayload.total_debit = data.value;\n }\n state.voucherPayload.document_transaction = data;\n}\n\nexport function setConsecutive(state, consecutive) {\n let consecutive_number = consecutive.consecutive_number + 1;\n state.voucherPayload.no_doc = consecutive_number.toString();\n state.voucherPayload.prefix = consecutive.prefix;\n}\n\nexport function updateVoucherPayload(state, document_transaction) {\n let transaction = document_transaction;\n transaction.id_document_transactions = document_transaction.id;\n transaction.value = document_transaction.operation_value;\n transaction.debit_credit = document_transaction.transactions_type;\n transaction.observation = document_transaction.observations\n ? document_transaction.observations\n : document_transaction.observation\n ? document_transaction.observation\n : state.voucherPayload.document_transaction.observation;\n\n state.voucherPayload.document_id = document_transaction.document_id;\n state.voucherPayload.prefix = document_transaction.document\n ? document_transaction.document.prefix\n : null;\n state.voucherPayload.consecutive = document_transaction.document\n ? document_transaction.document.consecutive\n : null;\n state.voucherPayload.document_transactions.push(transaction);\n}\n\nexport function setFinalizeVoucher(state, data) {\n state.show_pdf = true;\n state.file_name = data.accounting_link;\n}\nexport function clearParamsModalTransaction(state, data) {\n state.show_pdf = false;\n state.file_name = \"\";\n state.voucherPayload = {\n branchoffice_id: null,\n voucherType_id: null,\n no_doc: null,\n prefix: null,\n date: \"\",\n contact_id: null,\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n observation: \"\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n ids_conciliation: []\n };\n}\n\nexport function setIdsConciliation(state, data) {\n state.voucherPayload.ids_conciliation = data;\n}\n\nexport function setModalloading(state, data) {\n state.voucherPayload.modal_loading = data;\n}\nexport function setConsignedData(state, data) {\n state.payload.update_document_payments_methods.push(data);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate-bank-statement/mutations.js","export function getReconciledTotal(state) {\n /*if (state.isBankConciliationDone) {\n return null;\n }*/\n\n let total = 0;\n const informationExtract =\n state.bankConciliationOperTransactions.informationExtract;\n const accountingInformation =\n state.bankConciliationOperTransactions.accountingInformation;\n\n const sum1 = informationExtract.reduce((accumulator, currentValue) => {\n const value = parseFloat(currentValue.oper_value);\n if (!isNaN(value)) {\n return accumulator + value;\n }\n return accumulator;\n }, 0);\n\n const sum2 = accountingInformation.reduce((accumulator, currentValue) => {\n const value = parseFloat(currentValue.operation_value);\n if (!isNaN(value)) {\n return accumulator + value;\n }\n return accumulator;\n }, 0);\n\n if (sum1 >= sum2) {\n total = sum1 - sum2;\n } else {\n total = sum2 - sum1;\n }\n\n return Math.floor(total);\n}\n\nexport function isBankConciliationDone(state) {\n return state.bankConciliationStatus === \"conciliados\";\n}\n\nexport function btnIsBankConciliationSuccess(state, getters) {\n const {\n informationExtract,\n accountingInformation\n } = state.bankConciliationOperTransactions;\n\n return (\n !getters.isBankConciliationDone &&\n informationExtract.length > 0 &&\n accountingInformation.length > 0 &&\n getters.getReconciledTotal === 0\n );\n}\nexport function btnIsBankDesConciliationSuccess(state, getters) {\n const {\n informationExtract,\n accountingInformation\n } = state.bankConciliationOperTransactions;\n\n return (\n getters.isBankConciliationDone &&\n (informationExtract.length > 0 || accountingInformation.length > 0)\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate-bank-statement/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate-bank-statement/index.js","export default {\n formBankStatementLoading: false,\n formBankStatement: {\n account_id: null,\n year_month: null,\n file: null\n },\n formBankConciliation: {\n account_id: null,\n year_month: null,\n state: \"pendientes\",\n optionsGenerate: [\"value\", \"date\"],\n delete_items: null\n },\n accounts: [],\n formBankStatementResponse: {},\n dataBankConciliation: {\n bankConcilOper: [],\n documentTransactions: []\n },\n dataBankConciliationLoading: false,\n bankConciliationOperTransactions: {\n informationExtract: [],\n accountingInformation: []\n },\n bankConciliationTransactionsDetail: false,\n bankConciliationStatus: null,\n dataBankConciliationTransactions: {\n bankConcilOper: [],\n documentTransactions: []\n },\n generateBankConciliationResponse: null,\n bankReconciliationReport: {\n form: {\n description: \"\"\n }\n },\n bankReconciliationReportResponse: {},\n auxiliary_accounts: [],\n voucherPayload: {\n branchoffice_id: null,\n voucherType_id: null,\n no_doc: null,\n prefix: null,\n date: \"\",\n contact_id: null,\n observation: \"GASTOS FINANCIEROS\",\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n observation: \"GASTOS FINANCIEROS\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n ids_conciliation: [],\n modal_loading: false\n },\n\n show_pdf: false,\n file_name: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate-bank-statement/state.js","export function setFormIncorporationConsumption(state, data) {\n state.formIncorporationConsumption = {\n ...state.formIncorporationConsumption,\n ...data\n };\n}\n\nexport function setFormIncorporationUsersConsumption(state, data) {\n state.formIncorporationConsumption = {\n ...state.formIncorporationConsumption,\n ...data\n };\n}\n\nexport function setFormBankConciliation(state, data) {\n state.formBankConciliation = {\n ...state.formBankConciliation,\n ...data\n };\n}\n\nexport function setDataBankConciliation(state, data) {\n state.dataBankConciliation = data;\n}\n\nexport function setFormIncorporationConsumptionLoading(state, value) {\n state.formIncorporationConsumptionLoading = value;\n}\n\nexport function setDocuments(state, data) {\n state.documents = data.map(item => {\n const sumTotalValue = item.documents_products.reduce(\n (acc, product) => {\n return (\n acc + (parseFloat(product.total_value) || 0)\n );\n },\n 0\n );\n\n return {\n ...item,\n total_value: sumTotalValue\n }\n });\n}\n\nexport function setDocumentsByUserIdLoading(state, value) {\n state.documentsByUserIdLoading = value;\n}\n\nexport function setSubscriber(state, value) {\n state.subscriber = value;\n}\n\nexport function setContacts(state, value) {\n state.contacts = value;\n}\n\nexport function setContact(state, value) {\n state.selectedContact = value;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporation-consumption/mutations.js","import moment from \"moment\";\nimport $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function importIncorporationConsumption({ state, commit }) {\n const formData = new FormData();\n\n Object.entries(state.formIncorporationConsumption).forEach(\n ([key, value]) => {\n formData.append(key, value);\n }\n );\n\n commit(\"setFormIncorporationConsumptionLoading\", true);\n\n await $http\n .post(\"/api/incorporation-consumption/import\", formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n })\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n commit(\"setFormIncorporationConsumption\", {\n account_id: null,\n file: null\n });\n commit(\"setFormIncorporationConsumptionLoading\", false);\n })\n .catch(error => {\n commit(\"setFormIncorporationConsumptionLoading\", false);\n });\n}\n\nexport async function importIncorporationUsersConsumption({ state, commit }) {\n const formData = new FormData();\n\n Object.entries(state.formIncorporationUsersConsumption).forEach(\n ([key, value]) => {\n formData.append(key, value);\n }\n );\n\n commit(\"setFormIncorporationConsumptionLoading\", true);\n\n await $http\n .post(\"/api/incorporation-users-consumption/import\", formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n })\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n commit(\"setFormIncorporationUsersConsumption\", {\n account_id: null,\n file: null\n });\n commit(\"setFormIncorporationConsumptionLoading\", false);\n })\n .catch(error => {\n commit(\"setFormIncorporationConsumptionLoading\", false);\n });\n}\n\nexport async function getBankConciliation({ state, commit }) {\n commit(\"setDataBankConciliationLoading\", true);\n await $http\n .get(\"/api/incorporate-bank-statement/bank-conciliation\", {\n params: state.formBankConciliation\n })\n .then(response => {\n commit(\"setDataBankConciliation\", response.data.data);\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", false);\n commit(\n \"setBankConciliationStatus\",\n state.formBankConciliation.state\n );\n })\n .catch(error => {\n commit(\"setDataBankConciliationLoading\", false);\n commit(\"setBankConciliationTransactionsDetail\", false);\n commit(\"setBankConciliationStatus\", null);\n\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function getDocumentsByUserId({ state, commit }, contact_id) {\n commit(\"setDocumentsByUserIdLoading\", true);\n\n const date = !state.reportConsumptionForm.date\n ? moment().format(\"yyyyMM\")\n : state.reportConsumptionForm.date;\n\n const params = {\n ...state.reportConsumptionForm,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse,\n date,\n contact_id\n };\n\n await $http\n .get(\"/api/incorporation-consumption/documents\", { params })\n .then(response => {\n commit(\"setDocuments\", response.data.data);\n commit(\"setDocumentsByUserIdLoading\", false);\n })\n .catch(error => {\n commit(\"setDocumentsByUserIdLoading\", false);\n\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la informacion.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.error(error);\n });\n}\n\nexport async function getSubscriberById({ commit }, id) {\n await $http\n .get(`/api/suscriptores/${id}`)\n .then(response => {\n commit(\"setSubscriber\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchContacts({ commit, state }, filter) {\n const params = {\n pagination: false,\n is_customer: true,\n filter\n };\n await $http\n .get(\"/api/terceros-lite\", { params })\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getContact({ commit, state }, id) {\n commit(\"setDocumentsByUserIdLoading\", true);\n\n await $http\n .get(`/api/incorporation-consumption/contact/${id}`)\n .then(response => {\n commit(\"setContact\", response.data);\n commit(\"setDocumentsByUserIdLoading\", false);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setDocumentsByUserIdLoading\", false);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporation-consumption/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporation-consumption/index.js","export default {\n formIncorporationConsumptionLoading: false,\n formIncorporationConsumption: {\n account_id: null,\n year_month: null,\n file: null\n },\n formIncorporationUsersConsumption: {\n file: null\n },\n formBankConciliation: {\n account_id: null,\n year_month: null,\n state: null\n },\n accounts: [],\n formIncorporationConsumptionResponse: {},\n dataBankConciliation: {\n bankConcilOper: [],\n documentTransactions: []\n },\n dataBankConciliationLoading: false,\n bankConciliationOperTransactions: {\n informationExtract: [],\n accountingInformation: []\n },\n bankConciliationTransactionsDetail: false,\n bankConciliationStatus: null,\n documentsByUserIdLoading: false,\n documents: [],\n reportConsumptionForm: {\n date: null\n },\n subscriber: null,\n contacts: [],\n selectedContact: {\n customer: {\n credit_quota: 0\n }\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporation-consumption/state.js","export function setLines (state, lines) {\n state.lines = lines \n}\nexport function setSubLines (state, sub_lines) {\n state.sub_lines = sub_lines \n}\nexport function setDiscounts (state, discounts_soon_payment) {\n state.discounts_soon_payment = discounts_soon_payment \n}\nexport function setDiscount (state, discount_soon_payment) {\n state.discount_soon_payment = discount_soon_payment \n}\n\n\n\nexport function setBranchoffices (state, branchoffices) {\n state.branchoffices = branchoffices \n}\n\nexport function setBrands(state, brands) {\n state.brands=brands;\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-soon-payment/mutations.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchLines ({ commit, state }) {\n \n await $http.get('/api/lista-lineas')\n .then((response) => {\n commit('setLines', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchSubLines ({ commit, state }, line) {\n await $http.get(`/api/lista-sublineas?lines=${line}`)\n .then((response) => {\n commit('setSubLines', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function createDiscount ({ commit, state }, params) {\n \n await $http.post('/api/crear-descuento-pronto-pago', params)\n .then((response) => { \n \n Notification.success({\n title: 'Hecho!',\n message: 'Se ha registrado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchDiscounts ({ commit, state }) {\n \n await $http.get('/api/lista-descuentos-pronto-pago')\n .then((response) => {\n commit('setDiscounts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function fetchDiscount ({ commit, state }, id) {\n \n await $http.get(`/api/descuento-pronto-pago/${id}`)\n .then((response) => {\n commit('setDiscount', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function updateDiscount ({ commit, state }, params) {\n \n await $http.put('/api/actualizar-descuento-pronto-pago', params)\n .then((response) => {\n Notification.success({\n title: 'Hecho!',\n message: 'Se ha actualizado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\nexport async function deleteDiscount ({ commit, state }, id) { \n await $http.delete('/api/eliminar-descuento-pronto-pago/'+id, )\n .then((response) => { \n Notification.success({\n title: 'Hecho!',\n message: 'Se ha Eliminado correctamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n \n}\n\n\nexport async function getBranchs({commit}){\n await $http.get('/api/branchs').then((response)=>{\n commit('setBranchoffices',response.data.data);\n }).catch((error)=>{\n console.log(error);\n })\n}\n\nexport async function getBrands({commit}){\n await $http.get('/api/lista-marcas').then((response)=>{\n \n commit('setBrands',response.data);\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-soon-payment/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-soon-payment/index.js","export default {\n discount_soon_payment: null,\n discounts_soon_payment: [],\n lines: [],\n brands:[],\n sub_lines: [],\n branchoffices: [],\n params: {\n branchoffice_id: null,\n line: null,\n sub_line: null,\n days_up: null,\n percentage: null,\n brand_id:null\n }\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/discount-soon-payment/state.js","export const defaultAutomaticPortfolioDelivery = () => {\n\n return {\n expiration_days_from: null,\n expiration_days_until: null,\n frecuency: null,\n time: null,\n pre_legal_charge: null,\n }\n}\n\n\n\nexport default {\n response: false,\n portfolio: [],\n copyPortfolio: [],\n automaticPortfolioDelivery: defaultAutomaticPortfolioDelivery(),\n params:{\n perPage:1,\n page:1\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/automatic_portfolio_delivery/state.js","import $http from '../../axios'\nimport { Notification } from 'element-ui'\n\n\n\nexport async function create({ commit, }, params) {\n\n await $http.post('/api/automatic-portfolio-delivery', params).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La configuracion ha sido creada correctamente ',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).catch(\n (response) => {\n commit('setResponse', false);\n }\n )\n\n}\n\n\nexport async function getPortfolioShipments({ commit, state }) {\n await $http.get('/api/automatic-portfolio-delivery',).then((response) => {\n commit('setCopyData',JSON.parse(JSON.stringify(response.data)));\n commit('setData', response.data);\n }).catch((error) => {\n })\n}\n\n\nexport async function deletePortfolioShipments({ commit, state }, id) {\n\n await $http.delete(`/api/automatic-portfolio-delivery/${id}`).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La configuracion ha sido eliminada ',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch();\n}\n\n\nexport async function updatePortfolioShipments({ commit, dispatch, state }, params) {\n\n await $http.put(`/api/automatic-portfolio-delivery/${params.id}`, params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La configuración ha sido actualizada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('getPortfolioShipments')\n }).catch((error) => {\n }\n\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/automatic_portfolio_delivery/actions.js","import { defaultAutomaticPortfolioDelivery } from './state'\n\n\n\nexport function setResponse(state, value) {\n state.response = value;\n\n}\n\nexport function setData(state, value1) {\n state.portfolio = value1;\n}\n\nexport function setCopyData(state, value) {\n state.copyPortfolio = value;\n}\n\n\nexport function setAutomaticPortfolioDelivery(state) {\n state.automaticPortfolioDelivery = defaultAutomaticPortfolioDelivery;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/automatic_portfolio_delivery/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/automatic_portfolio_delivery/index.js","export function setVouchersTypes(state, vouchertype) {\n state.voucherTypes = vouchertype\n}\nexport function setBranchOffice(state , branchOffice) {\n state.paramsVoucherType.branchoffice = branchOffice\n}\nexport function setBranchOffices(state , branchOffices) {\n state.branchOffices = branchOffices\n}\nexport function setTemplates(state , templates) {\n state.templates = templates\n}\nexport function setTemplatesExclude(state , templates) {\n state.templates_exlude = templates\n}\nexport function setLines(state, lines){\n state.lines = lines\n}\nexport function setGroups(state, sublines){\n state.sublines = sublines\n}\nexport function setBrands(state, brands){\n state.brands = brands\n}\nexport function setSubbrands(state, subbrands){\n state.subbrands = subbrands\n}\nexport function setProducts(state, products){\n state.products = products\n}\nexport function setContacts(state, contacts){\n state.contacts = contacts\n}\nexport function setDepartaments(state, departaments) {\n state.departaments = departaments\n}\nexport function setCities(state, cities) {\n state.cities = cities\n}\nexport function setSellers(state, sellers) {\n state.sellers = sellers\n}\nexport function settypes_operations(state,types_operations){\n state.types_operations = types_operations\n}\nexport function setBranchofficeWarehousesEntry(state, branchofficeWarehouses){\n state.branchofficeWarehouses = branchofficeWarehouses\n}\nexport function setLoading(state, loading){\n state.loading = loading\n}\n\nexport function setReportData(state,data){\n state.report_data = data\n}\n\n/*\n Limpiar todos los filtros que tiene y los datos del reporte.\n */\nexport function clearParams (state) {\n state.report_data = [];\n Object.assign(state.params, {\n date : null,\n voucherType : null,\n branchOffice : null,\n template : null,\n filter_lines: [],\n filter_sublines : [],\n filter_brands : [],\n filter_subbrands: [],\n product:[],\n contact : [],\n departament : [],\n city:[],\n seller:[],\n name_file:null,\n detailed_by_product:1,\n type_operations:[],\n f_exclude_lines:null,\n f_exclude_template:null,\n branchoffice_warehouse: null,\n include_prod_excludes:0,\n is_combo:0,\n\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/operations-report/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/operations-report/index.js","export default {\n loading : false,\n types_operations:[],\n params: {\n date : null,\n voucherType : null,\n branchOffice : null,\n template : null,\n filter_lines: [],\n filter_sublines : [],\n filter_brands : [],\n filter_subbrands: [],\n product:[],\n contact : [],\n departament : [],\n city:[],\n seller:[],\n name_file:null,\n detailed_by_product:1,\n type_operations:[],\n f_exclude_lines:null,\n f_exclude_template:null,\n branchoffice_warehouse: null,\n include_prod_excludes:0,\n is_combo:0,\n date_generate: null,\n},\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n paramsVoucherType:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n paramstemplates:{\n perPage: 1000,\n sortBy: 'id',\n sort: 'ASC',\n paginate : true,\n filter : null,\n },\n paramstemplates_exclude:{\n perPage: 1000,\n sortBy: 'id',\n sort: 'ASC',\n paginate : true,\n filter : null,\n },\n voucherTypes : [],\n branchOffices : [],\n templates :[],\n templates_exlude:[],\n lines :[],\n sublines :[],\n brands :[],\n subbrands :[],\n products:[],\n contacts:[],\n departaments:[],\n cities:[],\n sellers:[],\n branchofficeWarehouses:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n report_data:[]\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/operations-report/state.js","export const roleDefault = () => {\n return {\n id: null,\n name: null,\n costs: null,\n stocks: null,\n permissions: []\n }\n}\n\nexport default {\n role: roleDefault(),\n permissions: [],\n categories: [],\n categories_specials: {\n selected:null,\n },\n permissions_specials: [],\n category: {\n selected:null\n },\n copyPermissions: [],\n roles: [],\n actionForm: 'create',\n users:[],\n params: {\n page: 1,\n perPage: 15,\n name:''\n\n },\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/roles/state.js","import { roleDefault } from './state'\n\nexport function setRoles(state, roles) {\n state.roles = roles\n}\n\nexport function setPermissions(state, permissions) {\n state.permissions = permissions;\n}\n\nexport function setCategories(state, categories) {\n let categories_filte = categories.filter(category => category.name_parameter !== 'PERMISOS ESPECIALES');\n state.categories = categories_filte;\n}\n\nexport function setCategoriesSpecials(state, categories) {\n let categories_filte = categories.filter(category => category.name_parameter === 'PERMISOS ESPECIALES');\n state.categories_specials = categories_filte;\n }\n\nexport function setCategorySelected(state, category_selected) {\n state.category.selected = category_selected;\n}\n\nexport function setPermissionsSpecials(state, permissions_specials) {\n let permission_role= state.role.permissions;\n let permissions_specials_fil = [];\n if(state.categories_specials[0]['id']){\n permissions_specials_fil = permissions_specials.filter(pemision_speacial => pemision_speacial.category_role_id === state.categories_specials[0]['id']);\n permissions_specials_fil.map(function(pemision_speacial) {\n return pemision_speacial.selected = permission_role.find(p => p === pemision_speacial.id)?1:0;\n });\n }\n state.permissions_specials = permissions_specials_fil;\n}\n\nexport function setModule(state, module) {\n state.module = module\n}\n\nexport function setRoleDefault(state) {\n state.role = roleDefault();\n state.copyPermissions = [];\n}\nexport function setRole(state, role) {\n state.role.id = role.id;\n state.role.name = role.role;\n state.role.costs = role.costs;\n state.role.stocks = role.stocks;\n state.role.permissions = role.getPermissions;\n state.copyPermissions = JSON.parse(JSON.stringify(role.getPermissions));\n}\nexport function setActionForm(state, actionForm) {\n state.actionForm = actionForm;\n}\nexport function setPromotionLoader(state, status) {\n state.promotionLoader = status\n}\n\nexport function setPermissionsRole(state, permissions) {\n state.role.permissions = permissions\n}\n\nexport function setUsers(state,users){\n state.users=users;\n\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n }\n\n export function setPage(state, page) {\n state.params.page = page;\n }\n\n export function setCosts(state, role) {\n state.role.costs = role;\n }\n\n export function setStocks(state, role) {\n state.role.stocks = role;\n }\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/roles/mutations.js","import $http from '../../axios';\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\nimport { parse } from 'path';\n\nexport async function getRoles({ commit }) {\n $http.get('/api/rol').then((element) => {\n commit('setRoles', element.data);\n }).catch(error => {\n })\n}\n\nexport async function deleteRole({ commit }, id) {\n await $http.delete(`/api/rol/${id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El rol se ha eliminado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n console.log(error)\n })\n}\n\n\n\nexport async function getPermissions({ commit }) {\n await $http.get('/api/permisos')\n .then((response) => {\n commit('setPermissions', (response.data.permissions))\n commit('setCategories', (response.data.categories))\n commit('setCategorySelected', (response.data.categories[0].id))\n })\n .catch(error => {\n console.log(error)\n })\n}\n\nexport async function getPermissionsSpecials({ commit }) {\n await $http.get('/api/permisos')\n .then(async (response) => {\n commit('setCategoriesSpecials', (response.data.categories))\n commit('setPermissionsSpecials', (response.data.permissions))\n })\n .catch(error => {\n console.log(error)\n })\n}\n\nexport async function createRol({ commit }, role) {\n $http.post('/api/rol', role)\n .then(response => {\n commit('setRoleDefault')\n Notification.success({\n title: 'Exito!',\n message: 'El rol se ha creado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).catch(({ response }) => {\n if (response.data.message.includes('SQLSTATE[23505]')) {\n Notification.error({\n title: 'Error!',\n message: 'El nombre del rol ya existe',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n }\n })\n\n}\n\nexport async function getRoleById({ commit }, id) {\n $http.get(`/api/rol/${id}`).\n then((response) => {\n commit('setRole', response.data);\n }).\n catch();\n}\n\nexport async function updateRol({ state }, id) {\n\n for (let index = 0; index < state.permissions_specials.length; index++) {\n if(state.permissions_specials[index].selected === 1){\n var search = state.role.permissions.find(p => p === state.permissions_specials[index].id);\n if(!search){\n state.role.permissions[state.role.permissions.length] = state.permissions_specials[index].id;\n }\n console.log(search);\n }else{\n console.log(\"AQUII\");\n let pemrmision_filter = state.role.permissions.filter(function(permition) {\n return permition !== state.permissions_specials[index].id; \n });\n\n state.role.permissions = pemrmision_filter;\n\n }\n }\n\n console.log(state.role);\n await $http.put(`/api/rol/${id}`, state.role).then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El rol se ha editado correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).catch(error => {\n console.log(error)\n })\n}\n\n\nexport async function getUsers({ state, commit }) {\n $http.get('/api/users', {\n params: state.params\n }).then(response => {\n commit('setUsers', response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error Al Consultar los Usuarios\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n\n}\n\n\nexport function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"getUsers\");\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"getUsers\");\n}\n\n\nexport async function updateRoll({ state, commit }, user) {\n await $http.post('/api/usuario-editar-rol', user).then(response => {\n\n Notification.success({\n title: 'Exito!',\n message: 'Al Usuario se le a Editado el Rol Correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch(\n error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error Al Editar el Rol del Usuario\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n );\n}\n\nexport async function updateCosts({ state, commit }, user) {\n await $http.post('/api/rol-habilitar-costos', {role: user}).then(response => {\n commit(\"setCosts\", response.data);\n\n Notification.success({\n title: 'Exito!',\n message: 'Al Usuario se le a Editado el Rol Correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch(\n error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error Al Editar el Rol del Usuario\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n );\n}\n\nexport async function updateStocks({ state, commit }, user) {\n await $http.post('/api/rol-habilitar-stocks', {role: user}).then(response => {\n commit(\"setStocks\", response.data);\n\n Notification.success({\n title: 'Exito!',\n message: 'Al Usuario se le a Editado el Rol Correctamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n }).catch(\n error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error Al Editar el Rol del Usuario\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/roles/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/roles/index.js","export const defaultParams =\n{\n typeUser: {\n client: false,\n employee: false,\n provider: false\n },\n date_generate: null,\n mainThird: [],\n thirdBranch: []\n\n}\n\n\n\nexport default {\n params: defaultParams\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-users/state.js","import defaultParams from './state'\n\n\nexport function setDefaultParams(state){\n state.params=defaultParams;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-users/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport moment from \"moment\";\n\nexport async function getReport({ state }) {\n await $http({\n url: '/api/informe-terceros',\n params: state.params,\n method: 'GET',\n responseType: \"blob\",\n }).\n then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n let date= new Date();\n link.setAttribute(\"download\", `INFORME-TERCEROS-${moment(date).format(\"YYYY-MM-DD hh-mm-ss\")}.xlsx`);\n document.body.appendChild(link);\n link.click();\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-users/actions.js","import * as mutations from './mutations'\nimport * as actions from './actions'\nimport state from './state'\n\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-users/index.js","export function setOrders (state, orders) {\n\tstate.orders = orders\n}\n\nexport function setFilterDate(state, date) {\n\tstate.params.filter_date = date\n}\n\nexport function setFilterStatus(state, status) {\n\tstate.params.filter_status = status\n}\n\nexport function setFilter (state, filter) {\n\tstate.params.page = 1\n\tstate.params.filter = filter\n}\n\nexport function setStates (state, states) {\n state.states = states\n}\n\nexport function setPerPage(state, perPage) {\n\tstate.params.page = 1\n\tstate.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n\tstate.params.page = page\n}\n\nexport function setSortBy (state, sortBy) {\n\tstate.params.sortBy = sortBy\n}\n\nexport function setSort (state, sort) {\n\tstate.params.sort = sort\n}\n\nexport function setSellers (state, sellers) {\n\tstate.sellers = sellers\n}\n\nexport function setProviders (state, data) {\n\tstate.providers = data\n}\n\nexport function setPreloader (state, preloader) {\n state.preloader = preloader\n}\n\nexport function setSellerId (state, seller_id) {\n state.params.seller_id = seller_id\n}\n\nexport function setContact(state, contact) {\n\tstate.contact = JSON.parse(JSON.stringify(contact));\n}\n\nexport function setUnds(state, unds) {\n\n state.orders.data.map(doc => {\n let und = unds.find(el => el.document_id == doc.id)\n if (und) {\n doc.total_backorder_quantity = und.total_backorder_quantity\n doc.total_unds = und.total_unds\n doc.loading_unds = false\n }\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ordersManagement/mutations.js","import $http from '../../axios'\nimport {Notification} from \"element-ui\";\n\nexport async function fetchOrders ({ commit, state, dispatch }, requestParameters = { params: state.params }) {\n commit('setPreloader', true)\n\tawait $http.get('/api/pedidos-vendedor', requestParameters).then(async (response) => {\n if (Object.keys(response.data) != '') {\n\n const documents = response.data.data;\n\n commit('setOrders', documents)\n\n let document_ids = []\n\n documents.data.map(d => {\n document_ids.push(d.id)\n })\n\n if (document_ids.length) {\n //await dispatch('fetchUnds', document_ids)\n }\n } else {\n commit('setOrders', '')\n }\n }).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('error', error.message)\n\t})\n commit('setPreloader', false)\n}\n\nexport async function fetchOrdersProvider ({ commit, state, dispatch }, requestParameters = { params: state.params }) {\n commit('setPreloader', true)\n\tawait $http.get('/api/pedidos-proveedor', requestParameters).then(async (response) => {\n if (Object.keys(response.data) != '') {\n\n const documents = response.data.data;\n\n commit('setOrders', documents)\n\n let document_ids = []\n\n documents.data.map(d => {\n document_ids.push(d.id)\n })\n\n if (document_ids.length) {\n //await dispatch('fetchUnds', document_ids)\n }\n } else {\n commit('setOrders', '')\n }\n }).catch((error) => {\n\t\tNotification.error({\n\t\t\ttitle: '¡Error!',\n\t\t\tmessage: error.message,\n\t\t\ttype: 'error',\n\t\t\tduration: 1500,\n\t\t\tcustomClass: 'notification-box'\n\t\t})\n\t\tcommit('error', error.message)\n\t})\n commit('setPreloader', false)\n}\n\n/**\n * obtenemos y seteamos los produtos de un documento\n * @param {*} param0\n * @param {*} data\n */\nexport async function getProducts ({ commit, state }, data) {\n await $http.get(`/api/pedidos-vendedor-productos/${data.id}`)\n .then((response) => {\n data.row.item.documents_products = response.data.data\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('error', error.message)\n })\n}\n\n/**\n * obtenemos y seteamos los thread de un documento\n * @param {*} param0\n * @param {*} data\n */\n export async function fetchThreadDocuments ({ commit, state }, data) {\n await $http.get(`/api/pedidos-vendedor-thread/${data.id}`)\n .then((response) => {\n data.item.document_thread = response.data.data\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n commit('error', error.message)\n })\n}\n\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n\tcommit('setFilter', filter.target.value)\n\tdispatch('fetchOrders')\n}\n\nexport function setPerPagePagination({commit, dispatch}, perPage) {\n\tcommit('setPerPage', parseInt(perPage.target.value))\n\tdispatch('fetchOrders')\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n\tcommit('setPage', parseInt(page))\n\tdispatch('fetchOrders')\n}\n\nexport function setSortByPagination({ commit }, sortBy) {\n\tcommit('setSortBy', sortBy)\n}\n\nexport function setSortPagination({ commit }, sort) {\n\tcommit('setSort', sort)\n}\n\nexport async function getSellers({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getProviders({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-proveedores', {params} )\n .then((response) => {\n commit('setProviders', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener los parametros de una tabla\nexport async function getStates({commit, state}) {\n await $http.get(`/api/parametros?paramtable_id=64&paginate=false`)\n .then((response) => {\n commit('setStates', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function downloadDocument({}, documentToPdf) {\n\n let name = documentToPdf.vouchertype.name_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n\n let url = ''\n\n if (documentToPdf.operationType_id == 4){\n url ='/api/traslado/descargar-pdf/' + documentToPdf.id\n }else if (documentToPdf.operationType_id == 3){\n url = '/api/traslado/descargar-pdf/' + documentToPdf.thread\n }else{\n url = '/api/documentos/descargar-pdf/' + documentToPdf.id\n }\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\n//Consultar tercero por id\nexport async function getContact({ commit, state }, id) {\n //if (state.getContactEdit) {\n\n await $http\n .get(`/api/terceros/${id}`)\n .then(response => {\n commit(\"setContact\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"contactError\", error.message);\n });\n\n //}\n}\n\nexport async function fetchUnds({commit, state}, documents){\n let documents_id = []\n await documents.map(doc => {\n documents_id.push(doc.document_id)\n });\n\n let params = {\n 'documents_id' : documents_id\n }\n await $http\n .post(`/api/unds`, params)\n .then(response => {\n commit(\"setUnds\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ordersManagement/actions.js","export function getParams(state) {\n\treturn state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ordersManagement/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ordersManagement/index.js","export const defaultFilterDate = () => {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24);\n return [start, end]\n}\n\n\nexport default {\n cashReceipts: {\n data: []\n },\n params: {\n filter_date: defaultFilterDate(),\n filter_text: '',\n paginate: true,\n page: 1,\n filter_document:null,\n customer:null,\n seller:null\n },\n preloader: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cashReceipts/state.js","export default {\n orders: {\n data: []\n },\n error: false,\n errorMessage: '',\n params: {\n state_auth:null,\n filter_date: [],\n filter_status: '',\n paginate: true,\n page: 1,\n perPage: 100,\n sortBy: 'total_order_value',\n sort: 'DESC',\n seller_id: null\n },\n sellers: [],\n preloader: false,\n states: [],\n contact:[],\n providers:[],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/ordersManagement/state.js","export function setCashReceipts (state, cashReceipts) {\n\tstate.cashReceipts = cashReceipts\n}\n\nexport function setPreloader (state, preloader) {\n state.preloader = preloader\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cashReceipts/mutations.js","import $http from '../../axios'\nimport { Notification } from \"element-ui\";\n\nexport async function fetchCashReceipts({ commit, state }) {\n commit('setPreloader', true)\n\n let params = {\n params: state.params\n }\n\n await $http.get('/api/recibos-de-caja', params).then((response) => {\n commit('setCashReceipts', response.data.data)\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n })\n commit('setPreloader', false)\n}\n\nexport function setFilterPagination({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchOrders')\n}\n\nexport function setPagePagination({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchOrders')\n}\n\nexport async function getPdf({ state, commit }, cashReceipt) {\n var response = await $http.get(`/api/reciboCaja/descargar-pdf/${cashReceipt.id}`,\n {\n\n responseType: \"blob\"\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", `Rec-caja RC-${cashReceipt.consecutive}.pdf`); //or any other extension\n document.body.appendChild(link);\n link.click();\n }).catch(\n (error) => {\n console.log(error.message);\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n }\n );\n\n\n }\n )\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cashReceipts/actions.js","export function getParams(state) {\n\treturn state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cashReceipts/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cashReceipts/index.js","export function setNotifications(state, notifications) {\n state.notifications = notifications\n}\n\nexport function addNotification(state, notification) {\n\n let exist = state.notifications.find(n => n.type == notification.type && n.id == notification.id)\n\n if (!exist) {\n state.notifications.push(notification)\n }\n\n}\n\nexport function addNotifications(state, notifications) {\n if (notifications[0]) {\n let newNotifications = state.notifications.filter(n => n.type !== notifications[0].type)\n state.notifications = newNotifications.concat(notifications)\n }\n}\n\nexport function deleteNotificationForIndex(state, index) {\n if (state.notifications[index]) {\n state.notifications.splice(index, 1)\n }\n}\n\nexport function setAuthorizingUser(state, authorizing_user){\n state.authorizing_user = authorizing_user\n}\n\nexport function seGenerateExpenseUser(state, generate_expense_user){\n state.generate_expense_user = generate_expense_user\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/notifications/mutations.js","import $http from '../../axios'\nimport {getApiDomain} from \"../../util/domains\";\n\n/**\n * Obtiene los documentos pendientes por autorizar\n * @param commit\n * @returns {Promise}\n */\nexport async function getDocumentsToAuthorize({commit, state}, notificationDesktopShow = true) {\n await $http.get('/api/documentos-por-autorizar')\n .then((response) => {\n\n let currentNotifications = state.notifications.filter(n => n.type === 'authorize_document')\n\n let notifications = []\n response.data.data.map((document) => {\n let notification = {\n id: document.id,\n title: 'AUTORIZACIÓN DE DOCUMENTOS',\n text: [\n {key: 'Fecha', value: document.document_date},\n {key: 'Documento', value: document.template.description + ' - ' + document.branchoffice.name},\n {key: 'Tercero', value: document.contact.name + ' ' + document.contact.surname},\n {key: 'Solicitado por', value: document.user.name + ' ' + document.user.surname}\n ],\n type: 'authorize_document',\n url: '/documentos-por-autorizar'\n }\n notifications.push(notification)\n })\n\n commit('addNotifications', notifications)\n\n if (response.data.data.length > currentNotifications.length) {\n if (notificationDesktopShow) {\n if (Notification.permission !== 'granted') {\n Notification.requestPermission()\n } else {\n let notification = new Notification('Documentos por autorizar',\n {\n icon: 'static/favicon.png',\n body: 'Tienes ' + notifications.length + ' documentos por autorizar'\n }\n )\n notification.onclick = () => {\n window.open(getApiDomain() + '/#/documentos-por-autorizar')\n }\n }\n }\n\n }\n\n })\n}\n\n/**\n * Obtiene nuevos jobs\n * @param commit\n * @returns {Promise}\n */\nexport async function getJobs({commit, state}, notificationDesktopShow = true) {\n\n await $http.get('/api/tareas-usuario')\n .then((response) => {\n\n let notifications = []\n response.data.data.map((job) => {\n let notification = {\n id: job.id,\n title: job.name,\n text: [\n {key: 'Creado por:', value: job.user_creation.name + ' - ' + job.user_creation.surname},\n {key: 'Fecha de creación', value: job.created_at},\n {key: 'Fecha limite', value: job.limit_date}\n ],\n type: 'job',\n url: '/job/' + job.id\n }\n\n notifications.push(notification)\n })\n\n commit('addNotifications', notifications)\n })\n}\n\nexport async function validateAuthorizingUser({commit, state}, user_id){\n\n await $http.get(`/api/autorizador/proceso-pagos/${user_id}`)\n .then((response) => {\n commit('setAuthorizingUser', response.data.data)\n })\n .catch((error) => {\n console.error('fallo en validacion usuario autorizador proceso de pagos',error);\n })\n}\n\nexport async function validateGenerateExpenseUser({commit, state}, user_id){\n\n await $http.get(`/api/usuario/genera-egresos/${user_id}`)\n .then((response) => {\n commit('seGenerateExpenseUser', response.data.data)\n })\n .catch((error) => {\n console.error('fallo en validacion usuario puede generar egreso',error);\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/notifications/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/notifications/index.js","export default {\n authorizing_user:false,\n generate_expense_user:false,\n notifications: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/notifications/state.js","\nexport const defaultPaymentMethods = () => {\n return {\n code: null,\n description: null,\n accounting_account_id: null,\n commission_percentage: 0.0,\n user_id: null,\n online_payment: 0,\n check_number: 0,\n expiration_date: 0,\n authorization_number: 0,\n logo: '',\n rte_fte_percentage: 0.0,\n rte_iva_percentage: 0.0,\n rte_ica_percentage: 0.0,\n entity_id: null,\n commission_account_id: null,\n rte_fte_account_id: null,\n rte_iva_account_id: null,\n rte_ica_account_id: null,\n code_dian_id: null,\n validate_customer_balance: false\n };\n};\n\n\nexport default {\n\n selectedPaymentMethods: defaultPaymentMethods(),\n params: {\n perPage: 50,\n page: 1\n },\n disabledInputs: false,\n actionForm:'create',\n accounts:[],\n contacts:[],\n logos:[\n {\n code : 'Billetes',\n icon :'ti-money'\n },\n {\n code : 'Tarjeta',\n icon :'ti-credit-card'\n },\n {\n code : 'Transferencia',\n icon :'ti-tablet'\n },\n {\n code : 'Cheque',\n icon :'ti-receipt'\n },\n {\n code : 'Nequi',\n icon :'ti-nequi'\n },\n {\n code : 'Daviplata',\n icon :'ti-daviplata'\n },\n {\n code : 'Tpaga',\n icon :'ti-tpaga'\n },\n {\n code : 'A Credito',\n icon :'ti-more'\n },\n ],\n paymentMethods:[],\n dian_codes:[],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-methods/state.js","import { defaultPaymentMethods } from \"./state\";\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\n\nexport function clearSelectedModel(state) {\n state.selectedPaymentMethods = defaultPaymentMethods();\n}\n\nexport function setActionForm(state, action) {\n state.actionForm = action;\n}\n\nexport function setdisabledInputs(state, disabled) {\n state.disabledInputs = disabled;\n}\n\n\nexport function setPaymentMethods(state, paymentMethods){\n state.paymentMethods=paymentMethods;\n}\n\n\nexport function setSelectedPaymentMethods(state, selectedPaymentMethods){\n state.selectedPaymentMethods=selectedPaymentMethods;\n}\n\nexport function setAccounts(state, accounts) {\n state.accounts = accounts;\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setDianCodes(state, data) {\n state.dian_codes = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-methods/mutations.js","import * as actions from './actions'\nimport * as mutations from './mutations'\nimport state from './state'\n\n\nexport default {\n namespaced:true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-methods/index.js","export const paramsDefault= ()=>{\n return{\n client:null,\n observation:null,\n legalrepresentative:''\n }\n}\n\n\n\nexport default {\n\n\n show_pdf:false,\n clients:[],\n params:paramsDefault(),\n mails: [],\n file:null,\n paramsEmail:{\n to:[],\n subject:null,\n body:null,\n filename:null\n\n },\n pathPdf:null,\n preloader:false,\n authenticatedRole:''\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customer_account_statement/state.js","import { paramsDefault } from \"./state\";\nimport {getApiDomain} from \"../../util/domains\";\n\nexport function setClients(state,clients) {\n state.clients=clients\n}\n\n\n\nexport function setShowPdf(state, value) {\n state.show_pdf=value;\n}\n\n\nexport function setPathPdf(state,pathPdf ) {\n state.paramsEmail.filename=pathPdf;\n state.pathPdf= getApiDomain() + '/storage/pdf/' + pathPdf;\n}\n\n\nexport function setParamMailTo(state,mail) {\n state.paramsEmail.to=[];\n state.paramsEmail.to.push(mail);\n\n}\n\n\nexport function setParamDefault(state) {\n state.params=paramsDefault();\n}\n\n\nexport function setPreloader(state, preloader) {\n state.preloader=preloader;\n}\n\nexport function setAuthenticatedRole(state,authenticatedRole){\n state.authenticatedRole=authenticatedRole;\n}\n\nexport function setMails(state,mails){\n state.mails=mails;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customer_account_statement/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n\nexport async function getPdf({state,commit}) {\n var response = await $http.get('/api/pdfCartera',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\n\n export async function getAllClients({state,commit},nameClient) {\n\n await $http.get('/api/todo-clientes',{\n params: {\n nameClient: nameClient\n }\n }).then( async response=>{\n await commit('setClients',response.data)\n }).catch();\n\n }\n\n\n export async function getPdfNegativeValue({state,commit}) {\n var response = await $http.get('/api/pdfReporteNegativo',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\n\n export async function pdfPrejuridico({state,commit}) {\n var response = await $http.get('/api/pdfPrejuridico',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\nexport async function searchMails({ state, commit }, text) {\n await $http\n .get(\n `/api/buscar-correo?filter=${text}&contact=${state.params.client}`\n )\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customer_account_statement/actions.js"," import state from './state';\n import * as mutations from './mutations';\n import * as actions from './actions'\n\nexport default {\n namespaced: true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customer_account_statement/index.js","export function setDocument(state,document) {\n state.document=document;\n}\n\nexport function setPreloader(state, preloader) {\n state.preloader=preloader;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/invoice_detail/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nexport async function getDocument({commit},id) {\n await $http.get(`/api/detalle-documento/${id}`).then(response=>{\n commit('setDocument', response.data);\n\n }).catch(error=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n})\n}\n\nexport async function getPdf({state,commit}) {\n state.disabled=true;\n var response = await $http.get(`/api/documentos/descargar-pdf/${state.document[0].id}`,\n {\n responseType: \"blob\"\n }\n )\n console.log(response.data);\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", `Factura ${state.document[0].prefix}-${state.document[0].consecutive}.pdf`); //or any other extension\n document.body.appendChild(link);\n link.click();\n state.disabled=false;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/invoice_detail/actions.js","import state from './state';\nimport * as mutations from './mutations';\nimport * as actions from './actions' \n\n\nexport default{\n namespaced:true,\n actions,\n state,\n mutations\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/invoice_detail/index.js","export default{\n document:[],\n preloader:false\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/invoice_detail/state.js"," export function setSellers(state, sellers) {\n state.sellers=sellers;\n }\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reassign_seller/mutations.js","import $http from '../../axios';\nimport { Notification } from \"element-ui\";\n\nexport async function getSellers({state,commit}) {\n await $http.get('/api/lista-vendedores').then(response=>{\n commit('setSellers',response.data.data);\n }).catch(error=>{\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }\n );\n}\n\n\nexport async function massReassignSeller({state,commit}) {\n await $http.get('/api/reasignacion-vendedor', {params:state.sellerParam}).then(response=>{\n Notification.success({\n title: \"success!\",\n message: 'La Reasignación de vendedor se ha realizado exitosamente',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n \n }).catch(error=>{\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n\n });\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reassign_seller/actions.js","import state from './state';\nimport * as mutations from './mutations';\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reassign_seller/index.js","export default{\n \n sellerParam:{\nincoming_seller:null,\noutgoing_seller:null,\n},\nsellers:[]\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reassign_seller/state.js","export function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\nexport function setDateGenerate(state, date_generate) {\n state.params.date_generate = date_generate;\n}\n\nexport function setSuggestedReplacement(state, data) {\n state.suggestedReplacement = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/suggested_replacement/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport moment from \"moment\";\n\n/**\n *\n * @returns {Promise}\n */\nexport async function reportGenerate({ state, commit }) {\n commit(\"setPreloader\", true);\n await $http({\n url: \"/api/reportes/sugerido-de-reposicion\",\n method: \"GET\",\n responseType: \"blob\",\n params: state.params\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n const fecha = new Date();\n link.setAttribute(\n \"download\",\n `Sugerido-Reposición-${moment(fecha).format(\n \"YYYY-MM-DD hh-mm-ss\"\n )}.xlsx`\n );\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n commit(\"setPreloader\", false);\n}\n\nexport async function getSuggestedReplacement({ state, commit }) {\n commit(\"setPreloader\", true);\n await $http\n .get(`/api/reportes/sugerido-de-reposicion`, {\n params: {\n noDownload: true\n }\n })\n .then(response => {\n commit(\"setSuggestedReplacement\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n commit(\"setPreloader\", false);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/suggested_replacement/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/suggested_replacement/index.js","export default {\n preloader: false,\n params: {\n date_generate: null\n },\n suggestedReplacement: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/suggested_replacement/state.js","export function setDefaultView(state) {\n for (const prop in state.view) {\n state.view[prop]=false;\n }\n}\n\n\nexport function setDocument(state, document){\n state.document=document;\n}\n\nexport function setAudits(state,audits) {\n state.audits=audits;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/audit/mutations.js","\nimport $http from \"../../axios\";\nimport {Notification, MessageBox} from 'element-ui';\n\n\nexport async function getDocument({commit},id) {\n await $http.get(`/api/detalle-documento/${id}`).then(response=>{\n commit('setDocument', response.data);\n }).catch(error=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function getAudits({commit},id) {\n\n await $http.get(`/api/auditoria-documento/${id}`).then(response=>{\n commit('setAudits',response.data.auditsDocument);\n }).catch(error=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n\n });\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/audit/actions.js","import state from \"./state\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/audit/index.js","export default {\n view:{\n selectedDocument: false,\n selectedProducts: false,\n selectedTaxes: false,\n },\n document:null,\n audits:[]\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/audit/state.js","export function setDocuments(state, documents){\n state.documents = documents\n}\n\nexport function setLoading(state, loading){\n state.loading = loading\n}\n\nexport function setMessageLoading(state, messageLoading){\n state.messageLoading = messageLoading\n}\n\nexport function setShowPdf(state, showPdf){\n state.showPdf = showPdf\n}\n\nexport function setDocument(state, document){\n state.document = document\n}\n\nexport function setSelectedDocument(state, selected_document){\n state.selected_document = selected_document\n}\n\nexport function setQr(state, qr){\n state.data.qr = qr\n}\n\nexport function setCufe(state, cufe){\n state.data.cufe = cufe\n}\n\nexport function setModalShow(state, show){\n state.modal.show = show\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/send_documents/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport * as MessageBox from 'element-ui';\n\n//Obtener los tipos de comprobantes\nexport async function fetchDocuments({commit}) {\n commit('setMessageLoading', 'Obteniendo documentos');\n commit('setLoading', true);\n await $http.get('/api/documentos-finalizados-pendientes-por-enviar')\n .then((response) => {\n commit('setDocuments', response.data);\n commit('setLoading', false);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al obtener los documentos',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n commit('setLoading', false);\n });\n}\n\n//Crear tipo de comprobante\nexport async function sendDocument({commit, dispatch}, document_id) {\n commit('setMessageLoading', 'Enviando documento');\n commit('setLoading', true);\n await $http.post('/api/enviar-documento-finalizado/' + document_id)\n .then((response) => {\n commit('setDocument', response.data.data);\n commit('setLoading', false);\n MessageBox.MessageBox.confirm('Documento emitido exitosamente', 'Exito', {\n confirmButtonText: 'Aceptar',\n dangerouslyUseHTMLString: true,\n showCancelButton: false,\n type: 'success',\n customClass: 'notification-success'\n }).then(() => {\n commit('setShowPdf', true);\n dispatch('fetchDocuments');\n });\n })\n .catch((error) => {\n commit('setLoading', false);\n MessageBox.MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n dangerouslyUseHTMLString: true,\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n//Obtener los tipos de comprobantes\nexport async function updateCufeAndQr({commit, dispatch, state}) {\n commit('setMessageLoading', 'Actualizando documento');\n commit('setLoading', true);\n\n await $http.post('/api/actualizar-cufe-qr/' + state.selected_document.id, state.data)\n .then((response) => {\n Notification.success({\n title: 'Error!',\n message: 'Documento actualizado exitosamente',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n dispatch('fetchDocuments');\n commit('setLoading', false);\n commit('setModalShow', false);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar el documento',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n commit('setLoading', false);\n });\n}\n\nexport async function downloadJson({}, document_data) {\n\n let prefix = '';\n\n if (document_data.prefix !== null){\n prefix = document_data.prefix.trim();\n }\n\n let name_file = prefix + document_data.consecutive + '.json';\n\n await $http({\n url: `/api/descargar-json/${document_data.id}`,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name_file);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/send_documents/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/send_documents/index.js","export default {\n documents: [],\n loading: false,\n messageLoading: '',\n showPdf: false,\n document: {},\n selected_document: {},\n data: {\n qr: null,\n cufe: null,\n },\n modal: {show: false}\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/send_documents/state.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report/mutations.js","import $http from '../../axios';\n\nexport async function getSales({commit}) {\n commit('setLoading', true)\n await $http.get('/api/reporte-ventas').then(async (response) => {\n await commit('setSales', response.data);\n commit('setLoading', false)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report/index.js","export default {\n sales: [],\n loading: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report/state.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/dynamic-matrix/mutations.js","import $http from '../../../axios';\n\nexport async function getSales({commit}) {\n commit('setLoading', true)\n await $http.get('/api/reporte-ventas').then(async (response) => {\n await commit('setSales', response.data);\n commit('setLoading', false)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/dynamic-matrix/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/dynamic-matrix/index.js","export default {\n sales: [],\n loading: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/dynamic-matrix/state.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setContact(state, contact) {\n state.contact = contact\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-products/mutations.js","import $http from '../../../axios';\n\nexport async function getSales({commit}, data) {\n commit('setLoading', true)\n await $http.get(`/api/facturas-tercero/${data.contact_id}`, {params:{dates:data.dates}})\n .then(async (response) => {\n await commit('setSales', response.data.data.sales);\n await commit('setContact', response.data.data.contact);\n })\n commit('setLoading', false)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-products/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-products/index.js","export default {\n sales: [],\n contact: {},\n loading: false,\n form:{\n dates:[]\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-products/state.js","export function setPreloader(state, preloader){\n state.preloader = preloader\n}\n\nexport function setSubscriber(state, subscriber){\n state.subscriber = subscriber\n}\n\nexport function setParamsYearMonth(state, year_month){\n state.params.year_month = year_month\n}\n\nexport function setMessagePreloader(state, message_preloader){\n state.message_preloader = message_preloader\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update_balances/mutations.js","import $http from \"../../axios\";\nimport {Notification} from \"element-ui\";\n\nexport async function updateBalances({state, commit}) {\n commit('setPreloader', true)\n await $http.post(\"/api/actualizar-saldos\", state.params)\n .then(response => {\n Notification.success({\n title: \"Éxito!\",\n message: 'La actualización de saldos a iniciado satisfactoriamente.',\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n commit('setPreloader', false)\n}\n\nexport async function addNotification({state, commit, rootState}, notification) {\n\n let notifications = rootState.Notifications.notifications\n\n const today = new Date();\n\n const date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();\n\n const time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n\n let new_notification = {\n id: null,\n title: 'ACTUALIZACIÓN MASIVA DE SALDOS',\n text: [\n {key: 'Fecha', value: date + ' ' + time},\n {key: 'Mensaje', value: notification.message}\n ],\n type: 'update_balances',\n url: null,\n close: true\n }\n\n notifications.unshift(new_notification)\n\n commit('Notifications/setNotifications', notifications, {root: true})\n}\n\n\nexport async function getSubscriber({commit}) {\n\n const user = JSON.parse(localStorage.getItem('user'))\n const subscriber_id = user.subscriber_id\n\n await $http.get(\"/api/suscriptores/\" + subscriber_id)\n .then(response => {\n\n const subscriber = response.data.data\n\n commit('setSubscriber', subscriber)\n\n if (subscriber.document){\n commit('setParamsYearMonth', subscriber.document.document_date.substring(0, 9))\n }\n })\n}\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update_balances/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update_balances/index.js","export default {\n preloader: true,\n message_preloader: 'Cargando',\n params: {\n year_month: null\n },\n subscriber: {\n document: {}\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update_balances/state.js","export const defaultTableFixAssets = () => {\n return {\n items: [],\n fields: [\n {\n name: \"Codigo\",\n field: \"consecut\",\n format: \"text\",\n style: { width: 100 }\n // width: \"10px\"\n },\n {\n field: \"description\",\n name: \"Descripcion\",\n format: \"text\",\n style: { width: 350, short: true }\n // width: 250\n },\n {\n field: \"plate_number\",\n name: \"Num Placa\"\n // width: 150\n },\n {\n field: \"caus_status\",\n name: \"Estado Depreciación\",\n format: \"text\",\n style: { width: 50 }\n // width: 150\n },\n {\n field: \"active_group\",\n name: \"Grupo activos\"\n // width: 150\n },\n {\n field: \"actions\",\n name: \"Opciones\",\n format: \"text\",\n style: { width: 300, short: true }\n // width: 150\n }\n ],\n pagination: \"\",\n params: {\n perPage: 100,\n filterText: \"\",\n currentPage: 1,\n page: 1,\n pagination: true\n }\n };\n};\n\nexport const defaultTableFixAssetAdditions = () => {\n return {\n items: [],\n fields: [\n {\n field: \"plate_number\",\n name: \"Num Placa\"\n },\n {\n field: \"description\",\n name: \"Descripcion\"\n },\n {\n field: \"value\",\n name: \"Valor\"\n },\n {\n field: \"date_addition\",\n name: \"Fecha\"\n },\n {\n field: \"actions\",\n name: \"Opciones\"\n }\n ],\n pagination: \"\",\n params: {\n perPage: 100,\n filterText: \"\",\n currentPage: 1,\n page: 1,\n pagination: true\n }\n };\n};\n\nexport const defaultTableFixAssetMonthlyDepreciation = () => {\n return {\n items: [],\n fields: [\n { field: \"year_month\", name: \"Año - Mes\" },\n { field: \"value_additions\", name: \"Vr Adiciones\", format: \"currency\" },\n { field: \"historical_cost\", name: \"Costo Historico\", format: \"currency\" },\n {\n field: \"balance_to_depreciated\",\n name: \"Saldo por Depreciar\",\n format: \"currency\"\n },\n {\n field: \"depreciate_value_month\",\n name: \"Vr Deprec Mes\",\n format: \"currency\"\n },\n {\n field: \"accumulated_depreciation_value\",\n name: \"Vr Deprec Acum\",\n format: \"currency\"\n },\n { field: \"months_accumulated\", name: \"Meses Acum\" }\n ],\n pagination: \"\",\n params: {\n perPage: 100,\n filterText: \"\",\n currentPage: 1,\n page: 1,\n pagination: true\n }\n };\n};\n\nexport const defaultTableFixAssetDocumentDepreciation = () => {\n return {\n items: [],\n fields: [\n { field: \"document_date\", name: \"Año - Mes\" },\n { field: \"consecutive\", name: \"Num-Comp\" },\n { field: \"tot_act\", name: \"Tot Act\" },\n { field: \"tot_vrs\", name: \"Tot-Vrs\" },\n {\n field: \"actions\",\n name: \"Opciones\"\n }\n ],\n pagination: \"\",\n params: {\n perPage: 100,\n filterText: \"\",\n currentPage: 1,\n page: 1,\n pagination: true\n }\n };\n};\n\nexport default {\n tableFixAssets: defaultTableFixAssets(),\n tableFixAssetAdditions: defaultTableFixAssetAdditions(),\n tableFixAssetMonthlyDepreciation: defaultTableFixAssetMonthlyDepreciation(),\n tableFixAssetDocumentDepreciation: defaultTableFixAssetDocumentDepreciation(),\n tableFixAssetDocumentDepreciationLoading: false,\n fixAsset: {},\n fixAssetAddition: {},\n action: \"create\",\n errorForm: false,\n activeGroups: [],\n classes: [],\n costCenters: [],\n cities: [],\n providers: [],\n contactsSale: [],\n derecognizedTypes: [],\n maintenanceProviders: [],\n policyProviders: [],\n contactResponsibles: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/fixAssets/state.js","export function setFixAssets(state, data) {\n // Agregamos los datos de la tabla\n state.tableFixAssets.items = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.tableFixAssets.pagination = data;\n}\n\nexport function setFixAssetAdditions(state, data) {\n // Agregamos los datos de la tabla\n state.tableFixAssetAdditions.items = data.data;\n\n // // Quitamos los valores de la tabla del arreglo\n // delete data.data;\n\n // // Agregamos los datos de la paginacion\n // state.tableFixAssetAdditions.pagination = data;\n}\n\nexport function setFixAssetMonthlyDepreciation(state, data) {\n state.tableFixAssetMonthlyDepreciation.items = data;\n}\n\nexport function setTableFixAssetDocumentDepreciationLoading(state, value) {\n state.tableFixAssetDocumentDepreciationLoading = value;\n}\n\nexport function setFixAssetDocumentDepreciation(state, data) {\n state.tableFixAssetDocumentDepreciation.items = data;\n}\n\nexport function setActiveGroups(state, data) {\n state.activeGroups = data;\n}\n\nexport function setClasses(state, data) {\n state.classes = data;\n}\n\nexport function setCostCenters(state, data) {\n state.costCenters = data;\n}\n\nexport function setCities(state, data) {\n state.cities = data;\n}\n\nexport function setPolicyProviders(state, data) {\n state.policyProviders = data;\n}\n\nexport function setMaintenanceProviders(state, data) {\n state.maintenanceProviders = data;\n}\n\nexport function setProviders(state, data) {\n state.providers = data;\n}\n\nexport function setContactResponsibles(state, data) {\n state.contactResponsibles = data;\n}\n\nexport function setContactsSale(state, data) {\n state.contactsSale = data;\n}\n\nexport function setDerecognizedTypes(state, data) {\n state.derecognizedTypes = data;\n}\n\nexport function setErrorForm(state, value) {\n state.errorForm = value;\n}\n\nexport function setAction(state, value) {\n state.action = value;\n}\n\nexport function setFixAsset(state, data) {\n state.fixAsset = data;\n}\n\nexport function setFixAssetAddition(state, data) {\n state.fixAssetAddition = data;\n}\n\nexport function setAttributeFixAsset(state, data) {\n state.fixAsset = {\n ...state.fixAsset,\n ...data\n };\n}\n\nexport function resetFixAsset(state, data) {\n state.fixAsset = {};\n}\n\nexport function resetFixAssetAddition(state, data) {\n state.fixAssetAddition = {};\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/fixAssets/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nconst apiName = \"/api/activos-fijos\";\nconst routePathAdditions = \"/api/activos-fijos-adiciones\";\nconst routePathMonthlyDepreciation = \"/api/activos-fijos-depreciacion-mensual\";\n\nexport async function getLastConsecutiveSuggested({ commit, state }) {\n await $http\n .get(\"/api/activos-fijos-siguiente-consecutivo-sugerido\")\n .then(response => {\n commit(\"setAttributeFixAsset\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchFixAssets({ commit, state }) {\n await $http\n .get(apiName, {\n params: state.tableFixAssets.params\n })\n .then(response => {\n commit(\"setFixAssets\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchFixAssetById({ commit }, id) {\n await $http\n .get(`${apiName}/${id}`)\n .then(response => {\n commit(\"setFixAsset\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function createFixAsset({ commit, state }) {\n commit(\"setErrorForm\", false);\n\n await $http\n .post(apiName, state.fixAsset)\n .then(response => {\n commit(\"setFixAsset\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\nexport async function updateFixAsset({ commit, state }) {\n commit(\"setErrorForm\", false);\n\n await $http\n .put(`${apiName}/${state.fixAsset.id}`, state.fixAsset)\n .then(response => {\n commit(\"setFixAsset\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\nexport async function deleteFixAsset({ commit, dispatch, state }, id) {\n await $http\n .delete(`${apiName}/${id}`)\n .then(response => {\n dispatch(\"fetchFixAssets\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\nexport async function fetchCities({ commit, state }) {\n await $http\n .get(\"/api/ciudades\")\n .then(response => {\n commit(\"setCities\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return { value: p.id, label: p.name_parameter, code: p.code_parameter };\n });\n}\n\nexport async function fetchActiveGroups({\n dispatch,\n rootState,\n commit,\n state\n}) {\n if (state.activeGroups.length === 0) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"C-015\", paginate: false } },\n { root: true }\n );\n commit(\"setActiveGroups\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function fetchClasses({ dispatch, rootState, commit, state }) {\n if (state.classes.length === 0) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"C-016\", paginate: false } },\n { root: true }\n );\n commit(\"setClasses\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function fetchCostCenters({ dispatch, rootState, commit, state }) {\n if (state.costCenters.length === 0) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"038\", paginate: false } },\n { root: true }\n );\n commit(\"setCostCenters\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function fetchDerecognizedTypes({\n dispatch,\n rootState,\n commit,\n state\n}) {\n if (state.derecognizedTypes.length === 0) {\n await dispatch(\n \"parameters/listParameter\",\n { params: { codeParamTable: \"C-017\", paginate: false } },\n { root: true }\n );\n commit(\n \"setDerecognizedTypes\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function fetchProviders({ dispatch, rootState, commit }, filter) {\n if (filter.length >= 3) {\n await dispatch(\n \"contacts/listContact\",\n {\n params: {\n type: \"is_provider\",\n filter\n }\n },\n {\n root: true\n }\n );\n commit(\"setProviders\", rootState.contacts.contacts);\n }\n}\n\nexport async function fetchMaintenanceProviders(\n { dispatch, rootState, commit },\n filter\n) {\n if (filter.length >= 3) {\n await dispatch(\n \"contacts/listContact\",\n {\n params: {\n type: \"is_provider\",\n filter\n }\n },\n {\n root: true\n }\n );\n commit(\"setMaintenanceProviders\", rootState.contacts.contacts);\n }\n}\n\nexport async function fetchPolicyProviders(\n { dispatch, rootState, commit },\n filter\n) {\n if (filter.length >= 3) {\n await dispatch(\n \"contacts/listContact\",\n {\n params: {\n type: \"is_provider\",\n filter\n }\n },\n {\n root: true\n }\n );\n commit(\"setPolicyProviders\", rootState.contacts.contacts);\n }\n}\n\nexport async function fetchContactResponsibles(\n { dispatch, rootState, commit },\n filter\n) {\n if (filter.length >= 3) {\n await dispatch(\n \"contacts/listContact\",\n {\n params: {\n type: \"is_employee\",\n filter\n }\n },\n {\n root: true\n }\n );\n commit(\"setContactResponsibles\", rootState.contacts.contacts);\n }\n}\n\nexport async function fetchContactsSale(\n { dispatch, rootState, commit },\n filter\n) {\n if (filter.length >= 3) {\n await dispatch(\n \"contacts/listContact\",\n {\n params: {\n type: \"is_customer\",\n filter\n }\n },\n {\n root: true\n }\n );\n commit(\"setContactsSale\", rootState.contacts.contacts);\n }\n}\n\nexport async function downloadFixAssets({ state }) {\n await $http({\n url: \"/api/activos-fijos-descargar\",\n method: \"GET\",\n responseType: \"blob\"\n })\n .then(response => {\n const url = window.URL.createObjectURL(\n new Blob([\"\\ufeff\", response.data])\n );\n const link = document.createElement(\"a\");\n link.href = url;\n\n link.setAttribute(\n \"download\",\n `Activos-Fijos-${new Date().toISOString().slice(0, 10)}.csv`\n );\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al Descargar\",\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Adiciones\n *\n * @author Kevin Galindo\n */\nexport async function fetchFixAssetAdditions({ commit, state }) {\n await $http\n .get(routePathAdditions, {\n params: state.tableFixAssetAdditions.params\n })\n .then(response => {\n commit(\"setFixAssetAdditions\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchFixAssetAdditionById({ commit }, id) {\n await $http\n .get(`${routePathAdditions}/${id}`)\n .then(response => {\n commit(\"setFixAssetAddition\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function createFixAssetAddition({ dispatch, state }) {\n const data = {\n ...state.fixAssetAddition,\n fix_asset_id: state.fixAsset.id\n };\n\n await $http\n .post(routePathAdditions, data)\n .then(response => {\n dispatch(\"fetchFixAssetAdditions\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateFixAssetAddition({ dispatch, state }) {\n const data = {\n ...state.fixAssetAddition,\n fix_asset_id: state.fixAsset.id\n };\n\n await $http\n .put(`${routePathAdditions}/${state.fixAssetAddition.id}`, data)\n .then(response => {\n dispatch(\"fetchFixAssetAdditions\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteFixAssetAddition({ commit, dispatch }, id) {\n await $http\n .delete(`${routePathAdditions}/${id}`)\n .then(() => {\n dispatch(\"fetchFixAssetAdditions\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchFixAssetMonthlyDepreciation({ commit }, id) {\n await $http\n .get(`${routePathMonthlyDepreciation}/${id}`)\n .then(response => {\n commit(\"setFixAssetMonthlyDepreciation\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.respons ? error.response.data : error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchFixAssetDocumentDepreciation({ commit }) {\n await $http\n .get(\"/api/lista-comprobante-activos-fijos-depreciacion\")\n .then(response => {\n commit(\"setFixAssetDocumentDepreciation\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response ? error.response.data : error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n // throw Error(error);\n });\n}\n\nexport async function regenerateFixAssetDocumentDepreciation(\n { commit, dispatch },\n document_id\n) {\n commit(\"setTableFixAssetDocumentDepreciationLoading\", true);\n\n await $http\n .post(\n `/api/regenerar-comprobante-activos-fijos-depreciacion/${document_id}`\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El documento se ha regenerado.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchFixAssetDocumentDepreciation\");\n })\n .catch(error => {\n console.log(error.response);\n Notification.error({\n title: \"Error!\",\n message: error.response ? error.response.data.message : error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n // throw Error(error);\n });\n\n commit(\"setTableFixAssetDocumentDepreciationLoading\", false);\n}\n\nexport async function createFixAssetDocumentDepreciation(\n { commit, dispatch },\n yearMonth\n) {\n commit(\"setTableFixAssetDocumentDepreciationLoading\", true);\n await $http\n .post(`/api/comprobante-activos-fijos-depreciacion/${yearMonth}`)\n .then(response => {\n dispatch(\"fetchFixAssetDocumentDepreciation\");\n })\n .catch(error => {\n console.log(error.response);\n Notification.error({\n title: \"Error!\",\n message: error.response ? error.response.data.message : error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n // throw Error(error);\n });\n commit(\"setTableFixAssetDocumentDepreciationLoading\", false);\n}\n\nexport async function createAndFetchFixAssetMonthlyDepreciation(\n { commit },\n id\n) {\n await $http\n .post(`${routePathMonthlyDepreciation}/${id}`)\n .then(response => {\n commit(\"setFixAssetMonthlyDepreciation\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function generateExcelFixAssetDocumentDepreciation(\n { commit, dispatch },\n document_id\n) {\n commit(\"setTableFixAssetDocumentDepreciationLoading\", true);\n\n await $http\n .get(`/api/excel-comprobante-activos-fijos/${document_id}`)\n .then(response => {\n const { data, header, nameFile } = response.data;\n\n const array = typeof data !== \"object\" ? JSON.parse(data) : data;\n\n let str =\n `${Object.values(header)\n .map(value => `\"${value}\"`)\n .join(\",\")}` + \"\\r\\n\";\n\n let dataCsv = array.reduce((str, next) => {\n str +=\n `${Object.values(next)\n .map(value => `\"${value}\"`)\n .join(\",\")}` + \"\\r\\n\";\n return str;\n }, str);\n\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(dataCsv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = `${nameFile}.csv`;\n hiddenElement.click();\n })\n .catch(error => {\n console.log(error.response);\n Notification.error({\n title: \"Error!\",\n message: error.response ? error.response.data.message : error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n // throw Error(error);\n });\n\n commit(\"setTableFixAssetDocumentDepreciationLoading\", false);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/fixAssets/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/fixAssets/index.js","export const defaultTableDateFirms = () => {\n return {\n items: [],\n fields: [\n {\n field: \"account_id\",\n name: \"Cuenta\",\n format: \"text\",\n style: { width: 350, short: true }\n },\n {\n field: \"firm_date_account\",\n name: \"Fecha Firme Cuenta\"\n },\n {\n field: \"observations\",\n name: \"Observaciones\",\n format: \"text\",\n style: { width: 50 }\n },\n {\n field: \"firm_date_modification\",\n name: \"Usuario ult mod\",\n format: \"text\",\n style: { width: 150 }\n },\n {\n field: \"actions\",\n name: \"Opciones\",\n format: \"text\",\n style: { width: 100, short: true }\n }\n ],\n pagination: \"\",\n params: {\n perPage: 100,\n filterText: \"\",\n currentPage: 1,\n page: 1,\n pagination: true\n }\n };\n};\n\nexport default {\n tableDateFirms: defaultTableDateFirms(),\n dateFirm: {\n 'firm_date_general' : null\n },\n action: \"create\",\n errorForm: false,\n firm_date_modification:null,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dateFirm/state.js","export function setDateFirms(state, data) {\n // Agregamos los datos de la tabla\n state.tableDateFirms.items = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.tableDateFirms.pagination = data;\n}\n\nexport function setErrorForm(state, value) {\n state.errorForm = value;\n}\n\nexport function setAction(state, value) {\n state.action = value;\n}\n\nexport function setDateFirm(state, data) {\n data.firm_date_general = state.dateFirm.firm_date_general;\n state.dateFirm = data;\n}\n\nexport function resetDateFirm(state, data) {\n state.dateFirm = {\n firm_date_general : state.dateFirm.firm_date_general,\n observations : null,\n firm_date_account : null,\n account : null,\n id : null,\n account_id : null,\n created_at : null,\n deleted_at : null,\n };\n}\n\nexport function setSubscriberDate(state, data) {\n state.dateFirm.firm_date_general = data.firmDate;\n state.firm_date_modification = data.user_f_d ? `${data.user_f_d.name} ${data.user_f_d.surname} ${data.firm_date_modification_date}`: null;\n}\n\nexport function setAttributeDateFirm(state, data) {\n state.dateFirm = {\n ...state.dateFirm,\n ...data\n };\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dateFirm/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nconst apiName = \"/api/fecha-firme\";\n\nexport async function fetchDateFirms({ commit, state }) {\n await $http\n .get(apiName, {\n params: state.tableDateFirms.params\n })\n .then(response => {\n commit(\"setDateFirms\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchDteFirmSubscriber({ commit, state }) {\n await $http\n .get(\"/api/fecha-firme-subscriber\")\n .then(response => {\n commit(\"setSubscriberDate\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchDateFirmById({ commit }, id) {\n await $http\n .get(`${apiName}/${id}`)\n .then(response => {\n commit(\"setDateFirm\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createDateFirm({ commit, state, dispatch }) {\n commit(\"setErrorForm\", false);\n\n await $http\n .post(apiName, state.dateFirm)\n .then(response => {\n if (response.data.subscriber){\n commit(\"setSubscriberDate\", response.data);\n Notification.success({\n title: \"Success!\",\n message: 'Se ha actualizado correctamente la fecha en firme del subscriptor',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Se ha creado correctamente el registro',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDateFirms\");\n }\n\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\nexport async function updateDateFirmSubs({ commit, state, dispatch }) {\n commit(\"setErrorForm\", false);\n\n await $http\n .post(apiName, state.dateFirm)\n .then(response => {\n if (response.data.subscriber){\n commit(\"setSubscriberDate\", response.data);\n Notification.success({\n title: \"Success!\",\n message: 'Se ha actualizado correctamente la fecha en firme del subscriptor',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Se ha creado correctamente el registro',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDateFirms\");\n }\n\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\nexport async function updateDateFirm({ commit, state, dispatch }) {\n commit(\"setErrorForm\", false);\n\n await $http\n .put(`${apiName}/${state.dateFirm.id}`, state.dateFirm)\n .then(response => {\n Notification.success({\n title: \"Success!\",\n message: 'Se ha Actualizado correctamente el registro',\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"fetchDateFirms\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\nexport async function deleteDateFirm({ commit, dispatch, state }, id) {\n await $http\n .delete(`${apiName}/${id}`)\n .then(response => {\n dispatch(\"fetchDateFirms\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorForm\", true);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dateFirm/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dateFirm/index.js","export function setPreloader(state, preloader){\n state.preloader = preloader\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable/mutations.js","import $http from \"../../axios\";\nimport {Notification} from \"element-ui\";\n\nexport async function executeClosing({state, commit}) {\n commit('setPreloader', true)\n await $http.post(\"/api/cierre-mensual\", state.params)\n .then(response => {\n Notification.success({\n title: \"Éxito!\",\n message: 'Cierre ejecutado exitosamente.',\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n commit('setPreloader', false)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable/index.js","export default {\n preloader: false,\n params: {\n year_month: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable/state.js","export const getUserLogedId = () => {\n let user = JSON.parse(localStorage.getItem('user'))\n return user?user.id:null;\n\n};\nexport const getDate = () => {\n const fechaActual = new Date();\n const year = fechaActual.getFullYear();\n const month = String(fechaActual.getMonth() + 1).padStart(2, '0'); // Sumamos 1 al mes ya que los meses comienzan desde 0\n const day = String(fechaActual.getDate()).padStart(2, '0');\n\n return `${year}-${month}-${day}`;\n\n};\nfunction getTime() {\n const date = new Date();\n const hours = date.getHours().toString().padStart(2, '0');\n const minutes = date.getMinutes().toString().padStart(2, '0');\n const seg = date.getSeconds().toString().padStart(2, '0');\n\n return `${hours}:${minutes}:${seg}`;\n}\n\nexport default {\n params: {\n wallet_type : null,\n year_month_from: null,\n include_account_no_manage_doc: '0',\n account_code : null,\n contact_id : null,\n contact_warehouse_id: null,\n files:[],\n acepted:null,\n approved:null,\n paid:null,\n function:null,\n year_month:null,\n year_month_up:null,\n fun_code:null,\n affects_prefix: null,\n affects_consecutive: null,\n quota_number: null,\n identification_contact: null,\n format:null\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n modalTc:{\n show : false,\n cw_id:null\n },\n warehouses: [],\n concepts: [],\n functions: [],\n parameterContactWarehouse:[],\n conceptsParameters:[],\n wallet:[],\n transactions_wallet:[],\n wallet_types:[],\n accounts_bank:[],\n loading:{\n preloader:false,\n wallet:true,\n pay:false\n },\n\n // Datos generacion Egresos\n form_generate_expenses:{\n vouchertype_id:null,\n date:null,\n bank_document_number:null,\n observations:null,\n file: null,\n documentsIds:[],\n account_bank:null,\n account_bank_description:null,\n },\n created_documents:[],\n g_e_vouchers_types: [],\n tracings: [],\n tracing_fields:{\n id : null,\n tracing: null,\n time: getTime(),\n user_id: getUserLogedId(),\n date: getDate(),\n document_id : null\n },\n is_lock_record_button: false,\n subscriber:null,\n};\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable-report/state.js","export function setwallet(state, wallet){\n state.wallet = wallet\n state.loading.wallet = true\n}\nexport function settransactions_wallet(state, transactions_wallet){\n state.transactions_wallet = transactions_wallet\n}\n\nexport function update_document(state,update_user){\n let wallet = state.wallet\n wallet.map(d=>{\n if(d.affects_document_id == update_user.document_id){\n d.tracing_user_update = update_user.tracing_user_updates;\n }\n })\n state.wallet = wallet\n\n }\n\nexport function setWalletType(state, wallet_types){\n state.wallet_types = wallet_types\n}\nexport function setParamsWalletType(state, wallet_type){\n state.params.wallet_type = wallet_type\n}\n\nexport function setbankaccount(state,accounts_bank){\n state.accounts_bank = accounts_bank;\n}\n\nexport function setBranchofficeWarehouses(state,warehouse){\n state.warehouses = warehouse;\n}\n\nexport function setConcepts(state,concepts){\n state.concepts = concepts;\n}\n\nexport function setParameterContactWarehouse(state,parameterContactWarehouse){\n state.parameterContactWarehouse = parameterContactWarehouse;\n}\n\nexport function setConceptsParameters(state,conceptsParameters){\n state.conceptsParameters = conceptsParameters;\n}\n\nexport function setFunctions(state, functions){\n state.functions = functions\n}\nexport function setGEVouchers_types(state, g_e_vouchers_types){\n state.g_e_vouchers_types = g_e_vouchers_types\n}\nexport function setCreatedDocuments(state, created_documents){\n state.created_documents = created_documents\n}\nexport function setTracings(state, tracings){\n state.tracings = tracings\n}\nexport function setTracingDataDefault(state){\n let user = JSON.parse(localStorage.getItem('user'))\n let date_time = getTime();\n const time = date_time.time;\n const fechaEnFormato = date_time.date;\n state.tracing_fields = {\n id : null,\n tracing: null,\n time: time,\n user_id: user ?user.id:null,\n date: fechaEnFormato,\n document_id : null\n }\n}\nexport function setTracingDataDefaultFileds(state){\n let user = JSON.parse(localStorage.getItem('user'))\n let date_time = getTime();\n\n const fechaEnFormato = date_time.date;\n const time = date_time.time;\n const doc_id = state.tracing_fields.document_id;\n\n state.tracing_fields = {\n id : null,\n tracing: null,\n time: time,\n user_id: user ?user.id:null,\n date: fechaEnFormato,\n document_id : doc_id\n }\n}\nexport function updateTracingsRow(state){\n let tracings = state.tracings;\n if (tracings && state.tracing_fields.document_id){\n let wallet = state.wallet;\n wallet.map(d=>{\n if(d.affects_document_id === state.tracing_fields.document_id){\n d.last_tracing = tracings.length >0 ?tracings[0].tracing:null;\n d.date_tracing = tracings.length >0 ?tracings[0].date_tracing:null;\n d.tracings = tracings;\n }\n })\n state.wallet = wallet\n }\n}\nexport function setUpdatedTracing(state,tracing) {\n let date =tracing.date_tracing.split(' ');\n state.tracing_fields = {\n id: tracing.id,\n tracing: tracing.tracing,\n time: date[1],\n user_id: tracing.user_id,\n date: date[0],\n document_id: tracing.document_id\n }\n}\nexport function getTime(){\n const fechaActual = new Date();\n const year = fechaActual.getFullYear();\n const month = String(fechaActual.getMonth() + 1).padStart(2, '0'); // Sumamos 1 al mes ya que los meses comienzan desde 0\n const day = String(fechaActual.getDate()).padStart(2, '0');\n const hours = fechaActual.getHours().toString().padStart(2, '0');\n const minutes = fechaActual.getMinutes().toString().padStart(2, '0');\n const seg = fechaActual.getSeconds().toString().padStart(2, '0');\n\n return {\n 'date': `${year}-${month}-${day}`,\n 'time': `${hours}:${minutes}:${seg}`\n }\n\n}\nexport function setIsLockRecordButton (state) {\n state.is_lock_record_button = !state.is_lock_record_button;\n}\n\nexport function setSubscriber(state, subscriber){\n state.subscriber = subscriber\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable-report/mutations.js","import $http from \"../../axios\";\nimport {\n h\n} from 'vue'\nimport {\n Notification,\n MessageBox\n} from \"element-ui\";\n\n\nexport async function getWallet({\n state,\n commit\n}, params) {\n state.loading.wallet = true;\n state.params.seller_id = params.seller_id\n state.params.contact_id = params.contact_id\n state.params.account_id = params.account_id\n state.params.wallet_type = params.wallet_type\n state.params.contact_warehouse_id = params.contact_warehouse_id\n\n await $http.get(\"/api/consulta-cartera\", {\n params: state.params\n })\n .then(response => {\n commit('setwallet', response.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.wallet = false;\n}\n\nexport async function getPaysAndWallet({\n state,\n commit\n}, params) {\n state.loading.pay = true;\n state.params.seller_id = params.seller_id\n state.params.contact_id = params.contact_id\n state.params.account_id = params.account_id\n state.params.wallet_type = 24605 // solo C X P\n state.params.contact_warehouse_id = params.contact_warehouse_id\n\n await $http.get(\"/api/consulta-pagos-cartera\", {\n params: state.params\n })\n .then(response => {\n commit('setwallet', response.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.pay = false;\n}\n\nexport async function getAccountBank({\n state,\n commit\n}) {\n\n await $http.get(\"/api/consulta-cuentas-bancarias\")\n .then(response => {\n commit('setbankaccount', response.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.wallet = false;\n}\n\nexport async function fetchWalletType({\n commit,\n state\n}, ) {\n await $http\n // .get(\"/api/parametros-por-tabla/100\")\n .get(\"/api/parametros-por-codigo/C-004\")\n .then(response => {\n commit(\"setWalletType\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function getTransactions({\n state,\n commit\n}, data) {\n await $http.get(\"/api/transacciones-cartera/\" + data[0], {\n params: data[1]\n })\n .then(response => {\n commit('settransactions_wallet', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateTracing({\n commit,\n state\n}, attributs) {\n await $http\n .get(\"/api/actualizar-seguimiento\", {\n params: attributs\n })\n .then(response => {\n commit('update_document', response.data[0]);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function updatePay({\n commit,\n dispatch,\n state\n}, attributs) {\n await $http\n .get(\"/api/actualizar-pagos\", {\n params: attributs\n })\n .then(response => {\n commit('update_document', response.data[0]);\n dispatch('getPaysAndWallet', {\n contact_id: null,\n account_id: null,\n seller_id: null,\n wallet_type: null,\n contact_warehouse_id: null,\n })\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function downloadDocument({\n state\n}, documentToPdf) {\n state.loading.download_pdf = true\n let name = documentToPdf.code_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n\n let url = ''\n\n\n if (state.params.wallet_type === 24605) {\n url = '/api/descargar-pdf-contabilidad/' + documentToPdf.affects_document_id\n } else {\n url = '/api/documentos/descargar-pdf/' + documentToPdf.affects_document_id\n }\n\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n state.loading.download_pdf = false\n}\n\nexport async function sendEmailMasiveWallet({\n commit,\n state\n}) {\n console.log(state.params);\n await $http.post('/api/enviando-masivo-correos', {\n params: state.contacs_selecteds\n })\n .then((response) => {\n console.log(response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function aceptPay({\n commit,\n state,\n dispatch\n}, params) {\n await $http.post('/api/aceptar-pagos', params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Pago aceptado con exito',\n type: \"success\",\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('getPaysAndWallet', {\n contact_id: null,\n account_id: null,\n seller_id: null,\n wallet_type: null,\n contact_warehouse_id: null,\n })\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n })\n}\n\nexport async function verifyPay({\n commit,\n state,\n dispatch\n}, params) {\n await $http.post('/api/verificar-pagos', params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Pago aceptado con exito',\n type: \"success\",\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('getPaysAndWallet', {\n contact_id: null,\n account_id: null,\n seller_id: null,\n wallet_type: null,\n contact_warehouse_id: null,\n })\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n })\n}\n\nexport async function loadXml({\n commit,\n state,\n dispatch\n}) {\n let formData = new FormData();\n state.params.files.map(fn => {\n formData.append(\"filesUpload[]\", fn);\n });\n\n await $http.post('/api/cargar-xml', formData)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'xml cardgado con exito',\n type: \"success\",\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('getPaysAndWallet', {\n contact_id: null,\n account_id: null,\n seller_id: null,\n wallet_type: null,\n contact_warehouse_id: null,\n })\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n\n // modal de parametrizacion de proveedor\n if (data.data && data.data.error_cw) {\n state.modalTc.show = true\n state.modalTc.cw_id = data.data.cw_id\n }\n })\n}\n\n//Obtener las bodegas\nexport async function fetchBranchOfficeWarehouses({\n commit,\n state\n}, brancheoffice) {\n await $http.get(`/api/bodegas-sedes?id=${brancheoffice}`)\n .then((response) => {\n commit('setBranchofficeWarehouses', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener Select de Conceptos Tabla FE02\nexport async function fetchConcepts({\n commit,\n state\n}, ) {\n await $http\n // .get(\"/api/parametros-por-tabla/120\")\n .get(\"/api/parametros-por-codigo/FE02\")\n .then(response => {\n commit(\"setConcepts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Obtener Conceptos Parametria Oficina\nexport async function fetchConceptsParameter({\n commit,\n state\n}, contact_warehouse_id) {\n await $http\n .get(\"/api/parametria-sucursal-modelo/\" + contact_warehouse_id)\n .then(response => {\n commit(\"setParameterContactWarehouse\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Eliminar Conceptos Parametria Oficina\nexport async function deleteParameterContactBd({\n commit,\n state\n}, id_parameter_contact) {\n await $http\n .post(\"/api/delete-parametria-sucursal-modelo/\" + id_parameter_contact)\n .then(response => {\n Notification.error({\n title: \"Info!\",\n message: \"Parametro Eliminado Correctamente\",\n type: \"info\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Obtener Conceptos Parametria Oficina\nexport async function fetchConceptsParameters({\n commit,\n state\n}, contact_provider_id) {\n await $http\n .get(\"/api/provider-contact-parameters/\" + contact_provider_id)\n .then(response => {\n commit(\"setConceptsParameters\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function downFilesBank({\n state,\n commit\n}) {\n\n /*ENVIO INFO BANCOLOMBIA */\n let wallet_filter_bancolombia = state.wallet.filter(wallet => wallet.passed === true && wallet.code_bank === '01');\n\n let parameters_excel_bancolombia = {};\n\n var new_wallet_filter_bancolombia = wallet_filter_bancolombia.map(function (wallet) {\n var objNecesary = {};\n objNecesary['affects_document_id'] = wallet.affects_document_id;\n objNecesary['passed'] = wallet.passed;\n objNecesary['value_pay'] = wallet.value_pay;\n objNecesary['cw_id'] = wallet.cw_id;\n objNecesary['document_affect'] = wallet.document_affect;\n objNecesary['id_account_bank'] = wallet.id_account_bank;\n return objNecesary;\n });\n\n\n\n\n for (var i = 0; i < new_wallet_filter_bancolombia.length; i++) {\n parameters_excel_bancolombia[i] = new_wallet_filter_bancolombia[i];\n }\n /*CREACION ARCHIVO BANCOLOMBIA*/\n\n let parms_excel_bancolombia = {\n ...parameters_excel_bancolombia\n };\n\n var bancolombia = await $http.post(`/api/verificar-proveedor`, {\n params: parameters_excel_bancolombia,\n });\n\n if (bancolombia.data[0] && bancolombia.data[0].error) {\n let message = \"\";\n let errors_bancolombia = Object.values(bancolombia.data);\n\n errors_bancolombia.map(function (error) {\n message += \"El Proveedor \" + error.identification + \"-\" + error.name + \" :
\" + error.error + \"

\";\n });\n\n MessageBox.alert(\n message,\n \"Error Archivo Bancolombia\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error width-hom\",\n dangerouslyUseHTMLString: true,\n }\n );\n\n\n\n } else {\n await $http({\n url: `/api/descargar-documento-bancolombia`,\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n data: JSON.stringify(parms_excel_bancolombia),\n responseType: 'blob', // important\n }).then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'bancolombia.xlsx'); //or any other extension\n document.body.appendChild(link);\n link.click();\n commit('setLoading', false)\n\n }).catch((error) => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n }\n\n\n /*ENVIO INFO BANCO DE BOGOTA */\n let wallet_filter_bancodebogota = state.wallet.filter(wallet => wallet.passed === true && wallet.code_bank === '02');\n\n let parameters_excel_bancodebogota = {};\n\n var new_wallet_filter_bancodebogota = wallet_filter_bancodebogota.map(function (wallet) {\n var objNecesary = {};\n objNecesary['affects_document_id'] = wallet.affects_document_id;\n objNecesary['passed'] = wallet.passed;\n objNecesary['value_pay'] = wallet.value_pay;\n objNecesary['cw_id'] = wallet.cw_id;\n objNecesary['document_affect'] = wallet.document_affect;\n objNecesary['id_account_bank'] = wallet.id_account_bank;\n return objNecesary;\n });\n\n\n for (var i = 0; i < new_wallet_filter_bancodebogota.length; i++) {\n parameters_excel_bancodebogota[i] = new_wallet_filter_bancodebogota[i];\n }\n\n let parms_excel_bogota = {\n ...parameters_excel_bancodebogota\n };\n /*CREACION ARCHIVO bancodebogota*/\n\n var bancodebogota = await $http.post(`/api/verificar-proveedor`, {\n params: parameters_excel_bancodebogota,\n });\n\n if (bancodebogota.data[0] && bancodebogota.data[0].error) {\n let message = \"\";\n let errors_bogota = Object.values(bancodebogota.data);\n\n errors_bogota.map(function (error) {\n message += \"El Proveedor \" + error.identification + \"-\" + error.name + \" :
\" + error.error + \"

\";\n });\n\n\n MessageBox.alert(\n message,\n \"Error Archivo Banco de Bogota\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error width-hom\",\n dangerouslyUseHTMLString: true,\n }\n );\n\n\n\n } else {\n await $http({\n url: `/api/descargar-documento-bancobogota`,\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n data: JSON.stringify(parms_excel_bogota),\n responseType: 'blob', // important\n }).then(response => {\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'bancodebogota.xlsx'); //or any other extension\n document.body.appendChild(link);\n link.click();\n commit('setLoading', false)\n\n }).catch((error) => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n }\n\n\n\n}\n\nexport async function fetchFunctions({\n commit,\n state\n}) {\n await $http\n // .get(\"/api/parametros-por-tabla/122\")\n .get(\"/api/parametros-por-codigo/074\")\n .then(response => {\n commit(\"setFunctions\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function declinePay({\n commit,\n state,\n dispatch\n}, params) {\n await $http.post('/api/rechazar-pagos', params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Pago rechazado con exito',\n type: \"success\",\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('getPaysAndWallet', {\n contact_id: null,\n account_id: null,\n seller_id: null,\n wallet_type: null,\n contact_warehouse_id: null,\n })\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n })\n}\nexport async function fetchVouchertypeA({state, commit}){\n let brachOffice = Number(localStorage.selected_branchoffice)\n await $http.get(\"/api/tipos-de-comprobantes\", {\n params: {\n paginate: false,\n filter: null,\n branchoffice: brachOffice,\n }\n })\n .then((response) => {\n commit('setGEVouchers_types', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\",\n });\n });\n}\n\nexport async function generateExpenses({state,commit}){\n let params = state.form_generate_expenses;\n\n await $http.post('/api/generar-egresos', params)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: \"success\",\n duration: 2000,\n customClass: 'notification-box',\n });\n\n commit('setCreatedDocuments', response.data.data)\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n })\n}\n\nexport async function notifyBanks({state,commit}){\n await $http.get('/api/notificar-para-bancos')\n .then((response) => {\n console.log(response);\n MessageBox.alert(\n response.data.message,\n \"Exito\", {\n confirmButtonText: \"Aceptar\",\n type: \"success\",\n }\n );\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n MessageBox.alert(\n data.message,\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n })\n}\nexport async function getTracings({state,commit},obtener_seguimientos){\n state.tracings = [];\n await $http.get('/api/obtener-seguimientos/'+obtener_seguimientos)\n .then((response) => {\n commit('setTracings', response.data)\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function addTracings({state,commit}){\n await $http.post('/api/nuevo-seguimiento' , state.tracing_fields)\n .then(async (response) => {\n commit('setTracings', response.data.data)\n state.tracing_fields.tracing = null;\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).finally(() => {\n commit('setIsLockRecordButton');\n });\n}\n\nexport async function deleteTracings({state,commit},id){\n await $http.delete('/api/eliminar-seguimiento/'+id)\n .then(async (response) => {\n commit('setTracings', response.data.data)\n Notification.success({\n title: 'Success!',\n message: response.data.message,\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get('/api/suscriptor')\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable-report/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/receivable-report/index.js","export function setCommisionSaleBrands(state, commisionSaleBrands){\n state.commisionSaleBrands = commisionSaleBrands\n}\nexport function setSellers(state, sellers){\n state.sellers = sellers\n}\n\nexport function update_document(state,update_user){\n console.log(update_user);\n let wallet = state.wallet\n wallet.map(d=>{\n if(d.affects_document_id == update_user.document_id){\n d.tracing_user_update = update_user.tracing_user_updates;\n }\n })\n state.wallet = wallet\n }\n\nexport function setWalletType(state, wallet_types){\n state.wallet_types = wallet_types\n}\nexport function setParamsWalletType(state, wallet_type){\n state.params.wallet_type = wallet_type\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/commission-sale-brand/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function fetchSellers({commit, state}, text) {\n let params = { filter:text}\n console.log(new Date()+\"Empezando Sellers\");\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getCommisionSaleBrand({ state, commit }, params) {\n state.params.date_from = params.date_from\n state.params.date_up = params.date_up\n state.params.seller_id = params.seller_id\n\n await $http.get(\"/api/consulta-comisiones-venta-marca\", {params: state.params})\n .then(response => {\n commit('setCommisionSaleBrands', response.data) \n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.commisionSaleBrands = false;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/commission-sale-brand/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/commission-sale-brand/index.js","export default {\n params: {\n seller_id : null,\n date_from: null,\n date_up : null,\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n commisionSaleBrands:[],\n sellers:[],\n loading:{\n preloader:false,\n commisionSaleBrands:true,\n }\n };\n \n\n\n// WEBPACK FOOTER //\n// ./src/modules/commission-sale-brand/state.js","export default {\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n branchoffices: [\n {id: -1, name: 'TODOS SEPARADO POR SEDE - BODEGA'},\n {id: -2, name: 'TODOS CONSOLIDADO'}\n ],\n lots_info: [\n {id: -1, name: 'DETALLADO POR LOTES'},\n {id: -2, name: 'CONSOLIDADO'},\n ],\n branchoffices_warehouses: [],\n lines: [],\n brands: [],\n preloader: false,\n loading: {\n module:false,\n },\n params: {\n date: new Date(),\n branchoffice_id: -1,\n branchoffice_warehouse_id: null,\n line_id: null,\n brand_id: null,\n info_lots_id: -1,\n download: null\n },\n data_report:[]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-report/state.js","export function setBranchoffices(state, branchoffices){\n branchoffices.unshift({id: -1, name: 'TODOS SEPARADO POR SEDE - BODEGA'})\n branchoffices.unshift({id: -2, name: 'TODOS CONSOLIDADO'})\n state.branchoffices = branchoffices\n}\n\nexport function setBranchofficesWarehouses(state, branchoffices_warehouses){\n state.branchoffices_warehouses = branchoffices_warehouses\n}\n\nexport function setLines(state, lines){\n state.lines = lines\n}\n\nexport function setBrands(state, brands){\n state.brands = brands\n}\n\nexport function clearParamsBranchofficesWarehouseId(state){\n state.params.branchoffice_warehouse_id = null\n}\n\nexport function setPreloader(state, preloader){\n state.preloader = preloader\n}\nexport function setDataReport(state, data){\n state.data_report = data\n}\nexport function setDownloadExcel(state, data){\n state.params.download = data\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-report/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\n/**\n * Obtiene todas las sedes del suscriptor actual\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchBranchOffices({dispatch, state, rootState, commit}) {\n let params = {\n params: {\n subscriber_id: 1,\n paginate: false\n }\n };\n\n await $http\n .get('/api/sedes', params)\n .then(response => {\n commit('setBranchoffices', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtiene todas las bodegas de la sede seleccionada\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchBranchOfficesWarehouses({dispatch, state, rootState, commit}) {\n\n commit('clearParamsBranchofficesWarehouseId');\n\n if (!state.params.branchoffices_warehouses) {\n let params = {\n params: {\n branchoffice_id: state.params.branchoffice_id,\n paginate: false\n }\n };\n\n await $http\n .get('/api/bodegas-sedes', params)\n .then(response => {\n commit('setBranchofficesWarehouses', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n } else {\n commit('setBranchofficesWarehouses', []);\n }\n}\n\n/**\n *\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchLines({dispatch, state, rootState, commit}) {\n await dispatch(\n 'lines/fetchLines',\n {params: {paginate: false}},\n {root: true}\n );\n\n commit('setLines', rootState.lines.lines);\n}\n\n/**\n *\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchBrands({dispatch, state, rootState, commit}) {\n await dispatch(\n 'brands/fetchBrands',\n {\n params: {\n paginate: false,\n lines: []\n }\n },\n {root: true}\n );\n commit('setBrands', rootState.brands.brands);\n}\n\n\n/**\n *\n * @returns {Promise}\n */\nexport async function reportGenerate({state, commit},download = false) {\n commit('setPreloader', true);\n if (download){\n state.params.download = true\n }\n await $http({\n url: '/api/inventario-valorizado',\n method: 'GET',\n responseType:state.params.download? 'blob':'Json',\n params: state.params\n })\n .then(response => {\n if (state.params.download){\n state.params.download = null\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Inventario-valorizado.csv');\n document.body.appendChild(link);\n link.click();\n }else{\n commit('setDataReport', response.data);\n }\n\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n commit('setPreloader', false);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-report/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-report/index.js","export function setLines(state, lines){\n state.lines = lines\n}\nexport function setOrdersProduct(state, orders_product){\n state.orders_product = orders_product\n}\nexport function setProducts(state, products){\n state.products = products\n}\nexport function setProductSales(state, sales){\n state.sales = sales\n}\nexport function setContacts(state, contacts){\n state.contacts = contacts\n}\nexport function setProviders(state, providers){\n state.providers = providers\n}\nexport function setBoProduct(state, back_orders){\n state.back_orders = back_orders\n}\nexport function setTransit(state, transit){\n state.transit = transit\n}\nexport function setOrderQuantity(state, orderQuantity){\n state.orderQuantity = orderQuantity\n}\nexport function setPdfRoute(state, pdfRoute){\n state.pdfRoute = pdfRoute\n}\nexport function setEntriesImport(state, entries_import){\n state.entries_import = entries_import\n}\nexport function setDetailMonths(state, detail_months){\n state.detail_months = detail_months.detail_per_months\n\n state.columns_detail_months = [];\n detail_months.months.forEach(month => {\n state.columns_detail_months.push({\n headerName: month.headerName,\n field : month.field,\n width : 200,\n })\n });\n}\nexport function setEntraces(state, entraces){\n state.entraces = entraces\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reposition/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n\nexport async function fetchContacts({ commit, state }, requestParameters = { params: state.paramsquery }) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getTransactions({ state, commit }, id) {\n await $http.get(\"/api/transacciones-cartera/\" + id, { params: state.params })\n .then(response => {\n commit('settransactions_wallet', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch('lines/fetchLines', { params: { paginate: false } }, { root: true })\n commit('setLines', rootState.lines.lines)\n }\n}\n\nexport async function getOrders({ state, commit }, id) {\n state.params.product_id=id\n await $http.get(\"/api/reposicion-inventario/\" + id, { params: state.params })\n .then(response => {\n commit('setOrdersProduct', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getEntraces({ state, commit }, id) {\n await $http.get(\"/api/entradas-factura/\" + id)\n .then(response => {\n commit('setEntraces', response.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getOrdersMasive({ state, commit }) {\n await $http.get(\"/api/reposicion-inventario-masive/\", { params: state.params })\n .then(response => {\n commit('setOrdersProduct', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getProducts({ state, commit }) {\n\n await $http.get(\"/api/reposicion-inventario/\", { params: state.params })\n .then(response => {\n commit('setProducts', response.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.products = false;\n}\n\nexport async function updateProducts({ state, commit }) {\n await $http.get(\"/api/update-quantity-import/\", { params: state.params })\n .then(response => {\n state.loading.products = false;\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getSalesMonth({ state, commit }, id) {\n await $http.get(\"/api/reposicion-inventario/sales/\" + id, { params: state.params })\n .then(response => {\n commit('setProductSales', response.data.sales)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getBoProduct({ state, commit }, id) {\n await $http.get(\"/api/reposicion-inventario/bo/\" + id, { params: state.params })\n .then(response => {\n commit('setBoProduct', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchProviders({ commit }, filter) {\n await $http\n .get(\"/api/lista-proveedores\", filter)\n .then(response => {\n commit(\"setProviders\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getTransit({ state, commit }) {\n await $http.get(\"/api/transit\", { params: state.params })\n .then(response => {\n commit('setTransit', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n// Inserta una cantidad especifica de un producto en la orden de reposición de inventario\nexport async function insertQuantityOrder({ state, commit }, data) {\n await $http.post(\"/api/reposicion-inventario/orden/cantidad\", { data: data, params: state.params })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n// Inserta la orden completa con sus filtros\nexport async function insertAllOrder({ state, commit }, data) {\n // state.loading.products = true;\n await $http.post(\"/api/reposicion-inventario/orden/completa\", { data: data, params: state.params })\n .then(response => {\n console.log(response.data.data.pdf.original.data.pdf)\n commit('setPdfRoute', response.data.data.pdf.original.data.pdf)\n state.loading.products = false;\n // commit('setTransit', response.data.data)\n Notification.success({\n title: \"Exito!\",\n message: 'Orden Generada',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getOrderQuantity({ state, commit }) {\n await $http.get(\"/api/reposicion-inventario/orden/catidades\", { params: state.params })\n .then(response => {\n commit('setOrderQuantity', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getEntryImport({ state, commit }, id) {\n await $http.get(\"/api/reposicion-inventario-masive/entradas-importacion/\" + id, { params: state.params })\n .then(response => {\n commit('setEntriesImport', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateTransit({state, commit}, data){\n await $http.put(\"/api/transito/actualizar\", data)\n .then(response => {\n console.log(response);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getDetailMonts({state, commit}, product){\n let data = {\n params:{\n delivery_days : state.params.delivery_days,\n product_id : product.id,\n average_sales_month : product.average_sales_month\n }\n }\n await $http.get(`/api/detalle-meses`, data)\n .then(response => {\n commit('setDetailMonths', response.data.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function closeOrder({state, commit, dispatch}, id){\n let data = {\n state : true\n }\n await $http.post(`/api/documentos/cerrar/${id}`, data)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: response.data.message,\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n dispatch('getOrdersMasive')\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reposition/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reposition/index.js","export default {\n params: {\n delivery_days: '1',\n delivery_date: '',\n months: '12',\n provider: '',\n warehouse:'',\n branchoffice: '',\n observation: '',\n trm_value: null,\n option:1,\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n entries_import:[],\n products:[],\n orders_product:[],\n back_orders: [],\n sales:[],\n lines :[],\n providers: [],\n transit: [],\n orderQuantity: [],\n pdfRoute: '',\n loading:{\n preloader:false,\n products:false,\n },\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n detail_months:[],\n columns_detail_months:[],\n entraces:[],\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reposition/state.js","export function setTransactions(state, transactions){\n state.transactions = transactions\n}\n\nexport function setProjects(state, projects) {\n state.projects = projects;\n}\n\nexport function setProjectsTable(state, projects) {\n state.projects = projects.data;\n\n delete projects.data;\n\n state.projectsTable.pagination = projects;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/project-movements/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function getDocumentTransactions({commit, state, dispatch}, proyect_id){\n await $http.get(`/api/proyect-transactions/${proyect_id}`)\n .then(response => {\n commit('setTransactions', response.data.data);\n })\n .catch(error => {\n // let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: 'error',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n state.loading.transactions = false;\n}\n//Obtener los marcas\nexport async function fetchProjects(\n { commit, state }\n) {\n let requestParameters = {\n params: {\n paginate: false\n }\n };\n await $http\n .get(\"/api/proyectos\", requestParameters)\n .then(response => {\n if (requestParameters.params.paginate) {\n commit(\"setProjectsTable\", response.data.data);\n } else {\n commit(\"setProjects\", response.data.data);\n }\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/project-movements/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/project-movements/index.js","export default {\n params: {\n delivery_days: '1',\n delivery_date: '',\n months: '12',\n provider: '',\n warehouse:'',\n branchoffice: '',\n observation: ''\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n transactions:[],\n projects: [],\n loading:{\n preloader:false,\n transactions:false,\n },\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n paramsTable: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: \"\"\n },\n projectsTable: {\n items: [],\n columns: [\n {\n name: \"Código\",\n field: \"code\",\n format: \"text\"\n },\n {\n name: \"Descripción\",\n field: \"description\",\n format: \"text\"\n },\n {\n name: \"Tipo Negocio\",\n field: \"type\",\n format: \"text\"\n },\n {\n name: \"Estado\",\n field: \"status\",\n format: \"text\"\n },\n {\n name: \"Opciones\",\n field: \"options\",\n format: \"text\"\n }\n ],\n pagination: {},\n params: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: \"\"\n }\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/project-movements/state.js","\nexport const defaultSelectedDateFrom = () => {\n let d = new Date();\n let month = d.getMonth()+1;\n month = month<10 ? '0'+month.toString() : month.toString();\n return `${d.getFullYear()-1}${month}`;\n };\n export default {\n params: {\n wallet_type : null,\n year_month_from: defaultSelectedDateFrom(),\n account_code : null,\n contact_id : null,\n seller_id : null\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n wallet:[],\n transactions_wallet:[],\n wallet_types:[],\n loading:{\n preloader:false,\n wallet:false,\n },\n clients:[]\n };\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/historical-by-document/state.js","export function setwallet(state, wallet){\n state.wallet = wallet;\n}\nexport function settransactions_wallet(state, transactions_wallet){\n state.transactions_wallet = transactions_wallet\n}\nexport function setWalletType(state, wallet_types){\n state.wallet_types = wallet_types\n}\nexport function setParamsWalletType(state, wallet_type){\n state.params.wallet_type = wallet_type\n}\nexport function setClients(state,clients) {\n state.clients=clients\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/historical-by-document/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n\nexport async function getWallet({ state, commit }, params) {\n\n if(params){\n state.params.seller_id = params.seller_id ? params.seller_id : null\n state.params.contact_id = params.contact_id\n state.params.wallet_type = params.wallet_type\n }\n\n await $http.get(\"/api/consulta-cartera-tercero\", {params: state.params})\n .then(response => {\n commit('setwallet', response.data)\n })\n .catch(error => {\n state.loading.wallet = true\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n state.loading.wallet = false;\n}\n\nexport async function fetchWalletType(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/100\")\n .then(response => {\n commit(\"setWalletType\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function getTransactions({ state, commit }, data) {\n await $http.get(\"/api/transacciones-cartera/\" + data[0], {\n params: data[1]\n })\n .then(response => {\n commit('settransactions_wallet', response.data.data)\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getAllClients({state,commit}) {\n\n await $http.get('/api/all-contacts',{\n\n }).then( async response=>{\n await commit('setClients',response.data)\n }).catch();\n\n}\n\nexport async function fetchContacts({commit, state}, filter) {\n\n let params = {\n paginate: true,\n query: filter,\n filter: filter,\n only_active:true,\n perPage:100,\n }\n\n await $http.get('/api/terceros-lite', {params})\n .then((response) => {\n commit('setClients', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/historical-by-document/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/historical-by-document/index.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function accountingInventoryOperations({ commit, state }) {\n return new Promise(async (resolve, reject) => {\n commit(\"setLoadingAccounting\", true);\n $http\n .post(\"/api/contabilizacion-documento\", state.paramsAccounting)\n .then(response => {\n commit(\"setDetailAccounting\", response.data);\n commit(\"setLoadingAccounting\", false);\n\n resolve(response.data);\n })\n .catch(error => {\n commit(\"setLoadingAccounting\", false);\n let data = error.response.data\n\n reject(data);\n });\n });\n}\nexport async function accountingInventoryOperationsCountDocuments({\n commit,\n state\n}) {\n if (state.paramsAccounting.filterDate.length !== 0) {\n // commit(\"setLoadingAccounting\", true);\n\n $http\n .post(\"/api/contabilizacion-documento-cantidad\", state.paramsAccounting)\n .then(response => {\n commit(\"setAccountingCountDocuemnts\", response.data);\n // commit(\"setLoadingAccounting\", false);\n })\n .catch(error => {\n // commit(\"setLoadingAccounting\", false);\n\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al buscar documentos.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-inventory-movements/actions.js","export function setLoadingAccounting(state, value) {\n state.loadingAccounting = value;\n}\nexport function setDetailAccounting(state, data) {\n state.detailAccounting = data;\n}\nexport function setAccountingCountDocuemnts(state, value) {\n state.accountingCountDocuemnts = value.documents;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-inventory-movements/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tactions,\n\tmutations,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-inventory-movements/index.js","export default {\n loadingAccounting: false,\n detailAccounting: \"\",\n accountingCountDocuemnts: 0,\n paramsAccounting: {\n branchoffice_id: \"\",\n model_id: \"\",\n filterDate: []\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-inventory-movements/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setauxiliary_book(state, auxiliary_book) {\n state.auxiliary_book = auxiliary_book\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setdocument_balance_account_contact(state, setdocument_balance_account_contact) {\n state.document_balance_account_contact = setdocument_balance_account_contact\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/movements-account-contact/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n//Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.params_cotact\n}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchMovementsAccountContact({commit, state}) {\n await $http.get('/api/movimientos-cuenta-tercero', { params : state.params})\n .then((response) => {\n console.log(response.data.data);\n commit('setauxiliary_book', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function getBalanceDocumentContactAccount({commit, state},account_client) {\n await $http.get('/api/documentos-balance-cuenta-usuario/'+account_client.contact_id+\"/\"+account_client.account_id, { params : state.params})\n .then((response) => {\n commit('setdocument_balance_account_contact', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/movements-account-contact/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/movements-account-contact/index.js","export default {\n loading: {\n module: true\n },\n params: {\n year_month_from: '202005',\n year_month_up: null,\n account_from: null,\n account_up: null,\n description_account_from: null,\n description_account_up: null,\n contact_id: null,\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n accounts_from: [],\n contacts:[],\n auxiliary_book:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n document_balance_account_contact: [],\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/movements-account-contact/state.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Exportar archivo para crear productos.\nexport async function generateFileExportCsv({ commit, state }) {\n await $http({\n url: `/api/trasportadora-guia-formato`,\n method: \"GET\",\n responseType: \"blob\" // important\n }).then(response => {\n var type_file = response.data.type.split(\"/\")[1];\n\n //Descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", `plantilla-subir-transportadora-guia.${type_file}`);\n document.body.appendChild(link);\n link.click();\n });\n}\n\n//Exportar archivo para crear productos.\nexport async function uploadFileProviderGuides({ commit, state }, data) {\n state.errorFileImport = [];\n commit(\"setChangeStateLoadFile\", true);\n\n await $http\n .post('/api/importar-transportadora-guia', data.file)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message.text,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n state.errorFileImport = [];\n })\n .catch(error => {\n console.log(error);\n //setErrorFileImport\n Notification.error({\n title: \"Error!\",\n message: \"Error al importar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setErrorFileImport\", error.response.message);\n });\n\n commit(\"setChangeStateLoadFile\", false);\n}\n\n//Traemos los data sheets\nexport async function productsDataSheets({ commit, dispatch, state }, id) {\n // commit('clearDataSheets')\n await $http\n .get(`/api/productos-ficha-datos/${id}`)\n .then(response => {\n commit(\"setProductsDataSheets\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Crear una nueva ficha de dato\nexport async function createProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .post(`/api/ficha-datos-productos/`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Actualizar ficha de dato del producto\nexport async function updateProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .put(`/api/ficha-datos-productos/${data.product_id}`, data.value)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Eliminar ficha de dato del producto\nexport async function deleteProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .delete(\n `/api/ficha-datos-productos/${data.product_id}?data_sheet_id=${data.data_sheet_id}`\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/*\n * Estos metodos se encargar de traer la infromacion para\n * mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\nexport async function getProductsTable({ commit, state }, data) {\n state.tableProduct.loading = true;\n\n let params = {\n params: state.tableProduct.options\n };\n\n await $http\n .get(`/api/tabla-productos/`, params)\n .then(response => {\n commit(\"setProductsTable\", response.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n state.tableProduct.loading = false;\n}\n\n//Este metodo se encarga de guardar un producto.\nexport async function createProduct({ commit, state }) {\n state.selectedProduct.data_sheets = [];\n\n state.data_sheets.map(item => {\n state.selectedProduct.data_sheets.push({\n value: item.value,\n data_sheet_id: item.data_sheet_id\n });\n });\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/productos\", state.selectedProduct)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El producto ha sido creado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setProduct\", response.data.data)\n resolve(response.data.data.id)\n })\n .catch(error => {\n MessageBox.alert('Error en la creación del producto', \"Error\", {\n dangerouslyUseHTMLString: true,\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n });\n reject()\n });\n })\n\n\n}\n\n//Eliminar productos\nexport async function deleteProduct({ commit, state }, id) {\n await $http\n .delete(`/api/productos/${id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El producto ha sido eliminado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: \"No se pudo eliminar el producto: \" + data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getParameterByTable({ commit, state }, data) {\n state.parametersByTable = [];\n let response = await $http.get(\n `/api/parametros-por-tabla/${data.paramtable_id}`\n );\n if (response.status == 200) {\n commit(\"setParametersTableInRow\", {\n data: response.data,\n row: data.row,\n paramtable_id: data.paramtable_id\n });\n }\n}\n\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\nexport async function fetchProviders({ commit }, filter) {\n await $http\n .get(\"/api/lista-proveedores\", filter)\n .then(response => {\n commit(\"setProviders\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function reportGenerate({}) {\n await $http({\n url: \"/api/reporte-productos\",\n method: \"GET\",\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"reporte-productos.csv\");\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getImages({ commit, state }) {\n await $http\n .get(`/api/imagenes-producto/${state.selectedProduct.id}`)\n .then(response => {\n commit('setProductsAttachments', response.data.data)\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: \"No se pudo eliminar el producto: \" + data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\nexport async function deleteImage({ dispatch, commit, state }, product_attachment_id) {\n await $http\n .delete(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La imagen ha sido eliminada\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch('getImages')\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: 'Error al eliminar la imagen',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function setMainToImage({ dispatch, commit, state }, product_attachment_id) {\n await $http\n .put(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La imagen principal ha cambiado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch('getImages')\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: 'Error al cambiar la imagen principal',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/protractor-guide/actions.js","export function getParams(state) {\n return state.params;\n}\n\nexport function getProductDataSheet(state) {\n return state.data_sheets;\n}\n\nexport function ListProductsTable(state) {\n return state.tableProduct;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/protractor-guide/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/protractor-guide/index.js","const tableProduct = {\n loading: false,\n data: [],\n fields: [\n {\n name: \"Codigo\",\n field: \"code\",\n width: 100\n },\n {\n field: \"description\",\n name: \"Descripcion\",\n width: 550\n },\n {\n field: \"brand.description\",\n name: \"Marca\",\n width: 100\n },\n {\n field: \"line.line_description\",\n name: \"Linea\",\n width: 150\n },\n {\n field: \"subline.subline_description\",\n name: \"SubLinea\",\n width: 150\n },\n {\n field: \"update_wsm_tag\",\n name: \"Estado WMS\",\n width: 100\n },\n {\n field: \"actions\",\n name: \"Opciones\",\n width: 200\n }\n ],\n errors: {\n has: false,\n message: \"\",\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 100,\n search: \"\",\n currentPage: 1,\n page: 1,\n filter_lines: [],\n filter_sublines: [],\n electronic_bill: 1,\n filter_brands: [],\n filter_subbrands: [],\n update_wsm: false,\n }\n};\n\nexport const defaultSelectedProduct = () => {\n return {\n manage_inventory: true,\n provider: \"\",\n code: \"\",\n barcode: \"\",\n description: \"\",\n line_id: \"\",\n subline_id: \"\",\n brand_id: \"\",\n subbrand_id: \"\",\n category_id: \"\",\n owner: \"\",\n maker: \"\",\n update_wsm_tag: \"\",\n subcategory_id: \"\",\n inventory_management: \"\",\n purchase: \"\",\n sale: \"\",\n kit: \"\",\n state: 1,\n condition: \"\",\n has_lot: 0,\n has_serial: 0,\n type: \"\",\n high_price: 0,\n products_risk_id: \"\",\n rotation_type: \"\",\n cooled: 0,\n reusable: \"\",\n production_formula: \"\",\n tariff_position: \"\",\n export_product: \"\",\n conformity_certificate: \"\",\n exp_date_certified: \"\",\n pos: 0,\n lock_buy: \"\",\n lock_buy_observations: \"\",\n lock_sale: \"\",\n lock_sale_observations: \"\",\n percentage_iva_buy: \"\",\n percentage_tax_consumer_buy: \"\",\n percentage_iva_sale: \"\",\n percentage_tax_consumer_sale: \"\",\n balance_units: \"\",\n balance_value: \"\",\n average_cost: \"\",\n start_date_inventory: \"\",\n modify_description_buy: \"\",\n modify_price_buy: \"\",\n observation_buy: \"\",\n presentation_packaging_buy: \"\",\n presentation_quantity_buy: \"\",\n presentation_unit_buy: \"\",\n presentation_assembled_buy: \"\",\n minimum_quantity_buy: \"\",\n local_buy: 0,\n calculate_price_buy: \"\",\n automatic_reposition: \"\",\n contact_id: \"\",\n point_of_sale_deployment: 0,\n amazon_deployment: 0,\n free_market_deployment: \"\",\n modify_description_sale: \"\",\n modify_price_sale: \"\",\n observation_sale: \"\",\n allow_invoices_sales_zeros: \"\",\n presentation_packaging_sale: \"\",\n presentation_quantity_sale: \"\",\n presentation_unit_sale: \"\",\n presentation_assembled_sale: \"\",\n minimum_quantity_sale: \"\",\n commision_percentage: \"\",\n profit_margin_percentage: \"\",\n entry_third_party: \"\",\n controlled_sale: 0,\n product_of_continuous_use: \"\",\n quantity_available: \"\",\n long_description: \"\",\n erp_id: \"\",\n cost_center: \"\",\n old_product_code: \"\",\n reduction_management: 0,\n high_risk: 0,\n channel_b2c: 0,\n channel_b2b: 0,\n products_technnical_data: {\n link_manufacturer_one: \"\",\n link_manufacturer_two: \"\",\n weight: \"\",\n volume: \"\",\n size: \"\",\n color: \"\",\n year_model: \"\",\n series: \"\",\n link_data_sheet: \"\",\n data_sheet: 0,\n products_technical_datacol: \"\",\n link_video: \"\",\n generic: 0,\n used: \"\",\n invima_registry: \"\",\n expiration_date_invima: \"\",\n width: \"\",\n profile: \"\",\n rin: \"\",\n load_index: \"\",\n velocity_index: \"\",\n utqg: \"\",\n runflat: \"\",\n lt: \"\",\n code_cum: \"\",\n code_secretary_of_health: \"\",\n aplication_unit: \"\",\n number_aplications: \"\",\n pharmacological_indication_code: \"\",\n concentration: \"\",\n pharmaceutical_form: \"\",\n form_unit: \"\",\n number_of_doses: \"\",\n ium_cod: \"\",\n exclude_sales_report: null\n },\n products_attachments: {\n url: \"\"\n }\n };\n};\n\nexport default {\n providers: [],\n products: [],\n lines: [],\n sublines: [],\n brands: [],\n subbrands: [],\n groups: [],\n contacts: [],\n categories: [],\n subcategories: [],\n productType: [],\n size: [],\n color: [],\n rotationType: [],\n applicationUnit: [],\n codes: [],\n productEdit: null,\n showData: false,\n showCreateNewProduct: false,\n selectedProduct: defaultSelectedProduct(),\n products_attachments: [],\n error: false,\n errorMessage: \"\",\n action: \"create\",\n params: {\n paginate: false,\n product: \"\",\n branchoffice_warehouse_id: \"\",\n branchoffice: null,\n filter: \"\",\n electronic_bill: 1,\n page: 1,\n perPage: 15,\n manager_wms: 0,\n contact_id: null,\n type_query: 1,\n },\n line_param: {\n line: \"\"\n },\n search_params: {\n branch: \"\"\n },\n errorFileImport: \"\",\n loadFileImport: false,\n data_sheets: [],\n // By: Kevin Galindo\n tableProduct,\n contacts_find:[],\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n pricesContactData:[],\n loading:{\n module : false\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices-contacts/state.js","import {\n defaultSelectedProduct\n} from './state'\nimport {getApiDomain} from \"../../util/domains\";\n\n// trae todos los productos\nexport function setStateProducts (state, products) {\n state.products = products;\n}\n\n// Guardar los data sheets\nexport function setProductsDataSheets (state, data_sheets) {\n state.data_sheets = data_sheets;\n}\n\n// trae al estate un solo producto\nexport function setProduct (state, product) {\n state.selectedProduct = product;\n}\n\nexport function setProductsAttachments (state, products_attachments) {\n\n products_attachments.map(pa => {\n const encodedSrc = encodeURI(pa.src).replace(/#/g, '%23');\n const encodedThump = encodeURI(pa.thumb).replace(/#/g, '%23');\n\n pa.src = getApiDomain() + encodedSrc;\n pa.thumb = getApiDomain() + encodedThump;\n })\n\n state.products_attachments = products_attachments;\n}\n\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function productError (state, error) {\n state.error = true\n state.errorMessage = error\n state.products = []\n}\n\nexport function setGetProductEdit (state, getProductEdit) {\n state.getProductEdit = getProductEdit;\n}\n\n//Establece el valor por defecto de selectedLine\nexport function resetSelectedProduct (state) {\n let id = state.selectedProduct.id\n Object.assign(state.selectedProduct, defaultSelectedProduct())\n state.products_attachments = []\n state.selectedProduct.id = id\n}\n\nexport function setLines (state, lines) {\n state.lines = lines\n}\n\nexport function setImagenCarga (state, image) {\n state.selectedProduct.products_attachments.url = image\n}\n\nexport function setDocumentPath (state, data_sheet) {\n state.selectedProduct.products_technnical_data.link_data_sheet = data_sheet;\n}\n\nexport function setSublines (state, sublines) {\n\n if (sublines.length <= 0) { return }\n\n state.sublines = sublines.map(p => {\n return {\n value: p.id,\n label: `${p.subline_code} - ${p.subline_description}`\n }\n })\n}\n\nexport function setBrands (state, brands) {\n\n if (brands.length <= 0) { return }\n\n state.brands = brands.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setSubbrands (state, subbrands) {\n state.subbrands = subbrands.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setCategories (state, categories) {\n state.categories = categories.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setSubcategories (state, subcategories) {\n state.subcategories = subcategories.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\n// Establece un valor para tipo de producto\nexport function setProductType (state, productType) {\n state.productType = productType\n}\n\n// Establece un valor para Talla\nexport function setSize (state, size) {\n state.size = size\n}\n\nexport function setColor (state, color) {\n state.color = color\n}\n\n// Establece un valor para taxpayerTypes\nexport function setRotationType (state, rotationType) {\n state.rotationType = rotationType;\n}\n\n// Establece un valor para taxRegimes\nexport function setApplicationUnit (state, applicationUnit) {\n state.applicationUnit = applicationUnit\n}\n\nexport function setFilterBranch (state, branch) {\n state.search_params.branch = branch;\n}\n\nexport function setParams (state, new_params) {\n\n let params = JSON.parse(JSON.stringify(state.params))\n\n for (let np in new_params) {\n let add = false\n for (let p in params) {\n if (p == np) {\n params[p] = new_params[np]\n add = true\n }\n }\n\n if (!add) {\n params[np] = new_params[np]\n }\n }\n\n state.params = params\n}\n\nexport function setErrorFileImport (state, data) {\n console.log(data)\n data.forEach(element => state.errorFileImport += element+\";\");\n console.log(state.errorFileImport);\n}\n\nexport function setChangeStateLoadFile (state, data) {\n state.loadFileImport = data;\n}\n\nexport function clearDataSheets (state) {\n state.data_sheets = [];\n}\n\n\n\n/*\n * Estos mutadores se encargar de normalizar la informacion\n * para mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\n\nexport function setProductsTable (state, data) {\n //console.log(data.data);\n // Agregamos los datos de la tabla\n state.tableProduct.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data\n\n // Agregamos los datos de la paginacion\n state.tableProduct.pagination = data\n}\n\nexport function setParametersTableInRow (state, data) {\n state.data_sheets.map((ds, index) => {\n if (ds.data_sheet_id == data.row.data_sheet_id) {\n state.data_sheets[index].data_sheet_detail.parameters = data.data\n state.data_sheets[index].data_sheet_detail.paramtable_id = data.paramtable_id\n }\n })\n}\n\nexport function setbranchoffice_warehouse_id (state, warehouse_id) {\n state.params.branchoffice_warehouse_id = warehouse_id\n}\nexport function setBranchoffice (state, branchoffice) {\n state.params.branchoffice = branchoffice\n}\nexport function setContactIdParams (state, contact_id) {\n state.params.contact_id = contact_id\n}\nexport function setProviders(state, providers){\n state.providers = providers\n}\nexport function setContacts(state, contacts) {\n state.contacts_find = contacts;\n}\nexport function setQuery(state, query) {\n state.paramsquery.query = query;\n}\n\nexport function setPriceContacts(state, data) {\n state.pricesContactData = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices-contacts/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n//Exportar archivo para crear productos.\nexport async function generateFileExportCsv({ commit, state }) {\n let params = {\n contact_id: state.params.contact_id\n };\n await $http({\n url: `/api/precios-tercero-formato`,\n method: \"GET\",\n params : params,\n responseType: \"blob\" // important\n }).then(response => {\n var type_file = response.data.type.split(\"/\")[1];\n\n //Descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", `plantilla-subir-precios-tercero.${type_file}`);\n document.body.appendChild(link);\n link.click();\n });\n}\n\n//Exportar archivo para crear productos.\nexport async function uploadFileProviderGuides({ commit, state }, data) {\n state.errorFileImport = \"\";\n commit(\"setChangeStateLoadFile\", true);\n\n await $http\n .post('/api/importar-precios-tercero', data.file)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message.text,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n state.errorFileImport = null;\n })\n .catch(error => {\n console.log(error);\n //setErrorFileImport\n Notification.error({\n title: \"Error!\",\n message: \"Error al importar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n console.log(error.response.data);\n commit(\"setErrorFileImport\", error.response.data.message);\n });\n\n commit(\"setChangeStateLoadFile\", false);\n}\n\n//Traemos los data sheets\nexport async function productsDataSheets({ commit, dispatch, state }, id) {\n // commit('clearDataSheets')\n await $http\n .get(`/api/productos-ficha-datos/${id}`)\n .then(response => {\n commit(\"setProductsDataSheets\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Crear una nueva ficha de dato\nexport async function createProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .post(`/api/ficha-datos-productos/`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Actualizar ficha de dato del producto\nexport async function updateProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .put(`/api/ficha-datos-productos/${data.product_id}`, data.value)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Eliminar ficha de dato del producto\nexport async function deleteProductsDataSheets(\n { commit, state, dispatch },\n data\n) {\n await $http\n .delete(\n `/api/ficha-datos-productos/${data.product_id}?data_sheet_id=${data.data_sheet_id}`\n )\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch(\"productsDataSheets\", data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/*\n * Estos metodos se encargar de traer la infromacion para\n * mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\nexport async function getProductsTable({ commit, state }, data) {\n state.tableProduct.loading = true;\n\n let params = {\n params: state.tableProduct.options\n };\n\n await $http\n .get(`/api/tabla-productos/`, params)\n .then(response => {\n commit(\"setProductsTable\", response.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n state.tableProduct.loading = false;\n}\n\n//Este metodo se encarga de guardar un producto.\nexport async function createProduct({ commit, state }) {\n state.selectedProduct.data_sheets = [];\n\n state.data_sheets.map(item => {\n state.selectedProduct.data_sheets.push({\n value: item.value,\n data_sheet_id: item.data_sheet_id\n });\n });\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/productos\", state.selectedProduct)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El producto ha sido creado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setProduct\", response.data.data)\n resolve(response.data.data.id)\n })\n .catch(error => {\n MessageBox.alert('Error en la creación del producto', \"Error\", {\n dangerouslyUseHTMLString: true,\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n });\n reject()\n });\n })\n\n\n}\n\n//Eliminar productos\nexport async function deleteProduct({ commit, state }, id) {\n await $http\n .delete(`/api/productos/${id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El producto ha sido eliminado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: \"No se pudo eliminar el producto: \" + data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getParameterByTable({ commit, state }, data) {\n state.parametersByTable = [];\n let response = await $http.get(\n `/api/parametros-por-tabla/${data.paramtable_id}`\n );\n if (response.status == 200) {\n commit(\"setParametersTableInRow\", {\n data: response.data,\n row: data.row,\n paramtable_id: data.paramtable_id\n });\n }\n}\n\nexport async function fetchLines({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch(\n \"lines/fetchLines\",\n { params: { paginate: false } },\n { root: true }\n );\n commit(\"setLines\", rootState.lines.lines);\n }\n}\n\nexport async function fetchProviders({ commit }, filter) {\n await $http\n .get(\"/api/lista-proveedores\", filter)\n .then(response => {\n commit(\"setProviders\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function reportGenerate({}) {\n await $http({\n url: \"/api/reporte-productos\",\n method: \"GET\",\n responseType: \"blob\" // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"reporte-productos.csv\");\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getImages({ commit, state }) {\n await $http\n .get(`/api/imagenes-producto/${state.selectedProduct.id}`)\n .then(response => {\n commit('setProductsAttachments', response.data.data)\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: \"No se pudo eliminar el producto: \" + data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\nexport async function deleteImage({ dispatch, commit, state }, product_attachment_id) {\n await $http\n .delete(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La imagen ha sido eliminada\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch('getImages')\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: 'Error al eliminar la imagen',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function setMainToImage({ dispatch, commit, state }, product_attachment_id) {\n await $http\n .put(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"La imagen principal ha cambiado\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n dispatch('getImages')\n })\n .catch(error => {\n let data = error.response.data.message\n Notification.error({\n title: \"Error!\",\n message: 'Error al cambiar la imagen principal',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchContacts({commit,state}, requestParameters = {params: state.paramsquery}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n\n/*\n * Traer la ifnormacion de los precios del tercero seleccioando\n * mostrar en la tabla de productos.\n * @author Brayan Ramirez\n */\nexport async function getPricesContact({ commit, state }) {\n state.loading.module = true\n state.pricesContactData = [];\n\n await $http.get('/api/price-contact-from-product', {params: {contact_id: state.params.contact_id,type_query:state.params.type_query}})\n .then((response) => {\n commit('setPriceContacts', response.data.data)\n state.loading.module = false\n })\n .catch((error) => {\n state.loading.module = false\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n/*\n * Actualiza la iformacion del precio y el codigo segun tercer /proveedor\n * @author Brayan Ramirez\n */\nexport async function updatePriceProduct({ commit, state, dispatch }, data) {\n await $http\n .post(`/api/update-price-contact-from-product`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices-contacts/actions.js","export function getParams(state) {\n return state.params;\n}\n\nexport function getProductDataSheet(state) {\n return state.data_sheets;\n}\n\nexport function ListProductsTable(state) {\n return state.tableProduct;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices-contacts/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/prices-contacts/index.js","export function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = [];\n}\nexport function setFile(state,file) {\n state.params.file = file;\n state.params.validated = false;\n}\n\nexport function clearParamsBranchofficesWarehouseId(state){\n state.params.branchoffice_warehouse_id = null\n}\nexport function setBranchofficesWarehouses(state, branchoffices_warehouses){\n state.params.branchoffice_warehouse_id = null ;\n state.branchoffices_warehouses = branchoffices_warehouses\n}\nexport function setValidationdata(state, result){\n state.params.validated = result.success\n\n}\nexport function reset_state(state){\n state.branchoffices= [],\n state.branchoffice_id= null,\n state.warehouse_id= null,\n state.params= {\n branchoffice_id:null,\n branchoffice_warehouse_id: null,\n file: null,\n validated: false,\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_initial_balance/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_initial_balance/index.js","export default {\n preloader: false,\n data: [],\n branchoffices_warehouses: [],\n branchoffices: [],\n branchoffice_id: null,\n warehouse_id: null,\n params: {\n branchoffice_id:null,\n branchoffice_warehouse_id: null,\n file: null,\n validated: false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_initial_balance/state.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n// obtener los tipos de comprobante\nexport async function fetchVouchertype({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.paramsVoucherType})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportData({commit, state}) {\n state.params.branchoffice_id =\n await $http.get('/api/detalle-contable-documento', { params : state.params})\n .then((response) => {\n commit('setReportData', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-detail/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-detail/index.js","export default {\n loading: {\n module: true\n },\n params: {\n year_month_from : null,\n year_month_up : null,\n vouchertype_id: null,\n },\n paramsVoucherType:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n data_report:[],\n voucherTypes:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting-detail/state.js","\n\nexport function setAccountsFrom(state, accounts_from) {\n state.accounts_from = accounts_from\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setreporte_comisiones(state, reporte_comisiones) {\n\n let pagos = state.reporte_comisiones_pagos.data;\n let descuentos = state.reporte_comisiones_descuentos.data;\n\n reporte_comisiones.data.map(p => {\n let pagos_find = pagos.filter(\n x => {\n if (x.document_id == p.document_id && x.affects_document_id == p.affects_document_id)\n return x\n }\n )\n let descuentos_find = descuentos.filter(\n g => {\n if (g.document_id == p.document_id && g.affects_document_id == p.affects_document_id )\n return g\n }\n )\n ? descuentos.filter(\n g => {\n if (g.document_id == p.document_id && g.affects_document_id == p.affects_document_id )\n return g\n }\n )\n : \"0\";\n\n let pagos_amount = 0 ;\n pagos_find.forEach( item => {\n pagos_amount+= parseFloat(item.value)\n })\n\n let discounts_amount = 0 ;\n descuentos_find.forEach( item => {\n discounts_amount+= parseFloat(item.value)\n })\n\n p.pay = (pagos_amount/1.19) - discounts_amount\n p.pay_total = (pagos_amount) - discounts_amount\n if (state.params.days_to ){\n let percentage_or = state.params.percentage_commision ? (state.params.percentage_commision/100) : 0\n p.percentage_commision = p.days_pay <= state.params.days_to ? percentage_or : 0;\n p.vr_commision = (p.pay * p.percentage_commision) ;\n p.vr_commision_lost = p.days_pay > state.params.days_to ? ( p.pay * percentage_or): 0 ;\n\n }else{\n p.percentage_commision = 0 ;\n p.vr_commision = 0 ;\n p.vr_commision_lost = 0 ;\n }\n p.discount = discounts_amount;\n })\n\n state.reporte_comisiones = reporte_comisiones\n //console.log(reporte_comisiones);\n}\nexport function setParams(state, params){\n state.params = params\n}\n\nexport function setreporte_comisiones_descuento(state,reporte_comisiones_descuentos){\n\n state.reporte_comisiones_descuentos = reporte_comisiones_descuentos\n}\n\nexport function setreporte_comisiones_pagos(state,reporte_comisiones_pagos){\n state.reporte_comisiones_pagos = reporte_comisiones_pagos\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions-collection/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n//Obtener los terceros\nexport async function fetchContacts({\n commit,\n state\n}, requestParameters = {\n params: state.params_cotact\n}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisions({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisionsDisccounts({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones-descuentos', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones_descuento', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchReportCommisionsPays({commit, state}) {\n //console.log(state.params);\n await $http.get('/api/reporte-comisiones-pagos', { params : state.params})\n .then((response) => {\n //console.log(response.data.data);\n commit('setreporte_comisiones_pagos', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions-collection/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions-collection/index.js","export default {\n loading: {\n module: true\n },\n params: {\n seller_type: \"1\",\n year_month_from: '',\n year_month_up: '',\n type_query: \"1\",\n percentage_commision: null,\n days_to: null,\n },\n params_cotact:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n accounts_from: [],\n contacts:[],\n reporte_comisiones:[],\n reporte_comisiones_descuentos:[],\n reporte_comisiones_pagos:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-commisions-collection/state.js","export function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-saldos-contables/mutations.js","import $http from \"../../axios\";\nimport * as mutations from './mutations'\nimport {Notification} from \"element-ui\";\nimport {getApiDomain} from \"../../util/domains\";\nexport async function downloadTemplate({}) {\n let name = 'saldos_iniciales_contables.xlsx'\n await $http({\n url: '/api/plantilla-saldos-contables',\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function uploadTemplate({state}) {\n let formData = new FormData();\n formData.append('file', state.file);\n state.loading.module = true ;\n $http.post(`/api/importar-saldos-contables`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(function(response){\n state.loading.module = false ;\n state.file = '' ;\n if (response.data.rows_error > 0){\n window.open(getApiDomain() + response.data.url, '_blank');\n Notification.error({\n title: 'Error',\n message: 'Existen inconsistencias en el archivo cargado',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }\n\n\n })\n .catch(error => {\n state.loading.module = false ;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-saldos-contables/actions.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-saldos-contables/index.js","export default {\n error: false,\n loading: {\n module:false,\n },\n message_loading : 'Cargando Plantilla De Incorporación De Saldos Contables',\n file: ''\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-saldos-contables/state.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory-documents/index.js","import {defaultSelectedDocumentProduct, defaultTableSearchGlobal} from \"../inventory-movements/state\";\n\nexport default {\n error: false,\n message: 'Cargando ...',\n loading: {\n module:false,\n },\n deleted:false,\n watchDocumument:false,\n branchoffices :[],\n documentsProdcuts: [],\n models_lite: [],\n contacts_customers: [],\n warehousesContacts: [],\n sellers: [],\n accounts:[],\n projects:[],\n states_backorder:[],\n documents_products:[],\n typesOperations:[],\n products:[],\n accounts_rete_fte:[],\n tableDocuments: {\n data: [],\n columns:[],\n loading: false,\n params: {\n warehouse_id:null,\n branchoffice_id:null,\n vouchertype_id:null,\n prefix :null,\n consecutive :null,\n }\n },\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n filter: '',\n sortBy: 'id',\n sort: 'ASC',\n only_active:true,\n },\n branchOfficeWarehousesDocs:[],\n default_document_product :{\n id :null,\n index :null,\n product_id :null,\n description :\"\",\n quantity :0,\n unit_value_before_taxes :0,\n branchoffice_warehouse_id :0,\n discount_value :0,\n total_value_brut :0,\n total_value_iva :0,\n total_value :0,\n inventory_cost_value :0,\n operationType_id :null,\n fixed_cost :false,\n manage_inventory :true,\n account_id :null,\n unit_balance :0,\n value_balance :0,\n backorder_quantity :0,\n backorder_value :0,\n brand_id:null,\n line_id:null,\n subline_id:null,\n product_repeat_number:null,\n branchoffice_warehouse : {\n branchoffice_id : null,\n branchoffice:{}\n }\n },\n update_document :{\n id :null,\n branchoffice_id :null,\n vouchertype_id :null,\n prefix :\"\",\n consecutive :null,\n document_date :null,\n model_id :null,\n contact_id :null,\n thread :null,\n seller_id :null,\n observation :null,\n account_id :null,\n ret_fue_total :null,\n ret_iva_total :null,\n ret_ica_total :null,\n total_value :null,\n documents_information:{\n ret_fte_account_id :null,\n ret_ica_account_id :null,\n },\n products :[]\n },\n document_files_new : [],\n document_files_delete : [],\n document_files :[]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory-documents/state.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n// obtener Data libro Contable\nexport async function fetchRepor({commit, state}) {\n console.log(state.params);\n await $http.get('/api/informe-despachos', { params : state.params})\n .then((response) => {\n commit('setReport', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n if (state.loading.module){\n commit('setLoading',false);\n }\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-picking/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-picking/index.js","export default {\n loading: {\n module: false\n },\n params: {\n date :[]\n },\n data_report : [],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-picking/state.js","export const defaultSelectedDate = () => {\n let fechaActual = new Date();\n\n// Restar un mes a la fecha actual\n fechaActual.setMonth(fechaActual.getMonth() - 1);\n\n// Obtener el día, mes y año\n let dia = fechaActual.getDate();\n let mes = fechaActual.getMonth() + 1; // Nota: Los meses comienzan desde 0, por lo que se suma 1\n let anio = fechaActual.getFullYear();\n\n// Formatear la fecha en dd-MM-yyyy\n return `${dia.toString().padStart(2, '0')}-${mes.toString().padStart(2, '0')}-${anio}`;\n\n\n\n};\nexport const defaultSelectedDateUp = () => {\n let fechaActual = new Date();\n\n// Obtener el día, mes y año\n let dia = fechaActual.getDate();\n let mes = fechaActual.getMonth() + 1; // Nota: Los meses comienzan desde 0, por lo que se suma 1\n let anio = fechaActual.getFullYear();\n\n// Formatear la fecha en dd-MM-yyyy\n return `${dia.toString().padStart(2, '0')}-${mes.toString().padStart(2, '0')}-${anio}`;\n};\n\nexport default {\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDateUp(),\n type_query:'1',\n branchoffice_id: null,\n },\n loading: {\n module: false\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/excel-inventory/state.js","export function setLoading(state, loading) {\n state.loading.module = loading\n}\n\nexport function setDate(state, date){\n state.date = date\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/excel-inventory/mutations.js","import $http from '../../axios';\nimport {Notification} from \"element-ui\";\n\n\nexport async function fetchExcelInvetory({ state },branch) {\n state.loading.module = true;\n await $http({\n url: '/api/excel-contable-inventario',\n params: state.params,\n method: 'GET',\n responseType: \"blob\",\n }).\n then(response => {\n state.loading.module = false;\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n let name = `${branch.name}-`\n switch (state.params.type_query){\n case '1':\n name += 'Contabilidad-'\n break;\n case '2':\n name += 'Inventarios-'\n break\n case '3':\n name += 'Terceros-'\n break\n }\n const fecha = new Date(state.params.year_month_up);\n\n const dia = String(fecha.getDate()).padStart(2, '0');\n const mes = String(fecha.getMonth() + 1).padStart(2, '0'); // Los meses en Date son zero-based (0-11)\n const anio = fecha.getFullYear();\n\n name+= `.xlsx`\n\n console.log(name)\n link.setAttribute(\"download\", name);\n document.body.appendChild(link);\n link.click();\n }).catch(error => {\n state.loading.module = false;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/excel-inventory/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/excel-inventory/index.js","\nexport const defaultSelectedDateFrom = () => {\n let d = new Date();\n return `${d.getFullYear()}01`;\n};\nexport const defaultSelectedDateUp = () => {\n let d = new Date();\n let month = d.getMonth()+1;\n month = month<10 ? '0'+month.toString() : month.toString();\n return `${d.getFullYear()}${month}`;\n};\n\n\nexport default {\n loading: {\n module: false\n },\n params: {\n year_month_from: defaultSelectedDateFrom(),\n year_month_up: defaultSelectedDateUp(),\n account_id: null,\n contact_id: null,\n type_contact: 'Cliente'\n },\n\n params_contact :{\n is_customer :1,\n is_provider :0,\n is_employee :0,\n },\n reporte_contacts:[],\n contacts:[],\n accounts:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-for-contacts/state.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n// obtener Data libro Contable\nexport async function fetchReportBalanceForContacts({commit, state}) {\n state.loading.module = true;\n await $http.get('/api/reporte-saldos-por-tercero', { params : state.params})\n .then((response) => {\n commit('setReportData', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchContactsByType({commit,state}) {\n await $http.get('/api/terceros-lite', { params : state.params_contact})\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchAccounts({ commit, state }, text) {\n await $http\n .get(\"/api/cuentas-lite\",{ params : {filter:text}})\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-for-contacts/actions.js","export function setReportData (state, data) {\n state.reporte_contacts = data\n}\nexport function setContacts (state, data) {\n state.contacts = data\n}\nexport function setAccounts (state, data) {\n state.accounts = data\n}\nexport function setContactType (state) {\n\n switch (state.params.type_contact){\n case 'Cliente' :\n state.params_contact = {\n is_customer :1,\n is_provider :0,\n is_employee :0,\n }\n break;\n case 'Proveedor' :\n state.params_contact = {\n is_customer :0,\n is_provider :1,\n is_employee :0,\n }\n break\n case 'Empleado' :\n state.params_contact = {\n is_customer :0,\n is_provider :0,\n is_employee :1,\n }\n break\n }\n}\n\n/**\n * Establecer un valor para la variable params.\n */\nexport function setParams(state, params) {\n state.params = params;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-for-contacts/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\nexport default {\n namespaced: true,\n state,\n actions,\n mutations\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance-for-contacts/index.js","export function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = [];\n}\nexport function setFile(state,file) {\n state.params.file = file;\n state.params.validated = false;\n}\n\nexport function setValidationdata(state, result){\n state.params.validated = result.success\n\n}\nexport function reset_state(state){\n state.params= {\n file: null,\n validated: false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-payment-methods-document/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport {getApiDomain, getDomain} from \"../../util/domains\";\n\nexport async function downloadTemplate({}) {\n var data = ['Sede',\n 'TipC',\n 'Prefijo',\n 'Num-Com',\n 'Fec-Com',\n 'Cod-tercero',\n 'Nombre',\n 'Forma-pag',\n 'Descrip Forma-pag',\n 'Valor',\n 'Fec-Ven',\n 'No.Che-Vauc',\n 'Autotizac',\n 'Cod-Estado',\n 'Estado-Cheq',\n 'Cons-PVE',\n 'Cons-TIP',\n 'Cons-NUM'\n ];\n\n var csv = \"\";\n data.map((v, i) => {\n csv += `${v};`;\n });\n csv = csv.substring(0, csv.length - 1)\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(csv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = \"formas-pago-template.csv\";\n hiddenElement.click();\n}\nexport async function fetchValidates_file({state,commit}) {\n let formData = new FormData();\n commit('setPreloader', true);\n formData.append('validated', state.params.validated);\n formData.append('file', state.params.file);\n\n $http.post(`/api/incorporar-formas-pago-documents`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then((response) => {\n console.log(response.data,'response')\n commit('setValidationdata', response.data);\n commit('setPreloader', false);\n if (!response.data.success){\n window.open(getApiDomain() + response.data.url_report_error, '_blank');\n Notification.error({\n title: \"Error!\",\n message: 'El excel tiene informacion inocrrecta, por favor valida el excel con los errores encontrados',\n type: \"error\",\n duration: 10000,\n customClass: \"notification-box\"\n });\n }else{\n if (response.data.finish){\n commit('reset_state');\n Notification.success({\n title: \"Success!\",\n message: response.data.message,\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Validación Finalizada exitosamente',\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n }\n\n }\n }).catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-payment-methods-document/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-payment-methods-document/index.js","export default {\n preloader: false,\n data: [],\n params: {\n file: null,\n validated: false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-payment-methods-document/state.js","export function setProducts (state, products) {\n state.products = products;\n}\nexport function setProductsEquivalent (state, products_equivalent) {\n state.products_equivalent = products_equivalent;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products_equivalent/mutations.js","import $http from '../../axios'\nimport {Notification} from \"element-ui\";\n\nexport async function searchProducts ({state,commit}, filter) {\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit(\"setProducts\", response.data.data.data);\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function searchProductsEquivalents ({state,commit}, product_id) {\n state.loading.module = true\n await $http.get('/api/productos-equivalentes?product_id='+product_id).then((response) => {\n state.loading.module = false\n commit(\"setProductsEquivalent\", response.data.data);\n }).catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function addProductsEquivalents ({state,commit,dispatch}, product_id) {\n let data = state.params\n data.product_id = product_id\n state.loading.module = true\n await $http.post('/api/productos-equivalentes', data)\n .then((response) => {\n state.loading.module = false\n state.params.product_equivalent_id = null;\n dispatch('searchProductsEquivalents', product_id);\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n state.loading.module = false\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\nexport async function deleteProductsEquivalents ({state,commit}, row) {\n state.loading.module = true\n await $http.delete(`/api/productos-equivalentes?product_id=${row.product_id}&product_equivalent_id=${row.product_equivalent_id}`)\n .then((response) => {\n state.loading.module = false\n commit(\"setProductsEquivalent\", response.data.data);\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n state.loading.module = false\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products_equivalent/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products_equivalent/index.js","export default {\n products_equivalent: [],\n products: [],\n params:{\n product_equivalent_id: null,\n },\n loading: {\n module:false,\n },\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products_equivalent/state.js","export const defaultSelectedDateUp = () => {\n return new Date()\n};\nexport const defaultSelectedDateFrom = () => {\n var fecha = new Date();\n // Obtener el mes y año actuales\n const mesActual = fecha.getMonth();\n const anioActual = fecha.getFullYear();\n\n // Calcular el nuevo mes y año\n let nuevoMes = mesActual - 1;\n let nuevoAnio = anioActual;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (nuevoMes < 0) {\n nuevoMes += 12;\n nuevoAnio--;\n }\n\n // Establecer la nueva fecha con los meses restados\n fecha.setMonth(nuevoMes);\n fecha.setFullYear(nuevoAnio);\n\n return fecha;\n\n};\n\nexport default {\n loading: {\n module:false\n },\n params: {\n year_month_from: defaultSelectedDateFrom(),\n year_month_up: defaultSelectedDateUp(),\n branch_office_id:null,\n vouchertype_code: null,\n contact_id: null,\n },\n params_contacts: {\n only_active:true,\n filter: \"\",\n paginate: false\n },\n contacts:[]\n\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/delete-documents/state.js","\nexport function serLoading(state, loading){\n state.loading = loading\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setDateRangeParam(state) {\n\n const fechaActual = new Date(); // Fecha actual\n\n // Restar un mes a la fecha actual para obtener el mes anterior\n const fechaMesAnterior = restarMesesAFecha(fechaActual, 1);\n\n // Obtener el primer día del mes anterior\n const primerDiaMesAnterior = new Date(fechaMesAnterior.getFullYear(), fechaMesAnterior.getMonth(), 1);\n\n // Obtener el último día del mes anterior\n const ultimoDiaMesAnterior = new Date(fechaMesAnterior.getFullYear(), fechaMesAnterior.getMonth() + 1, 0);\n\n\n state.params.date = [\n primerDiaMesAnterior,\n ultimoDiaMesAnterior,\n ];\n\n}\n\nexport function restarMesesAFecha(fecha, cantidadMeses) {\n const fechaClonada = new Date(fecha);\n\n // Obtener el mes y año actuales\n const mesActual = fechaClonada.getMonth();\n const anioActual = fechaClonada.getFullYear();\n\n // Calcular el nuevo mes y año\n let nuevoMes = mesActual - cantidadMeses;\n let nuevoAnio = anioActual;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (nuevoMes < 0) {\n nuevoMes += 12;\n nuevoAnio--;\n }\n\n // Establecer la nueva fecha con los meses restados\n fechaClonada.setMonth(nuevoMes);\n fechaClonada.setFullYear(nuevoAnio);\n\n return fechaClonada;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/delete-documents/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/delete-documents/index.js","function formatDate(date) {\n const year = date.getFullYear();\n const month = String(date.getMonth() + 1).padStart(2, '0');\n return `${year}${month}`;\n}\nfunction formatDateToYYYYMMDDHHMMSS(date) {\n const year = date.getFullYear();\n const month = String(date.getMonth() + 1).padStart(2, '0');\n const day = String(date.getDate()).padStart(2, '0');\n const hours = String(date.getHours()).padStart(2, '0');\n const minutes = String(date.getMinutes()).padStart(2, '0');\n const seconds = String(date.getSeconds()).padStart(2, '0');\n\n return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;\n}\nexport default {\n loading: {\n module: false\n },\n params: {\n date : formatDate(new Date()),\n account_id : null,\n type_balance : null,\n value_compare : null,\n },\n accounts_form: [],\n accounts_voucher: [],\n contacts:[],\n conciliation_balances:[],\n branchoffices:[],\n balance_conciliation:[],\n warehouses:[],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n params_contacts: {\n only_active:true,\n filter: \"\",\n paginate: false\n },\n payload:{\n branchoffice_id: null,\n voucherType_id: null,\n num_doc: null,\n prefix: null,\n date: formatDateToYYYYMMDDHHMMSS (new Date()),\n contact_id: null,\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n affects_document_id: null,\n document_payment_id: null,\n observation: \"\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n modal_loading:false,\n update_document_payments_methods:[],\n },\n show_pdf :false,\n file_name :null,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance_reconciliation/state.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\nexport async function getAccounts({ state, commit }) {\n let params = {\n notAux:false,\n onlyAux:true,\n paginate:false,\n bank_only:false,\n only_manage_balance:true\n }\n await $http\n .get(\"/api/cuentas\",{params}).then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n\n });\n}\nexport async function getAccountsVoucher({ state, commit }) {\n let params = {\n notAux:false,\n onlyAux:true,\n paginate:false\n }\n await $http\n .get(\"/api/cuentas\",{params}).then(response => {\n commit(\"setAccountsVoucher\", response.data.data);\n })\n .catch(error => {\n\n });\n}\nexport async function searchchconsecutive({commit, state}, data) {\n await $http.get('/api/tipos-de-comprobantes/'+data.voucherType_id, {params:data})\n .then((response) => {\n commit('setConsecutive', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function createVouchers({commit , state}){\n state.loading_modal = true\n\n await $http.post('/api/comprobantes-varios', state.payload)\n .then((response)=>{\n state.loading_modal = false\n state.payload.document_id = response.data.data.document.id\n commit('updateVoucherPayload', response.data.data)\n\n /*ommit('setConsignedData', {\n document_payment_id: state.payload.document_transaction.document_payment_id,\n document_transaction_id: response.data.data.id,\n observation: state.payload.document_transaction.observation,\n })*/\n })\n .catch((error)=>{\n state.loading.module = false\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function finalizeAccountingDocument({commit , state, dispatch}){\n state.loading_modal = true\n state.payload.pending_consigned = state.pending_consigned\n await $http.post('/api/finalizar-documento-contable', state.payload)\n .then((response)=>{\n state.loading_modal = false\n commit('setFinalizeVoucher', response.data.data)\n })\n .catch((error)=>{\n state.loading.module = false\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n}\nexport async function fetchContacts({ commit, state, rootState }) {\n let params = { params: state.params_contacts};\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchReport({ commit, state }) {\n let params = { params: state.params};\n state.loading.module = true\n await $http.get(\"/api/get-balance-reconciliation\", params).then(response => {\n console.log(response.data)\n commit(\"setReportData\", response.data);\n state.loading.module = false\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance_reconciliation/actions.js","import {getAccountsVoucher} from \"./actions\";\n\nexport function setAccounts(state, data) {\n state.accounts_form = data;\n}\nexport function setLoading(state, data) {\n state.loading.module = data;\n}\nexport function setAccountsVoucher(state, data) {\n state.accounts_voucher = data;\n}\nexport function setReportData(state, data) {\n state.balance_conciliation = data;\n}\n\nexport function setDefaultVoucher(state,data){\n let default_v = data.find(ele => ele.code_voucher_type === '314')\n state.payload.voucherType_id = default_v?default_v.id : null\n}\n\nexport function setDefaultContact(state,contact){\n let contact_def = state.contacts.find(el => el.id === contact.id)\n if (!contact_def){\n state.contacts.push(contact)\n }\n}\n\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setConsecutive(state,consecutive){\n let consecutive_number = consecutive.consecutive_number+1\n state.payload.num_doc = consecutive_number.toString()\n state.payload.prefix = consecutive.prefix\n}\n\nexport function setDataVoucherTransaction(state,data){\n if (data.debit_credit === 'C'){\n state.payload.total_credit = data.value\n }else{\n state.payload.total_debit = data.value\n }\n state.payload.document_transaction = data\n}\n\nexport function updateVoucherPayload(state,document_transaction){\n\n\n let transaction = document_transaction;\n transaction.id_document_transactions = document_transaction.id\n transaction.value = document_transaction.operation_value\n transaction.debit_credit = document_transaction.transactions_type\n transaction.observation = document_transaction.observations\n\n state.payload.document_id = document_transaction.document_id\n state.payload.document_transactions.push(transaction)\n}\nexport function setFinalizeVoucher(state,data){\n state.file_name = data.accounting_link\n state.show_pdf = true\n}\nexport function clearParamsTransaction(state,data){\n state.show_pdf = false\n state.balance_conciliation = []\n state.params.account_id = null\n state.params.type_balance = null\n state.params.value_compare = null\n state.file_name = ''\n state.payload = {\n branchoffice_id: state.payload.branchoffice_id,\n voucherType_id: state.payload.voucherType_id,\n num_doc: null,\n prefix: null,\n date: state.payload.date,\n id:null,\n contact_id: null,\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n affects_document_id: null,\n observation: \"\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n ids_conciliation:[],\n update_document_payments_methods:[]\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance_reconciliation/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/balance_reconciliation/index.js","export const defaultSelectedDate = () => {\n let today = new Date();\n\n let year = today.getFullYear();\n let month = String(today.getMonth() + 1).padStart(2, '0'); // Se agrega 1 al mes ya que en JavaScript los meses van de 0 a 11.\n let day = String(today.getDate()).padStart(2, '0');\n\n return `${year}-${month}-${day}`;\n};\n\nexport const defaultSelectedDateFrom = () => {\n\n const fechaAnt = new Date();\n\n // Obtener el mes y año actuales\n const mesActual = fechaAnt.getMonth();\n const anioActual = fechaAnt.getFullYear();\n\n // Calcular el nuevo mes y año\n let nuevoMes = mesActual - 6;\n let nuevoAnio = anioActual;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (nuevoMes < 0) {\n nuevoMes += 12;\n nuevoAnio--;\n }\n\n // Establecer la nueva fecha con los meses restados\n fechaAnt.setMonth(nuevoMes);\n fechaAnt.setFullYear(nuevoAnio);\n fechaAnt.setDate(1);\n\n return fechaAnt;\n\n};\n\nfunction formatDateToYYYYMMDDHHMMSS(date) {\n const year = date.getFullYear();\n const month = String(date.getMonth() + 1).padStart(2, '0');\n const day = String(date.getDate()).padStart(2, '0');\n const hours = String(date.getHours()).padStart(2, '0');\n const minutes = String(date.getMinutes()).padStart(2, '0');\n const seconds = String(date.getSeconds()).padStart(2, '0');\n\n return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;\n}\n\nexport default {\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDate(),\n branch_office_id: null,\n contact_id: null,\n state_check_id: null,\n },\n params_contacts: {\n only_active:true,\n filter: \"\",\n paginate: false\n },\n data: [],\n contacts: [],\n check_states: [],\n auxiliary_accounts: [],\n loading: {\n form: false\n },\n payload:{\n branchoffice_id: null,\n voucherType_id: null,\n num_doc: null,\n prefix: null,\n date: formatDateToYYYYMMDDHHMMSS (new Date()),\n contact_id: null,\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n affects_document_id: null,\n document_payment_id: null,\n observation: \"Consignación cheques\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n modal_loading:false,\n update_document_payments_methods:[],\n },\n documentSaved: null,\n loading_modal:false,\n show_pdf :false,\n file_name :null,\n pending_consigned: true,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/check-consignment/state.js","export function setLoading(state, loading) {\n state.loading = loading\n}\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setCheckState(state, check_states) {\n state.check_states = check_states;\n}\nexport function setDefaultStateCheck (state) {\n let default_item = state.check_states.find(el => el.code_parameter === '1');\n default_item ? state.params.state_check_id = default_item.id : null\n}\nexport function setReportDataConsigned(state, data) {\n state.data = data;\n}\nexport function setAuxiliaryAccounts(state, data) {\n state.auxiliary_accounts = data;\n}\nexport function setConsecutive(state,consecutive){\n let consecutive_number = consecutive.consecutive_number+1\n state.payload.num_doc = consecutive_number.toString()\n state.payload.prefix = consecutive.prefix\n}\nexport function setDefaultVoucher(state,data){\n let default_v = data.find(ele => ele.code_voucher_type === '312')\n state.payload.voucherType_id = default_v?default_v.id : null\n}\nexport function setDataVoucherTransaction(state,data){\n if (data.debit_credit === 'C'){\n state.payload.total_credit = data.value\n }else{\n state.payload.total_debit = data.value\n }\n state.payload.document_transaction = data\n}\nexport function updateVoucherPayload(state,document_transaction){\n\n\n let transaction = document_transaction;\n transaction.id_document_transactions = document_transaction.id\n transaction.value = document_transaction.operation_value\n transaction.debit_credit = document_transaction.transactions_type\n transaction.observation = document_transaction.observations\n\n state.payload.document_id = document_transaction.document_id\n state.payload.document_transactions.push(transaction)\n}\nexport function setFinalizeVoucher(state,data){\n state.show_pdf = true\n state.file_name = data.accounting_link\n}\nexport function setDocumentSaved(state, data){\n state.documentSaved = data\n}\nexport function clearParamsModalTransaction(state,data){\n state.show_pdf = false\n state.file_name = ''\n state.payload = {\n branchoffice_id: state.payload.branchoffice_id,\n voucherType_id: state.payload.voucherType_id,\n num_doc: null,\n prefix: null,\n date: state.payload.date,\n id:null,\n contact_id: null,\n city_id: null,\n document_id: null,\n user_id: null,\n document_transaction: {\n id: null,\n account_id: null,\n affects_document_id: null,\n observation: \"Consignación cheques\",\n contact_id: 0,\n no_doc: null,\n value: 0,\n base_value: 0,\n order: 1,\n projects_column_visible: 0,\n contact_column_visible: true,\n cost_center_column_visible: false,\n base_value_column_visible: false,\n manage_document: false,\n validation_no_doc: null,\n account_code: \"\",\n account_name: \"\",\n tax_id: null,\n payment_column_visible: false,\n manage_bank_document: false,\n commissionable_concept: false,\n debit_credit: null,\n id_document_transactions: null\n },\n document_transactions: [],\n total_debit: null,\n total_credit: null,\n ids_conciliation:[],\n update_document_payments_methods:[]\n }\n}\nexport function setUpdateDocumentpp(state,data){\n alert('qqqq')\n state.payload.update_document_payments_methods = data.map(i => i.data.id)\n}\nexport function setConsignedData(state,data){\n state.payload.update_document_payments_methods.push(data)\n}\nexport function setConsigned(state,bool){\n state.pending_consigned = bool\n state.payload.document_transaction.observation = bool ?'Consignación cheques':'Devolución cheque'\n}\nexport function setLoadingModal(state,bool){\n state.loading_modal = bool\n}\nexport function setDocumentPaymentUpdate(state){\n\n let transactionDebit = state.payload.document_transactions.find(el => el.transactions_type === 'D');\n\n state.payload.update_document_payments_methods.forEach((item) => {\n item.document_transaction_id = transactionDebit.id;\n item.account_id = transactionDebit.account_id;\n });\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/check-consignment/mutations.js","export const setDateFrom = () => {\n\n let today = new Date();\n\n let year = today.getFullYear();\n let month = String(today.getMonth() + 1).padStart(2, '0'); // Se agrega 1 al mes ya que en JavaScript los meses van de 0 a 11.\n let day = String(today.getDate()-1).padStart(2, '0');\n\n return `${year}-${month}-${day}`;\n\n};\n\nexport default {\n loading:{\n module : false,\n },\n params: {\n date : setDateFrom() ,\n branch_office_id : null,\n },\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n reportData:[],\n branch_offices:[],\n formAlokstosResponse: null,\n formAlokstosProccessResponse: null,\n show_pdf :false,\n file_name :null,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/portfolio_reclassification/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/check-consignment/index.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/portfolio_reclassification/index.js","\nexport function setParamTable (state, paramTable) {\n state.selectedParamTable = paramTable;\n}\n\nexport function setParamTables (state, data) {\n state.parameters = data\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/table-parameters/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function getParamTable ({ commit, state }, id) {\n await $http.get(`/api/tablas-parametros/${id}`)\n .then((response) => {\n commit('setParamTable', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchParameters ({ commit }, id) {\n await $http.get(`/api/parametros?paramtable_id=${id}`)\n .then((response) => {\n commit('setParameters', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/table-parameters/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/table-parameters/index.js","export default {\n loading:{\n module : false\n },\n selectedParamTable: null,\n parameters: [],\n\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/table-parameters/state.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n\nexport async function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"getDataphones\");\n\n }\n\n export async function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"getDataphones\");\n }\n\n export async function getDataphones({state,commit}){\n await $http.get('/api/dataphones',{params:state.params}).then(response=>{\n commit('setDataphones',response.data);\n }).catch(error=>{})\n }\n\n export async function createDataphones({state,commit}){\n $http.post('/api/dataphones',state.selectedDataphone).then(response=>{\n Notification.success({\n title: \"Exito!\",\n message: \"Datafono Creado Correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n }\n\n\n export async function getDataphoneById( {commit}, id) {\n await $http.get(`/api/dataphones/${id}`).then(response=>{\n commit('setSelectedDataphone',response.data.data);\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n }\n\n export async function updateDataphone({state}){\n $http.put(`/api/dataphones/${state.selectedDataphone.id}`, state.selectedDataphone).then(resposnse=>{\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Actualizado Correctamente el Datafono',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n }\n\n export async function deleteDataphoneById({},id) {\n await $http.delete(`/api/dataphones/${id}`).then(response=>{\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Eliminado Correctamente el Datafono',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n }\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dataphones/actions.js","\nexport const defaultDataphone = () => {\n return {\n branchoffice_id: null,\n cash_register_id: null,\n provider_id: null,\n code_dataphone: '',\n code_1: '',\n };\n};\n\n\nexport default {\n\n selectedDataphone: defaultDataphone(),\n params: {\n perPage: 50,\n page: 1\n },\n disabledInputs: false,\n actionForm:'create',\n branchOfices:[],\n boxes:[],\n dataphones:[],\n providers:[\n {\n id : 1,\n name :'REDEBAN'\n },\n ],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dataphones/state.js","import { defaultDataphone } from \"./state\";\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function clearSelectedModel(state) {\n state.selectedDataphone = defaultDataphone();\n}\n\nexport function setActionForm(state, action) {\n state.actionForm = action;\n}\nexport function setdisabledInputs(state, disabled) {\n state.disabledInputs = disabled;\n}\n\nexport function setDataphones(state, dataphones){\n state.dataphones=dataphones.data.data;\n}\n\nexport function setSelectedDataphone(state, selectedDataphone){\n state.selectedDataphone=selectedDataphone;\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dataphones/mutations.js","import * as actions from './actions'\nimport * as mutations from './mutations'\nimport state from './state'\n\n\nexport default {\n namespaced:true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dataphones/index.js","export default {\n loading: {\n module: false\n },\n params: {\n product_id: null,\n product_code: \"\",\n branch_office_id: Number(localStorage.selected_branchoffice),\n branch_office_warehouse_id: Number(localStorage.selected_branchoffice_warehouse),\n line_id: null,\n brand_id: null,\n optionQuery: 1,\n type_quey: 1,\n },\n branchOffices: [],\n branchoffice_warehouses: [],\n reportMinMax: [],\n lines: [],\n brands: [],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-max-min/state.js","export function setBranchOffices(state, branchOffices){\n state.branchOffices = branchOffices.data;\n console.log(branchOffices.data)\n}\nexport function setBranchOfficesWarehouses(state, branchoffice_warehouses){\n state.branchoffice_warehouses = branchoffice_warehouses;\n}\nexport function setReportMinMax(state, data){\n state.reportMinMax = data;\n}\nexport function clearParams(state, data){\n state.params= {\n product_id: null,\n product_code: \"\",\n branch_office_id: Number(localStorage.selected_branchoffice),\n branch_office_warehouse_id: Number(localStorage.selected_branchoffice_warehouse),\n line_id: null,\n brand_id: null,\n }\n}\nexport function setLines(state, lines){\n state.lines = lines\n}\nexport function setBrands(state, brands){\n state.brands = brands\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-max-min/mutations.js","export const defaultSelectedDateUp = () => {\n const currentDate = new Date();\n const year = currentDate.getFullYear();\n const month = (currentDate.getMonth() + 1).toString().padStart(2, '0');\n const day = currentDate.getDate().toString().padStart(2, '0');\n return `${year}-${month}-${day}`;\n};\n\nexport const defaultSelectedDateFrom = () => {\n const oneMonthAgo = new Date();\n oneMonthAgo.setMonth(oneMonthAgo.getMonth() - 1);\n const year = oneMonthAgo.getFullYear();\n const month = (oneMonthAgo.getMonth() + 1).toString().padStart(2, '0');\n const day = oneMonthAgo.getDate().toString().padStart(2, '0');\n return `${year}-${month}-${day}`;\n\n};\n\n\nexport default {\n loading: {\n module: false\n },\n params: {\n dateUp : defaultSelectedDateUp(),\n dateFrom : defaultSelectedDateFrom(),\n voucherType_id: null,\n user_id: null,\n },\n voucherTypes: [],\n reportUserDocuments: [],\n users_select: [],\n users_params:{\n paginate: false,\n page: 1,\n perPage: 200,\n filter: '',\n sortBy: 'name',\n sort: 'ASC'\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-user-document/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-max-min/index.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reception_documents/index.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-user-document/index.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n const year = fecha.getFullYear();\n const month = String(fecha.getMonth() + 1).padStart(2, '0');\n return `${year}${month}`;\n};\n\nexport default {\n loading: {\n module: false\n },\n params: {\n year_month_from: defaultSelectedDate(),\n year_month_up: defaultSelectedDate(),\n account_id: null,\n contact_id: null,\n contact_type: null,\n },\n accounts: [],\n contacts_lite: [],\n contact_balance:[],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n params_contacts_lite: {\n only_active:true,\n filter: \"\",\n type: \"is_customer\",\n paginate: false\n },\n iconAcordion: \"ti-angle-down\",\n\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact-balance/state.js","\nexport function setAccounts(state,data) {\n state.accounts = data\n\n}\nexport function setContactsLite(state,data) {\n state.contacts_lite = data\n}\n\nexport function setReportData(state,data) {\n state.contact_balance = data\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact-balance/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\nexport async function fetchAccounts({ commit, state }, text) {\n await $http\n .get(\"/api/cuentas-lite\",{ params : {filter:text}})\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactsLite({ commit, state }) {\n\n switch (state.params.contact_type) {\n case 'Cliente':\n state.params_contacts_lite.type = \"is_customer\";\n break;\n case 'Proveedor':\n state.params_contacts_lite.type = \"is_provider\";\n break;\n case 'Empleado':\n state.params_contacts_lite.type = \"is_employee\";\n break;\n }\n\n let params = {\n params: state.params_contacts_lite\n };\n\n await $http\n .get(\"/api/terceros-lite\", params)\n .then(response => {\n commit(\"setContactsLite\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchContactBalanceReport({ commit, state }) {\n state.loading.module = true;\n await $http\n .get(\"/api/reporte-balance-tercero\", {params: state.params})\n .then(response => {\n commit(\"setReportData\", response.data.data);\n state.loading.module = false;\n })\n .catch(error => {\n state.loading.module = false;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact-balance/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact-balance/index.js","\nexport function setTypeContact(state, type_contact) {\n state.type_contact = type_contact;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update-withholdings/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update-withholdings/index.js","\nexport default {\n retentions: [\n {\n type: \"FTE\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0.0,\n new_prod_percentage: 0.0,\n // Serv\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n\n\n },\n {\n type: \"IVA\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0,\n new_prod_percentage: 0,\n // Serv\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n },\n {\n type: \"ICA\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0,\n new_prod_percentage: 0,\n // Serv\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n }\n ],\n retentionsProvider: [\n {\n type: \"FTE\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0.0,\n new_prod_percentage: 0.0,\n\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n\n\n },\n {\n type: \"IVA\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0.0,\n new_prod_percentage: 0.0,\n // Serv\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n },\n {\n type: \"ICA\",\n // Prod\n prod_vr_limit: 0,\n new_prod_vr_limit: 0,\n prod_percentage: 0.0,\n new_prod_percentage: 0.0,\n // Serv\n serv_vr_limit: 0,\n new_serv_vr_limit: 0,\n serv_percentage: 0.0,\n new_serv_percentage: 0.0,\n }\n ],\n type_contact: 1\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update-withholdings/state.js","export const defaultSelectedDateUp = () => {\n const currentDate = new Date();\n const year = currentDate.getFullYear();\n const month = (currentDate.getMonth() + 1).toString().padStart(2, '0');\n const day = currentDate.getDate().toString().padStart(2, '0');\n return `${year}-${month}-${day}`;\n};\n\nexport const defaultSelectedDateFrom = () => {\n const oneMonthAgo = new Date();\n oneMonthAgo.setMonth(oneMonthAgo.getMonth() - 1);\n const year = oneMonthAgo.getFullYear();\n const month = (oneMonthAgo.getMonth() + 1).toString().padStart(2, '0');\n const day = oneMonthAgo.getDate().toString().padStart(2, '0');\n return `${year}-${month}-${day}`;\n\n};\n\nexport default {\n loading: {\n module: false\n },\n params: {\n branch_office_id: null,\n branch_office_warehouse_id: null,\n branch_office_id_out:Number(localStorage.selected_branchoffice),\n branch_office_warehouse_id_out:null,\n date_from : defaultSelectedDateFrom() ,\n date_up : defaultSelectedDateUp()\n },\n branchOffices: [],\n branchoffice_warehouses: [],\n\n branchOffices_out: [],\n branchoffice_warehouses_out: [],\n\n reportTransfer: [],\n documents_products: [],\n lines: [],\n brands: [],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-transfers/state.js","import {defaultSelectedDateFrom, defaultSelectedDateUp} from \"./state\";\n\nexport function setBranchOffices(state, branchOffices){\n state.branchOffices = branchOffices.data;\n state.branchOffices_out = branchOffices.data;\n}\nexport function setBranchOfficesWarehouses(state, branchoffice_warehouses){\n state.branchoffice_warehouses = branchoffice_warehouses;\n state.branch_office_warehouse_id = null;\n}\nexport function setBranchOfficesWarehousesOut(state, branchoffice_warehouses_out){\n state.branchoffice_warehouses_out = branchoffice_warehouses_out;\n state.branch_office_warehouse_id_out = null;\n}\nexport function setReportTransfers(state, data){\n state.reportTransfer = data;\n}\nexport function setDocumentsProductsTransfer(state, data){\n state.documents_products = data;\n}\nexport function clearParams(state, data){\n state.params= {\n branch_office_id: Number(localStorage.selected_branchoffice),\n branch_office_warehouse_id: Number(localStorage.selected_branchoffice_warehouse),\n branch_office_id_out:null,\n branch_office_warehouse_id_out: null,\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-transfers/mutations.js","import $http from \"../../axios\";import {Notification, MessageBox} from 'element-ui';\n\nexport async function fetchBranchOffices({commit, state}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\nexport async function fetchReportTransfers({commit, state}) {\n state.loading.module = true;\n await $http.get('/api/reporte-traslados',{params : state.params}).then((response) => {\n state.loading.module = false;\n commit('setReportTransfers', response.data)\n })\n .catch((error) => {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchDocumentsProducts({commit, state},document_id) {\n await $http.get('/api/reporte-traslados/productos/'+document_id,).then((response) => {\n commit('setDocumentsProductsTransfer', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function downloadDocumentTransfer({state}, document_p) {\n let name = document_p.type_voucher + ' No. ' + document_p.consecutive + '.pdf'\n await $http({\n url: '/api/traslado/descargar-pdf/'+document_p.thread,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-transfers/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-transfers/index.js","import {defaultSelectedParameter} from \"../param-tables/state\";\n\nexport const defaultAccountingConcept = () => {\n return {\n code : null,\n name : null,\n observation : null,\n state : true ,\n accounting_concept_transactions: []\n };\n};\n\nexport const defaultSelectedAccountingConceptTransaction = () => {\n return {\n accounting_concept_id: null,\n id: null,\n order: null,\n account_id: null,\n transactions_type: null,\n parameter_id: null\n }\n}\n\n\nexport default {\n selectedAccountingConcept: defaultAccountingConcept(),\n params: {\n paginate: true,\n perPage: 50,\n filter: '',\n page: 1\n },\n disabledInputs: false,\n action:'create',\n error:false,\n accounting_concepts:[],\n accounts:[],\n actionFormTransactions:'create',\n file: null,\n parameters: [],\n selectedAccountingConceptTransaction: defaultSelectedAccountingConceptTransaction(),\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting_concept/state.js","import { defaultAccountingConcept,defaultSelectedAccountingConceptTransaction } from \"./state\";\n\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\nexport function setFilter(state, filter) {\n state.params.filter = filter;\n}\n\nexport function clearSelectedModel(state) {\n state.selectedAccountingConcept = defaultAccountingConcept();\n}\nexport function clearSelectedAccountingConceptTransaction(state) {\n state.selectedAccountingConceptTransaction = defaultSelectedAccountingConceptTransaction();\n}\n\nexport function setActionFormTransactions(state, action) {\n state.actionFormTransactions = action;\n}\nexport function setAction (state, action) {\n state.action = action;\n}\nexport function setdisabledInputs(state, disabled) {\n state.disabledInputs = disabled;\n}\n\nexport function setAccountingConcepts(state, data){\n state.accounting_concepts = data.data.data;\n}\n\nexport function setSelectedAccountingConcept(state, data){\n state.selectedAccountingConcept = data;\n}\nexport function setAccountingConceptTransaction(state, data){\n state.selectedAccountingConceptTransaction = data;\n}\nexport function setAccounts(state, data){\n state.accounts = data;\n}\nexport function setFile(state, data){\n state.file = data;\n}\n\n/**\n * Establecer un valor para la variable parameters.\n */\nexport function setParameters(state, parameters) {\n state.parameters = parameters;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting_concept/mutations.js","import * as actions from './actions'\nimport * as mutations from './mutations'\nimport state from './state'\n\n\nexport default {\n namespaced:true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/accounting_concept/index.js","/**\n * Establecer un valor para la variable subscriber.\n */\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber;\n}\n\n/**\n * Establecer un valor para la variable loading.\n */\nexport function setLoading(state, loading) {\n state.loading = loading;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/b2c_integration/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\n/**\n * Obtener suscriptor.\n */\nexport async function getSubscriber({commit}) {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n });\n}\n\n/**\n * Obtener suscriptor.\n */\nexport async function sync({commit, dispatch, state}) {\n\n commit('setLoading', true);\n\n await $http.post(`/api/integracion-b2c/sync`)\n .then(response => {\n commit('setLoading', false);\n Notification.success({\n title: '¡Muy bien!',\n message: response.data.message,\n type: 'success',\n duration: 5000,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n commit('setLoading', false);\n console.log(error);\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 5000,\n customClass: 'notification-box'\n });\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/b2c_integration/actions.js","import state from \"./state\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/b2c_integration/index.js","export default {\n subscriber: null,\n loading: true\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/b2c_integration/state.js","import moment from \"moment\";\nexport function setLoading(state, loading){\n state.loading = loading\n}\n\nexport function setReportData(state,data){\n state.report_data = data\n}\nexport function setDocumentProductReportData(state,data){\n state.document_products = data\n}\n\nexport function subtractMonthsToDate(date, quantity_months) {\n\n const date_clone = new Date(date);\n // Obtener el mes y año actuales\n const current_month = date_clone.getMonth();\n const current_year = date_clone.getFullYear();\n\n // Calcular el nuevo mes y año\n let new_month = current_month - quantity_months;\n let new_year = current_year;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (new_month < 0) {\n new_month += 12;\n new_year--;\n }\n\n // Establecer la nueva fecha con los meses restados\n date_clone.setMonth(new_month);\n date_clone.setFullYear(new_year);\n\n return date_clone;\n}\n\nexport function setDateRangeParam(state) {\n const date_current = new Date(); // Fecha actual\n\n // Restar un mes a la fecha actual para obtener el mes anterior\n const date_month_previous = subtractMonthsToDate(date_current, 1);\n\n // Obtener el primer día del mes anterior\n const first_day_month_previous = new Date(date_month_previous.getFullYear(), date_month_previous.getMonth(), 1);\n\n // Obtener el último día del mes anterior\n //const ultimoDiaMesAnterior = new Date(date_month_previous.getFullYear(), date_month_previous.getMonth() + 1, 0);\n state.params.date = [\n moment(first_day_month_previous).format('YYYY-MM-DD'),\n moment(date_current).format('YYYY-MM-DD'),\n ];\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-document-pending-dispatch-order/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-document-pending-dispatch-order/index.js","export default {\n loading : false,\n params: {\n pending_dispatch_order : null,\n date: null\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n report_data:[],\n document_products: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-document-pending-dispatch-order/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-referrals/index.js","export default {\n loading : false,\n branchOffices: [],\n voucher_types : [],\n report_data:[],\n document_referrals:[],\n contacts: [],\n product_details_document: [],\n product_id_details_document_query: null,\n params: {\n date : null,\n //voucher_type : null,\n branch_office : null,\n contact : [],\n template : null,\n },\n params_query:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n params_voucher_type:{\n paginate : false,\n filter : null,\n branchoffice : null,\n },\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n },\n name_pdf: null,\n column_status: null,\n paramsTemplates:{\n perPage: 1000,\n sortBy: 'id',\n sort: 'ASC',\n paginate : true,\n filter : null,\n active: 1\n },\n templates: []\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-referrals/state.js","import * as actions from './actions'\nimport * as mutations from './mutations'\nimport state from './state'\n\n\nexport default {\n namespaced:true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/physical-inventory/index.js","export default {\n loading:{\n module : false\n },\n show_modal_config:false,\n paymentMethodsSend :[],\n listBranchOfficesWarehouses :[],\n usersCount :[],\n counting_state_users :[],\n products :[],\n lines :[],\n brands :[],\n users :[],\n product_new_id : null,\n params_config: {\n branch_office_id : localStorage.selected_branchoffice,\n branch_office_warehouse_id : localStorage.selected_branchoffice_warehouse,\n lines:[],\n brands:[],\n users:[],\n random_num_prod:null,\n user_res_id:null,\n show_stock_counting:false,\n },\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n physicalInventory: {\n id : null,\n state : null\n },\n file_name:null,\n show_pdf:false,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/physical-inventory/state.js","export function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setParamsContacts(state, filter) {\n state.params_contacts.filter = filter;\n}\nexport function setLines(state, lines) {\n state.lines = lines;\n}\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\nexport function setSellingPricesAboveCost(state, sellingPricesAboveCost) {\n state.sellingPricesAboveCost = sellingPricesAboveCost;\n}\nexport function setSellingPricesAboveCosts(state, sellingPricesAboveCosts) {\n state.sellingPricesAboveCosts = sellingPricesAboveCosts;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/selling-prices-above-cost/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nexport async function fetchContacts({ commit, state, rootState }) {\n let params = {\n params: state.params_contacts\n };\n\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchLines({ commit, state }) {\n await $http\n .get(\"/api/lista-lineas\")\n .then(response => {\n commit(\"setLines\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchBrands({ commit, state }) {\n await $http\n .get(\"/api/lista-marcas\")\n .then(response => {\n commit(\"setBrands\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createSellingPricesAboveCost({ commit, state }, params) {\n await $http\n .post(\"/api/crear-descuento\", params)\n .then(response => {\n commit(\"setSellingPricesAboveCost\", response.data);\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha registrado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchSellingPricesAboveCosts({ commit, state }) {\n await $http\n .get(\"/api/lista-descuentos\")\n .then(response => {\n commit(\"setSellingPricesAboveCosts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchSellingPricesAboveCost({ commit, state }, id) {\n await $http\n .get(`/api/descuento/${id}`)\n .then(response => {\n commit(\"setSellingPricesAboveCost\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateSellingPricesAboveCost({ commit, state }, params) {\n await $http\n .put(\"/api/actualizar-descuento\", params)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha actualizado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteSellingPricesAboveCost({ commit, state }, id) {\n await $http\n .delete(\"/api/eliminar-descuento/\" + id)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha Eliminado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchParameters({ commit }, id) {\n await $http\n .get(`/api/parametros?paramtable_id=5`)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/selling-prices-above-cost/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/selling-prices-above-cost/index.js","export default {\n sellingPricesAboveCost: null,\n sellingPricesAboveCosts: [],\n contacts: [],\n lines: [],\n brands: [],\n params_contacts: {\n filter: \"\",\n type: \"is_customer\",\n paginate: false\n },\n params: {\n client: null,\n line: null,\n brand: null,\n percentage: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/selling-prices-above-cost/state.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-detail/mutations.js","import $http from '../../axios';\n\nexport async function getSales({commit, state}, dates) {\n commit('setLoading', true);\n\n await $http.get('/api/reporte-detalle-ventas?dates=' + dates)\n .then(async (response) => {\n await commit('setSales', response.data.data);\n commit('setLoading', false);\n }).catch(() => commit('setLoading', false));\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-detail/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-detail/index.js","export default {\n sales: [],\n loading: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-detail/state.js","import moment from 'moment';\n\nexport const data = () => {\n return {\n year: moment().format('YYYY'),\n file: null\n };\n};\n\nexport default {\n data: data(),\n preloader: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-budgets/state.js","import {data} from './state';\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = data();\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-budgets/mutations.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\n// Cargar documento\nexport async function addDocument({state, commit}) {\n\n let form_data = new FormData();\n\n form_data.append('year', state.data.year);\n form_data.append('file', state.data.file);\n\n commit('setPreloader', true);\n\n await $http.post('/api/presupuesto-ventas', form_data)\n .then((response) => {\n commit('setPreloader', false);\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n commit('resetData');\n })\n .catch((error) => {\n commit('setPreloader', false);\n\n let message;\n\n if (error.response.status === 422) {\n message = 'Algunos campos no se registraron correctamente';\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n });\n}\n\n/**\n * Descargar plantilla\n */\nexport async function downloadTemplate({}) {\n await $http({\n url: '/api/descargar-plantilla-cargue-presupuesto',\n method: 'GET',\n responseType: 'blob'\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Plantilla cargue presupuest.xlsx');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-budgets/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-budgets/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales-budgets/index.js","import moment from 'moment';\n\nexport const data = () => {\n return {\n year: moment().format('YYYY'),\n file: null\n };\n};\n\nexport default {\n data: data(),\n preloader: false,\n sales_budget: [],\n modal: {\n show: false\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales_budget_by_contacts_warehouses/state.js","import {data} from './state';\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = data();\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable sales_budget.\n */\nexport function setSalesBudget(state, sales_budget) {\n state.sales_budget = sales_budget;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal.\n */\nexport function setShowToModal(state, show) {\n state.modal.show = show;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales_budget_by_contacts_warehouses/mutations.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\n// Cargar documento\nexport async function addDocument({state, commit}) {\n\n let form_data = new FormData();\n\n form_data.append('year', state.data.year);\n form_data.append('file', state.data.file);\n\n commit('setPreloader', true);\n\n await $http.post('/api/presupuesto-ventas-clientes', form_data)\n .then((response) => {\n commit('setPreloader', false);\n\n let errors = response.data.errors;\n\n if (!errors.length) {\n Notification.success({\n title: 'Éxito',\n message: 'Presupuesto cargado exitosamente',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n } else {\n Notification.error({\n title: 'Error',\n message: 'Existen inconsistencias en el archivo cargado',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n\n errors.unshift({errores: 'errores'});\n let csv = '';\n// Loop the array of objects\n for (let row = 0; row < errors.length; row++) {\n let keysAmount = Object.keys(errors[row]).length;\n let keysCounter = 0;\n\n if (row === 0) {\n\n for (let key in errors[row]) {\n\n csv += key + (keysCounter + 1 < keysAmount ? ',' : '\\r\\n');\n keysCounter++;\n }\n } else {\n for (let key in errors[row]) {\n csv += errors[row][key] + (keysCounter + 1 < keysAmount ? ',' : '\\r\\n');\n keysCounter++;\n }\n }\n\n keysCounter = 0;\n }\n\n let link = document.createElement('a');\n link.id = 'download-csv';\n link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(csv));\n link.setAttribute('download', 'errores.csv');\n document.body.appendChild(link);\n document.querySelector('#download-csv').click();\n }\n\n commit('resetData');\n })\n .catch((error) => {\n commit('setPreloader', false);\n\n let message;\n\n if (error.response.status === 422) {\n message = 'Algunos campos no se registraron correctamente';\n } else {\n message = error.message;\n }\n\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n });\n}\n\n/**\n * Descargar plantilla\n */\nexport async function downloadTemplate({}) {\n await $http({\n url: '/api/descargar-plantilla-presupuesto-clientes',\n method: 'GET',\n responseType: 'blob'\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Plantilla cargue presupuesto por cliente.xlsx');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function getSalesBudget({commit, state}, contact_warehouse_id) {\n\n let params = {contact_warehouse_id};\n\n await $http.get('/api/presupuesto-ventas-clientes', {params})\n .then(async (response) => {\n\n if (response.data.data[0]){\n commit('setSalesBudget', response.data.data[0]);\n }\n\n }).catch((error) => {\n console.error(error);\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales_budget_by_contacts_warehouses/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales_budget_by_contacts_warehouses/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sales_budget_by_contacts_warehouses/index.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget/mutations.js","import $http from '../../../axios';\n\nexport async function getSales({commit}) {\n commit('setLoading', true)\n await $http.get('/api/reporte-presupuesto-de-ventas').then(async (response) => {\n await commit('setSales', response.data);\n commit('setLoading', false)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget/index.js","export default {\n sales: [],\n loading: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget/state.js","export function setSales(state, sales) {\n state.sales = sales\n}\n\nexport function setContact(state, contact) {\n state.contact = contact\n}\n\nexport function setLoading(state, loading) {\n state.loading = loading\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget-detail/mutations.js","import $http from '../../../axios';\n\nexport async function getSales({commit}, contact_id) {\n commit('setLoading', true)\n await $http.get('/api/reporte-ventas-productos?contact_id=' + contact_id).then(async (response) => {\n await commit('setSales', response.data.sales);\n await commit('setContact', response.data.contact);\n commit('setLoading', false)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget-detail/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n export default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget-detail/index.js","export default {\n sales: [],\n contact: {},\n loading: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales-budget-detail/state.js","/**\n * Establecer un valor para la variable sales.\n */\nexport function setSales(state, sales) {\n state.sales = sales;\n}\n\n/**\n * Establecer un valor para la variable loading.\n */\nexport function setLoading(state, loading) {\n state.loading = loading;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/mutations.js","import $http from '../../../axios';\n\nexport async function getSales({commit}) {\n commit('setLoading', true);\n await $http.get('/api/reporte-presupuesto-de-ventas-clientes').then(async (response) => {\n await commit('setSales', response.data.data);\n commit('setLoading', false);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/actions.js","import state from './state';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/index.js","export default {\n sales: [],\n loading: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/reports-aggrid/modules/sales_budget_by_contacts_warehouses/state.js","export function setcontacts_mails(state, contacts_mails) {\n state.contacts_mails = contacts_mails\n}\n\nexport function setcontacts_mails_send(state, contacs_selected) {\n if (contacs_selected.select_email) {\n var selecteds = state.contacs_selecteds.filter(function (car) {\n return car.id_contact !== contacs_selected.id_contact;\n });\n state.contacs_selecteds = selecteds;\n state.contacs_selecteds.push(contacs_selected);\n } else {\n var selecteds = state.contacs_selecteds.filter(function (car) {\n return car.id_contact !== contacs_selected.id_contact;\n });\n state.contacs_selecteds = [];\n state.contacs_selecteds = selecteds;\n }\n\n console.log(state.contacs_selecteds);\n}\n\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\nexport function setupdate_mails_send(state, type_format_change){\n if(state.contacs_selecteds){\n let select = state.contacs_selecteds;\n select.map(function(dato){\n\n dato.type_informe = type_format_change;\n\n \n return dato;\n });\n state.contacs_selecteds = select;\n\n console.log(state.contacs_selecteds);\n }else{\n return false;\n }\n}\n\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/masive-mails/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n// obtener Data libro Contable\nexport async function fetchReportContactsMails({ commit, state }) {\n //console.log(state.params);\n await $http.get('/api/envio-masivo-correos', { params: state.params })\n .then((response) => {\n //console.log(response.data.data);\n commit('setcontacts_mails', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\nexport async function setContactsMails({ commit, state }, contacs_selected) {\n\n commit('setcontacts_mails_send', contacs_selected);\n\n}\n\nexport async function updateTypeFormat({ commit, state }, type_format) {\n\n commit('setupdate_mails_send', type_format);\n\n}\n\nexport async function fetchSellers({commit, state}, text) {\n let params = { filter:text}\n console.log(new Date()+\"Empezando Sellers\");\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n }\n\nexport async function sendEmailMasive({ commit, state }) {\n console.log(state.params);\n await $http.post('/api/enviando-masivo-correos', { params: state.contacs_selecteds })\n .then((response) => {\n console.log(response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function printInforme({ commit, state },data) {\n let name = '';\n let url = '';\n if(state.params.type_format === 1){\n name = 'Informe Estado de Cuenta '+data.complete_name+'-'+data.identification+'.pdf'\n url ='/api/descargar-cartera/' + data.contact_id\n }else if(state.params.type_format === 2){\n name = 'Informe Aviso Reporte Negativo '+data.complete_name+'-'+data.identification+'.pdf'\n url ='/api/descargar-negativo/' + data.contact_id\n }else if(state.params.type_format === 3){\n name = 'Informe Aviso Cobre Juridico '+data.complete_name+'-'+data.identification+'.pdf'\n url ='/api/descargar-juridico/' + data.contact_id\n }\n\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\nexport async function getSubscriber({ commit }) {\n\n const user = JSON.parse(localStorage.getItem('user'))\n const subscriber_id = user.subscriber_id\n\n await $http.get(\"/api/suscriptores/\" + subscriber_id)\n .then(response => {\n\n const subscriber = response.data.data\n\n commit('setSubscriber', subscriber)\n\n if (subscriber.document) {\n commit('setParamsYearMonth', subscriber.document.document_date.substring(0, 9))\n }\n })\n}\n\nexport async function addNotification({state, commit, rootState}, notification) {\n\n let notifications = rootState.Notifications.notifications\n\n const today = new Date();\n\n const date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();\n\n const time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n\n let new_notification = {\n id: null,\n title: 'ACTUALIZACIÓN MASIVA CARTERA',\n text: [\n {key: 'Fecha', value: date + ' ' + time},\n {key: 'Mensaje', value: notification.message}\n ],\n type: 'update_balances',\n url: null,\n close: true\n }\n\n notifications.unshift(new_notification)\n\n commit('Notifications/setNotifications', notifications, {root: true})\n }\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/masive-mails/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/masive-mails/index.js","export default {\n loading: {\n module: true\n },\n params: {\n type_format: 1,\n seller_id: [],\n },\n types_format: [{\n \"id\": 1,\n \"name\": \"Estado de cuenta\"\n },\n {\n \"id\": 2,\n \"name\": \"Aviso Reporte Negativo\"\n },\n {\n \"id\": 3,\n \"name\": \"Aviso Cobro juridico\"\n }],\n contacts_mails: [],\n contacs_selecteds: [],\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n subscriber: {\n document: {}\n },\n sellers:[],\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/masive-mails/state.js","import moment from 'moment';\n\nexport const defaultFilters = () => {\n return {\n dates: [\n moment().add(-1, 'month').add(1, 'day').format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ],\n line_id: null,\n brand_id: null,\n branch_office_id: null,\n branch_office_warehouse_id: null\n };\n};\n\nexport default {\n consolidated_kardex: [],\n preloader: false,\n lines: [],\n brands: [],\n branch_offices: [],\n branch_offices_warehouses: [],\n filters: defaultFilters()\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/consolidated_kardex/state.js","import {defaultFilters} from './state';\n\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\nexport function setBranchOffices(state, branch_offices) {\n state.branch_offices = branch_offices;\n}\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\n\nexport function setBranchOfficesWarehouses(state, branch_offices_warehouses) {\n state.branch_offices_warehouses = branch_offices_warehouses;\n}\n\nexport function setConsolidatedKardex(state, consolidated_kardex) {\n state.consolidated_kardex = consolidated_kardex;\n}\n\nexport function resetFilters(state) {\n state.filters = defaultFilters();\n state.consolidated_kardex = [];\n}\n\nexport function setBranchOfficeFilter(state, branch_office_id) {\n state.filters.branch_office_id = branch_office_id;\n}\n\nexport function setBranchOfficeWarehouseFilter(state, branch_office_warehouse_id) {\n state.filters.branch_office_warehouse_id = branch_office_warehouse_id;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/consolidated_kardex/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\n/**\n * Consultar sedes.\n */\nexport async function fetchBranchOffices({commit}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message);\n });\n}\n\n/**\n * Consultar bodegas.\n */\nexport async function fetchBranchOfficeWarehouses({commit, state}, branch_office_id) {\n await $http.get(`/api/bodegas-sedes?branchoffice_id=${branch_office_id}`)\n .then((response) => {\n commit('setBranchOfficesWarehouses', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function fetchLines({commit, state}) {\n await $http.get('/api/lista-lineas')\n .then(response => {\n commit('setLines', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('modelError', error.message);\n });\n}\n\n//Obtener los marcas\nexport async function fetchBrands({commit, state}) {\n\n let params = {\n paginate: false\n };\n\n await $http.get('/api/marcas', {params})\n .then(response => {\n commit('setBrands', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('brandError', error.message);\n });\n}\n\n/**\n * Consultar Kardex consolidado.\n */\nexport async function getConsolidatedKardex({commit, state}) {\n commit('setPreloader', true);\n\n await $http.get('/api/kardex-consolidado', {params: state.filters})\n .then((response) => {\n commit('setConsolidatedKardex', response.data.data);\n commit('setPreloader', false);\n })\n .catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/consolidated_kardex/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/consolidated_kardex/index.js","export const defaultMagneticMediaFormats = () => {\n return {\n loading: false,\n form: {\n code: \"\",\n description: \"\"\n },\n table: {\n loading: false,\n data: [],\n columns: [\n { name: \"Codigo\", field: \"code\", width: 150 },\n { name: \"Descripción\", field: \"description\", width: 150 },\n {\n name: \"Acciones\",\n field: \"actions\",\n width: 150\n }\n ]\n }\n };\n};\n\nexport const defaultMagneticMediaConcepts = () => {\n return {\n loading: false,\n form: {\n code: \"\",\n description: \"\"\n },\n table: {\n loading: false,\n data: [],\n columns: [\n { name: \"Codigo\", field: \"code\", width: 150 },\n { name: \"Descripción\", field: \"description\", width: 150 },\n {\n name: \"Acciones\",\n field: \"actions\",\n width: 150\n }\n ]\n }\n };\n};\n\nexport const defaultMagneticMediaColumns = () => {\n return {\n loading: false,\n vrSelectionOptions: [],\n regimeOptions: [],\n contacts: [],\n form: {\n number: \"\",\n title: \"\",\n description: \"\",\n vr_selection: \"\",\n limit_value: \"\",\n regime_id: \"\",\n contact_id: \"\",\n magnetic_media_concept_id: \"\"\n },\n table: {\n loading: false,\n data: [],\n columns: [\n { name: \"Columna\", field: \"number\", width: 150 },\n // { name: \"Titulo Excel\", field: \"title\", width: 150 },\n { name: \"Descripción\", field: \"description\", width: 150 },\n { name: \"Selección Vr\", field: \"vr_selection\", width: 150 },\n { name: \"Regimen\", field: \"regime_id\", width: 150 },\n { name: \"Vr-Tope\", field: \"limit_value\", width: 150 },\n { name: \"Tercero bajo Tope\", field: \"contact_id\", width: 150 },\n {\n name: \"Acciones\",\n field: \"actions\",\n width: 150\n }\n ]\n }\n };\n};\n\nexport const defaultMagneticMediaRangeAccounts = () => {\n return {\n loading: false,\n form: {\n account_from_id: \"\",\n account_to_id: \"\"\n },\n table: {\n loading: false,\n data: [],\n columns: [\n { name: \"Cuenta Desde\", field: \"account_from_id\", width: 150 },\n { name: \"Cuenta Hasta\", field: \"account_to_id\", width: 150 },\n {\n name: \"Acciones\",\n field: \"actions\",\n width: 150\n }\n ]\n }\n };\n};\n\nexport const defaultMagneticMediaReport = () => {\n return {\n loading: false,\n data: [],\n columns: [\n {\n headerName: \"Concepto\",\n field: \"concept\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n editable: false\n },\n {\n headerName: \"Tipo Ident\",\n field: \"type_ident\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (!params.value) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n if (params.value == 31 && params.data.ident.length !== 9) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Ident\",\n field: \"ident\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (!params.value) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n if (\n params.data.type_ident == 31 &&\n ![\"8\", \"9\"].includes(params.value.toString().charAt(0))\n ) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"DV\",\n field: \"dv\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true\n },\n {\n headerName: \"Apellido-1\",\n field: \"surname1\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (\n [\"13\", \"41\", \"22\", \"42\"].includes(\n params.data.type_ident\n ) &&\n !params.value\n ) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Apellido-2\",\n field: \"surname2\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true\n },\n {\n headerName: \"Nombre-1\",\n field: \"name1\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (\n [\"13\", \"41\", \"22\", \"42\"].includes(\n params.data.type_ident\n ) &&\n !params.value.replace(\" \", \"\")\n ) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Nombre-2\",\n field: \"name2\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true\n },\n {\n headerName: \"Razon Social\",\n field: \"companyName\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (\n params.data.type_ident == 31 &&\n !params.value.replace(\" \", \"\")\n ) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Direccion\",\n field: \"address\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (!params.value) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n if (params.value.replace(\" \", \"\").length < 5) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n if (!/^[A-Za-z0-9 . -]*$/.test(params.value)) {\n return { backgroundColor: \"#ffccdd\" };\n }\n\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Dep\",\n field: \"dep\",\n cellClass: \"dep\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (!params.value) {\n return { backgroundColor: \"#ffccdd\" };\n }\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Mun\",\n field: \"mun\",\n cellClass: \"mun\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n cellStyle: params => {\n if (!params.value) {\n return { backgroundColor: \"#ffccdd\" };\n }\n return { backgroundColor: \"\" };\n }\n },\n {\n headerName: \"Pais\",\n field: \"city\",\n cellClass: \"city\",\n width: 150,\n resizable: true,\n sortable: true,\n filter: true\n },\n {\n width: 180,\n headerName: \"Acciones\",\n field: \"actions\",\n editable: false,\n filter: false,\n colId: \"actions\"\n }\n ],\n excelStyles: [\n {\n id: \"dep\",\n dataType: \"String\"\n },\n {\n id: \"mun\",\n dataType: \"String\"\n },\n {\n id: \"city\",\n dataType: \"String\"\n }\n ],\n ag_grid: {\n selectedTheme: \"ag-theme-balham\"\n },\n typesIdent: [],\n onlyInconsistencies: false\n };\n};\n\nexport default {\n magneticMediaFormats: defaultMagneticMediaFormats(),\n magneticMediaConcepts: defaultMagneticMediaConcepts(),\n magneticMediaColumns: defaultMagneticMediaColumns(),\n magneticMediaRangeAccounts: defaultMagneticMediaRangeAccounts(),\n magneticMediaReport: defaultMagneticMediaReport(),\n onChangeDep: 0,\n magneticMediaCurrentEditContact: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/magneticMedia/state.js","import { defaultMagneticMediaReport } from \"./state\";\n\n/**\n * Formats\n */\nexport function setFormats(state, data) {\n state.magneticMediaFormats.table.data = data;\n}\n\nexport function setFormat(state, data) {\n state.magneticMediaFormats.form = JSON.parse(JSON.stringify(data));\n}\n\nexport function resetFormat(state) {\n state.magneticMediaFormats.form = {\n code: \"\",\n description: \"\"\n };\n}\n\nexport function setLoadingCreateOrUpdateFormat(state, value) {\n state.magneticMediaFormats.loading = value;\n}\n\nexport function setLoadingTableFormat(state, value) {\n state.magneticMediaFormats.table.loading = value;\n}\n\n/**\n * Concepts\n */\n\nexport function setConcepts(state, data) {\n state.magneticMediaConcepts.table.data = data;\n}\n\nexport function setConcept(state, data) {\n state.magneticMediaConcepts.form = JSON.parse(JSON.stringify(data));\n}\n\nexport function resetConcept(state) {\n state.magneticMediaConcepts.form = {\n code: \"\",\n description: \"\"\n };\n}\n\nexport function resetConcepts(state) {\n state.magneticMediaConcepts.table.data = [];\n}\n\nexport function setLoadingCreateOrUpdateConcept(state, value) {\n state.magneticMediaConcepts.loading = value;\n}\n\nexport function setLoadingTableConcept(state, value) {\n state.magneticMediaConcepts.table.loading = value;\n}\n\n/**\n * Columns\n */\nexport function setColumns(state, data) {\n state.magneticMediaColumns.table.data = data;\n}\n\nexport function setColumn(state, data) {\n const item = JSON.parse(JSON.stringify(data));\n\n state.magneticMediaColumns.form = {\n ...item,\n contact: undefined,\n regime: undefined\n };\n}\n\nexport function resetColumn(state) {\n state.magneticMediaColumns.form = {\n number: \"\",\n title: \"\",\n description: \"\",\n vr_selection: \"\",\n limit_value: \"\",\n regime_id: \"\",\n contact_id: \"\",\n magnetic_media_concept_id: \"\"\n };\n}\n\nexport function resetColumns(state) {\n state.magneticMediaColumns.table.data = [];\n}\n\nexport function setVrSelectionOptions(state, data) {\n state.magneticMediaColumns.vrSelectionOptions = data;\n}\n\nexport function setRegimeOptions(state, data) {\n state.magneticMediaColumns.regimeOptions = data;\n}\n\nexport function setContacts(state, data) {\n state.magneticMediaColumns.contacts = data;\n}\n\nexport function setLoadingCreateOrUpdateColumn(state, value) {\n state.magneticMediaColumns.loading = value;\n}\n\nexport function setLoadingTableColumn(state, value) {\n state.magneticMediaColumns.table.loading = value;\n}\n\n/**\n * RangeAccounts\n */\nexport function setRangeAccounts(state, data) {\n state.magneticMediaRangeAccounts.table.data = data;\n}\n\nexport function setRangeAccount(state, data) {\n state.magneticMediaRangeAccounts.form = JSON.parse(JSON.stringify(data));\n}\n\nexport function resetRangeAccount(state) {\n state.magneticMediaRangeAccounts.form = {\n account_from_id: \"\",\n account_to_id: \"\"\n };\n}\n\nexport function resetRangeAccounts(state, data) {\n state.magneticMediaRangeAccounts.table.data = data;\n}\n\nexport function setLoadingCreateOrUpdateRangeAccount(state, value) {\n state.magneticMediaRangeAccounts.loading = value;\n}\n\nexport function setLoadingTableRangeAccount(state, value) {\n state.magneticMediaRangeAccounts.table.loading = value;\n}\n\n/**\n * Reports\n */\nexport function setMagneticMediaReport(state, data) {\n const magneticMediaReportCopy = defaultMagneticMediaReport();\n const columnsStatics = magneticMediaReportCopy.columns.map(\n item => item.field\n );\n let columnsDynamic = [];\n\n if (data.length > 0) {\n columnsDynamic = Object.keys(data[data.length - 1]).filter(\n item => !columnsStatics.includes(item)\n );\n }\n\n const columns = [\n ...magneticMediaReportCopy.columns,\n ...columnsDynamic.map(item => ({\n headerName: item,\n field: item,\n width: 150,\n resizable: true,\n sortable: true,\n filter: true,\n isMoney: true,\n editable: false\n }))\n ];\n\n state.magneticMediaReport.columns = columns;\n state.magneticMediaReport.data = data;\n}\n\nexport function setLoadingMagneticMediaReport(state, value) {\n state.magneticMediaReport.loading = value;\n}\n\nexport function setTypesIdent(state, data) {\n state.magneticMediaReport.typesIdent = data\n .map(item => item.alphanum_data_first)\n .sort((a, b) => a.localeCompare(b));\n}\n\nexport function setChangeDep(state) {\n state.onChangeDep++;\n}\n\nexport function setMagneticMediaCurrentEditContact(state, data) {\n state.magneticMediaCurrentEditContact = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/magneticMedia/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\nconst baseUrl = \"/api/medios-magneticos\";\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {\n value: p.id,\n label: p.name_parameter,\n ...p\n };\n });\n}\n\n/**\n * FORMATS\n */\nexport async function fetchFormats({ commit }) {\n commit(\"setLoadingTableFormat\", true);\n await $http\n .get(`${baseUrl}/formatos`)\n .then(response => {\n commit(\"setFormats\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingTableFormat\", false);\n}\n\nexport async function createFormat({ dispatch, commit }, data) {\n commit(\"setLoadingCreateOrUpdateFormat\", true);\n\n await $http\n .post(`${baseUrl}/formatos`, data)\n .then(() => {\n dispatch(\"fetchFormats\");\n commit(\"resetFormat\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setLoadingCreateOrUpdateFormat\", false);\n}\n\nexport async function updateFormat({ dispatch, commit }, data) {\n commit(\"setLoadingCreateOrUpdateFormat\", true);\n\n await $http\n .put(`${baseUrl}/formatos/${data.id}`, data)\n .then(() => {\n dispatch(\"fetchFormats\");\n commit(\"resetFormat\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingCreateOrUpdateFormat\", false);\n}\n\nexport async function deleteFormat({ dispatch }, id) {\n await $http\n .delete(`${baseUrl}/formatos/${id}`)\n .then(() => {\n dispatch(\"fetchFormats\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * CONCEPTS\n */\nexport async function fetchConcepts({ commit }, format_id) {\n commit(\"setLoadingTableConcept\", true);\n await $http\n .get(`${baseUrl}/conceptos`, { params: { format_id } })\n .then(response => {\n commit(\"setConcepts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingTableConcept\", false);\n}\n\nexport async function createConcept({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateConcept\", true);\n await $http\n .post(`${baseUrl}/conceptos`, data)\n .then(() => {\n dispatch(\"fetchConcepts\", state.magneticMediaFormats.form.id);\n commit(\"resetConcept\");\n })\n .catch(error => {\n console.log(\"error\", error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setLoadingCreateOrUpdateConcept\", false);\n}\n\nexport async function updateConcept({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateConcept\", true);\n\n await $http\n .put(`${baseUrl}/conceptos/${data.id}`, data)\n .then(() => {\n dispatch(\"fetchConcepts\", state.magneticMediaFormats.form.id);\n commit(\"resetConcept\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingCreateOrUpdateConcept\", false);\n}\n\nexport async function deleteConcept({ dispatch, state }, id) {\n await $http\n .delete(`${baseUrl}/conceptos/${id}`)\n .then(() => {\n dispatch(\"fetchConcepts\", state.magneticMediaFormats.form.id);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * COLUMNS\n */\nexport async function fetchColumns({ commit }, concept_id) {\n commit(\"setLoadingTableColumn\", true);\n await $http\n .get(`${baseUrl}/columnas`, { params: { concept_id } })\n .then(response => {\n commit(\"setColumns\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingTableColumn\", false);\n}\n\nexport async function createColumn({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateColumn\", true);\n await $http\n .post(`${baseUrl}/columnas`, data)\n .then(() => {\n dispatch(\"fetchColumns\", state.magneticMediaConcepts.form.id);\n commit(\"resetColumn\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n commit(\"setLoadingCreateOrUpdateColumn\", false);\n}\n\nexport async function updateColumn({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateColumn\", true);\n await $http\n .put(`${baseUrl}/columnas/${data.id}`, data)\n .then(() => {\n dispatch(\"fetchColumns\", state.magneticMediaConcepts.form.id);\n commit(\"resetColumn\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingCreateOrUpdateColumn\", false);\n}\n\nexport async function deleteColumn({ dispatch, state }, id) {\n await $http\n .delete(`${baseUrl}/columnas/${id}`)\n .then(() => {\n dispatch(\"fetchColumns\", state.magneticMediaConcepts.form.id);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getVrSelectionOptions({ commit }) {\n await $http\n .get(`${baseUrl}/columnas-vr-selection-options`)\n .then(response => {\n commit(\"setVrSelectionOptions\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getRegimeOptions({ dispatch, state, rootState, commit }) {\n let params = {\n codeParamTable: \"057\",\n paginate: false\n };\n\n if (!state.magneticMediaColumns.regimeOptions.length) {\n await dispatch(\"parameters/listParameter\", { params }, { root: true });\n commit(\n \"setRegimeOptions\",\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\nexport async function getContacts({ commit }, filter) {\n await $http\n .get(\"/api/terceros\", { params: { filter } })\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * RANGE-ACCOUNT\n */\nexport async function fetchRangeAccounts({ commit }, column_id) {\n commit(\"setLoadingTableRangeAccount\", true);\n await $http\n .get(`${baseUrl}/rango-cuentas`, { params: { column_id } })\n .then(response => {\n commit(\"setRangeAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingTableRangeAccount\", false);\n}\n\nexport async function createRangeAccount({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateRangeAccount\", true);\n await $http\n .post(`${baseUrl}/rango-cuentas`, data)\n .then(() => {\n dispatch(\"fetchRangeAccounts\", state.magneticMediaColumns.form.id);\n commit(\"resetRangeAccount\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingCreateOrUpdateRangeAccount\", false);\n}\n\nexport async function updateRangeAccount({ dispatch, commit, state }, data) {\n commit(\"setLoadingCreateOrUpdateRangeAccount\", true);\n\n await $http\n .put(`${baseUrl}/rango-cuentas/${data.id}`, data)\n .then(() => {\n dispatch(\"fetchRangeAccounts\", state.magneticMediaColumns.form.id);\n commit(\"resetRangeAccount\");\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingCreateOrUpdateRangeAccount\", false);\n}\n\nexport async function deleteRangeAccount({ dispatch, state }, id) {\n await $http\n .delete(`${baseUrl}/rango-cuentas/${id}`)\n .then(() => {\n dispatch(\"fetchRangeAccounts\", state.magneticMediaColumns.form.id);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Reports\n */\nexport async function fetchGenerateReport({ commit }, data) {\n const params = {\n ...data,\n year: `${data.year}-${data.year2}`,\n year2: undefined\n };\n\n commit(\"setLoadingMagneticMediaReport\", true);\n await $http\n .get(`${baseUrl}/reportes`, { params })\n .then(response => {\n commit(\"setMagneticMediaReport\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n commit(\"setLoadingMagneticMediaReport\", false);\n}\n\nexport async function getTypesIdent({ dispatch, state, rootState, commit }) {\n let params = {\n codeParamTable: \"052\",\n paginate: false\n };\n\n if (!state.magneticMediaReport.typesIdent.length) {\n await dispatch(\"parameters/listParameter\", { params }, { root: true });\n commit(\"setTypesIdent\", mapParameters(rootState.parameters.parameters));\n }\n}\n\nexport async function updateContact({ commit }, data) {\n // commit(\"setLoadingMagneticMediaReport\", true);\n await $http\n .post(`${baseUrl}/reportes-actualizar-tercero`, data)\n .then(response => {\n commit(\"setMagneticMediaCurrentEditContact\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n // commit(\"setLoadingMagneticMediaReport\", false);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/magneticMedia/actions.js","export function getParams (state){\n return state.params\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/magneticMedia/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/magneticMedia/index.js","export const defaultSelectedLeadership = () => {\n\treturn {\n\t\tleadership: null,\n\t\tusers_list: [],\n user_id: null\n\t}\n}\n\nexport default {\n\tleaderships: [],\n users: [],\n\tsellers: [],\n action: 'create',\n selectedLeadership: defaultSelectedLeadership(),\n\tparams: {\n\t\tpaginate: true,\n\t\tpage: 1,\n\t\tperPage: 15,\n\t\tfilter: '',\n\t\tsortBy: 'leadership',\n\t\tsort: 'ASC'\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/leadership/state.js","import {defaultSelectedLeadership} from \"./state\";\n\nexport function setLeaderships(state, leaderships) {\n\tstate.leaderships = leaderships;\n}\n\nexport function setLeadership(state, leadership) {\n\tstate.selectedLeadership = leadership\n}\n\nexport function setAction(state, action) {\n\tstate.action = action;\n}\n\nexport function resetSelectedLeadership(state) {\n\tObject.assign(state.selectedLeadership, defaultSelectedLeadership())\n}\n\nexport function setUsers(state, users) {\n state.users = users\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/leadership/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\nexport async function fetchUsers({commit, state}) {\n if (!state.users.length) {\n await $http.get('/api/usuarios-por-rol')\n .then((response) => {\n commit('setUsers', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n }\n}\n\nexport async function fetchLeaderships({commit, state}) {\n\n let parameters = {\n params: state.params\n };\n\n await $http.get('/api/jefaturas', parameters)\n .then((response) => {\n commit('setLeaderships', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n\n}\n\nexport async function addLeadership({commit, state}) {\n await $http.post('/api/jefaturas', state.selectedLeadership)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'La Jefatura ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('resetSelectedLeadership');\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function updateLeadership({commit, state}) {\n await $http.put('/api/jefaturas/' + state.selectedLeadership.id, state.selectedLeadership)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'El Usuario ha sido actualizado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function deleteLeadership({commit, state, dispatch}, id) {\n await $http.delete('/api/jefaturas/' + id)\n .then(async (response) => {\n await dispatch('fetchLeaderships')\n Notification.success({\n title: 'Éxito!',\n message: 'Jefatura eliminada',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function getLeadership({commit, state}, id) {\n await $http.get(`/api/jefaturas/${id}`)\n .then((response) => {\n let leadership = response.data.data;\n commit('setLeadership', leadership);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/leadership/actions.js","export function getParams (state){\n return state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/leadership/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/leadership/index.js","import moment from 'moment';\n\nexport const event = () => {\n return {\n id: null,\n event_id: null,\n type_id: null,\n description: '',\n leadership_id: null,\n user_id: null,\n contact_id: null,\n contact_warehouse_id: null,\n address: '',\n telephone: '',\n start_date: null,\n start_time: null,\n end_date: null,\n end_time: null,\n repeat_id: null,\n repeat_every: 1,\n repeat_on: [],\n end_id: 1,\n repeat_until: moment().add(1, 'month').format('YYYY-MM-DD'),\n repeat_count: null,\n observations: '',\n attachments: [],\n attachments_loaded: [],\n edit_mode: 'event',\n //\n startTime: null,\n endTime: null,\n user_creator_id: null,\n user_last_modified_id: null,\n user_creator: {},\n user_last_modified: {},\n visit_customer_id: null,\n visit_customer: null,\n attended: false,\n attended_date: null,\n attended_time: null\n };\n};\n\nexport const timePickerOptionsStart = () => {\n return {\n start: '06:00',\n step: '00:30',\n end: '17:30'\n };\n};\n\nexport const timePickerOptionsEnd = () => {\n return {\n start: '06:30',\n step: '00:30',\n end: '18:00'\n };\n};\nexport default {\n contacts_warehouses: [],\n contacts: [],\n leaderships: [],\n users: [],\n user: {},\n coordinates: {\n value: null,\n user: null,\n },\n modal: {\n show: false\n },\n would_you_just_run: {\n value: false\n },\n modal_advanced: {\n show: false\n },\n params: {\n paginate: false,\n seller_id: null\n },\n events: [],\n holidays: [],\n events_day: [],\n event: event(),\n action: 'Crear',\n disabled_observation: false,\n loading_editor: false,\n time_picker_options_start: timePickerOptionsStart(),\n time_picker_options_end: timePickerOptionsEnd(),\n parameters: {\n start_date: moment().startOf('month'),\n end_date: moment().endOf('month'),\n leadership_id: null,\n user_id: null,\n would_you_just_run: false\n },\n edit_mode: 'all',\n allow_close: false,\n title_distance: 'Dist.',\n types: [\n {\n id: 1,\n code: '(VI)',\n text: 'Visita',\n icon: 'briefcase'\n },\n {\n id: 2,\n code: '(LL)',\n text: 'Llamada',\n icon: 'phone'\n },\n {\n id: 3,\n code: '(EV)',\n text: 'Evento',\n icon: 'clock-o'\n },\n {\n id: 4,\n code: '(RC)',\n text: 'Reunión comercial',\n icon: 'users'\n },\n {\n id: 5,\n code: '(TC)',\n text: 'Trabajo en casa',\n icon: 'home'\n },\n {\n id: 6,\n code: '(AA)',\n text: 'Ausencia autorizada',\n icon: 'handshake-o'\n },\n {\n id: 7,\n code: '(RG)',\n text: 'Registro gastos Correrías',\n icon: 'cloud-upload'\n },\n {\n id: 8,\n code: '(CO)',\n text: 'Cobranza',\n icon: 'money'\n }\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/schedule/state.js","import {event, timePickerOptionsEnd, timePickerOptionsStart} from './state';\nimport moment from 'moment';\n\nexport function setUsers(state, leadership) {\n\n leadership.leadership_users.map(l => {\n l.id = l.user_id;\n l.name = l.user.name + (!!l.user.surname ? ' ' + l.user.surname : '');\n l.contact_id = l.user.contact_id;\n l.role = '';\n\n if (!!l.user.get_roles && l.user.get_roles[0]) {\n l.role = l.user.get_roles[0].role;\n }\n });\n\n let ls = state.leaderships.find(l => l.user_id === state.user.id);\n\n if (!!ls) {\n let user = state.user;\n user.name = user.name + (!!user.surname ? ' ' + user.surname : '');\n\n leadership.leadership_users.unshift(user);\n }\n\n state.users = leadership.leadership_users;\n}\n\nexport function setTotalUsers(state, users) {\n\n users.map(u => {\n u.name = u.name + (!!u.surname ? ' ' + u.surname : '');\n\n u.role = '';\n\n if (!!u.get_roles && u.get_roles[0]) {\n u.role = u.get_roles[0].role;\n }\n });\n\n state.users = users;\n}\n\nexport function setLeaderships(state, leaderships) {\n state.leaderships = leaderships;\n}\n\nexport function setContacts(state, contacts) {\n contacts.map(c => {\n let type = [];\n\n if (c.is_customer){\n type.push('CLIENTE')\n }\n\n if (c.is_provider){\n type.push('PROVEEDOR')\n }\n\n if (c.is_employee){\n type.push('EMPLEADO')\n }\n\n c.type = type.join(' | ')\n\n\n c.name = c.name + (!!c.surname ? ' ' + c.surname : '');\n })\n\n state.contacts = contacts;\n}\n\nexport function setContactsWarehouses(state, contacts_warehouses) {\n const pattern = new RegExp('^-?([1-8]?[1-9]|[1-9]0)\\\\.{1}\\\\d{1,6}');\n\n if (state.coordinates.value) {\n let coordinates = state.coordinates.value.split(',');\n\n if (!!coordinates[0] && !!coordinates[1] && pattern.test(coordinates[0]) && pattern.test(coordinates[1])) {\n\n let lat1 = coordinates[0];\n let lng1 = coordinates[1];\n\n contacts_warehouses.map(cw => {\n\n cw.distance = 'N/R';\n cw.distance_number = 100000;\n\n let lat2 = cw.latitude;\n let lng2 = cw.length;\n\n if (pattern.test(lat2) && pattern.test(lng2)) {\n const R = 6378137;\n const dLat = (lat2 - lat1) * Math.PI / 180;\n const dLong = (lng2 - lng1) * Math.PI / 180;\n const dLat1 = (lat1) * Math.PI / 180;\n\n const a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(dLat1) * Math.cos(dLat1) * Math.sin(dLong / 2) * Math.sin(dLong / 2);\n\n const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\n let distance = (Math.round(R * c * 0.001 * 10) / 10);\n\n cw.distance = distance + ' Kms';\n cw.distance_number = distance;\n }\n });\n }\n }\n\n state.contacts_warehouses = contacts_warehouses.sort((a, b) => {\n return a.distance_number - b.distance_number;\n });\n}\n\nexport function updateDistance(state, event) {\n const pattern = new RegExp('^-?([1-8]?[1-9]|[1-9]0)\\\\.{1}\\\\d{1,6}');\n\n let lat1;\n let lng1;\n\n if (event && event.contact_warehouse) {\n const contact_warehouse = event.contact_warehouse;\n\n state.title_distance = 'Dist ' + contact_warehouse.description.substring(0, 6) + '...';\n\n lat1 = contact_warehouse.latitude;\n lng1 = contact_warehouse.length;\n } else {\n state.title_distance = 'Dist';\n\n navigator.geolocation.getCurrentPosition(\n position => {\n lat1 = position.coords.latitude;\n lng1 = position.coords.longitude;\n },\n error => {\n console.log(error.message);\n },\n );\n }\n\n if (!!lat1 && !!lng1 && pattern.test(lat1) && pattern.test(lng1)) {\n state.contacts_warehouses.map(cw => {\n\n cw.distance = 'N/R';\n cw.distance_number = 100000;\n\n let lat2 = cw.latitude;\n let lng2 = cw.length;\n\n if (pattern.test(lat2) && pattern.test(lng2)) {\n const R = 6378137;\n const dLat = (lat2 - lat1) * Math.PI / 180;\n const dLong = (lng2 - lng1) * Math.PI / 180;\n const dLat1 = (lat1) * Math.PI / 180;\n\n const a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(dLat1) * Math.cos(dLat1) * Math.sin(dLong / 2) * Math.sin(dLong / 2);\n\n const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\n let distance = (Math.round(R * c * 0.001 * 10) / 10);\n\n cw.distance = distance + ' Kms';\n cw.distance_number = distance;\n }\n });\n }\n\n state.contacts_warehouses = state.contacts_warehouses.sort((a, b) => {\n return a.distance_number - b.distance_number;\n });\n}\n\nexport function setModalShow(state, show) {\n state.modal.show = show;\n}\n\nexport function setModalAdvancedShow(state, show) {\n state.modal_advanced.show = show;\n}\n\nexport function setTimePickerOptions(state) {\n state.time_picker_options_start = timePickerOptionsStart();\n state.time_picker_options_end = timePickerOptionsEnd();\n\n if (state.action !== 'Ver') {\n const current_date = moment().format('YYYY-MM-DD');\n\n if ((state.action === 'Crear' || state.action === 'Editar') && state.event.start_date === current_date) {\n const current_hour = moment().format('HH');\n const current_minute = moment().format('mm');\n\n let minute = '00';\n let hour = current_hour;\n\n if (+current_minute < 30) {\n minute = '30';\n } else {\n if (+current_hour < 9) {\n hour = '0' + (+current_hour + 1);\n } else {\n hour = +current_hour + 1;\n }\n }\n\n let start_time = hour + ':' + minute;\n\n state.time_picker_options_start.start = start_time;\n state.time_picker_options_end.start = start_time;\n }\n }\n}\n\nexport function setTimePickerOptionsEnd(state, time_picker_options_end) {\n state.time_picker_options_end = time_picker_options_end;\n}\n\nexport function resetEvent(state, event_data) {\n state.event = event();\n\n state.event.start_date = moment(event_data.startTime).format('YYYY-MM-DD');\n state.event.end_date = moment(event_data.endTime).format('YYYY-MM-DD');\n\n state.event.start_time = moment(event_data.startTime).format('HH:mm');\n state.event.end_time = moment(event_data.endTime).format('HH:mm');\n}\n\nexport function setEvent(state, event) {\n state.event = event;\n\n if (!!event.startTime && !!event.endTime) {\n state.event.start_date = moment(event.startTime).format('YYYY-MM-DD');\n state.event.end_date = moment(event.endTime).format('YYYY-MM-DD');\n\n state.event.start_time = moment(event.startTime).format('HH:mm');\n state.event.end_time = moment(event.endTime).format('HH:mm');\n } else {\n state.event.startTime = moment(event.start_date + ' ' + event.start_time).toDate();\n state.event.endTime = moment(event.end_date + ' ' + event.end_time).toDate();\n }\n\n state.event.attachments_loaded = [];\n state.event.attachments_deleted = [];\n}\n\nexport function setEventDescription(state, description) {\n state.event.description = description;\n}\n\nexport function setEventAddress(state, address) {\n state.event.address = address;\n}\n\nexport function setEventTelephone(state, telephone) {\n state.event.telephone = telephone;\n}\n\nexport function setEventEndTime(state, end_time) {\n state.event.end_time = end_time;\n}\n\n\nexport function setEventEndDate(state, end_date) {\n state.event.end_date = end_date;\n}\n\nexport function setEventLeaderShipId(state, leadership_id) {\n state.event.leadership_id = leadership_id;\n}\n\nexport function setEventUserId(state, user_id) {\n state.event.user_id = user_id;\n}\n\nexport function setEventContactWarehouseId(state, contact_warehouse_id) {\n state.event.contact_warehouse_id = contact_warehouse_id;\n}\n\nexport function setEventEditMode(state, edit_mode) {\n state.event.edit_mode = edit_mode;\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function setDisabledObservation(state, disabled_observation) {\n state.disabled_observation = disabled_observation;\n}\n\nexport function setEvents(state, events) {\n events.map(e => {\n e.attachments_loaded = e.attachments;\n\n if (!!e.visit_customer) {\n let checkin_date = moment(e.visit_customer.checkin_date);\n let checkout_date = moment(e.visit_customer.checkout_date);\n\n e.visit_customer.checkin_date = checkin_date.format('YYYY-MM-DD');\n e.visit_customer.checkout_date = checkout_date.format('YYYY-MM-DD');\n\n e.visit_customer.checkin_time = checkin_date.format('HH:mm');\n e.visit_customer.checkout_time = checkout_date.format('HH:mm');\n }\n\n });\n\n state.events = events;\n}\n\nexport function setEventsDay(state, events_day) {\n state.events_day = events_day;\n}\n\nexport function setLoadingEditor(state, loading_editor) {\n state.loading_editor = loading_editor;\n}\n\nexport function setParametersStartDate(state, start_date) {\n state.parameters.start_date = start_date;\n}\n\nexport function setParametersEndDate(state, end_date) {\n state.parameters.end_date = end_date;\n}\n\nexport function setParametersUserId(state, user_id) {\n state.parameters.user_id = user_id;\n}\n\nexport function setLeadershipId(state, leadership_id) {\n state.parameters.leadership_id = leadership_id;\n}\n\nexport function setEditMode(state, edit_mode) {\n state.edit_mode = edit_mode;\n}\n\nexport function addAttachmentDeleteEvent(state, attachment) {\n state.event.attachments_deleted.push(attachment);\n}\n\nexport function setAttendedEvent(state, attended) {\n state.event.attended = attended;\n}\n\nexport function deleteAttachmentEvent(state, attachment) {\n let attachments = JSON.parse(JSON.stringify(state.event.attachments));\n\n let index_attachment = attachments.findIndex(a => a.id === attachment.id);\n\n if (index_attachment >= 0) {\n attachments.splice(index_attachment, 1);\n }\n\n state.event.attachments = attachments;\n}\n\nexport function setAllowClose(state, allow_close) {\n state.allow_close = allow_close;\n}\n\nexport function setCoordinates(state, coordinates) {\n state.coordinates.value = coordinates;\n}\n\nexport function setCoordinatesUser(state, coordinates) {\n state.coordinates.user = coordinates;\n}\n\nexport function setHolidays(state, holidays) {\n state.holidays = holidays;\n}\n\nexport function setUser(state) {\n state.user = JSON.parse(localStorage.user);\n}\n\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/schedule/mutations.js","import $http from '../../axios';\nimport {MessageBox, Notification} from 'element-ui';\nimport moment from 'moment';\n\nexport async function fetchContactsWarehouses({commit, state}, seller_id) {\n if (seller_id) {\n let parameters = {params: state.params};\n\n parameters.params.seller_id = seller_id;\n\n await $http.get('/api/establecimientos-vendedor', parameters).then((response) => {\n commit('setContactsWarehouses', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n }\n}\n\nexport async function fetchContacts({commit, state}, filter) {\n if (filter.length >= 3) {\n\n const userLogged = JSON.parse(localStorage.user);\n\n const user = state.users.find(u => u.id === state.parameters.user_id);\n\n let parameters = {}\n\n if (userLogged.role === 'superadmin') {\n parameters = {params: {filter: filter}};\n } else {\n parameters = {params: {filter: filter, seller_id: user.contact_id}};\n }\n\n\n await $http.get('/api/filtrar-terceros', parameters).then((response) => {\n commit('setContacts', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n }\n}\n\n\nexport async function fetchUsers({commit, state}, leadership_id = null) {\n\n if (!!leadership_id) {\n await $http.get('/api/jefaturas/' + leadership_id).then((response) => {\n commit('setUsers', response.data.data);\n });\n } else {\n let user = JSON.parse(localStorage.user);\n\n let parameters = {\n params: {\n paginate: false,\n subscriber_id: user.subscriber_id\n }\n };\n\n await $http.get('/api/usuarios', parameters).then((response) => {\n commit('setTotalUsers', response.data.data);\n });\n }\n}\n\nexport async function fetchLeaderships({commit}) {\n await $http.get('/api/jefaturas', {params: {paginate: false}})\n .then((response) => {\n commit('setLeaderships', response.data.data);\n });\n}\n\nexport async function fetchEvents({commit, state}) {\n\n let parameters = state.parameters;\n\n parameters.start_date = moment(parameters.start_date).format('YYYY-MM-DD');\n parameters.end_date = moment(parameters.end_date).format('YYYY-MM-DD');\n\n let params = {\n params: parameters\n };\n\n await $http.get('/api/eventos', params)\n .then((response) => {\n commit('setEvents', response.data.data);\n\n let contacts = [];\n\n response.data.data.map(e => {\n if (e.contact) {\n contacts.push(e.contact);\n }\n });\n\n commit('setContacts', contacts);\n\n }).catch((error) => {\n console.log(error);\n });\n}\n\nexport async function fetchHolidays({commit}) {\n await $http.get('/api/eventos/festivos')\n .then((response) => {\n commit('setHolidays', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n}\n\nexport async function fetchEvent({commit, state}, event_id) {\n await $http.get('/api/eventos/' + event_id)\n .then((response) => {\n commit('setEvent', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n}\n\nexport async function fetchLastEvent({commit, state}) {\n\n const parameters = {\n params: {\n start_date: state.event.start_date,\n start_time: state.event.start_time,\n user_id: state.event.user_id\n }\n };\n\n await $http.get('/api/eventos/ultimo', parameters)\n .then((response) => {\n commit('updateDistance', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n}\n\n\nexport async function fetchEventsDay({commit, state}, contact_id) {\n\n let parameters = {\n params: {\n start_date: moment().format('YYYY-MM-DD'),\n end_date: moment().format('YYYY-MM-DD'),\n user_id: contact_id\n }\n };\n\n await $http.get('/api/eventos', parameters)\n .then((response) => {\n commit('setEventsDay', response.data.data);\n }).catch((error) => {\n console.log(error);\n });\n}\n\nexport async function storeEvent({commit, state}, files) {\n return new Promise(async (resolve, reject) => {\n let form_data = new FormData();\n\n for (const property in state.event) {\n form_data.append(property, state.event[property]);\n }\n\n for (let i = 0; i < files.length; i++) {\n form_data.append('attachments_loaded[' + i + ']', files[i]);\n }\n\n await $http.post('/api/eventos', form_data).then((response) => {\n commit('setModalShow', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Evento agendado correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n resolve();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al agendar el evento',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\nexport async function deleteEvent({commit, state}) {\n return new Promise(async (resolve, reject) => {\n\n const parameters = {\n params: {\n edit_mode: state.edit_mode\n }\n };\n\n await $http.delete('/api/eventos/' + state.event.id, parameters)\n .then((response) => {\n commit('setModalShow', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Evento eliminado correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n resolve();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al eliminar el evento',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\nexport async function closeEvent({commit, state}) {\n return new Promise(async (resolve, reject) => {\n await $http.post('/api/eventos/atendido/' + state.event.id)\n .then((response) => {\n commit('setModalShow', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Evento marcado como atendido correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n resolve();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al marcar el evento como atendido',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\nexport async function updateEvent({commit, state}, files) {\n return new Promise(async (resolve, reject) => {\n\n let form_data = new FormData();\n\n for (const property in state.event) {\n if (property !== 'attachments_deleted' && property !== 'attachments_loaded') {\n form_data.append(property, state.event[property]);\n }\n }\n\n for (let i = 0; i < files.length; i++) {\n form_data.append('attachments_loaded[' + i + ']', files[i]);\n }\n\n for (let i = 0; i < state.event.attachments_deleted.length; i++) {\n form_data.append('attachments_deleted[' + i + ']', state.event.attachments_deleted[i].id);\n }\n\n form_data.append('edit_mode', state.edit_mode);\n\n commit('setEventEditMode', state.edit_mode);\n\n await $http.post('/api/eventos/' + state.event.id, form_data)\n .then((response) => {\n commit('setModalShow', false);\n Notification.success({\n title: 'Muy bien!',\n message: 'Evento actualizado correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n resolve();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error al actualizar el evento',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\nexport async function deleteAttachment({commit, state}, attachment) {\n await MessageBox.confirm('¿Está seguro de eliminar el adjunto?', 'Eliminar adjunto', {\n confirmButtonText: 'Aceptar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n customClass: 'notification-danger'\n }).then(async (result) => {\n commit('addAttachmentDeleteEvent', attachment);\n commit('deleteAttachmentEvent', attachment);\n }).catch((e) => {\n console.error(e);\n });\n}\n\nexport async function downloadAttachment({}, attachment) {\n await $http({\n url: '/api/descargar-adjunto-eventos/' + attachment.id,\n method: 'GET',\n responseType: 'blob', // important\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', attachment.original_name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n });\n}\n\nexport async function getCoordinates({commit}) {\n navigator.geolocation.getCurrentPosition(\n position => {\n let latitude = position.coords.latitude;\n let longitude = position.coords.longitude;\n\n commit('setCoordinatesUser', latitude + ',' + longitude);\n commit('setCoordinates', latitude + ',' + longitude);\n },\n error => {\n console.log(error.message);\n },\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/schedule/actions.js","export function getParams(state) {\n\treturn state.params\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/schedule/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions,\n\tgetters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/schedule/index.js","export function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-terceros/mutations.js","import $http from \"../../axios\";\nimport * as mutations from './mutations'\nimport {Notification} from \"element-ui\";\n\nexport async function downloadClientsTemplate({state},download_info) {\n let name = 'clientes.xlsx'\n state.loading.module = true;\n\n await $http({\n url: '/api/descargar-plantilla-clientes?download_data='+download_info,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n state.loading.module = false;\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n\n }).catch((error) => {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function uploadClientsTemplate({state}) {\n let formData = new FormData();\n formData.append('file', state.file);\n state.loading.module = true ;\n $http.post(`/api/cargar-plantilla-clientes`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(function(){\n state.loading.module = false ;\n state.file = '' ;\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n state.loading.module = false ;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-terceros/actions.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-terceros/index.js","export default {\n error: false,\n loading: {\n module:false,\n },\n message_loading : 'Cargando Plantilla De Incorporación De Clientes',\n file: ''\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-terceros/state.js","export function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-products/mutations.js","import $http from \"../../axios\";\nimport * as mutations from './mutations'\nimport {Notification} from \"element-ui\";\n\nexport async function downloadProductsTemplate({state}) {\n let name = 'productos.xlsx';\n state.loading.message_loading = 'Descargando Plantilla De Incorporación De Productos';\n state.loading.module = true;\n\n try {\n const response = await $http({\n url: '/api/descargar-plantilla-productos',\n method: 'GET',\n responseType: 'blob',\n });\n\n state.loading.module = false;\n\n // Crea un enlace para descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n\n // Elimina el enlace después de la descarga\n link.remove();\n } catch (error) {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n }\n}\nexport async function uploadProductsTemplate({state}) {\n let formData = new FormData();\n formData.append('file', state.file);\n state.loading.message_loading = 'Cargando Plantilla De Incorporación De Productos' ;\n state.loading.module = true ;\n $http.post(`/api/cargar-plantilla-productos`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(function(){\n state.loading.module = false ;\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n state.loading.module = false ;\n Notification.error({\n title: \"Error!\",\n message: error.message +' Verifique el archivo sea un csv delimitado por punto y coma (;) y que corresponda a la información de la plantilla',\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-products/actions.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-products/index.js","export default {\n error: false,\n loading: {\n module:false,\n },\n message_loading : 'Cargando Plantilla De Incorporación De Productos',\n file: ''\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-products/state.js","export function setData(state, data){\n state.data = data;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal.\n */\nexport function setModalShow(state, show) {\n state.modal.show = show;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/load_images/mutations.js","import $http from '../../axios'\n\nexport async function fetch({commit}) {\n await $http.get('api_url', )\n .then((response) => {\n commit('', response.data.data)\n })\n .catch((error) => {\n \n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/load_images/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/load_images/index.js","export default {\n images: [],\n modal: {\n show: true\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/load_images/state.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\n//Crear tercero\nexport async function addContact({commit, state}) {\n\n state.client.email_electronic_invoice = state.client.email;\n\n await $http\n .post('/api/almacenar-cliente-modal', state.client)\n .then(response => {\n Notification.success({\n title: 'Éxito!',\n message: 'Cliente guardado éxitosamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box'\n });\n commit('SetId', response.data.data);\n commit('setComplete', true);\n })\n .catch(error => {\n let message;\n if (error.response.status == 422) {\n message = 'Algunos campos no se registraron correctamente';\n } else {\n message = error.message;\n }\n MessageBox.alert(message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n });\n}\n\n//Función para mapear los parametros y retornarlos en un mismo formato para todos los select\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {\n value: p.id,\n code: p.code_parameter,\n label: p.name_parameter\n };\n });\n}\n\n// Obtiene los tipos de documento\nexport async function fetchDocumentTypes({dispatch, state, rootState, commit}) {\n\n if (!!state.identificationTypes.length) {\n return;\n }\n\n await $http.get(`/api/parametros-por-codigo/052`)\n .then((response) => {\n commit('setIdentificationTypes', response.data.data);\n })\n .catch((error) => {\n\n });\n}\n\nexport async function fetchContacts({commit, state, rootState, dispatch}) {\n state.params_contacts.type = 'is_customer';\n let params = state.params_contacts;\n console.log(params);\n\n await $http.get('/api/terceros-lite', {params})\n .then(async response => {\n\n let contact;\n let contacts = response.data.data;\n\n if (state.params_contacts.with_contact_warehouses) {\n contact = contacts.find(c => c.identification === state.params_contacts.filter && c.warehouses && c.warehouses.length === 1);\n } else {\n contact = contacts.find(c => c.identification === state.params_contacts.filter);\n }\n\n if (contact) {\n if (state.params_contacts.from_identification) {\n await dispatch('fetchContactById', contact.id);\n }else{\n await dispatch('fetchContactById', contact.id);\n commit('setContacts', [contact]);\n }\n } else if (!state.params_contacts.from_identification) {\n commit('setContacts', contacts);\n let client = JSON.parse(JSON.stringify(state.client));\n\n client.identification = '';\n client.price_list_id = rootState.pointOfSale.model.price_list_id;\n\n commit('setClient', client);\n }\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchContactById({commit, state, rootState}, id) {\n await $http.get('/api/terceros/' + id)\n .then(async response => {\n\n const client = response.data.data;\n\n commit('setClient', client);\n\n if (client.city) {\n commit('setCities', [client.city]);\n\n if (client.city.department) {\n commit('setDepartments', [client.city.department]);\n }\n }\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchContactByIdAndContactWarehouseId({commit, state, rootState}, {\n contact_id,\n contact_warehouse_id\n}) {\n let params = {\n contact_warehouse_id\n };\n\n await $http.get('/api/terceros/' + contact_id, {params})\n .then(async response => {\n\n const client = response.data.data;\n\n commit('setClient', client);\n\n if (client.city) {\n commit('setCities', [client.city]);\n\n if (client.city.department) {\n commit('setDepartments', [client.city.department]);\n }\n }\n\n if (contact_warehouse_id && client.warehouses.length) {\n commit('setContactWarehouse', client.warehouses[0]);\n commit('setAddressToClient', client.warehouses[0].address);\n }\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n// Obtiene las listas de preeciops\nexport async function fetchPriceLists({dispatch, state, rootState, commit}) {\n if (!state.priceLists.length) {\n await dispatch('parameters/listParameter', {params: {idParamTable: 14, paginate: false}}, {root: true});\n commit('setPriceLists', mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las responsabilidades fiscales\nexport async function fetchTaxResponsibilities({dispatch, state, rootState, commit}) {\n if (!state.tax_responsibilities.length) {\n await dispatch('parameters/listParameter', {params: {idParamTable: 96, paginate: false}}, {root: true});\n commit('setTaxResponsibilities', rootState.parameters.parameters);\n }\n}\n\nexport async function fetchModel({commit, state}, model_id) {\n if (state.selected_model && model_id === state.selected_model.id) {\n return;\n }\n\n await $http\n .get('/api/obtener-modelo/' + model_id)\n .then(response => {\n commit('setSelectedModel', response.data.data);\n }).catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n\n}\n\nexport async function fetchCities({commit, state}) {\n state.client.city_id = null;\n\n let params = {\n department_id: state.client.city.department_id\n };\n\n await $http.get('/api/ciudades', {params})\n .then((response) => {\n commit('setCities', response.data.data);\n })\n .catch((error) => {\n console.error(error);\n });\n}\n\nexport async function fetchDepartments({commit, state}) {\n await $http.get('/api/departamentos').then(response => {\n commit('setDepartments', response.data.data);\n });\n}\n\nexport async function getSellers({state, commit}) {\n\n if (!!state.sellers.length) {\n return;\n }\n\n await $http.get('/api/lista-vendedores')\n .then(response => {\n commit('setSellers', response.data.data);\n }).catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n }\n );\n}\n\n/**\n * Obtener suscriptor.\n */\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http\n .get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener taxes.\n * @author Jhon García\n */\nexport async function getTaxes({commit, state}) {\n\n await $http\n .get(`/api/impuestos`)\n .then(response => {\n commit('setTaxes', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener branch_office.\n * @author Jhon García\n */\nexport async function getBranchOffice({commit, state}) {\n\n let id = localStorage.selected_branchoffice;\n\n await $http\n .get(`/api/sedes/${id}`)\n .then(response => {\n commit('setBranchOffice', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Request tipo GET para obtener contact_warehouse.\n * @author Jhon García\n */\nexport async function getContactWarehouse({commit, state}) {\n\n if (!state.client.id) {\n return;\n }\n\n await $http\n .get(`/api/sucursal-tercero/${state.client.id}`)\n .then(response => {\n commit('setContactWarehouse', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clients-component/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clients-component/index.js","import * as actions from './actions'\nimport * as mutations from './mutations'\nimport state from './state'\n\n\nexport default {\n namespaced:true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payments-methods-modal/index.js","import {\n defaultSelectedModel,\n} from \"../inventory-movements/state\";\n\nexport default {\n show:{\n modal_component : false\n },\n loading: false,\n balance: 0,\n totalPay: 0,\n complete: false,\n selected_document: {},\n data: [],\n row_create: {\n id: null,\n document_id: \"\",\n payment_method_id: \"\",\n authorization_number: \"\",\n expiration_date: '',\n check_number: \"\",\n entity: \"\",\n value: \"\",\n value_change: 0,\n total_value: 0,\n new: true,\n index: null,\n quota: 1\n },\n selected_model: null,\n moneys: [],\n row_selected: {},\n paymentMethods :[],\n paymentMethodsSend :[],\n from_inventory_documents:false,\n from_accounting_documents:false,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payments-methods-modal/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customerDiscountBrand/index.js","export default {\n discount: null,\n discounts: [],\n contacts: [],\n lines: [],\n brands: [],\n params_contacts: {\n filter: \"\",\n type: \"is_customer\",\n paginate: false\n },\n params: {\n client: null,\n line: null,\n brand: null,\n percentage: null,\n perPage: 50,\n search: '',\n page: 1\n },\n loading: {\n module:false,\n },\n\n message_loading : 'Cargando Plantilla De Incorporación De Clientes',\n file: '',\n upload_file: false\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customerDiscountBrand/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/point_of_sale/modules/point_of_sale/index.js","export const data = () => {\n return {\n file: null,\n voucher_type_id: null,\n disable_incorporation: 1,\n only_validation: 1,\n fixed_cost:1,\n }\n}\n\nexport default {\n voucher_types: [],\n preloader: false,\n data: data()\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_operations/state.js","import {data} from './state';\n\n/**\n * Establecer un valor para la variable voucher_types.\n */\nexport function setVoucherTypes(state, voucher_types) {\n state.voucher_types = voucher_types;\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para el atributo disable_incorporation de la variable data.\n */\nexport function setDisableIncorporationToData(state, disable_incorporation) {\n state.data.disable_incorporation = disable_incorporation;\n}\n\n/**\n * Establecer un valor para el atributo only_validation de la variable data.\n */\nexport function setOnlyValidationToData(state, only_validation) {\n state.data.only_validation = only_validation;\n}\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = data();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_operations/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport moment from \"moment\";\n\n/**\n * Obtener tipos de comprobante.\n */\nexport async function fetchVoucherTypes({commit}) {\n\n commit('setPreloader', true);\n\n let params = {\n branchoffice: localStorage.getItem('selected_branchoffice')\n };\n\n await $http.get('/api/tipos-de-comprobantes', {params})\n .then((response) => {\n commit('setVoucherTypes', response.data.data);\n commit('setPreloader', false);\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\n\n/**\n * Descargar plantilla\n */\nexport async function downloadTemplateIncorporateInventoryOperations({}) {\n await $http({\n url: '/api/descargar-plantilla-incorporacion',\n method: 'GET',\n responseType: 'blob'\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Plantilla documentos.csv');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Incorporar operaciones de inventario.\n */\nexport async function incorporateInventoryOperations({commit, state}) {\n commit('setPreloader', true);\n\n let form_data = new FormData();\n\n for (let key in state.data) {\n form_data.append(key, state.data[key]);\n }\n\n commit('setDisableIncorporationToData', 1);\n\n await $http.post('/api/incorporar-operaciones-inventario', form_data)\n .then((response) => {\n commit('setPreloader', false);\n\n if (!!state.data.only_validation) {\n\n let errors = response.data.data.errors\n\n if (!errors.length) {\n Notification.success({\n title: 'Éxito',\n message: 'validando archivo en segundo plano...',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n } else {\n Notification.error({\n title: 'Error',\n message: 'Existen inconsistencias en el archivo cargado',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n\n errors.unshift({errores:'errores'})\n let csv = '';\n// Loop the array of objects\n for (let row = 0; row < errors.length; row++) {\n let keysAmount = Object.keys(errors[row]).length;\n let keysCounter = 0;\n\n if (row === 0) {\n\n for (let key in errors[row]) {\n\n csv += key + (keysCounter + 1 < keysAmount ? ',' : '\\r\\n');\n keysCounter++;\n }\n } else {\n for (let key in errors[row]) {\n csv += errors[row][key] + (keysCounter + 1 < keysAmount ? ',' : '\\r\\n');\n keysCounter++;\n }\n }\n\n keysCounter = 0;\n }\n\n let now = new Date();\n let year = now.getFullYear();\n let month = String(now.getMonth() + 1).padStart(2, '0');\n let day = String(now.getDate()).padStart(2, '0');\n let hours = String(now.getHours()).padStart(2, '0');\n let minutes = String(now.getMinutes()).padStart(2, '0');\n let seconds = String(now.getSeconds()).padStart(2, '0');\n let date = `${year}${month}${day}${hours}${minutes}${seconds}`\n\n let link = document.createElement('a');\n link.id = 'download-csv'+date;\n link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(csv));\n link.setAttribute('download', 'errores'+date+'.csv');\n document.body.appendChild(link);\n document.querySelector('#download-csv'+date).click();\n }\n } else {\n Notification.success({\n title: 'Éxito',\n message: response.data.message,\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n commit('resetData');\n }\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n\n Notification.error({\n title: 'Error',\n message: 'Error al procesar el archivo',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n });\n}\n\n/**\n * Eliminar todos los documentos de un tipo de comprobante.\n */\nexport async function deleteAllDocumentsByVoucherTypeId({commit, state}) {\n commit('setPreloader', true);\n\n await $http.post('/api/eliminar-documentos-tipo-comprobante', state.data)\n .then((response) => {\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito',\n message: response.data.message,\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n\n Notification.error({\n title: 'Error',\n message: 'Error al eliminar los documentos',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_operations/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_operations/index.js","// obtener Data libro Contable\nimport $http from \"../../axios\";\nimport {Notification} from \"element-ui\";\nimport {setLoading} from \"./mutations\";\n\nexport async function fetchReportData({commit, state}) {\n state.loading.module = true;\n await $http.get('/api/documento/reconciliacion-inventario', {params: state.params})\n .then((response) => {\n commit('setReportData', response.data.data);\n state.loading.module = false;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n\n}\n//recontabilizar documento\nexport async function accountingDoc({commit, state, dispatch}, document_id){\n state.loading.module = true\n await $http.get(`/api/documento/contabilizar/${document_id}`)\n .then(response => {\n state.loading.module = false;\n dispatch('fetchReportData')\n Notification.success({\n title: \"Success!\",\n message: 'Documento Recontabilizado Correctamente',\n type: \"success\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function getReportByDocumentId({commit, state, dispatch}, document_id) {\n await $http.get(`/api/documento/reconciliacion-inventario/${document_id}`)\n .then(response => {\n /* commit('validate_search', response.data.data);*/\n state.loading.module = false\n Notification.success({\n title: \"Succes!\",\n message: 'Recontabilización Finalizada, Datos Actualizados Correctamente',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reconciliation/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reconciliation/index.js","export default {\n loading: {\n module: true\n },\n params: {\n from_date: '',\n difer: 0.2,\n },\n data_report:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-reconciliation/state.js","import moment from 'moment';\n\nexport const params = () => {\n return {\n branch_office_id: null,\n branch_office_warehouse_id: null,\n dates: [\n moment().add('month', -1).format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ],\n voucher_type_id: null,\n model_id: null,\n contact_id: null,\n state_id: null,\n paginate: 1,\n per_page: 15,\n page: 1\n };\n};\n\n\nexport default {\n documents: {\n data: []\n },\n modal: {\n show: false\n },\n params_contacts: {\n only_active: true,\n filter: '',\n type: 'is_customer',\n is_customer: true,\n paginate: false,\n contact_id: null\n },\n preloader: false,\n branch_offices: [],\n branch_offices_warehouses: [],\n models: [],\n contacts: [],\n voucher_types: [],\n params: params(),\n base_document: false,\n states: [\n {id: 1, text: 'Pendientes'},\n {id: 2, text: 'Aplicados'}\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/document_finder/state.js","import {params} from './state';\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable documents.\n */\nexport function setDocuments(state, documents) {\n\n documents.data.map(d => d.selected = false);\n\n state.documents = documents;\n}\n\n/**\n * Establecer un valor para la variable branch_offices.\n */\nexport function setBranchOffices(state, branch_offices) {\n state.branch_offices = branch_offices;\n}\n\n/**\n * Establecer un valor para la variable branch_offices_warehouses.\n */\nexport function setBranchOfficesWarehouses(state, branch_offices_warehouses) {\n state.branch_offices_warehouses = branch_offices_warehouses;\n}\n\n/**\n * Establecer un valor para la variable models.\n */\nexport function setModels(state, models) {\n state.models = models;\n}\n\n/**\n * Establecer un valor para la variable voucher_types.\n */\nexport function setVoucherTypes(state, voucher_types) {\n state.voucher_types = voucher_types;\n}\n\n/**\n * Establecer un valor para la variable contacts.\n */\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\n/**\n * Establecer el valor por defecto de la variable params.\n */\nexport function resetParams(state) {\n state.params = params();\n}\n\n/**\n * Establecer un valor para el atributo page de la variable params.\n */\nexport function setPageToParams(state, page) {\n state.params.page = page;\n}\n\n/**\n * Establecer valores por defecto para atributos de params.\n */\nexport function setDataDefault(state) {\n state.params.branch_office_id = +localStorage.selected_branchoffice;\n state.params.branch_office_warehouse_id = +localStorage.selected_branchoffice_warehouse;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal.\n */\nexport function setShowToModal(state, show) {\n state.modal.show = show;\n state.documents = {\n data: []\n }\n}\n\n/**\n * Establecer un valor para el atributo voucher_type_id de la variable params.\n */\nexport function setVoucherTypeIdToParams(state, voucher_type_id) {\n state.params.voucher_type_id = voucher_type_id;\n}\n\n/**\n * Establecer un valor para el atributo model_id de la variable params.\n */\nexport function setModelIdToParams(state, model_id) {\n state.params.model_id = model_id;\n}\n\n/**\n * Establecer un valor para la variable base_document.\n */\nexport function setBaseDocument(state, base_document) {\n state.base_document = base_document;\n\n if (base_document){\n state.params.state_id = 1\n }else{\n state.params.state_id = null\n }\n}\n\n/**\n * Establecer un valor para el atributo selected de la variable documents.\n */\nexport function selectAll(state) {\n state.documents.data.map(d => d.selected = true);\n}\n\n/**\n * Establecer un valor para la variable documents.\n */\nexport function setDocumentsWithOutSelected(state, documents) {\n state.documents = documents;\n}\n\nexport function setUnds(state, unds) { \n const dataCopy = [...state.documents.data]\n \n const newData = dataCopy.map(doc => {\n let und = unds.find(el => el.document_id == doc.id)\n if (und) { \n doc.total_backorder_quantity = und.total_backorder_quantity\n doc.total_unds = und.total_unds\n doc.loading_unds = false\n }\n\n return doc\n })\n\n state.documents.data = newData\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/document_finder/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\n/**\n * Request para obtener datos de branch_offices.\n */\nexport async function getBranchOffices({commit, state}) {\n\n let params = {\n paginate: false\n };\n\n if (!state.branch_offices.length) {\n await $http\n .get(`/api/sedes`, {params})\n .then(response => {\n commit('setBranchOffices', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n }\n}\n\n/**\n * Request para obtener datos de branch_offices_warehouses.\n */\nexport async function getBranchOfficesWarehouses({commit, state}) {\n\n let params = {\n branchoffice_id: state.params.branch_office_id,\n paginate: false\n };\n\n if (!state.branch_offices_warehouses.length) {\n await $http\n .get(`/api/bodegas-sedes`, {params})\n .then(response => {\n commit('setBranchOfficesWarehouses', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n }\n}\n\n/**\n * Request para obtener datos de models.\n */\nexport async function getModels({commit, state}) {\n if (!state.models.length) {\n await $http\n .get(`/api/modelos-punto-de-venta`)\n .then(response => {\n commit('setModels', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n }\n}\n\n/**\n * Request para obtener datos de voucher_types.\n */\nexport async function getVoucherTypes({commit, state}) {\n\n let params = {\n branchoffice: state.params.branch_office_id\n };\n\n if (!state.voucher_types.length) {\n await $http\n .get(`/api/tipos-de-comprobantes`, {params})\n .then(response => {\n commit('setVoucherTypes', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n }\n}\n\n/**\n * Request para obtener datos de contacts.\n */\nexport async function getContacts({commit, state}, filter) {\n if (filter.length >= 4) {\n state.params_contacts.type = 'is_customer';\n let params = state.params_contacts;\n params.filter = filter\n\n await $http.get('/api/terceros-lite', {params})\n .then(async response => {\n commit('setContacts', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n }\n}\n\n/**\n * Request para obtener datos de documents.\n */\nexport async function getDocuments({commit, state, dispatch}, restart_page = true) {\n\n const selectedModel = state.models.find(m => m.id === state.params.model_id);\n\n if (restart_page) {\n commit('setPageToParams', 1);\n }\n\n let params = state.params;\n params.closed = null;\n\n if (state.base_document && selectedModel.code === \"010\") {\n params.closed = false;\n }\n\n await $http\n .get(`/api/buscar-documentos`, {params})\n .then(response => {\n commit('setDocuments', response.data.data);\n\n if (selectedModel.code === \"010\") {\n dispatch(\"fetchUnds\", response.data.data.data);\n }\n })\n .catch(error => {\n console.error(error);\n });\n}\n\nexport async function fetchUnds({commit, state}, documents){\n \n let documents_id = []\n await documents.map(doc => {\n documents_id.push(doc.id)\n });\n \n const chunks = [];\n for (let i = 0; i < documents_id.length; i += 50) {\n chunks.push(documents_id.slice(i, i + 50));\n }\n \n await chunks.forEach(async docs => {\n let params = {\n 'documents_id' : docs,\n 'model_id' : state.params.model_id\n }\n await $http\n .post(`/api/unds`, params)\n .then(response => {\n commit(\"setUnds\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n });\n \n \n }\n\n/**\n * Obtener documento.\n */\nexport async function getDocument({commit, state, dispatch}, document) {\n\n let params = {\n model_id: document.model_id\n };\n\n return new Promise(async (resolve, reject) => {\n await $http.get('/api/documento-por-id/' + document.id, {params})\n .then(async response => {\n resolve(response.data.data);\n }).catch((error) => {\n reject(error);\n });\n });\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/document_finder/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/document_finder/index.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-ideal-balances/index.js","export default {\n error: false,\n loading: false,\n message_loading : 'Cargando Plantilla De Inventarios Ideales',\n file: ''\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-ideal-balances/state.js","export const paramsDefault= ()=>{\n return{\n provider:null,\n observation:null,\n legalrepresentative:''\n }\n}\n\n\n\nexport default {\n\n\n show_pdf:false,\n providers:[],\n params:paramsDefault(),\n mails: [],\n file:null,\n paramsEmail:{\n to:[],\n subject:null,\n body:null,\n filename:null\n\n },\n pathPdf:null,\n preloader:false,\n authenticatedRole:''\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/provider_account_statement/state.js","import { paramsDefault } from \"./state\";\nimport {getApiDomain} from \"../../util/domains\";\n\nexport function setProviders(state,providers) {\n state.providers=providers\n}\n\n\n\nexport function setShowPdf(state, value) {\n state.show_pdf=value;\n}\n\n\nexport function setPathPdf(state,pathPdf ) {\n state.paramsEmail.filename=pathPdf;\n state.pathPdf= getApiDomain() + '/storage/pdf/' + pathPdf;\n}\n\n\nexport function setParamMailTo(state,mail) {\n state.paramsEmail.to=[];\n state.paramsEmail.to.push(mail);\n\n}\n\n\nexport function setParamDefault(state) {\n state.params=paramsDefault();\n}\n\n\nexport function setPreloader(state, preloader) {\n state.preloader=preloader;\n}\n\nexport function setAuthenticatedRole(state,authenticatedRole){\n state.authenticatedRole=authenticatedRole;\n}\n\nexport function setMails(state,mails){\n state.mails=mails;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/provider_account_statement/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n\nexport async function getPdf({state,commit}) {\n var response = await $http.get('/api/pdf-account-state-provider',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\n\n export async function getAllProviders({state,commit},nameClient) {\n\n await $http.get('/api/get-providers',{\n params: {\n nameClient: nameClient\n }\n }).then( async response=>{\n await commit('setProviders',response.data)\n }).catch();\n\n }\n\n\n export async function getPdfNegativeValue({state,commit}) {\n var response = await $http.get('/api/pdfReporteNegativo',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\n\n export async function pdfPrejuridico({state,commit}) {\n var response = await $http.get('/api/pdfPrejuridico',\n {\n params:state.params,\n // responseType: \"blob\"\n }\n )\n\n commit('setPathPdf',response.data);\n // const url = window.URL.createObjectURL(new Blob([response.data]));\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.setAttribute(\"download\", \"cartera.pdf\"); //or any other extension\n // document.body.appendChild(link);\n // link.click();\n }\n\nexport async function searchMails({ state, commit }, text) {\n await $http\n .get(\n `/api/buscar-correo?filter=${text}&contact=${state.params.client}`\n )\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/provider_account_statement/actions.js"," import state from './state';\n import * as mutations from './mutations';\n import * as actions from './actions'\n\nexport default {\n namespaced: true,\n actions,\n mutations,\n state\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/provider_account_statement/index.js","export function setreporte(state, data_report_sales_purchases) {\n state.report_sales_p = data_report_sales_purchases\n //console.log(reporte_comisiones);\n}\nexport function setParams(state, params){\n state.params = params\n}\nexport function setDateRangeParam(state) {\n\n const fechaActual = new Date(); // Fecha actual\n\n // Restar un mes a la fecha actual para obtener el mes anterior\n const fechaMesAnterior = restarMesesAFecha(fechaActual, 1);\n\n // Obtener el primer día del mes anterior\n const primerDiaMesAnterior = new Date(fechaMesAnterior.getFullYear(), fechaMesAnterior.getMonth(), 1);\n\n // Obtener el último día del mes anterior\n const ultimoDiaMesAnterior = new Date(fechaMesAnterior.getFullYear(), fechaMesAnterior.getMonth() + 1, 0);\n\n\n state.params.date = [\n primerDiaMesAnterior,\n ultimoDiaMesAnterior,\n ];\n\n}\n\nexport function restarMesesAFecha(fecha, cantidadMeses) {\n const fechaClonada = new Date(fecha);\n\n // Obtener el mes y año actuales\n const mesActual = fechaClonada.getMonth();\n const anioActual = fechaClonada.getFullYear();\n\n // Calcular el nuevo mes y año\n let nuevoMes = mesActual - cantidadMeses;\n let nuevoAnio = anioActual;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (nuevoMes < 0) {\n nuevoMes += 12;\n nuevoAnio--;\n }\n\n // Establecer la nueva fecha con los meses restados\n fechaClonada.setMonth(nuevoMes);\n fechaClonada.setFullYear(nuevoAnio);\n\n return fechaClonada;\n}\n\nexport function setStatesRadian(state, radiansState) {\n state.radiansState = radiansState;\n radiansState.forEach(item =>{\n state.radiansStateNames.push(item.name_parameter)\n })\n}\nexport function update_row(state, documentInfo) {\n alert('actualiza el documento')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-purchases/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n\n\n\n// obtener Data libro Contable\nexport async function fetchReportSalesPurchases({commit, state}) {\n //console.log(state.params);\n state.loading.module = true ;\n await $http.get('/api/reporte-compras-ventas', { params : state.params})\n .then((response) => {\n commit('setreporte', response.data);\n state.loading.module = false;\n })\n .catch((error) => {\n state.loading.module = false ;\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchStateRadian({ commit, state }, id) {\n if (!state.radiansState.length) {\n await $http.get(`/api/parametros-por-codigo/FE03?sort_by=name_parameter`)\n .then((response) => {\n commit('setStatesRadian', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n}\n\nexport async function updateobservationRadian(\n { commit, state }, attributs\n) {\n let radian = state.radiansState.find( radian => radian.name_parameter === attributs.radian_state)\n attributs.radian_state_id = radian.id\n attributs.radian_state = radian.name_parameter\n\n await $http\n .post(\"/api/actualizar-radian\",{params: attributs})\n .then(response => {\n console.log(response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-purchases/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-purchases/index.js","export default {\n loading: {\n module: false\n },\n params: {\n type_query: \"1\",\n branchoffice_id: null,\n date :[]\n },\n params_documents:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n report_sales_p:[],\n radiansState:[],\n radiansStateNames:[],\n ag_grid:{\n selectedTheme:'ag-theme-balham'\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-purchases/state.js","export function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n}\nexport function setValidationdata(state, result){\n state.params.validated = result.success\n\n}\nexport function reset_state(state){\n state.params= {\n file: null,\n validated: false,\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-accounts-plans/mutations.js","import state from './state'\nimport * as actions from './actions'\nimport * as mutations from './mutations'\n\n\nexport default{\n namespaced: true,\n state,\n actions,\n mutations\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-accounts-plans/index.js","export default {\n error: false,\n validated: false,\n params :{\n file: null,\n validated:false\n },\n loading: {\n module:false,\n },\n message_loading : 'Cargando Plantilla De Incorporación De Clientes',\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-accounts-plans/state.js","export const defaultSelectedDate = () => {\n var fecha = new Date();\n var month = fecha.getMonth();\n return `${fecha.getFullYear()}${month>9?month:\"0\"+month}`;\n\n};\n\nexport const defaultSelectedDateFrom = () => {\n var fecha = new Date();\n return `${fecha.getFullYear()}01`;\n\n};\n\nexport default {\n ag_grid: {\n selectedTheme: 'ag-theme-balham'\n },\n params: {\n count_months:0,\n year_month_from: defaultSelectedDateFrom(),\n year_month_up: defaultSelectedDate(),\n option:1,\n months:[],\n view_delete_from: null,\n view_delete_up: null,\n },\n account_report: [],\n loading: {\n module: false\n },\n months:[\n {\n id:'01',\n name:'Enero'\n },\n {\n id:'02',\n name:'Febrero'\n },\n {\n id:'03',\n name:'Marzo'\n },\n {\n id:'04',\n name:'Abril'\n },\n {\n id:'05',\n name:'Mayo'\n },\n {\n id:'06',\n name:'Junio'\n },\n {\n id:'07',\n name:'Julio'\n },\n {\n id:'08',\n name:'Agosto'\n },\n {\n id:'09',\n name:'Septiembre'\n },\n {\n id:'10',\n name:'Octubre'\n },\n {\n id:'11',\n name:'Noviembre'\n },\n {\n id:'12',\n name:'Diciembre'\n },\n ],\n monts_fields :[]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-reult-eri/state.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n namespaced: true,\n mutations,\n actions,\n state\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-reult-eri/index.js","export const data = () => {\n return {\n file: null,\n disable_incorporation: 1,\n only_validation: 1,\n document_date:null,\n }\n}\n\nexport default {\n preloader: false,\n data: data()\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_accounting_movements/state.js","import {data} from './state';\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para el atributo disable_incorporation de la variable data.\n */\nexport function setDisableIncorporationToData(state, disable_incorporation) {\n state.data.disable_incorporation = disable_incorporation;\n}\n\n/**\n * Establecer un valor para el atributo only_validation de la variable data.\n */\nexport function setOnlyValidationToData(state, only_validation) {\n state.data.only_validation = only_validation;\n}\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function resetData(state) {\n state.data = data();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_accounting_movements/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport moment from \"moment\";\n\n/**\n * Descargar plantilla\n */\nexport async function downloadTemplateIncorporateAccountingMovements({}) {\n await $http({\n url: '/api/descargar-plantilla-incorporacion-contable',\n method: 'GET',\n responseType: 'blob'\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'plantilla_movimientos_contables.xlsx');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Incorporar operaciones contables.\n */\nexport async function incorporateAccountingMovements({commit, state}) {\n commit('setPreloader', true);\n\n let form_data = new FormData();\n\n for (let key in state.data) {\n form_data.append(key, state.data[key]);\n }\n\n commit('setDisableIncorporationToData', 1);\n\n await $http.post('/api/incorporar-moviminetos-contables', form_data)\n .then((response) => {\n commit('setPreloader', false);\n\n if (!!state.data.only_validation) {\n\n let errors = response.data.data.errors\n\n if (!errors.length) {\n Notification.success({\n title: 'Éxito',\n message: 'validando archivo en segundo plano... ',\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n } else {\n Notification.error({\n title: 'Error',\n message: 'Existen inconsistencias en el archivo cargado',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n }\n } else {\n Notification.success({\n title: 'Éxito',\n message: response.data.message,\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n commit('resetData');\n }\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n\n Notification.error({\n title: 'Error',\n message: 'Error al procesar el archivo',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n });\n}\n\n/**\n * Eliminar todos los documentos de un tipo de comprobante.\n */\nexport async function deleteAllDocumentsByVoucherTypeId({commit, state}) {\n commit('setPreloader', true);\n\n await $http.post('/api/eliminar-documentos-tipo-comprobante', state.data)\n .then((response) => {\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito',\n message: response.data.message,\n type: 'success',\n duration: 5000,\n customClass: 'notification-box',\n });\n\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n\n Notification.error({\n title: 'Error',\n message: 'Error al eliminar los documentos',\n type: 'error',\n duration: 5000,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_accounting_movements/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_accounting_movements/index.js","import moment from 'moment';\n\nexport default {\n\tquotations: {\n\t data:[]\n },\n\tparams: {\n\t\tfilter_date: [\n moment().add('month', -1).format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ],\n code_voucher_type: '005',\n\t\tseller_id: null\n\t},\n\tsellers: [],\n preloader: false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/quotations/state.js","export function setQuotations(state, quotations) {\n state.quotations = quotations;\n}\n\nexport function setFilterDate(state, date) {\n state.params.filter_date = date;\n}\n\nexport function setFilter(state, filter) {\n state.params.page = 1;\n state.params.filter = filter;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\nexport function setSellerIdParams(state, seller_id) {\n state.params.seller_id = seller_id;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/quotations/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\n\nexport async function fetchQuotations({commit, state}, parameters = {params: state.params}) {\n commit('setPreloader', true);\n await $http.get('/api/documentos-por-tipo-de-comprobante', parameters)\n .then((response) => {\n commit('setQuotations', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n\n}\n\nexport async function quotationToCart({commit, state}, id) {\n await $http.post('/api/cotizacion-a-carrito/' + id)\n .then((response) => {\n return true;\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Obtener los lineas\nexport async function reportGenerate({commit, state, dispatch}, requestParameters = {params: state.params}) {\n await $http.get('/api/reporte-pedidos', requestParameters)\n .then((response) => {\n dispatch('downloadDocument', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error generando el informe',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('lineError', error.message);\n });\n}\n\nexport async function downloadDocument({}, documentObject) {\n await $http({\n url: '/storage/reports/' + documentObject,\n method: 'GET',\n responseType: 'blob', // important\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', documentObject);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n });\n}\n\nexport async function getSellers({commit}) {\n\n commit('setSellerIdParams', null);\n\n await $http.get('/api/lista-vendedores').then(response => {\n commit('setSellers', response.data.data);\n }).catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n }\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/quotations/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tactions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/quotations/index.js","export default {\n defaultTemplate: undefined,\n templates: [],\n sendMessagesPayload: {\n to: \"\",\n template: \"\"\n },\n responseApi: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/whatsapp-api/state.js","export function setSendMessagesPayload(state, data) {\n state.sendMessagesPayload = data;\n}\n\nexport function setTemplates(state, data) {\n state.templates = data;\n}\n\nexport function setDefaultTemplate(state, item) {\n state.defaultTemplate = item;\n}\n\nexport function setResponseApi(state, item) {\n state.responseApi = item;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/whatsapp-api/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function sendMessages(\n { commit, state },\n data = state.sendMessagesPayload\n) {\n await $http\n .post(\"/api/ws/send-messages\", data)\n .then(response => {\n commit(\"setResponseApi\", response.data);\n })\n .catch(error => {\n commit(\"setResponseApi\", error.response.data);\n });\n}\n\nexport async function getTemplates({ commit }) {\n await $http\n .get(\"/api/ws/templates\")\n .then(response => {\n const data = response.data.data;\n commit(\"setTemplates\", data);\n commit(\n \"setDefaultTemplate\",\n data.find(item => item.name === \"hello_world\")\n );\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/whatsapp-api/actions.js","import state from \"./state\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nimport * as getters from \"./getters\";\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/whatsapp-api/index.js","import state from './state';\nimport * as actions from './actions';\nimport * as mutations from './mutations';\n\nexport default {\n namespaced: true,\n state,\n actions,\n mutations\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/guarantees/index.js","import moment from 'moment';\n\nexport const request_guarantee = () => {\n\n let branch_office_id = localStorage.getItem('selected_branchoffice')\n let branch_offices_warehouses = JSON.parse(localStorage.getItem('branchoffices_warehouses'));\n\n let branch_office_warehouse = null\n\n if (branch_offices_warehouses) {\n branch_office_warehouse = branch_offices_warehouses\n .find(bw => +bw.branchoffice_id === +branch_office_id && bw.warehouse_code === '09')\n }\n\n return {\n id: null,\n branch_office_id: branch_office_id,\n branch_office_warehouse_id: branch_office_warehouse ? branch_office_warehouse.id : localStorage.getItem('selected_branchoffice_warehouse'),\n branch_office_exit_id: branch_office_id,\n branch_office_warehouse_exit_id: localStorage.getItem('selected_branchoffice_warehouse'),\n voucher_type_id: null,\n consecutive: null,\n contact_id: null,\n contact_warehouse_id: null,\n type_id: null,\n reason_id: null,\n invoice_id: null,\n return_id: null,\n option_id: null,\n model_id: null,\n approval_status_id: null,\n request_guarantee_attachments: [],\n request_guarantee_states: [],\n request_guarantee_state: {},\n observation: '',\n images_product: [],\n images_product_loaded: [],\n other_images: [],\n other_images_loaded: [],\n images_guide: [],\n images_guide_loaded: [],\n attachments_deleted: [],\n invoice: {},\n return: {}\n };\n};\n\nexport default {\n branch_offices: [],\n branch_offices_warehouses: [],\n requests_guarantees: [],\n documents: [],\n request_guarantee: request_guarantee(),\n action: 'Crear',\n step: 1,\n step_available: 1,\n sending: false,\n modal: {\n show: false\n },\n modal_pdf: {\n pdf: '',\n show: false\n },\n model: {},\n document: {},\n preloader: false,\n filters: {\n paginate: 0,\n contact_warehouse_id: null,\n dates: [\n moment().add('month', -2).add('days', 1).format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ]\n },\n request_types: [],\n devolution_reasons: [],\n guarantee_reasons: [],\n documents_by_thread: [],\n approval_states: [],\n approval_reasons: [],\n options: [],\n states: [],\n models: [],\n steps: [\n {\n step: 1,\n code: 'PGS2',\n text: 'Solicitar',\n icon: 'fa-bell',\n view_codes: ['RTGM01', 'RTGM02']\n },\n {\n step: 2,\n code: 'PGS3',\n text: 'Recibido en bodega',\n icon: 'fa-archive',\n view_codes: ['RTGM01', 'RTGM02']\n },\n {\n step: 3,\n code: 'PGS4',\n text: 'Evaluación',\n icon: 'fa-check-circle-o',\n view_codes: ['RTGM02']\n },\n {\n step: 4,\n code: 'PGS5',\n text: 'Nota crédito',\n icon: 'fa-file-text',\n view_codes: ['RTGM01']\n },\n {\n step: 5,\n code: 'PGS6',\n text: 'NC / Reponer',\n icon: 'fa-file-text',\n view_codes: ['RTGM02']\n }\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/guarantees_admin/state.js","import {request_guarantee} from './state';\nimport {getApiDomain} from '../../util/domains';\n\nexport function setContactWarehouseIdRequestGuarantee(state, contact_warehouse_id) {\n state.request_guarantee.contact_warehouse_id = contact_warehouse_id;\n}\n\nexport function setContactWarehouseIdRequestGuaranteeFilters(state, contact_warehouse_id) {\n state.filters.contact_warehouse_id = contact_warehouse_id;\n}\n\nexport function setModalShow(state, modal_show) {\n state.modal.show = modal_show;\n}\n\nexport function setStep(state, step) {\n state.step = step;\n\n let observation = '';\n\n const obj_step = state.steps.find(s => s.step === step);\n\n if (obj_step) {\n const _state = state.request_guarantee.request_guarantee_states.find(s => s.state.code_parameter === obj_step.code);\n\n if (_state) {\n observation = _state.observation;\n }\n\n if (state.request_guarantee.return.in_progress && obj_step.code === 'PGS5'){\n state.request_guarantee.model_id = null;\n }\n }\n\n state.request_guarantee.observation = observation;\n}\n\nexport function setObservationRequestGuarantee(state, observation) {\n state.request_guarantee.observation = observation;\n}\n\nexport function setStepAvailable(state, step_available) {\n state.step_available = step_available;\n}\n\nexport function setRequestsGuarantees(state, requests_guarantees) {\n\n requests_guarantees.map(rg => {\n let step = 1;\n let step_code = '';\n\n if (rg.request_guarantee_state && rg.request_guarantee_state.state) {\n step_code = rg.request_guarantee_state.state.code_parameter;\n\n let step_obj = state.steps.find(s => s.code === step_code);\n\n if (step_obj) {\n step = step_obj.step;\n }\n }\n\n rg.only_view = step > 1 || step_code === 'PGS9' || step_code === 'PGS5';\n });\n\n\n state.requests_guarantees = requests_guarantees;\n}\n\nexport function setRequestGuarantee(state, request_guarantee) {\n state.request_guarantee = request_guarantee;\n}\n\nexport function resetRequestGuarantee(state) {\n state.request_guarantee = request_guarantee();\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function addAttachmentDeleteRequestGuarantee(state, attachment) {\n state.request_guarantee.attachments_deleted.push(attachment);\n}\n\nexport function deleteAttachmentRequestGuarantee(state, attachment) {\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n let request_guarantee = JSON.parse(JSON.stringify(state.request_guarantee));\n\n keys.map(key => {\n let index_attachment = request_guarantee[key].findIndex(a => a.id === attachment.id);\n\n if (index_attachment >= 0) {\n request_guarantee[key].splice(index_attachment, 1);\n }\n });\n\n state.request_guarantee = request_guarantee;\n}\n\nexport function resetPageFilters(state) {\n state.filters.page = 1;\n}\n\nexport function setStates(state, states) {\n state.states = states;\n}\n\nexport function setStatesEvaluation(state, states_evaluation) {\n state.states_evaluation = states_evaluation;\n}\n\nexport function setProducts(state, products) {\n state.products = products;\n}\n\nexport function setProductsToSend(state, products_to_send) {\n state.products_to_send = products_to_send;\n}\n\nexport function setProductsToSendTwo(state, products_to_send_two) {\n state.products_to_send_two = products_to_send_two;\n}\n\nexport function setProductsToSendThree(state, products_to_send_three) {\n state.products_to_send_three = products_to_send_three;\n}\n\nexport function setProductToSendId(state, products_to_send_id) {\n state.request_guarantee.product_to_send_id = products_to_send_id;\n}\n\nexport function setSending(state, sending) {\n state.sending = sending;\n}\n\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\nexport function setLeaderships(state, leaderships) {\n state.leaderships = leaderships;\n}\n\nexport function setLeadershipIdParams(state, user_id) {\n\n let leadership = state.leaderships.find(l => l.user_id === user_id);\n\n if (leadership) {\n state.filters.leadership_id = leadership.id;\n }\n}\n\nexport function setSellerIdParams(state, seller_id) {\n state.filters.seller_id = seller_id;\n}\n\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\nexport function changePaymentDate(state) {\n state.payment_data = !state.payment_data;\n}\n\n/**\n * Establecer un valor para la variable documents.\n */\nexport function setDocuments(state, documents) {\n state.documents = documents;\n}\n\n/**\n * Establecer un valor para la variable request_types.\n */\nexport function setRequestTypes(state, request_types) {\n state.request_types = request_types;\n}\n\n/**\n * Establecer un valor para la variable devolution_reasons.\n */\nexport function setDevolutionReasons(state, devolution_reasons) {\n state.devolution_reasons = devolution_reasons;\n}\n\n/**\n * Establecer un valor para la variable model.\n */\nexport function setModel(state, model) {\n state.model = model;\n}\n\nexport function setUpdateDocumentValues(state, data) {\n state.request_guarantee.return.total_value = data.total_value;\n state.request_guarantee.return.total_value_brut = data.total_value_brut;\n state.request_guarantee.return.taxes = data.taxes;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_pdf.\n */\nexport function setShowToModalPdf(state, document) {\n state.modal_pdf.pdf = getApiDomain() + document.invoice_link;\n state.modal_pdf.show = true;\n}\n\n/**\n * Establecer un valor para la variable approval_states.\n */\nexport function setApprovalStates(state, approval_states) {\n state.approval_states = approval_states;\n}\n\n/**\n * Establecer un valor para la variable approval_reasons.\n */\nexport function setApprovalReasons(state, approval_reasons) {\n state.approval_reasons = approval_reasons;\n}\n\n/**\n * Establecer un valor para la variable options.\n */\nexport function setOptions(state, options) {\n state.options = options;\n}\n\n/**\n * Establecer un valor para la variable branch_offices.\n */\nexport function setBranchOffices(state, branch_offices) {\n state.branch_offices = JSON.parse(localStorage.getItem('branchoffices'));\n}\n\n/**\n * Establecer un valor para la variable branch_offices_warehouses.\n */\nexport function setBranchOfficesWarehouses(state, branch_offices_warehouses) {\n state.branch_offices_warehouses = JSON.parse(localStorage.getItem('branchoffices_warehouses'));\n}\n\n/**\n * Establecer un valor para la variable documents_by_thread.\n */\nexport function setDocumentsByThread(state, documents_by_thread) {\n state.documents_by_thread = documents_by_thread;\n}\n\n/**\n * Establecer un valor para la variable models.\n */\nexport function setModels(state, models) {\n state.models = models;\n}\n\n/**\n * Establecer un valor para la variable guarantee_reasons.\n */\nexport function setGuaranteeReasons(state, guarantee_reasons) {\n state.guarantee_reasons = guarantee_reasons;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/guarantees_admin/mutations.js","import state from './state';\nimport * as actions from './actions';\nimport * as mutations from './mutations';\n\nexport default {\n namespaced: true,\n state,\n actions,\n mutations\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/guarantees_admin/index.js","export const defaultproducts = () => {\n return {\n products_kardex: []\n }\n }\n\nexport const defaultContacts = () => {\n return {\n data: [],\n total: 1\n }\n}\n\nexport default {\n loading:{\n download_pdf:false,\n kardex:false\n },\n products: [],\n kardex: [],\n contacts: [],\n\n branchOffices: [],\n branchoffice_warehouses: [],\n\n branchoffice_warehouses_entry: [],\n product:defaultproducts(),\n\n params: {\n sede_salida:null,\n bodega_salida: null,\n date: null,\n contact_id:'',\n button:true,\n product:null,\n from_request:true,\n },\n\n params_reconstructor: {\n date: null,\n product:null,\n document_product:null\n },\n\n paramsquery:{\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: '',\n sortBy: 'id',\n sort: 'ASC',\n },\n paramsProducts:{\n validate_exhausted : false,\n paginate: false,\n product: '',\n branchoffice_warehouse_id: '',\n filter: '',\n page: 1,\n perPage: 15\n },\n document:'',\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/validate-kardex/state.js","import {defaultContacts} from \"./state\";\n\nexport function setKardex(state, kardex) {\n state.kardex = kardex;\n}\n/**\n * Establecer un valor para la variable params.\n */\nexport function setParams(state, params) {\n state.params = params;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/validate-kardex/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\n\n//consulta kardex\nexport async function getKardex({commit,state}) {\n state.loading.kardex = true\n var data = {\n params: state.params,\n product: state.product\n }\n await $http.get('/api/validacion-kardex', data)\n .then((response) => {\n commit('setKardex', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n state.loading.kardex = false\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/validate-kardex/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/validate-kardex/index.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nconst apiEndpoint = \"/api/reservation-product\";\n\nexport async function fetchReservationProducts({ commit, state }, params) {\n try {\n const response = await $http.get(apiEndpoint, {\n params\n });\n commit(\"setReservationProducts\", response.data);\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setError\", error.message);\n }\n}\n\nexport async function fetchReservationProduct({ commit }, id) {\n try {\n const response = await $http.get(`${apiEndpoint}/${id}`);\n commit(\"setReservationProduct\", response.data);\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setError\", error.message);\n }\n}\n\nexport async function createReservationProduct({ commit }, reservationProduct) {\n try {\n const response = await $http.post(apiEndpoint, reservationProduct);\n commit(\"setReservationProduct\", null);\n Notification.success({\n title: \"Exito!\",\n message: \"Reservado con Exito!\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setError\", error.message);\n }\n}\n\nexport async function updateReservationProduct({ commit }, reservationProduct) {\n try {\n const response = await $http.put(\n `${apiEndpoint}/${reservationProduct.id}`,\n reservationProduct\n );\n Notification.success({\n title: \"Exito!\",\n message: \"Actualizado con Exito!\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setError\", error.message);\n }\n}\n\nexport async function deleteReservationProduct({ commit }, id) {\n try {\n await $http.delete(`${apiEndpoint}/${id}`);\n commit(\"setReservationProduct\", null);\n Notification.success({\n title: \"Exito!\",\n message: \"Reserva eliminada con Exito!\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n } catch (error) {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setError\", error.message);\n }\n}\n\nexport async function fetchContacts({ commit }, filter) {\n const params = {\n filter,\n is_customer: true,\n paginate: false\n };\n\n await $http\n .get(\"/api/terceros-lite\", { params })\n .then(async response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function searchProducts({ commit }, filter) {\n const params = {\n filter,\n paginate: false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n };\n\n await $http.get(\"/api/lista-productos\", { params }).then(response => {\n commit(\"setProducts\", response.data.data.data);\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reservationProduct/actions.js","export function isEdit(state) {\n return state.reservationProduct && state.reservationProduct.id;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reservationProduct/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reservationProduct/index.js","import {getApiDomain} from \"../../util/domains\";\n\nexport function setBranchOffices(state, branchoffices) {\n state.branchoffices = branchoffices.map(b => {\n return { value: b.id, label: b.name };\n });\n}\n\nexport function setTypeUpdates (state, data) {\n state.type_updates = data;\n}\nexport function setNextId (state, data) {\n if (data.validate && state.action === \"create\"){\n let parameter = state.type_updates.find(el => el.id === state.selectedCashRegisterUpdate.update_type_id)\n if (parameter && ['05', '06', '01','07'].includes(parameter.code_parameter)) {\n state.selectedCashRegisterUpdate.number_document = data.data;\n state.selectedCashRegisterUpdate.id_sug = data.data;\n }\n }else{\n state.selectedCashRegisterUpdate.id_sug = data.data;\n }\n\n}\n\nexport function setListCashUpdates (state, data) {\n state.listCashUpdates = data;\n}\n\nexport function setListCashUpdatesExcel (state, data) {\n state.listCashUpdatesExcel = data;\n}\n\n\nexport function setSelectedCashUpdate (state, data) {\n state.selectedCashRegisterUpdate = data;\n state.selectedCashRegisterUpdate.id_sug = data.id;\n}\n\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function getAction (state) {\n return state.action;\n}\n\nexport function clearCashUpdate (state) {\n state.selectedCashRegisterUpdate = {};\n}\n\nexport function modifyIsDisabled (state, bol) {\n state.isDisabled = bol;\n}\n\nexport function setPerPage (state, perPage) {\n state.params.page = 1\n state.params.perPage = perPage\n}\n\nexport function setPage (state, page) {\n state.params.page = page\n}\n\nexport function setDefaultParams(state, data) {\n state.params.branchoffice_id = parseInt(data.branchoffice_id),\n state.params.branchoffice_warehouse_id = parseInt(data.branchoffice_warehouse_id),\n state.params.box_id = data.box_id\n}\nexport function setDefaultBoxUser(state, data) {\n state.selectedCashRegisterUpdate.box_id = data\n}\n\n\nexport function resetFileNamePdfCashRegister(state) {\n state.fileNamePdfCashRegister = \"\";\n state.fileNamePdfCashRegisterSquareEmail = \"\";\n}\n\nexport function setShowPdfCashRegister(state, value) {\n state.showPdfCashRegister = value;\n}\n\nexport function setFileNamePdfCashRegister(state, value) {\n state.fileNamePdfCashRegister = getApiDomain() + \"/storage/\" + value;\n state.fileNamePdfCashRegisterEmail = \"/\" + value;\n}\n\nexport function setLoadingPdf(state, value) {\n state.loadingPdf = value;\n}\n\nexport function setIsLoadingReport(state, value) {\n state.isLoadingReport = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-registers-updates/mutations.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nconst namespaced = true;\nexport default {\n\n state,\n mutations,\n actions,\n namespaced,\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-registers-updates/index.js","import {defaultSelectedBrand} from \"../brands/state\";\n\nexport const defaultSelectedDate = () => {\n let today = new Date();\n\n let year = today.getFullYear();\n let month = String(today.getMonth() + 1).padStart(2, '0'); // Se agrega 1 al mes ya que en JavaScript los meses van de 0 a 11.\n let day = String(today.getDate()).padStart(2, '0');\n\n return `${year}-${month}-${day}`;\n};\n\nexport const defaultCashRegisterUpdate = () => {\n return {\n branchoffice_warehouse_id: null,\n branchoffice_id : null,\n box_id : null,\n date_update : null,\n update_type_id : null,\n contact_id : null,\n number_document :'',\n value : '',\n detail : '',\n concept :'',\n user_id : null,\n date_last_update :'',\n id_sug :'',\n }\n}\n\nexport default {\n branchoffices: [],\n type_updates: [],\n contacts: [],\n users: [],\n listCashUpdates: [],\n boxes: [],\n selectedCashRegisterUpdate: defaultCashRegisterUpdate(),\n action: '',\n isDisabled: false,\n fileNamePdfCashRegisterEmail: '',\n fileNamePdfCashRegister: '',\n showPdfCashRegister: false,\n loadingPdf : false ,\n params: {\n page: 1,\n perPage: 50,\n date: defaultSelectedDate(),\n branchoffice_warehouse_id: null,\n branchoffice_id: null,\n contact_id: null,\n box_id: null,\n filter: ''\n },\n isLoadingReport: false,\n listCashUpdatesExcel: ''\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-registers-updates/state.js","import moment from 'moment';\n\nexport const filters = () => {\n return {\n contact_id: null,\n dates: [\n moment().add('month', -1).format('YYYY-MM-DD'),\n moment().add('day', -1).format('YYYY-MM-DD')\n ],\n line_id: null\n };\n};\n\n\nexport default {\n preloader: false,\n filters: filters(),\n contacts: [],\n lines: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/replacement_points_of_sale/state.js","import {filters} from './state';\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable contacts.\n */\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\n/**\n * Establecer un valor para la variable lines.\n */\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\n/**\n * Establecer el valor por defecto de la variable filters.\n */\nexport function resetFilters(state) {\n state.filters = filters();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/replacement_points_of_sale/mutations.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport moment from 'moment';\n\n/**\n * Listar proveedores.\n */\nexport async function fetchContacts({commit, state}, filter = '') {\n\n commit('setPreloader', true);\n\n let params = {\n paginate: false,\n filter: filter,\n id_provider: 1\n };\n\n await $http.get('/api/terceros-lite', {params})\n .then((response) => {\n commit('setPreloader', false);\n commit('setContacts', response.data.data);\n })\n .catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n/**\n * Listar líneas.\n */\nexport async function fetchLines({commit}) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/lineas')\n .then(response => {\n commit('setPreloader', false);\n commit('setLines', response.data.data);\n })\n .catch(() => {\n commit('setPreloader', false);\n });\n}\n\n/**\n * Descargar reporte.\n */\nexport async function downloadReport({state, commit}) {\n commit('setPreloader', true);\n\n await $http({\n url: '/api/replacement-by-points-of-sale',\n params: state.filters,\n method: 'GET',\n responseType: 'blob',\n }).then(response => {\n commit('setPreloader', false);\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n let date = moment().format('YYYY-MM-DD hh-mm-ss');\n link.setAttribute('download', `Reposición de inventario por punto de venta ${date}.xlsx`);\n document.body.appendChild(link);\n link.click();\n }).catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/replacement_points_of_sale/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\n\nexport default{\n namespaced: true,\n state,\n mutations,\n actions\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/replacement_points_of_sale/index.js","export const defaultData = () => {\n return {\n due_date: null,\n product_id: null,\n lot: null,\n quantity: null\n }\n}\nexport default {\n loading: false,\n error: null,\n dataProductsWms: defaultData(),\n availabilityWmsProducts: [],\n params: {\n filter: \"\",\n },\n params_request: {\n product: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modal-list-product-wms/state.js","import moment from \"moment\";\nimport {defaultData} from \"./state\";\n\nexport function setAvailabilityWmsProducts (state, data) {\n state.availabilityWmsProducts = data;\n}\n\nexport function setProductIDDataProductsWms (state, data) {\n state.dataProductsWms.product_id = data;\n}\n\nexport function resetDefaultFormProduct (state) {\n Object.assign(state.dataProductsWms, defaultData());\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modal-list-product-wms/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function searchProductsWms ({ state, commit }) {\n const params = {\n product_id: state.dataProductsWms.product_id,\n ...state.params\n };\n\n await $http.get(\"/api/consult-product-lot\", {params: params})\n .then(response => {\n commit(\"setAvailabilityWmsProducts\", response.data.data);\n }).catch(error => {\n throw new Error(error.response.data.message); // Propaga el error para que pueda ser manejado en el componente\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modal-list-product-wms/actions.js","export function isEdit(state) {\n return state.reservationProduct && state.reservationProduct.id;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modal-list-product-wms/getters.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/modal-list-product-wms/index.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport moment from \"moment\";\n\nexport async function getProductsPrices({ commit, state }) {\n commit(\"setLoading\", true);\n\n const branchoffice_id = localStorage.selected_branchoffice;\n const params = {\n ...state.params,\n branchoffice_id\n };\n\n await $http\n .get(\"/api/report-product-pricing\", {\n params\n })\n .then(response => {\n commit(\"setLoading\", false);\n commit(\"setProductsPrices\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n commit(\"setLoading\", false);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function uploadFilePrices({ commit, state, dispatch }) {\n commit(\"setLoading\", true);\n\n const formData = new FormData();\n formData.append(\"file\", state.paramsFile.file);\n\n await $http\n .post(\"/api/actualizar-precio-lite\", formData)\n .then(response => {\n commit(\"setLoading\", false);\n commit(\"resetParamsFile\", true);\n dispatch(\"getProductsPrices\");\n Notification.success({\n title: \"Éxito!\",\n message: \"Precios Actualizados.\",\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n console.error(error);\n commit(\"setLoading\", false);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function putRevertPrices({ commit, dispatch }) {\n commit(\"setLoading\", true);\n\n const branchoffice_id = localStorage.selected_branchoffice;\n const body = {\n branchoffice_id\n };\n\n await $http\n .put(\"/api/revert-product-pricing\", body)\n .then(response => {\n commit(\"setLoading\", false);\n dispatch(\"getProductsPrices\");\n })\n .catch(error => {\n commit(\"setLoading\", false);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/product-pricing/actions.js","import state from './state'\nimport * as mutations from './mutations'\nimport * as actions from './actions'\nimport * as getters from './getters'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/product-pricing/index.js","export default {\n loading: false,\n params: {\n state: true\n },\n paramsFile: {},\n ag_grid: {\n selectedTheme: \"ag-theme-balham\"\n },\n productsPrices: [],\n columnsPrices: [],\n isShoppingRole: false,\n allColumns: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/product-pricing/state.js","import 'es6-promise/auto';\nimport Vue from 'vue';\nimport Vuex from 'vuex';\n\nimport mutations from './mutations';\nimport licenses from '../modules/licenses';\nimport paramTables from '../modules/param-tables';\nimport parameters from '../modules/parameters';\nimport tabsViews from '../modules/tabs';\nimport subscribers from '../modules/subscribers';\nimport vouchersTypes from '../modules/vouchers-types';\nimport branchOffices from '../modules/branch-offices';\nimport projects from '../modules/projects';\nimport branchOfficeWarehouses from '../modules/branchoffices-warehouses';\nimport contacts from '../modules/contacts';\nimport contactClerks from '../modules/contacts-clerks';\nimport contactWarehouses from '../modules/contacts-warehouses';\nimport contactDocuments from '../modules/contacts-documents';\nimport departments from '../modules/departments';\nimport cities from '../modules/cities';\nimport lines from '../modules/lines';\nimport cashRegisterSquare from '../modules/cash-register-square';\nimport balanceCrossing from '../modules/balance-crossing';\n\nimport dataSheet from '../modules/data_sheet';\n\nimport modaldocs from '../modules/modaldocs';\nimport transfer from '../modules/transfer';\nimport account from '../modules/account';\nimport aurora from '../modules/Aurora';\nimport starjobs from '../modules/star-jobs';\nimport various_vouchers from '../modules/various-vouchers';\nimport transfer_rot from '../modules/transfer-rot';\nimport kardex from '../modules/kardex';\nimport clear_erp from '../modules/clear-erp';\nimport seller_route from '../modules/seller-route';\nimport rebuild from '../modules/rebuild';\nimport availabilityInquiry from '../modules/availability-inquiry';\n\nimport sublines from \"../modules/sublines\";\nimport users from \"../modules/users\";\nimport login from \"../modules/login\";\nimport brands from \"../modules/brands\";\nimport subbrands from \"../modules/subbrands\";\nimport categories from \"../modules/categories\";\nimport subcategories from \"../modules/subcategories\";\nimport menu from \"../modules/menu\";\nimport bannerB2b from \"../modules/banners-b2b\";\nimport home from \"../b2b/modules/home\";\nimport catalog from \"../b2b/modules/catalog\";\nimport ecommerce from \"../modules/ecommerce\";\nimport productDetail from \"../b2b/modules/product-detail\";\nimport cart from \"../b2b/modules/cart\";\nimport relativeProductsForm from \"../b2b/modules/relative-products-form\";\nimport ordersHistory from \"../b2b/modules/orders-history\";\nimport receivable from \"../b2b/modules/receivable\";\nimport replacementAssistant from \"../b2b/modules/replacement-assistant\";\nimport prospective_client from \"../modules/prospective-client\";\nimport payment_managment from \"../modules/payment-managment\";\nimport products from \"../modules/products\";\nimport visits from \"../modules/visits\";\nimport listproducts from \"../modules/listproducts\";\nimport prices from \"../modules/prices\";\nimport documents from \"../modules/documents\";\nimport inventories from \"../modules/inventories\";\nimport typeoperations from \"../modules/types-operations\";\nimport models from \"../modules/models\";\nimport taxes from \"../modules/taxes\";\nimport promotions from \"../modules/promotions\";\nimport baseDocuments from \"../modules/base-documents\";\nimport requestheaders from \"../modules/request-headers\";\nimport requestproducts from \"../modules/request-products\";\nimport inventoryMovements from \"../modules/inventory-movements\";\nimport certificatesRetentions from \"../modules/certificates-retentions\";\nimport nuevoInforme from \"../modules/nuevo-informe\";\n\nimport ordersRetained from \"../modules/orders_retained\";\nimport despatch from \"../modules/despatch\";\nimport despatchPacking from \"../modules/despatch-packing\";\nimport discount from \"../modules/discount\";\nimport auxiliarybook from \"../modules/auxiliary-book\";\nimport auxiliarybookcontact from \"../modules/auxiliary-book-contact\";\nimport reportcommisions from \"../modules/report-commisions\";\nimport reportbo from \"../modules/report-bo\";\nimport conciliationbalances from \"../modules/conciliation-balances\";\nimport accountbalance from \"../modules/account-balance\";\nimport statefinaze from \"../modules/estados-financieros\";\nimport trialbalance from \"../modules/trial-balance\";\nimport trialbalancecontact from \"../modules/trial-balance-contact\";\nimport account_comparison from \"../modules/account-comparison\";\nimport discountInconsistencies from \"../modules/discount-inconsistencies\";\nimport requestService from \"../modules/request-service\";\nimport incorporateBankStatement from \"../modules/incorporate-bank-statement\";\nimport incorporationConsumption from \"../modules/incorporation-consumption\";\nimport discount_soon_payment from \"../modules/discount-soon-payment\";\nimport automatic_portfolio_delivery from \"../modules/automatic_portfolio_delivery\";\nimport operations_report from \"../modules/operations-report\";\nimport roles from \"../modules/roles\";\nimport inventoryUsers from \"../modules/inventory-users\";\nimport ordersManagement from \"../modules/ordersManagement\";\nimport cashReceipts from \"../modules/cashReceipts\";\nimport Notifications from \"../modules/notifications\";\nimport paymentMethods from \"../modules/payment-methods\";\nimport customerAccountStatement from \"../modules/customer_account_statement\";\nimport invoiceDetail from \"./../modules/invoice_detail\";\nimport reassignSeller from \"./../modules/reassign_seller\";\nimport replacementAssistantAdmin from \"../modules/suggested_replacement\";\nimport audit from \"./../modules/audit\";\nimport sendDocuments from \"./../modules/send_documents\";\nimport report from \"./../modules/report\";\nimport reportDynamicMatrix from \"./../reports-aggrid/modules/dynamic-matrix\";\nimport reportSalesProducts from \"./../reports-aggrid/modules/sales-products\";\nimport updateBalances from \"./../modules/update_balances\";\nimport fixAssets from \"./../modules/fixAssets\";\nimport dateFirm from \"./../modules/dateFirm\";\nimport Receivable from \"./../modules/receivable\";\nimport ReceivableReport from \"./../modules/receivable-report\";\nimport CommissionSaleBrand from \"./../modules/commission-sale-brand\";\nimport InventoryReport from \"./../modules/inventory-report\";\nimport InventoryReposition from \"./../modules/inventory-reposition\";\nimport ProjectMovements from \"./../modules/project-movements\";\nimport HistoricalReport from \"../modules/historical-by-document\";\nimport accountingInventoryMovements from \"../modules/accounting-inventory-movements\";\nimport movementsAccountContact from \"../modules/movements-account-contact\";\nimport protractorGuide from \"../modules/protractor-guide\";\nimport PriceContact from \"../modules/prices-contacts\";\nimport IncorporateInventoryInitialBalance from \"../modules/incorporate_inventory_initial_balance\";\nimport AccountingDetail from \"../modules/accounting-detail\";\nimport reportcommisionsCollection from \"../modules/report-commisions-collection\";\nimport ImportAccountingBalances from \"../modules/import-saldos-contables\";\nimport ManageInventoryDocuments from \"../modules/manage-inventory-documents\";\nimport PickingReport from \"../modules/report-picking\";\nimport ExcelInventory from \"../modules/excel-inventory\";\nimport BalanceForContacts from \"../modules/balance-for-contacts\";\nimport ImportDocumentsPaymentsMethods from \"../modules/import-payment-methods-document\";\nimport ProductsEquivalent from \"../modules/products_equivalent\";\nimport DeleteDocument from \"../modules/delete-documents\";\nimport BalanceReconciliation from \"../modules/balance_reconciliation\";\nimport CheckConsignment from \"../modules/check-consignment\";\nimport PortfoliorReclassificationAlkosto from \"../modules/portfolio_reclassification\";\nimport TableParameters from \"../modules/table-parameters\";\nimport Datafonos from \"../modules/dataphones\";\nimport MaxMinReport from \"../modules/report-max-min\";\nimport reception_documents from '../modules/reception_documents';\n\nimport ReportUserDocuments from \"../modules/report-user-document\";\nimport ContactBalance from \"../modules/contact-balance\";\nimport updateWithholdings from \"../modules/update-withholdings\";\nimport TransfersReport from \"../modules/report-transfers\";\nimport AccountingConcepts from \"../modules/accounting_concept\";\nimport b2c_integration from \"../modules/b2c_integration\";\nimport ReportDocumentPendingDispatch from \"../modules/report-document-pending-dispatch-order\";\nimport ReportSalesReferrals from \"../modules/report-sales-referrals\";\nimport PhysicalInventory from \"../modules/physical-inventory\";\nimport ReportLog from \"../modules/report-log\";\n\n\n\n\n\n//import monthlyClosure from \"./../modules/monthly_closure\";\nimport sellingPricesAboveCost from \"./../modules/selling-prices-above-cost\";\nimport salesDetail from \"./../modules/sales-detail\";\nimport salesBudgets from \"../modules/sales-budgets\";\nimport salesBudgetByContactsWarehouses from \"../modules/sales_budget_by_contacts_warehouses\";\nimport reportSalesBudget from \"../reports-aggrid/modules/sales-budget\";\nimport reportSalesBudgetDetail from \"../reports-aggrid/modules/sales-budget-detail\";\nimport reportSalesBudgetByContactsWarehouses from \"../reports-aggrid/modules/sales_budget_by_contacts_warehouses\";\nimport mailsmasives from \"../modules/masive-mails\";\nimport consolidatedKardex from \"../modules/consolidated_kardex\";\nimport magneticMedia from \"../modules/magneticMedia\";\nimport leaderships from '../modules/leadership'\nimport schedule from '../modules/schedule'\nimport contactImport from \"../modules/import-terceros\";\nimport productsImport from \"../modules/import-products\";\nimport load_images from '../modules/load_images';\nimport CreateClientComponent from '../modules/clients-component';\nimport modalPaymentsMethods from \"../modules/payments-methods-modal\";\nimport customerDiscountBrand from '../modules/customerDiscountBrand';\nimport pointOfSale from '../point_of_sale/modules/point_of_sale';\nimport incorporateInventoryOperations from '../modules/incorporate_inventory_operations';\nimport inventoryReconciliation from '../modules/inventory-reconciliation';\nimport documentFinder from '../modules/document_finder';\nimport idealBalancesImport from \"../modules/import-ideal-balances\";\n\nimport providerAccountStatement from \"../modules/provider_account_statement\";\nimport reportSalesPurchases from \"../modules/report-sales-purchases\";\nimport reportAccountsPlans from \"../modules/import-accounts-plans\";\nimport reportResultEri from \"../modules/report-reult-eri\";\n\nimport incorporateAccountingMovements from '../modules/incorporate_accounting_movements';\nimport quotations from \"../modules/quotations\"\n\nimport WhatsappApi from '../modules/whatsapp-api'\n\nimport guarantees from '../b2b/modules/guarantees'\nimport guaranteesAdmin from '../modules/guarantees_admin'\nimport validateKardex from '../modules/validate-kardex'\nimport reservationProduct from '../modules/reservationProduct'\nimport CashRegistersUpdates from \"../modules/cash-registers-updates\";\nimport replacementPointsOfSales from '../modules/replacement_points_of_sale';\nimport modalListProductWms from '../modules/modal-list-product-wms'\nimport productPricing from '../modules/product-pricing'\n\nVue.use(Vuex);\n\n//=======vuex store start===========\nconst store = new Vuex.Store({\n state: {\n left_open: true,\n right_open: false,\n cart_open: false,\n preloader: true,\n user: {\n name: \"Addison\",\n picture: \"images/avatar1.jpg\",\n job: \"Project Manager\"\n }\n },\n mutations,\n modules: {\n dateFirm,\n accountingInventoryMovements,\n fixAssets,\n modaldocs,\n projects,\n roles,\n despatch,\n ordersRetained,\n licenses,\n paramTables,\n parameters,\n tabsViews,\n subscribers,\n vouchersTypes,\n branchOffices,\n branchOfficeWarehouses,\n contacts,\n contactClerks,\n contactWarehouses,\n contactDocuments,\n departments,\n cities,\n lines,\n sublines,\n users,\n login,\n brands,\n subbrands,\n categories,\n subcategories,\n menu,\n bannerB2b,\n home,\n catalog,\n ecommerce,\n productDetail,\n cart,\n relativeProductsForm,\n ordersHistory,\n receivable,\n replacementAssistant,\n prospective_client,\n payment_managment,\n products,\n visits,\n listproducts,\n prices,\n documents,\n inventories,\n typeoperations,\n models,\n taxes,\n baseDocuments,\n requestheaders,\n requestproducts,\n inventoryMovements,\n certificatesRetentions,\n nuevoInforme,\n promotions,\n automatic_portfolio_delivery,\n dataSheet,\n statefinaze,\n discount_soon_payment,\n cashRegisterSquare,\n discount,\n auxiliarybook,\n accountbalance,\n auxiliarybookcontact,\n reportcommisions,\n reportbo,\n conciliationbalances,\n trialbalance,\n trialbalancecontact,\n account_comparison,\n discountInconsistencies,\n various_vouchers,\n transfer,\n account,\n aurora,\n starjobs,\n transfer_rot,\n kardex,\n clear_erp,\n seller_route,\n availabilityInquiry,\n reception_documents,\n operations_report,\n requestService,\n incorporateBankStatement,\n incorporationConsumption,\n InventoryReport,\n InventoryReposition,\n ProjectMovements,\n rebuild,\n inventoryUsers,\n ordersManagement,\n cashReceipts,\n Notifications,\n paymentMethods,\n customerAccountStatement,\n invoiceDetail,\n reassignSeller,\n replacementAssistantAdmin,\n audit,\n sendDocuments,\n report,\n reportDynamicMatrix,\n reportSalesProducts,\n updateBalances,\n ReceivableReport,\n CommissionSaleBrand,\n HistoricalReport,\n Receivable,\n movementsAccountContact,\n balanceCrossing,\n protractorGuide,\n PriceContact,\n sellingPricesAboveCost,\n salesDetail,\n salesBudgets,\n reportSalesBudget,\n reportSalesBudgetDetail,\n mailsmasives,\n leaderships,\n schedule,\n consolidatedKardex,\n contactImport,\n productsImport,\n load_images,\n customerDiscountBrand,\n magneticMedia,\n despatchPacking,\n pointOfSale,\n modalPaymentsMethods,\n CreateClientComponent,\n incorporateInventoryOperations,\n incorporateAccountingMovements,\n inventoryReconciliation,\n documentFinder,\n IncorporateInventoryInitialBalance,\n providerAccountStatement,\n reportSalesPurchases,\n reportAccountsPlans,\n AccountingDetail,\n reportcommisionsCollection,\n ImportAccountingBalances,\n ManageInventoryDocuments,\n reportResultEri,\n PickingReport,\n salesBudgetByContactsWarehouses,\n reportSalesBudgetByContactsWarehouses,\n BalanceForContacts,\n quotations,\n ImportDocumentsPaymentsMethods,\n ExcelInventory,\n ProductsEquivalent,\n CheckConsignment,\n DeleteDocument,\n guarantees,\n guaranteesAdmin,\n BalanceReconciliation,\n PortfoliorReclassificationAlkosto,\n validateKardex,\n TableParameters,\n Datafonos,\n MaxMinReport,\n ReportUserDocuments,\n ContactBalance,\n updateWithholdings,\n TransfersReport,\n AccountingConcepts,\n reservationProduct,\n b2c_integration,\n CashRegistersUpdates,\n idealBalancesImport,\n replacementPointsOfSales,\n ReportDocumentPendingDispatch,\n modalListProductWms,\n ReportSalesReferrals,\n PhysicalInventory,\n ReportLog,\n productPricing,\n WhatsappApi\n }\n}); //=======vuex store end===========\n\nexport default store;\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","import Vue from \"vue\";\nimport Router from \"vue-router\";\nimport routes from \"./routes\";\nimport store from \"../store/store\";\n\nVue.use(Router);\n\nconst router = new Router({\n routes,\n linkActiveClass: \"active\"\n});\n\nrouter.beforeEach((to, from, next) => {\n store.commit(\"routeChange\", \"start\");\n\n let publicPage = [\"/login\", \"/restablecer/contrasena\", \"/olvide/contrasena\"];\n let authRequired = !publicPage.includes(to.path);\n\n let user_logued = localStorage.getItem(\"user\");\n\n const loggedIn = user_logued !== null ? JSON.parse(user_logued) : false;\n\n if (to.path.indexOf(\"/restablecer/contrasena/\") >= 0) {\n authRequired = false;\n }\n\n if (authRequired) {\n if (loggedIn) {\n if (to.path != \"/cambiar/contrasena\") {\n if (!loggedIn.password_changed) {\n return next(\"/cambiar/contrasena\");\n }\n }\n } else {\n return next(\"/login\");\n }\n }\n\n if (to.fullPath === \"/login\" && loggedIn) {\n return next(\"/inicio\");\n }\n\n if (to.path === \"/b2b/inicio\") {\n store.commit(\"hideCart\", \"hide\");\n }\n\n if (to.meta.permission && to.meta.permission !== \"\") {\n if (!validatePermission(to.meta.permission)) {\n return next(from.path);\n }\n }\n\n return next();\n});\n\nrouter.afterEach((to, from) => {\n document.title = to.meta.title;\n store.commit(\"routeChange\", \"end\");\n store.commit(\"left_menu\", \"close\");\n});\n\nfunction validatePermission(permission) {\n let permissions = JSON.parse(localStorage.getItem(\"permissions\"));\n\n let foundPermission = permissions.find(p => p.permission === permission);\n\n return !!foundPermission;\n}\n\nexport default router;\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import 'leaflet/dist/leaflet.css';\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport store from './store/store'\nimport { Icon } from 'leaflet';\ndelete Icon.Default.prototype._getIconUrl;\nIcon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png'),\n});\nVue.config.productionTip = false\n\nnew Vue({\n el: '#app',\n router,\n store,\n components: {App},\n template: ''\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","import $http from \"../../axios\";\nimport {Notification} from \"element-ui\";\nimport {getApiDomain} from \"../../util/domains\";\n\nexport async function downloadAccountsTemplate({}) {\n await $http({\n url: `/api/descargar-plan-cuentas`,\n method: 'GET',\n responseType: 'blob' // important\n }).then(response => {\n var type_file = response.data.type.split('/')[1];\n\n //Descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `plantilla-plan-cuentas.${type_file}`);\n document.body.appendChild(link);\n link.click();\n });\n}\nexport async function uploadAccountsTemplate({state,commit}) {\n let formData = new FormData();\n formData.append('file', state.file);\n formData.append('validated', state.params.validated);\n state.loading.module = true ;\n $http.post(`/api/cargar-plan-cuentas`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then((response) => {\n commit('setValidationdata', response.data);\n commit('setloading', false);\n if (!response.data.success){\n window.open(getApiDomain() + response.data.url_report_error, '_blank');\n Notification.error({\n title: \"Error!\",\n message: 'El excel tiene informacion inocorrecta, por favor valida el excel con los errores encontrados',\n type: \"error\",\n duration: 10000,\n customClass: \"notification-box\"\n });\n }else{\n if (response.data.completed){\n commit('reset_state');\n Notification.success({\n title: \"Success!\",\n message: response.data.message,\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n\n }else{\n Notification.success({\n title: \"Success!\",\n message: 'Validación Finalizada exitosamente',\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n }\n\n }\n }).catch(error => {\n commit('setloading', false);\n state.params.validated = false;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-accounts-plans/actions.js","const tableProduct = {\n loading: false,\n data: [],\n fields: [\n {\n name: \"Codigo\",\n field: \"code\",\n width: 100\n },\n {\n field: \"description\",\n name: \"Descripcion\",\n width: 550\n },\n {\n field: \"brand.description\",\n name: \"Marca\",\n width: 100\n },\n {\n field: \"line.line_description\",\n name: \"Linea\",\n width: 150\n },\n {\n field: \"subline.subline_description\",\n name: \"SubLinea\",\n width: 150\n },\n {\n field: \"update_wsm_tag\",\n name: \"Estado WMS\",\n width: 100\n },\n {\n field: \"actions\",\n name: \"Opciones\",\n width: 200\n }\n ],\n errors: {\n has: false,\n message: \"\",\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 100,\n search: \"\",\n currentPage: 1,\n page: 1,\n filter_lines: [],\n filter_sublines: [],\n electronic_bill: 1,\n filter_brands: [],\n filter_subbrands: [],\n update_wsm: false,\n }\n};\n\nexport const defaultSelectedProduct = () => {\n return {\n manage_inventory: true,\n provider: \"\",\n code: \"\",\n barcode: \"\",\n description: \"\",\n line_id: \"\",\n subline_id: \"\",\n brand_id: \"\",\n subbrand_id: \"\",\n category_id: \"\",\n owner: \"\",\n maker: \"\",\n update_wsm_tag: \"\",\n subcategory_id: \"\",\n inventory_management: \"\",\n purchase: \"\",\n sale: \"\",\n kit: \"\",\n state: 1,\n condition: \"\",\n has_lot: 0,\n has_serial: 0,\n type: \"\",\n high_price: 0,\n products_risk_id: \"\",\n rotation_type: \"\",\n cooled: 0,\n reusable: \"\",\n production_formula: \"\",\n tariff_position: \"\",\n export_product: \"\",\n conformity_certificate: \"\",\n exp_date_certified: \"\",\n pos: 0,\n lock_buy: \"\",\n lock_buy_observations: \"\",\n lock_sale: \"\",\n lock_sale_observations: \"\",\n percentage_iva_buy: \"\",\n percentage_tax_consumer_buy: \"\",\n percentage_iva_sale: \"\",\n percentage_tax_consumer_sale: \"\",\n balance_units: \"\",\n balance_value: \"\",\n average_cost: \"\",\n start_date_inventory: \"\",\n modify_description_buy: \"\",\n modify_price_buy: \"\",\n observation_buy: \"\",\n presentation_packaging_buy: \"\",\n presentation_quantity_buy: \"\",\n presentation_unit_buy: \"\",\n presentation_assembled_buy: \"\",\n minimum_quantity_buy: \"\",\n local_buy: 0,\n calculate_price_buy: \"\",\n automatic_reposition: \"\",\n contact_id: \"\",\n point_of_sale_deployment: 0,\n amazon_deployment: 0,\n free_market_deployment: \"\",\n modify_description_sale: \"\",\n modify_price_sale: \"\",\n observation_sale: \"\",\n allow_invoices_sales_zeros: \"\",\n presentation_packaging_sale: \"\",\n presentation_quantity_sale: \"\",\n presentation_unit_sale: \"\",\n presentation_assembled_sale: \"\",\n minimum_quantity_sale: \"\",\n commision_percentage: \"\",\n profit_margin_percentage: \"\",\n entry_third_party: \"\",\n controlled_sale: 0,\n product_of_continuous_use: \"\",\n quantity_available: \"\",\n long_description: \"\",\n erp_id: \"\",\n cost_center: \"\",\n old_product_code: \"\",\n reduction_management: 0,\n high_risk: 0,\n channel_b2c: 0,\n channel_b2b: 0,\n products_technnical_data: {\n link_manufacturer_one: \"\",\n link_manufacturer_two: \"\",\n weight: \"\",\n volume: \"\",\n size: \"\",\n color: \"\",\n year_model: \"\",\n series: \"\",\n link_data_sheet: \"\",\n data_sheet: 0,\n products_technical_datacol: \"\",\n link_video: \"\",\n generic: 0,\n used: \"\",\n invima_registry: \"\",\n expiration_date_invima: \"\",\n width: \"\",\n profile: \"\",\n rin: \"\",\n load_index: \"\",\n velocity_index: \"\",\n utqg: \"\",\n runflat: \"\",\n lt: \"\",\n code_cum: \"\",\n code_secretary_of_health: \"\",\n aplication_unit: \"\",\n number_aplications: \"\",\n pharmacological_indication_code: \"\",\n concentration: \"\",\n pharmaceutical_form: \"\",\n form_unit: \"\",\n number_of_doses: \"\",\n ium_cod: \"\",\n exclude_sales_report: null\n },\n products_attachments: {\n url: \"\"\n }\n };\n};\n\nexport default {\n providers: [],\n products: [],\n lines: [],\n sublines: [],\n brands: [],\n subbrands: [],\n groups: [],\n contacts: [],\n categories: [],\n subcategories: [],\n productType: [],\n size: [],\n color: [],\n rotationType: [],\n applicationUnit: [],\n codes: [],\n productEdit: null,\n showData: false,\n showCreateNewProduct: false,\n selectedProduct: defaultSelectedProduct(),\n products_attachments: [],\n error: false,\n errorMessage: \"\",\n action: \"create\",\n params: {\n paginate: false,\n product: \"\",\n branchoffice_warehouse_id: \"\",\n branchoffice: null,\n filter: \"\",\n electronic_bill: 1,\n page: 1,\n perPage: 15,\n manager_wms: 0,\n },\n line_param: {\n line: \"\"\n },\n search_params: {\n branch: \"\"\n },\n errorFileImport: \"\",\n loadFileImport: false,\n data_sheets: [],\n // By: Kevin Galindo\n tableProduct\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/protractor-guide/state.js","import moment from 'moment';\n\nexport const request_guarantee = () => {\n\n let branch_office_id = localStorage.getItem('selected_branchoffice')\n let branch_offices_warehouses = JSON.parse(localStorage.getItem('branchoffices_warehouses'));\n\n let branch_office_warehouse = null\n\n if (branch_offices_warehouses) {\n branch_office_warehouse = branch_offices_warehouses\n .find(bw => +bw.branchoffice_id === +branch_office_id && bw.warehouse_code === '09')\n }\n\n return {\n id: null,\n branch_office_id: branch_office_id,\n branch_office_warehouse_id: branch_office_warehouse ? branch_office_warehouse.id : localStorage.getItem('selected_branchoffice_warehouse'),\n branch_office_exit_id: branch_office_id,\n branch_office_warehouse_exit_id: localStorage.getItem('selected_branchoffice_warehouse'),\n voucher_type_id: null,\n consecutive: null,\n contact_id: null,\n contact_warehouse_id: null,\n type_id: null,\n reason_id: null,\n invoice_id: null,\n return_id: null,\n option_id: null,\n model_id: null,\n approval_status_id: null,\n request_guarantee_attachments: [],\n request_guarantee_states: [],\n request_guarantee_state: {},\n observation: '',\n images_product: [],\n images_product_loaded: [],\n other_images: [],\n other_images_loaded: [],\n images_guide: [],\n images_guide_loaded: [],\n attachments_deleted: [],\n invoice: {},\n return: {}\n };\n};\n\nexport default {\n branch_offices: [],\n branch_offices_warehouses: [],\n requests_guarantees: {\n data: []\n },\n documents: [],\n request_guarantee: request_guarantee(),\n action: 'Crear',\n step: 1,\n step_available: 1,\n sending: false,\n modal: {\n show: false\n },\n modal_pdf: {\n pdf: '',\n show: false\n },\n model: {},\n document: {},\n editing: false,\n preloader: false,\n filters: {\n page: 1,\n per_page: 10,\n paginate: true,\n contact_warehouse_id: null,\n dates: [\n moment().add('month', -2).add('days', 1).format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ]\n },\n request_types: [],\n devolution_reasons: [],\n guarantee_reasons: [],\n approval_states: [],\n approval_reasons: [],\n documents_by_thread: [],\n options: [],\n models: [],\n steps: [\n {\n step: 1,\n code: 'PGS2',\n text: 'Solicitar',\n icon: 'fa-bell',\n view_codes: ['RTGM01', 'RTGM02']\n },\n {\n step: 2,\n code: 'PGS3',\n text: 'Recibido en bodega',\n icon: 'fa-archive',\n view_codes: ['RTGM01', 'RTGM02']\n },\n {\n step: 3,\n code: 'PGS4',\n text: 'Evaluación',\n icon: 'fa-check-circle-o',\n view_codes: ['RTGM02']\n },\n {\n step: 4,\n code: 'PGS5',\n text: 'Nota crédito',\n icon: 'fa-file-text',\n view_codes: ['RTGM01']\n },\n {\n step: 5,\n code: 'PGS6',\n text: 'NC / Reponer',\n icon: 'fa-file-text',\n view_codes: ['RTGM02']\n }\n ]\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/guarantees/state.js","export function setStateProducts(state, products) {\n if (state.params.branchoffice_warehouse_id) {\n products.map(p => {\n if (p.inventory.length) {\n if (+p.inventory[0].branchoffice_warehouse_id !== +state.params.branchoffice_warehouse_id) {\n let inventory_0 = JSON.parse(JSON.stringify(p.inventory[0]));\n\n let index = p.inventory.findIndex(i => +i.branchoffice_warehouse_id === +state.params.branchoffice_warehouse_id);\n\n if (index >= 0) {\n p.inventory[0] = p.inventory[index];\n p.inventory[index] = inventory_0;\n }\n }\n }\n });\n }\n\n state.products = products;\n}\n\nexport function setbranchoffice_warehouse(state, data) {\n state.params.branchoffice_warehouse_id = data.branchoffice_warehouse;\n state.params.branchoffice_id = data.branchoffice;\n}\n\nexport function setDestinationBranchOfficeWarehouse(state, data) {\n state.params.destination_branchoffice_warehouse_id = data.destination_branchoffice_warehouse_id;\n state.params.destination_branchoffice_id = data.destination_branchoffice_id;\n}\n\n\nexport function setAvailability(state, availability) {\n state.availability = availability;\n}\nexport function setavAilability_totals(state, availability_totals) {\n state.availability_totals = availability_totals;\n}\nexport function setStateProductspagination(state, productspagination) {\n state.productspagination = productspagination;\n}\nexport function setJustify_availability(state, justify_availability) {\n state.justify_availability = justify_availability;\n}\nexport function setbranchoffice_warehouse_id(state, warehouse_id) {\n state.params.branchoffice_warehouse_id = warehouse_id;\n}\n\nexport function setWarehouseId(state, warehouse_id) {\n state.params.warehouse_id = warehouse_id;\n}\nexport function setTitleBranchoffice(state, data) {\n state.titleBranchoffice = data[0].branchoffice;\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\nexport function setContactDefault(state, contact) {\n if (contact){\n let default_contact = {\n \"id\": contact.id,\n \"identification\": contact.identification,\n \"name\": contact.name,\n \"surname\": contact.surname,\n \"full_name_with_identification\": contact.full_name_with_identification,\n \"full_name\": contact.full_name\n }\n state.contacts.push(default_contact);\n state.params_history_products.contact_id = contact.id;\n state.params.contact_id = contact.id;\n }\n\n}\nexport function setHistoryReportProductsContact(state, data){\n console.log(data)\n state.history_products = data ?data.data: [];\n}\nexport function setHistoryReportProductsParams(state, data){\n state.params_history_products.contact_id = data.contact_id;\n state.params_history_products.product_id = data.product_id;\n}\n\nexport function setBranchofficeWarehouse(state, data) {\n state.branchoffice_warehouse = data\n}\n\n/**\n * Establecer un valor para la variable branch_offices_warehouses.\n */\nexport function setBranchOfficesWarehouses(state, branch_offices_warehouses) {\n state.branch_offices_warehouses = branch_offices_warehouses;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/availability-inquiry/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n// export async function fetchContacts({ commit, state, rootState }) {\n// let params = {\n// params: state.params_contacts\n// };\n\n// await $http\n// .get(\"/api/terceros\", params)\n// .then(response => {\n// commit(\"setContacts\", response.data.data);\n// })\n// .catch(error => {\n// Notification.error({\n// title: \"Error!\",\n// message: error.message,\n// type: \"error\",\n// duration: 1500,\n// customClass: \"notification-box\"\n// });\n// });\n// }\n\nexport async function fetchLines({ commit, state }) {\n await $http\n .get(\"/api/lista-lineas\")\n .then(response => {\n commit(\"setLines\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchBrands({ commit, state }) {\n await $http\n .get(\"/api/lista-marcas\")\n .then(response => {\n commit(\"setBrands\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function createDiscount({ commit, state }, params) {\n await $http\n .post(\"/api/descuentos-por-cliente-marca\", params)\n .then(response => {\n commit(\"setDiscount\", response.data.data);\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha registrado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"fetchDiscounts\");\n\n}\n\nexport async function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"fetchDiscounts\");\n}\n\n\nexport async function fetchDiscounts({state,commit}){\n state.params.search = state.params && state.params.search ? state.params.search.toUpperCase() : '';\n await $http.get('/api/descuentos-por-cliente-marca',{params:state.params}).then(response=>{\n commit('setDiscounts',response.data.data);\n }).catch(error=>{\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n}\n\nexport async function fetchDiscount({ commit, state }, id) {\n await $http\n .get(`/api/descuentos-por-cliente-marca/${id}`)\n .then(response => {\n commit(\"setDiscount\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateDiscount({ commit, state }, params) {\n await $http\n .put(`/api/descuentos-por-cliente-marca/${params.id}`, params)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha actualizado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteDiscount({ commit, state }, id) {\n await $http\n .delete(\"/api/descuentos-por-cliente-marca/\" + id)\n .then(response => {\n Notification.success({\n title: \"Hecho!\",\n message: \"Se ha Eliminado correctamente\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// export async function fetchParameters({ commit }, id) {\n// await $http\n// .get(`/api/parametros?paramtable_id=5`)\n// .then(response => {\n// commit(\"setContacts\", response.data.data);\n// })\n// .catch(error => {\n// Notification.error({\n// title: \"Error!\",\n// message: error.message,\n// type: \"error\",\n// duration: 2000,\n// customClass: \"notification-box\"\n// });\n// });\n// }\n\nexport async function getContacts({ commit }, filter) {\n await $http\n .get(\"/api/terceros\", { params: { filter } })\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function uploadDiscounts({state}) {\n let formData = new FormData();\n formData.append('file', state.file);\n state.loading.module = true ;\n $http.post(`/api/descuentos-por-cliente-marca/importar`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(function(){\n state.loading.module = false ;\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n state.loading.module = false ;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getReport({ state }) {\n await $http({\n url: '/api/descargar-descuentos-por-cliente-marca',\n params: {search:state.params.search.toUpperCase()},\n method: 'GET',\n responseType: \"blob\",\n }).\n then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n let date=Date();\n link.setAttribute(\"download\", `INFORME-DESCEUNTOS-CLIENTE-MARCA-${date.toString()}.xlsx`);\n document.body.appendChild(link);\n link.click();\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/customerDiscountBrand/actions.js","import $http from '../../axios';\nimport {Notification} from 'element-ui';\nimport {getApiDomain, getDomain} from \"../../util/domains\";\n\nexport async function downloadTemplate({}) {\n var data = [\"SEDE\", \"BODEGA\", \"UBICACION\", \"CODIGO\", \"codigo anterior\", \"DESCRIPCION\",\"SALDO UNDS\", \"COSTO UNITARIO\",\"SALDO VALORES\"];\n\n var csv = \"\";\n data.map((v, i) => {\n csv += `${v};`;\n });\n csv = csv.substring(0, csv.length - 1)\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(csv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = \"saldos_iniciales.csv\";\n hiddenElement.click();\n}\nexport async function fetchBranchOfficesWarehouses({state,commit}) {\n commit('setPreloader', true);\n await $http.get('/api/branchs-ware-by-id/'+state.params.branchoffice_id)\n .then((response) => {\n commit('setBranchofficesWarehouses', response.data.data);\n commit('setPreloader', false);\n })\n .catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n });\n}\nexport async function fetchValidates_file({state,commit}) {\n let formData = new FormData();\n commit('setPreloader', true);\n formData.append('branchoffice_id', state.params.branchoffice_id);\n formData.append('validated', state.params.validated);\n formData.append('branchoffice_warehouse_id', state.params.branchoffice_warehouse_id);\n formData.append('file', state.params.file);\n\n $http.post(`/api/incorporar-saldos-iniciales-inventario`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then((response) => {\n\n commit('setPreloader', false);\n if (state.params.validated) {\n Notification.success({\n title: \"Success!\",\n message: response.data,\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n commit('reset_state');\n }\n else{\n commit('setValidationdata', response.data);\n if (!response.data.success) {\n window.open(getApiDomain() + response.data.url_report_error, '_blank');\n Notification.error({\n title: \"Error!\",\n message: 'El excel tiene informacion de otra sede /bodega y/o contiene productos inexistentes, por favor valida el excel con los errores encontrados',\n type: \"error\",\n duration: 10000,\n customClass: \"notification-box\"\n });\n } else {\n Notification.success({\n title: \"Success!\",\n message: 'Validación Finalizada exitosamente',\n type: \"success\",\n duration: 4000,\n customClass: \"notification-box\"\n });\n }\n }\n\n }).catch(error => {\n commit('setPreloader', false);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/incorporate_inventory_initial_balance/actions.js","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962H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SJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/leaflet/dist/images/marker-icon.png\n// module id = TJ5S\n// module chunks = 271","const subscriber = JSON.parse(localStorage.getItem('subscriber'));\n\nconst tableProduct = () => {\n return {\n loading: false,\n data: [],\n fields: [\n {\n name: 'Codigo',\n field: 'code',\n width: 100\n },\n {\n field: 'description',\n name: 'Descripcion',\n width: 550\n },\n {\n field: 'brand.description',\n name: 'Marca',\n width: 100\n },\n {\n field: 'line.line_description',\n name: 'Linea',\n width: 150\n },\n {\n field: 'subline.subline_description',\n name: 'SubLinea',\n width: 150\n },\n {\n field: 'stock',\n name: 'Exist',\n width: 150\n },\n {\n field: 'available',\n name: 'Dispon',\n width: 150,\n visible: !subscriber || !subscriber.company_type_parameter || subscriber.company_type_parameter.code_parameter !== '03'\n },\n {\n field: 'state',\n name: 'Estado',\n width: 150\n },\n {\n field: 'update_wsm_tag',\n name: 'Estado WMS',\n width: 100,\n visible: !!subscriber && !!subscriber.wms_json_auth && !!subscriber.wms_json_auth.url\n },\n {\n field: 'actions',\n name: 'Opciones',\n width: 200\n }\n ],\n errors: {\n has: false,\n message: '',\n code: 0,\n data: []\n },\n pagination: [],\n options: {\n perPage: 100,\n search: '',\n currentPage: 1,\n page: 1,\n filter_lines: [],\n filter_sublines: [],\n electronic_bill: 1,\n filter_brands: [],\n filter_subbrands: [],\n states: [1],\n only_combos: 0,\n branch_office_id: null,\n branch_office_warehouse_id: null,\n update_wsm: false,\n }\n }\n};\n\nconst params = () => {\n return {\n category_id: '',\n paginate: false,\n product: '',\n branchoffice_warehouse_id: '',\n branchoffice: null,\n filter: '',\n electronic_bill: 1,\n page: 1,\n perPage: 15,\n manager_wms: !!subscriber && !!subscriber.manager_wms ? subscriber.manager_wms : 0,\n }\n}\n\nexport const defaultSelectedProduct = () => {\n return {\n manage_inventory: true,\n manage_expire_date: false,\n combo: false,\n buy_block: false,\n inevitable: false,\n provider: '',\n code: '',\n barcode: '',\n description: '',\n line_id: '',\n subline_id: '',\n brand_id: '',\n subbrand_id: '',\n category_id: '',\n b2c_description: '',\n owner: '',\n maker: '',\n update_wsm_tag: '',\n subcategory_id: '',\n subcategory_id_1: '',\n url_producer: '',\n inventory_management: '',\n purchase: '',\n sale: '',\n kit: '',\n state: 1,\n condition: '',\n has_lot: 0,\n has_serial: 0,\n type: '',\n high_price: 0,\n products_risk_id: '',\n rotation_type: '',\n cooled: 0,\n reusable: '',\n production_formula: '',\n tariff_position: '',\n export_product: '',\n conformity_certificate: '',\n exp_date_certified: '',\n pos: 0,\n lock_buy: '',\n lock_buy_observations: '',\n lock_sale: '',\n lock_sale_observations: '',\n percentage_iva_buy: null,\n percentage_tax_consumer_buy: '',\n percentage_iva_sale: null,\n percentage_tax_consumer_sale: '',\n balance_units: '',\n balance_value: '',\n average_cost: '',\n start_date_inventory: '',\n modify_description_buy: '',\n modify_price_buy: '',\n observation_buy: '',\n presentation_packaging_buy: '',\n presentation_quantity_buy: '',\n presentation_unit_buy: '',\n presentation_assembled_buy: '',\n minimum_quantity_buy: '',\n local_buy: 0,\n calculate_price_buy: '',\n automatic_reposition: '',\n contact_id: '',\n point_of_sale_deployment: 0,\n amazon_deployment: 0,\n free_market_deployment: '',\n modify_description_sale: '',\n modify_price: false,\n modify_price_sale: '',\n observation_sale: '',\n allow_invoices_sales_zeros: '',\n presentation_packaging_sale: '',\n presentation_quantity_sale: '',\n presentation_unit_sale: '',\n presentation_assembled_sale: '',\n minimum_quantity_sale: '',\n commision_percentage: '',\n profit_margin_percentage: '',\n entry_third_party: '',\n controlled_sale: 0,\n product_of_continuous_use: '',\n quantity_available: '',\n long_description: '',\n erp_id: '',\n cost_center: '',\n old_product_code: '',\n reduction_management: 0,\n high_risk: 0,\n channel_b2c: 0,\n channel_b2b: 0,\n block_buy: 0,\n block_sale: 0,\n products_technnical_data: {\n link_manufacturer_one: '',\n link_manufacturer_two: '',\n weight: '',\n volume: '',\n size: '',\n color: '',\n year_model: '',\n series: '',\n link_data_sheet: '',\n data_sheet: 0,\n products_technical_datacol: '',\n link_video: '',\n generic: 0,\n used: '',\n invima_registry: '',\n expiration_date_invima: '',\n width: '',\n profile: '',\n rin: '',\n load_index: '',\n velocity_index: '',\n utqg: '',\n runflat: '',\n lt: '',\n code_cum: '',\n code_secretary_of_health: '',\n aplication_unit: '',\n number_aplications: '',\n pharmacological_indication_code: '',\n concentration: '',\n pharmaceutical_form: '',\n form_unit: '',\n number_of_doses: '',\n ium_cod: '',\n exclude_sales_report: null\n },\n products_attachments: {\n url: ''\n },\n products_combo: [],\n discount_percentage: 0,\n informative_discount_percentage: 0,\n product_type_id: null,\n generic_product_id: null,\n maximum_discount_percentage: null,\n inventory:null,\n supplyer_code:'',\n detailed_description: '',\n manage_lot:false,\n sale_type: '',\n percentage_consumption_tax: null,\n value_consumption_tax: null,\n previous_code_system: '',\n short_description: '',\n rotation_classification: '',\n packing_unit: null,\n id: null,\n ultra_processed_tax_percentage: 0,\n };\n};\n\nconst loadImages = {\n loader: '',\n totalCuantity: 0,\n loadedQuantity: 0,\n processedQuantity: 0,\n images: [],\n errors: {\n has: false,\n message: [],\n data: []\n }\n}\n\nexport const product_combo = () => {\n return {\n product_id: null,\n quantity: null\n }\n}\n\nexport default {\n parameters_status: [],\n providers: [],\n products: [],\n lines: [],\n rotationclassification: [],\n sublines: [],\n brands: [],\n subbrands: [],\n groups: [],\n contacts: [],\n categories: [],\n subcategories: [],\n productType: [],\n size: [],\n color: [],\n rotationType: [],\n applicationUnit: [],\n codes: [],\n productEdit: null,\n showData: false,\n showCreateNewProduct: false,\n selectedProduct: defaultSelectedProduct(),\n price_lists: [],\n price: {\n price_list_id: null,\n price: 0,\n product_id: null\n },\n types: [],\n generic_products: [],\n selectedClassification: [],\n products_attachments: [],\n error: false,\n errorMessage: '',\n action: 'create',\n params: params(),\n line_param: {\n line: ''\n },\n search_params: {\n branch: ''\n },\n errorFileImport: '',\n loadFileImport: false,\n data_sheets: [],\n // By: Kevin Galindo\n tableProduct: tableProduct(),\n packing_units: [],\n loadImages,\n preloader: false,\n products_combo: [],\n product_combo: product_combo(),\n modal_combos: {\n show: false\n },\n branchsWare:[],\n inventory: {\n branchoffice_warehouse_id : Number(localStorage.getItem(\"selected_branchoffice_warehouse\")),\n product_id :null,\n minimum_stock :'',\n maximum_stock :'',\n location :'',\n },\n parameter_rotation_classification: [],\n data_sheets_from_b2b : false,\n subscriber : null,\n auditProduct: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products/state.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\n\n\nexport async function setPerPagePagination({ commit, dispatch }, perPage) {\n commit(\"setPerPage\", parseInt(perPage.target.value));\n dispatch(\"getPaymentMethods\");\n\n }\n\n export async function setPagePagination({ commit, dispatch }, page) {\n commit(\"setPage\", parseInt(page));\n dispatch(\"getPaymentMethods\");\n }\n\n export async function getPaymentMethods({state,commit}){\n await $http.get('/api/payment-methods',{params:state.params}).then(response=>{\n\n commit('setPaymentMethods',response.data.data);\n }).catch(error=>{})\n }\n\n export async function createPaymentMethod({state,commit}){\n $http.post('/api/payment-methods',state.selectedPaymentMethods).then(response=>{\n Notification.success({\n title: \"Exito!\",\n message: \"La Forma de Pago Ha Sido Creada Correctamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n })\n }\n\n\n export async function getPaymentMethodById( {commit}, id) {\n await $http.get(`/api/payment-methods/${id}`).then(response=>{\n commit('setSelectedPaymentMethods',response.data.data);\n if (response.data.data.entity){\n commit('setContacts', [response.data.data.entity])\n }\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n }\n\n export async function updatePaymentmethod({state}){\n $http.put(`/api/payment-methods/${state.selectedPaymentMethods.id}`, state.selectedPaymentMethods).then(resposnse=>{\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Actualizado Correctamente la Forma de Pago',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n\n }\n\n export async function deletePaymentMethodById({},id) {\n await $http.delete(`/api/payment-methods/${id}`).then(response=>{\n Notification.success({\n title: \"Exito!\",\n message: 'Se ha Eliminado Correctamente la Forma de Pago',\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n }).catch(error=>{\n Notification.error({\n title: \"error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n }\n\nexport async function fetchAccounts ({ commit, state }, id) {\n if (!state.accounts.length) {\n await $http.get(`/api/cuentas-lite`)\n .then((response) => {\n commit('setAccounts', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n}\nexport async function fetchContacts ({ commit, state }, query) {\n\n if (query.length < 3) return;\n\n let params = { query }\n\n await $http.get('/api/terceros-lite', { params })\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n\n })\n}\n\n/**\n * Servicioi para traer los parametros de la tabla FF04\n * @author Brayan Ramirez\n */\nexport async function fetchDianCodes({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/FE04\")\n .then(response => {\n commit(\"setDianCodes\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payment-methods/actions.js","export const defaultFormProduct = () => {\n return {\n contact_id: null,\n shipment_date : null,\n due_date: null,\n product_id: null,\n lot: null,\n observation: null,\n quantity: null\n }\n}\nexport default {\n reservationProducts: [],\n reservationProduct: null,\n loading: false,\n error: null,\n contacts: [],\n products: [],\n form: defaultFormProduct(),\n productspagination: {\n from: null,\n to: null,\n total: null\n },\n params: {\n paginate: false,\n filter: \"\",\n page: 1,\n perPage: 15,\n },\n params_request: {\n product: null\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reservationProduct/state.js","import {getApiDomain} from \"../../util/domains\";\nimport {fetchCashRegisters} from \"./actions\";\n\nexport function resetParamsGeneratePdf(state) {\n state.paramsGeneratePdf = {\n dateFrom: \"\",\n timeFrom: \"\",\n dateTo: \"\",\n timeTo: \"\",\n branchoffice_id: \"\",\n note: \"\"\n };\n\n setInitialValuesDates(state);\n}\n\nexport function resetFileNamePdfCashRegisterSquare(state) {\n state.fileNamePdfCashRegisterSquare = \"\";\n state.fileNamePdfCashRegisterSquareEmail = \"\";\n}\n\nexport function setFileNamePdfCashRegisterSquare(state, value) {\n state.fileNamePdfCashRegisterSquare = getApiDomain() + \"/storage/\" + value;\n state.fileNamePdfCashRegisterSquareEmail = \"/\" + value;\n}\n\nexport function setShowPdfCashRegisterSquare(state, value) {\n state.showPdfCashRegisterSquare = value;\n}\n\nexport function setItemsHistoryTable(state, data) {\n state.itemsHistoryTable = data;\n}\n\nexport function setCashRegisters(state, data){\n state.cash_registers = data;\n}\n\nexport function setItemHistoryTableSelected(state, data) {\n state.itemHistoryTableSelected = data;\n}\n\nexport function setLoadingPdf(state, value) {\n state.loadingPdf = value;\n}\nexport function setLoading(state, value) {\n state.loading.module = value;\n}\n\nexport function setViewSquareCashRegister(state, data) {\n\n let dateFrom = data.dateFrom.split(\" \");\n let dateTo = data.dateTo.split(\" \");\n\n state.paramsGeneratePdf = {\n dateFrom: dateFrom[0],\n timeFrom: dateFrom[1],\n dateTo: dateTo[0],\n timeTo: dateTo[1],\n branchoffice_id: data.branchoffice_id,\n note: data.note\n };\n}\n\nexport function setInitialValuesDates(state) {\n var dt = new Date();\n // Dia\n state.paramsGeneratePdf.dateFrom = dt.toISOString().substring(0, 10);\n state.paramsGeneratePdf.dateTo = dt.toISOString().substring(0, 10);\n\n // Hora\n state.paramsGeneratePdf.timeFrom = \"00:00:00\";\n state.paramsGeneratePdf.timeTo = \"23:59:59\";\n\n // Fecha Tabla\n dt.setDate(dt.getDate() - 60);\n state.paramsHistoryTable.dateFrom = dt.toISOString().substring(0, 10);\n\n state.paramsGeneratePdf.branchoffice_id = parseInt(\n localStorage.selected_branchoffice\n );\n state.paramsGeneratePdf.branch_office_warehouse_id = parseInt(\n localStorage.selected_branchoffice_warehouse\n );\n}\n\nexport function setPaymentMethods(state, paymentMethods){\n state.paymentMethods = paymentMethods;\n}\nexport function setBranchOfficeWarehouses(state, data){\n state.listBranchOfficesWarehouses = data;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-register-square/mutations.js","import $http from \"../../axios\";\nimport {\n Notification,\n MessageBox\n} from 'element-ui';\nimport moment from \"moment\";\nimport {getApiDomain} from \"../../util/domains\";\n\n//Obtener las sedes\nexport async function fetchBranchOffices({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\n\n//cuentas para select Desde\nexport async function fetchAccountsFrom(\n { commit, state },\n requestParameters = { params: state.params_accounts_from }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsFrom\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//cuentas para select Hasta\nexport async function fetchAccountsUp(\n { commit, state },\n requestParameters = { params: state.params_accounts_up }\n) {\n await $http\n .get(\"/api/cuentas\", requestParameters)\n .then(response => {\n commit(\"setAccountsUp\", response.data.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function fetchContactWarehouses(\n { commit, state },\n requestParameters = { params: state.params_contact_warehouse }\n) {\n await $http\n .get(\"/api/sucursales\", requestParameters)\n .then(response => {\n commit(\"setContactWarehouses\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\n//Obtener los terceros\nexport async function fetchContacts({commit, state}, query) {\n\n if (query.length < 3) return;\n\n let params = { query }\n\n await $http.get('/api/terceros-lite', { params })\n .then((response) => {\n commit('setContacts', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n commit('contactError', error.message)\n })\n}\n\n// obtener los tipos de comprobante\nexport async function fetchVouchertype({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.paramsVoucherType})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n// obtener Data libro Contable\nexport async function fetchAuxiliaryBook({commit, state,dispatch}) {\n state.loading_report = true;\n state.params.download = null;\n\n await $http.get('/api/libro-auxiliar', { params : state.params})\n .then((response) => {\n if (response.data.limit_rows){\n Notification.warning({\n title: 'Warning!',\n message: 'La información supera los 50 mil registros, el Reprote completo se Descargara ' +\n 'Automaticamente en formato Excel',\n type: 'error',\n duration: 10000,\n customClass: 'notification-box',\n });\n state.loading_report = false;\n commit(\"setauxiliary_book\",[])\n dispatch(\"fetchAuxiliaryBookExcel\");\n /* commit(\"setRequiredFields\",true)*/\n\n }else{\n /* commit(\"setRequiredFields\",false)*/\n commit(\"setauxiliary_book\",response.data.data)\n state.loading_report = false;\n state.params.download = null;\n }\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'Error',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchAuxiliaryBookExcel({commit, state}) {\n state.params.download = true;\n state.loading.module = true;\n\n await $http({\n url: `/api/libro-auxiliar`,\n method: 'GET',\n params: state.params,\n }).then(response => {\n state.loading = false;\n state.params.download = null;\n const url = response.data.path\n const link = document.createElement('a');\n link.href = getApiDomain()+url;\n let date= new Date();\n link.setAttribute('download', `Libro-Auxiliar-${moment(date).format(\"YYYY-MM-DD hh-mm-ss\")}.xlsx`); //or any other extension\n document.body.appendChild(link);\n link.click();\n\n }).catch((error) => {\n state.loading = false;\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n}\nexport async function fetchData({ commit,state }, params_ag) {\n state.params.page = params_ag.page\n state.params.filter_model = params_ag.filter_model\n try {\n // Realiza la llamada al API utilizando Axios\n const response = await $http.get('/api/libro-auxiliar', {\n params: state.params\n });\n return response.data.data;\n } catch (error) {\n // Si ocurre un error, lanza una excepción para que el componente pueda manejarlo\n throw new Error('Error al cargar datos desde el API:', error);\n }\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auxiliary-book/actions.js","\n/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n/* eslint-disable space-unary-ops */\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n\n//const Z_FILTERED = 1;\n//const Z_HUFFMAN_ONLY = 2;\n//const Z_RLE = 3;\nconst Z_FIXED$1 = 4;\n//const Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\nconst Z_BINARY = 0;\nconst Z_TEXT = 1;\n//const Z_ASCII = 1; // = Z_TEXT\nconst Z_UNKNOWN$1 = 2;\n\n/*============================================================================*/\n\n\nfunction zero$1(buf) { let len = buf.length; while (--len >= 0) { buf[len] = 0; } }\n\n// From zutil.h\n\nconst STORED_BLOCK = 0;\nconst STATIC_TREES = 1;\nconst DYN_TREES = 2;\n/* The three kinds of block type */\n\nconst MIN_MATCH$1 = 3;\nconst MAX_MATCH$1 = 258;\n/* The minimum and maximum match lengths */\n\n// From deflate.h\n/* ===========================================================================\n * Internal compression state.\n */\n\nconst LENGTH_CODES$1 = 29;\n/* number of length codes, not counting the special END_BLOCK code */\n\nconst LITERALS$1 = 256;\n/* number of literal bytes 0..255 */\n\nconst L_CODES$1 = LITERALS$1 + 1 + LENGTH_CODES$1;\n/* number of Literal or Length codes, including the END_BLOCK code */\n\nconst D_CODES$1 = 30;\n/* number of distance codes */\n\nconst BL_CODES$1 = 19;\n/* number of codes used to transfer the bit lengths */\n\nconst HEAP_SIZE$1 = 2 * L_CODES$1 + 1;\n/* maximum heap size */\n\nconst MAX_BITS$1 = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nconst Buf_size = 16;\n/* size of bit buffer in bi_buf */\n\n\n/* ===========================================================================\n * Constants\n */\n\nconst MAX_BL_BITS = 7;\n/* Bit length codes must not exceed MAX_BL_BITS bits */\n\nconst END_BLOCK = 256;\n/* end of block literal code */\n\nconst REP_3_6 = 16;\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\n\nconst REPZ_3_10 = 17;\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\n\nconst REPZ_11_138 = 18;\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\n\n/* eslint-disable comma-spacing,array-bracket-spacing */\nconst extra_lbits = /* extra bits for each length code */\n new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);\n\nconst extra_dbits = /* extra bits for each distance code */\n new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);\n\nconst extra_blbits = /* extra bits for each bit length code */\n new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);\n\nconst bl_order =\n new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);\n/* eslint-enable comma-spacing,array-bracket-spacing */\n\n/* The lengths of the bit length codes are sent in order of decreasing\n * probability, to avoid transmitting the lengths for unused bit length codes.\n */\n\n/* ===========================================================================\n * Local data. These are initialized only once.\n */\n\n// We pre-fill arrays with 0 to avoid uninitialized gaps\n\nconst DIST_CODE_LEN = 512; /* see definition of array dist_code below */\n\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\nconst static_ltree = new Array((L_CODES$1 + 2) * 2);\nzero$1(static_ltree);\n/* The static literal tree. Since the bit lengths are imposed, there is no\n * need for the L_CODES extra codes used during heap construction. However\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\n * below).\n */\n\nconst static_dtree = new Array(D_CODES$1 * 2);\nzero$1(static_dtree);\n/* The static distance tree. (Actually a trivial tree since all codes use\n * 5 bits.)\n */\n\nconst _dist_code = new Array(DIST_CODE_LEN);\nzero$1(_dist_code);\n/* Distance codes. The first 256 values correspond to the distances\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\n * the 15 bit distances.\n */\n\nconst _length_code = new Array(MAX_MATCH$1 - MIN_MATCH$1 + 1);\nzero$1(_length_code);\n/* length code for each normalized match length (0 == MIN_MATCH) */\n\nconst base_length = new Array(LENGTH_CODES$1);\nzero$1(base_length);\n/* First normalized length for each code (0 = MIN_MATCH) */\n\nconst base_dist = new Array(D_CODES$1);\nzero$1(base_dist);\n/* First normalized distance for each code (0 = distance of 1) */\n\n\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\n\n this.static_tree = static_tree; /* static tree or NULL */\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\n this.extra_base = extra_base; /* base index for extra_bits */\n this.elems = elems; /* max number of elements in the tree */\n this.max_length = max_length; /* max bit length for the codes */\n\n // show if `static_tree` has data or dummy - needed for monomorphic objects\n this.has_stree = static_tree && static_tree.length;\n}\n\n\nlet static_l_desc;\nlet static_d_desc;\nlet static_bl_desc;\n\n\nfunction TreeDesc(dyn_tree, stat_desc) {\n this.dyn_tree = dyn_tree; /* the dynamic tree */\n this.max_code = 0; /* largest code with non zero frequency */\n this.stat_desc = stat_desc; /* the corresponding static tree */\n}\n\n\n\nconst d_code = (dist) => {\n\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\n};\n\n\n/* ===========================================================================\n * Output a short LSB first on the stream.\n * IN assertion: there is enough room in pendingBuf.\n */\nconst put_short = (s, w) => {\n// put_byte(s, (uch)((w) & 0xff));\n// put_byte(s, (uch)((ush)(w) >> 8));\n s.pending_buf[s.pending++] = (w) & 0xff;\n s.pending_buf[s.pending++] = (w >>> 8) & 0xff;\n};\n\n\n/* ===========================================================================\n * Send a value on a given number of bits.\n * IN assertion: length <= 16 and value fits in length bits.\n */\nconst send_bits = (s, value, length) => {\n\n if (s.bi_valid > (Buf_size - length)) {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n put_short(s, s.bi_buf);\n s.bi_buf = value >> (Buf_size - s.bi_valid);\n s.bi_valid += length - Buf_size;\n } else {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n s.bi_valid += length;\n }\n};\n\n\nconst send_code = (s, c, tree) => {\n\n send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);\n};\n\n\n/* ===========================================================================\n * Reverse the first len bits of a code, using straightforward code (a faster\n * method would use a table)\n * IN assertion: 1 <= len <= 15\n */\nconst bi_reverse = (code, len) => {\n\n let res = 0;\n do {\n res |= code & 1;\n code >>>= 1;\n res <<= 1;\n } while (--len > 0);\n return res >>> 1;\n};\n\n\n/* ===========================================================================\n * Flush the bit buffer, keeping at most 7 bits in it.\n */\nconst bi_flush = (s) => {\n\n if (s.bi_valid === 16) {\n put_short(s, s.bi_buf);\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n } else if (s.bi_valid >= 8) {\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\n s.bi_buf >>= 8;\n s.bi_valid -= 8;\n }\n};\n\n\n/* ===========================================================================\n * Compute the optimal bit lengths for a tree and update the total bit length\n * for the current block.\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\n * above are the tree nodes sorted by increasing frequency.\n * OUT assertions: the field len is set to the optimal bit length, the\n * array bl_count contains the frequencies for each bit length.\n * The length opt_len is updated; static_len is also updated if stree is\n * not null.\n */\nconst gen_bitlen = (s, desc) => {\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n\n const tree = desc.dyn_tree;\n const max_code = desc.max_code;\n const stree = desc.stat_desc.static_tree;\n const has_stree = desc.stat_desc.has_stree;\n const extra = desc.stat_desc.extra_bits;\n const base = desc.stat_desc.extra_base;\n const max_length = desc.stat_desc.max_length;\n let h; /* heap index */\n let n, m; /* iterate over the tree elements */\n let bits; /* bit length */\n let xbits; /* extra bits */\n let f; /* frequency */\n let overflow = 0; /* number of elements with bit length too large */\n\n for (bits = 0; bits <= MAX_BITS$1; bits++) {\n s.bl_count[bits] = 0;\n }\n\n /* In a first pass, compute the optimal bit lengths (which may\n * overflow in the case of the bit length tree).\n */\n tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */\n\n for (h = s.heap_max + 1; h < HEAP_SIZE$1; h++) {\n n = s.heap[h];\n bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;\n if (bits > max_length) {\n bits = max_length;\n overflow++;\n }\n tree[n * 2 + 1]/*.Len*/ = bits;\n /* We overwrite tree[n].Dad which is no longer needed */\n\n if (n > max_code) { continue; } /* not a leaf node */\n\n s.bl_count[bits]++;\n xbits = 0;\n if (n >= base) {\n xbits = extra[n - base];\n }\n f = tree[n * 2]/*.Freq*/;\n s.opt_len += f * (bits + xbits);\n if (has_stree) {\n s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);\n }\n }\n if (overflow === 0) { return; }\n\n // Tracev((stderr,\"\\nbit length overflow\\n\"));\n /* This happens for example on obj2 and pic of the Calgary corpus */\n\n /* Find the first bit length which could increase: */\n do {\n bits = max_length - 1;\n while (s.bl_count[bits] === 0) { bits--; }\n s.bl_count[bits]--; /* move one leaf down the tree */\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\n s.bl_count[max_length]--;\n /* The brother of the overflow item also moves one step up,\n * but this does not affect bl_count[max_length]\n */\n overflow -= 2;\n } while (overflow > 0);\n\n /* Now recompute all bit lengths, scanning in increasing frequency.\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\n * lengths instead of fixing only the wrong ones. This idea is taken\n * from 'ar' written by Haruhiko Okumura.)\n */\n for (bits = max_length; bits !== 0; bits--) {\n n = s.bl_count[bits];\n while (n !== 0) {\n m = s.heap[--h];\n if (m > max_code) { continue; }\n if (tree[m * 2 + 1]/*.Len*/ !== bits) {\n // Tracev((stderr,\"code %d bits %d->%d\\n\", m, tree[m].Len, bits));\n s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;\n tree[m * 2 + 1]/*.Len*/ = bits;\n }\n n--;\n }\n }\n};\n\n\n/* ===========================================================================\n * Generate the codes for a given tree and bit counts (which need not be\n * optimal).\n * IN assertion: the array bl_count contains the bit length statistics for\n * the given tree and the field len is set for all tree elements.\n * OUT assertion: the field code is set for all tree elements of non\n * zero code length.\n */\nconst gen_codes = (tree, max_code, bl_count) => {\n// ct_data *tree; /* the tree to decorate */\n// int max_code; /* largest code with non zero frequency */\n// ushf *bl_count; /* number of codes at each bit length */\n\n const next_code = new Array(MAX_BITS$1 + 1); /* next code value for each bit length */\n let code = 0; /* running code value */\n let bits; /* bit index */\n let n; /* code index */\n\n /* The distribution counts are first used to generate the code values\n * without bit reversal.\n */\n for (bits = 1; bits <= MAX_BITS$1; bits++) {\n code = (code + bl_count[bits - 1]) << 1;\n next_code[bits] = code;\n }\n /* Check that the bit counts in bl_count are consistent. The last code\n * must be all ones.\n */\n //Assert (code + bl_count[MAX_BITS]-1 == (1< {\n\n let n; /* iterates over tree elements */\n let bits; /* bit counter */\n let length; /* length value */\n let code; /* code value */\n let dist; /* distance index */\n const bl_count = new Array(MAX_BITS$1 + 1);\n /* number of codes at each bit length for an optimal tree */\n\n // do check in _tr_init()\n //if (static_init_done) return;\n\n /* For some embedded targets, global variables are not initialized: */\n/*#ifdef NO_INIT_GLOBAL_POINTERS\n static_l_desc.static_tree = static_ltree;\n static_l_desc.extra_bits = extra_lbits;\n static_d_desc.static_tree = static_dtree;\n static_d_desc.extra_bits = extra_dbits;\n static_bl_desc.extra_bits = extra_blbits;\n#endif*/\n\n /* Initialize the mapping length (0..255) -> length code (0..28) */\n length = 0;\n for (code = 0; code < LENGTH_CODES$1 - 1; code++) {\n base_length[code] = length;\n for (n = 0; n < (1 << extra_lbits[code]); n++) {\n _length_code[length++] = code;\n }\n }\n //Assert (length == 256, \"tr_static_init: length != 256\");\n /* Note that the length 255 (match length 258) can be represented\n * in two different ways: code 284 + 5 bits or code 285, so we\n * overwrite length_code[255] to use the best encoding:\n */\n _length_code[length - 1] = code;\n\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\n dist = 0;\n for (code = 0; code < 16; code++) {\n base_dist[code] = dist;\n for (n = 0; n < (1 << extra_dbits[code]); n++) {\n _dist_code[dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: dist != 256\");\n dist >>= 7; /* from now on, all distances are divided by 128 */\n for (; code < D_CODES$1; code++) {\n base_dist[code] = dist << 7;\n for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {\n _dist_code[256 + dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: 256+dist != 512\");\n\n /* Construct the codes of the static literal tree */\n for (bits = 0; bits <= MAX_BITS$1; bits++) {\n bl_count[bits] = 0;\n }\n\n n = 0;\n while (n <= 143) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n while (n <= 255) {\n static_ltree[n * 2 + 1]/*.Len*/ = 9;\n n++;\n bl_count[9]++;\n }\n while (n <= 279) {\n static_ltree[n * 2 + 1]/*.Len*/ = 7;\n n++;\n bl_count[7]++;\n }\n while (n <= 287) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n /* Codes 286 and 287 do not exist, but we must include them in the\n * tree construction to get a canonical Huffman tree (longest code\n * all ones)\n */\n gen_codes(static_ltree, L_CODES$1 + 1, bl_count);\n\n /* The static distance tree is trivial: */\n for (n = 0; n < D_CODES$1; n++) {\n static_dtree[n * 2 + 1]/*.Len*/ = 5;\n static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);\n }\n\n // Now data ready and we can init static trees\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS$1 + 1, L_CODES$1, MAX_BITS$1);\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES$1, MAX_BITS$1);\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES$1, MAX_BL_BITS);\n\n //static_init_done = true;\n};\n\n\n/* ===========================================================================\n * Initialize a new block.\n */\nconst init_block = (s) => {\n\n let n; /* iterates over tree elements */\n\n /* Initialize the trees. */\n for (n = 0; n < L_CODES$1; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < D_CODES$1; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < BL_CODES$1; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }\n\n s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;\n s.opt_len = s.static_len = 0;\n s.sym_next = s.matches = 0;\n};\n\n\n/* ===========================================================================\n * Flush the bit buffer and align the output on a byte boundary\n */\nconst bi_windup = (s) =>\n{\n if (s.bi_valid > 8) {\n put_short(s, s.bi_buf);\n } else if (s.bi_valid > 0) {\n //put_byte(s, (Byte)s->bi_buf);\n s.pending_buf[s.pending++] = s.bi_buf;\n }\n s.bi_buf = 0;\n s.bi_valid = 0;\n};\n\n/* ===========================================================================\n * Compares to subtrees, using the tree depth as tie breaker when\n * the subtrees have equal frequency. This minimizes the worst case length.\n */\nconst smaller = (tree, n, m, depth) => {\n\n const _n2 = n * 2;\n const _m2 = m * 2;\n return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||\n (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));\n};\n\n/* ===========================================================================\n * Restore the heap property by moving down the tree starting at node k,\n * exchanging a node with the smallest of its two sons if necessary, stopping\n * when the heap property is re-established (each father smaller than its\n * two sons).\n */\nconst pqdownheap = (s, tree, k) => {\n// deflate_state *s;\n// ct_data *tree; /* the tree to restore */\n// int k; /* node to move down */\n\n const v = s.heap[k];\n let j = k << 1; /* left son of k */\n while (j <= s.heap_len) {\n /* Set j to the smallest of the two sons: */\n if (j < s.heap_len &&\n smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\n j++;\n }\n /* Exit if v is smaller than both sons */\n if (smaller(tree, v, s.heap[j], s.depth)) { break; }\n\n /* Exchange v with the smallest son */\n s.heap[k] = s.heap[j];\n k = j;\n\n /* And continue down the tree, setting j to the left son of k */\n j <<= 1;\n }\n s.heap[k] = v;\n};\n\n\n// inlined manually\n// const SMALLEST = 1;\n\n/* ===========================================================================\n * Send the block data compressed using the given Huffman trees\n */\nconst compress_block = (s, ltree, dtree) => {\n// deflate_state *s;\n// const ct_data *ltree; /* literal tree */\n// const ct_data *dtree; /* distance tree */\n\n let dist; /* distance of matched string */\n let lc; /* match length or unmatched char (if dist == 0) */\n let sx = 0; /* running index in sym_buf */\n let code; /* the code to send */\n let extra; /* number of extra bits to send */\n\n if (s.sym_next !== 0) {\n do {\n dist = s.pending_buf[s.sym_buf + sx++] & 0xff;\n dist += (s.pending_buf[s.sym_buf + sx++] & 0xff) << 8;\n lc = s.pending_buf[s.sym_buf + sx++];\n if (dist === 0) {\n send_code(s, lc, ltree); /* send a literal byte */\n //Tracecv(isgraph(lc), (stderr,\" '%c' \", lc));\n } else {\n /* Here, lc is the match length - MIN_MATCH */\n code = _length_code[lc];\n send_code(s, code + LITERALS$1 + 1, ltree); /* send the length code */\n extra = extra_lbits[code];\n if (extra !== 0) {\n lc -= base_length[code];\n send_bits(s, lc, extra); /* send the extra length bits */\n }\n dist--; /* dist is now the match distance - 1 */\n code = d_code(dist);\n //Assert (code < D_CODES, \"bad d_code\");\n\n send_code(s, code, dtree); /* send the distance code */\n extra = extra_dbits[code];\n if (extra !== 0) {\n dist -= base_dist[code];\n send_bits(s, dist, extra); /* send the extra distance bits */\n }\n } /* literal or match pair ? */\n\n /* Check that the overlay between pending_buf and sym_buf is ok: */\n //Assert(s->pending < s->lit_bufsize + sx, \"pendingBuf overflow\");\n\n } while (sx < s.sym_next);\n }\n\n send_code(s, END_BLOCK, ltree);\n};\n\n\n/* ===========================================================================\n * Construct one Huffman tree and assigns the code bit strings and lengths.\n * Update the total bit length for the current block.\n * IN assertion: the field freq is set for all tree elements.\n * OUT assertions: the fields len and code are set to the optimal bit length\n * and corresponding code. The length opt_len is updated; static_len is\n * also updated if stree is not null. The field max_code is set.\n */\nconst build_tree = (s, desc) => {\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n\n const tree = desc.dyn_tree;\n const stree = desc.stat_desc.static_tree;\n const has_stree = desc.stat_desc.has_stree;\n const elems = desc.stat_desc.elems;\n let n, m; /* iterate over heap elements */\n let max_code = -1; /* largest code with non zero frequency */\n let node; /* new node being created */\n\n /* Construct the initial heap, with least frequent element in\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\n * heap[0] is not used.\n */\n s.heap_len = 0;\n s.heap_max = HEAP_SIZE$1;\n\n for (n = 0; n < elems; n++) {\n if (tree[n * 2]/*.Freq*/ !== 0) {\n s.heap[++s.heap_len] = max_code = n;\n s.depth[n] = 0;\n\n } else {\n tree[n * 2 + 1]/*.Len*/ = 0;\n }\n }\n\n /* The pkzip format requires that at least one distance code exists,\n * and that at least one bit should be sent even if there is only one\n * possible code. So to avoid special checks later on we force at least\n * two codes of non zero frequency.\n */\n while (s.heap_len < 2) {\n node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);\n tree[node * 2]/*.Freq*/ = 1;\n s.depth[node] = 0;\n s.opt_len--;\n\n if (has_stree) {\n s.static_len -= stree[node * 2 + 1]/*.Len*/;\n }\n /* node is 0 or 1 so it does not have extra bits */\n }\n desc.max_code = max_code;\n\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\n * establish sub-heaps of increasing lengths:\n */\n for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }\n\n /* Construct the Huffman tree by repeatedly combining the least two\n * frequent nodes.\n */\n node = elems; /* next internal node of the tree */\n do {\n //pqremove(s, tree, n); /* n = node of least frequency */\n /*** pqremove ***/\n n = s.heap[1/*SMALLEST*/];\n s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];\n pqdownheap(s, tree, 1/*SMALLEST*/);\n /***/\n\n m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */\n\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\n s.heap[--s.heap_max] = m;\n\n /* Create a new node father of n and m */\n tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\n tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;\n\n /* and insert the new node in the heap */\n s.heap[1/*SMALLEST*/] = node++;\n pqdownheap(s, tree, 1/*SMALLEST*/);\n\n } while (s.heap_len >= 2);\n\n s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];\n\n /* At this point, the fields freq and dad are set. We can now\n * generate the bit lengths.\n */\n gen_bitlen(s, desc);\n\n /* The field len is now set, we can generate the bit codes */\n gen_codes(tree, max_code, s.bl_count);\n};\n\n\n/* ===========================================================================\n * Scan a literal or distance tree to determine the frequencies of the codes\n * in the bit length tree.\n */\nconst scan_tree = (s, tree, max_code) => {\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n\n let n; /* iterates over all tree elements */\n let prevlen = -1; /* last emitted length */\n let curlen; /* length of current code */\n\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n let count = 0; /* repeat count of the current code */\n let max_count = 7; /* max repeat count */\n let min_count = 4; /* min repeat count */\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n s.bl_tree[curlen * 2]/*.Freq*/ += count;\n\n } else if (curlen !== 0) {\n\n if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }\n s.bl_tree[REP_3_6 * 2]/*.Freq*/++;\n\n } else if (count <= 10) {\n s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;\n\n } else {\n s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;\n }\n\n count = 0;\n prevlen = curlen;\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n};\n\n\n/* ===========================================================================\n * Send a literal or distance tree in compressed form, using the codes in\n * bl_tree.\n */\nconst send_tree = (s, tree, max_code) => {\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n\n let n; /* iterates over all tree elements */\n let prevlen = -1; /* last emitted length */\n let curlen; /* length of current code */\n\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n let count = 0; /* repeat count of the current code */\n let max_count = 7; /* max repeat count */\n let min_count = 4; /* min repeat count */\n\n /* tree[max_code+1].Len = -1; */ /* guard already set */\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);\n\n } else if (curlen !== 0) {\n if (curlen !== prevlen) {\n send_code(s, curlen, s.bl_tree);\n count--;\n }\n //Assert(count >= 3 && count <= 6, \" 3_6?\");\n send_code(s, REP_3_6, s.bl_tree);\n send_bits(s, count - 3, 2);\n\n } else if (count <= 10) {\n send_code(s, REPZ_3_10, s.bl_tree);\n send_bits(s, count - 3, 3);\n\n } else {\n send_code(s, REPZ_11_138, s.bl_tree);\n send_bits(s, count - 11, 7);\n }\n\n count = 0;\n prevlen = curlen;\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n};\n\n\n/* ===========================================================================\n * Construct the Huffman tree for the bit lengths and return the index in\n * bl_order of the last bit length code to send.\n */\nconst build_bl_tree = (s) => {\n\n let max_blindex; /* index of last bit length code of non zero freq */\n\n /* Determine the bit length frequencies for literal and distance trees */\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\n\n /* Build the bit length tree: */\n build_tree(s, s.bl_desc);\n /* opt_len now includes the length of the tree representations, except\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\n */\n\n /* Determine the number of bit length codes to send. The pkzip format\n * requires that at least 4 bit length codes be sent. (appnote.txt says\n * 3 but the actual value used is 4.)\n */\n for (max_blindex = BL_CODES$1 - 1; max_blindex >= 3; max_blindex--) {\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {\n break;\n }\n }\n /* Update opt_len to include the bit length tree and counts */\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\n //Tracev((stderr, \"\\ndyn trees: dyn %ld, stat %ld\",\n // s->opt_len, s->static_len));\n\n return max_blindex;\n};\n\n\n/* ===========================================================================\n * Send the header for a block using dynamic Huffman trees: the counts, the\n * lengths of the bit length codes, the literal tree and the distance tree.\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\n */\nconst send_all_trees = (s, lcodes, dcodes, blcodes) => {\n// deflate_state *s;\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\n\n let rank; /* index in bl_order */\n\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \"not enough codes\");\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\n // \"too many codes\");\n //Tracev((stderr, \"\\nbl counts: \"));\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\n send_bits(s, dcodes - 1, 5);\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\n for (rank = 0; rank < blcodes; rank++) {\n //Tracev((stderr, \"\\nbl code %2d \", bl_order[rank]));\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);\n }\n //Tracev((stderr, \"\\nbl tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\n //Tracev((stderr, \"\\nlit tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\n //Tracev((stderr, \"\\ndist tree: sent %ld\", s->bits_sent));\n};\n\n\n/* ===========================================================================\n * Check if the data type is TEXT or BINARY, using the following algorithm:\n * - TEXT if the two conditions below are satisfied:\n * a) There are no non-portable control characters belonging to the\n * \"block list\" (0..6, 14..25, 28..31).\n * b) There is at least one printable character belonging to the\n * \"allow list\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\n * - BINARY otherwise.\n * - The following partially-portable control characters form a\n * \"gray list\" that is ignored in this detection algorithm:\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\n * IN assertion: the fields Freq of dyn_ltree are set.\n */\nconst detect_data_type = (s) => {\n /* block_mask is the bit mask of block-listed bytes\n * set bits 0..6, 14..25, and 28..31\n * 0xf3ffc07f = binary 11110011111111111100000001111111\n */\n let block_mask = 0xf3ffc07f;\n let n;\n\n /* Check for non-textual (\"block-listed\") bytes. */\n for (n = 0; n <= 31; n++, block_mask >>>= 1) {\n if ((block_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {\n return Z_BINARY;\n }\n }\n\n /* Check for textual (\"allow-listed\") bytes. */\n if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||\n s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n for (n = 32; n < LITERALS$1; n++) {\n if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n }\n\n /* There are no \"block-listed\" or \"allow-listed\" bytes:\n * this stream either is empty or has tolerated (\"gray-listed\") bytes only.\n */\n return Z_BINARY;\n};\n\n\nlet static_init_done = false;\n\n/* ===========================================================================\n * Initialize the tree data structures for a new zlib stream.\n */\nconst _tr_init$1 = (s) =>\n{\n\n if (!static_init_done) {\n tr_static_init();\n static_init_done = true;\n }\n\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\n\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n /* Initialize the first block of the first file: */\n init_block(s);\n};\n\n\n/* ===========================================================================\n * Send a stored block\n */\nconst _tr_stored_block$1 = (s, buf, stored_len, last) => {\n//DeflateState *s;\n//charf *buf; /* input block */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\n bi_windup(s); /* align on byte boundary */\n put_short(s, stored_len);\n put_short(s, ~stored_len);\n if (stored_len) {\n s.pending_buf.set(s.window.subarray(buf, buf + stored_len), s.pending);\n }\n s.pending += stored_len;\n};\n\n\n/* ===========================================================================\n * Send one empty static block to give enough lookahead for inflate.\n * This takes 10 bits, of which 7 may remain in the bit buffer.\n */\nconst _tr_align$1 = (s) => {\n send_bits(s, STATIC_TREES << 1, 3);\n send_code(s, END_BLOCK, static_ltree);\n bi_flush(s);\n};\n\n\n/* ===========================================================================\n * Determine the best encoding for the current block: dynamic trees, static\n * trees or store, and write out the encoded block.\n */\nconst _tr_flush_block$1 = (s, buf, stored_len, last) => {\n//DeflateState *s;\n//charf *buf; /* input block, or NULL if too old */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n\n let opt_lenb, static_lenb; /* opt_len and static_len in bytes */\n let max_blindex = 0; /* index of last bit length code of non zero freq */\n\n /* Build the Huffman trees unless a stored block is forced */\n if (s.level > 0) {\n\n /* Check if the file is binary or text */\n if (s.strm.data_type === Z_UNKNOWN$1) {\n s.strm.data_type = detect_data_type(s);\n }\n\n /* Construct the literal and distance trees */\n build_tree(s, s.l_desc);\n // Tracev((stderr, \"\\nlit data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n\n build_tree(s, s.d_desc);\n // Tracev((stderr, \"\\ndist data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n /* At this point, opt_len and static_len are the total bit lengths of\n * the compressed block data, excluding the tree representations.\n */\n\n /* Build the bit length tree for the above two trees, and get the index\n * in bl_order of the last bit length code to send.\n */\n max_blindex = build_bl_tree(s);\n\n /* Determine the best encoding. Compute the block lengths in bytes. */\n opt_lenb = (s.opt_len + 3 + 7) >>> 3;\n static_lenb = (s.static_len + 3 + 7) >>> 3;\n\n // Tracev((stderr, \"\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \",\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\n // s->sym_next / 3));\n\n if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }\n\n } else {\n // Assert(buf != (char*)0, \"lost buf\");\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\n }\n\n if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {\n /* 4: two words for the lengths */\n\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\n * Otherwise we can't have processed more than WSIZE input bytes since\n * the last block flush, because compression would have been\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\n * transform a block into a stored block.\n */\n _tr_stored_block$1(s, buf, stored_len, last);\n\n } else if (s.strategy === Z_FIXED$1 || static_lenb === opt_lenb) {\n\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\n compress_block(s, static_ltree, static_dtree);\n\n } else {\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\n }\n // Assert (s->compressed_len == s->bits_sent, \"bad compressed size\");\n /* The above check is made mod 2^32, for files larger than 512 MB\n * and uLong implemented on 32 bits.\n */\n init_block(s);\n\n if (last) {\n bi_windup(s);\n }\n // Tracev((stderr,\"\\ncomprlen %lu(%lu) \", s->compressed_len>>3,\n // s->compressed_len-7*last));\n};\n\n/* ===========================================================================\n * Save the match info and tally the frequency counts. Return true if\n * the current block must be flushed.\n */\nconst _tr_tally$1 = (s, dist, lc) => {\n// deflate_state *s;\n// unsigned dist; /* distance of matched string */\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\n\n s.pending_buf[s.sym_buf + s.sym_next++] = dist;\n s.pending_buf[s.sym_buf + s.sym_next++] = dist >> 8;\n s.pending_buf[s.sym_buf + s.sym_next++] = lc;\n if (dist === 0) {\n /* lc is the unmatched char */\n s.dyn_ltree[lc * 2]/*.Freq*/++;\n } else {\n s.matches++;\n /* Here, lc is the match length - MIN_MATCH */\n dist--; /* dist = match distance - 1 */\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\n // (ush)d_code(dist) < (ush)D_CODES, \"_tr_tally: bad match\");\n\n s.dyn_ltree[(_length_code[lc] + LITERALS$1 + 1) * 2]/*.Freq*/++;\n s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;\n }\n\n return (s.sym_next === s.sym_end);\n};\n\nvar _tr_init_1 = _tr_init$1;\nvar _tr_stored_block_1 = _tr_stored_block$1;\nvar _tr_flush_block_1 = _tr_flush_block$1;\nvar _tr_tally_1 = _tr_tally$1;\nvar _tr_align_1 = _tr_align$1;\n\nvar trees = {\n\t_tr_init: _tr_init_1,\n\t_tr_stored_block: _tr_stored_block_1,\n\t_tr_flush_block: _tr_flush_block_1,\n\t_tr_tally: _tr_tally_1,\n\t_tr_align: _tr_align_1\n};\n\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\n// It isn't worth it to make additional optimizations as in original.\n// Small size is preferable.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst adler32 = (adler, buf, len, pos) => {\n let s1 = (adler & 0xffff) |0,\n s2 = ((adler >>> 16) & 0xffff) |0,\n n = 0;\n\n while (len !== 0) {\n // Set limit ~ twice less than 5552, to keep\n // s2 in 31-bits, because we force signed ints.\n // in other case %= will fail.\n n = len > 2000 ? 2000 : len;\n len -= n;\n\n do {\n s1 = (s1 + buf[pos++]) |0;\n s2 = (s2 + s1) |0;\n } while (--n);\n\n s1 %= 65521;\n s2 %= 65521;\n }\n\n return (s1 | (s2 << 16)) |0;\n};\n\n\nvar adler32_1 = adler32;\n\n// Note: we can't get significant speed boost here.\n// So write code to minimize size - no pregenerated tables\n// and array tools dependencies.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// Use ordinary array, since untyped makes no boost here\nconst makeTable = () => {\n let c, table = [];\n\n for (var n = 0; n < 256; n++) {\n c = n;\n for (var k = 0; k < 8; k++) {\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\n }\n table[n] = c;\n }\n\n return table;\n};\n\n// Create table on load. Just 255 signed longs. Not a problem.\nconst crcTable = new Uint32Array(makeTable());\n\n\nconst crc32 = (crc, buf, len, pos) => {\n const t = crcTable;\n const end = pos + len;\n\n crc ^= -1;\n\n for (let i = pos; i < end; i++) {\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\n }\n\n return (crc ^ (-1)); // >>> 0;\n};\n\n\nvar crc32_1 = crc32;\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar messages = {\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\n 1: 'stream end', /* Z_STREAM_END 1 */\n 0: '', /* Z_OK 0 */\n '-1': 'file error', /* Z_ERRNO (-1) */\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar constants$2 = {\n\n /* Allowed flush values; see deflate() and inflate() below for details */\n Z_NO_FLUSH: 0,\n Z_PARTIAL_FLUSH: 1,\n Z_SYNC_FLUSH: 2,\n Z_FULL_FLUSH: 3,\n Z_FINISH: 4,\n Z_BLOCK: 5,\n Z_TREES: 6,\n\n /* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\n Z_OK: 0,\n Z_STREAM_END: 1,\n Z_NEED_DICT: 2,\n Z_ERRNO: -1,\n Z_STREAM_ERROR: -2,\n Z_DATA_ERROR: -3,\n Z_MEM_ERROR: -4,\n Z_BUF_ERROR: -5,\n //Z_VERSION_ERROR: -6,\n\n /* compression levels */\n Z_NO_COMPRESSION: 0,\n Z_BEST_SPEED: 1,\n Z_BEST_COMPRESSION: 9,\n Z_DEFAULT_COMPRESSION: -1,\n\n\n Z_FILTERED: 1,\n Z_HUFFMAN_ONLY: 2,\n Z_RLE: 3,\n Z_FIXED: 4,\n Z_DEFAULT_STRATEGY: 0,\n\n /* Possible values of the data_type field (though see inflate()) */\n Z_BINARY: 0,\n Z_TEXT: 1,\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\n Z_UNKNOWN: 2,\n\n /* The deflate compression method */\n Z_DEFLATED: 8\n //Z_NULL: null // Use -1 or null inline, depending on var type\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = trees;\n\n\n\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH: Z_NO_FLUSH$2, Z_PARTIAL_FLUSH, Z_FULL_FLUSH: Z_FULL_FLUSH$1, Z_FINISH: Z_FINISH$3, Z_BLOCK: Z_BLOCK$1,\n Z_OK: Z_OK$3, Z_STREAM_END: Z_STREAM_END$3, Z_STREAM_ERROR: Z_STREAM_ERROR$2, Z_DATA_ERROR: Z_DATA_ERROR$2, Z_BUF_ERROR: Z_BUF_ERROR$1,\n Z_DEFAULT_COMPRESSION: Z_DEFAULT_COMPRESSION$1,\n Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY: Z_DEFAULT_STRATEGY$1,\n Z_UNKNOWN,\n Z_DEFLATED: Z_DEFLATED$2\n} = constants$2;\n\n/*============================================================================*/\n\n\nconst MAX_MEM_LEVEL = 9;\n/* Maximum value for memLevel in deflateInit2 */\nconst MAX_WBITS$1 = 15;\n/* 32K LZ77 window */\nconst DEF_MEM_LEVEL = 8;\n\n\nconst LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\nconst LITERALS = 256;\n/* number of literal bytes 0..255 */\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\nconst D_CODES = 30;\n/* number of distance codes */\nconst BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\nconst HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\nconst MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nconst MIN_MATCH = 3;\nconst MAX_MATCH = 258;\nconst MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);\n\nconst PRESET_DICT = 0x20;\n\nconst INIT_STATE = 42; /* zlib header -> BUSY_STATE */\n//#ifdef GZIP\nconst GZIP_STATE = 57; /* gzip header -> BUSY_STATE | EXTRA_STATE */\n//#endif\nconst EXTRA_STATE = 69; /* gzip extra block -> NAME_STATE */\nconst NAME_STATE = 73; /* gzip file name -> COMMENT_STATE */\nconst COMMENT_STATE = 91; /* gzip comment -> HCRC_STATE */\nconst HCRC_STATE = 103; /* gzip header CRC -> BUSY_STATE */\nconst BUSY_STATE = 113; /* deflate -> FINISH_STATE */\nconst FINISH_STATE = 666; /* stream complete */\n\nconst BS_NEED_MORE = 1; /* block not completed, need more input or more output */\nconst BS_BLOCK_DONE = 2; /* block flush performed */\nconst BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\nconst BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\n\nconst OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\n\nconst err = (strm, errorCode) => {\n strm.msg = messages[errorCode];\n return errorCode;\n};\n\nconst rank = (f) => {\n return ((f) * 2) - ((f) > 4 ? 9 : 0);\n};\n\nconst zero = (buf) => {\n let len = buf.length; while (--len >= 0) { buf[len] = 0; }\n};\n\n/* ===========================================================================\n * Slide the hash table when sliding the window down (could be avoided with 32\n * bit values at the expense of memory usage). We slide even when level == 0 to\n * keep the hash table consistent if we switch back to level > 0 later.\n */\nconst slide_hash = (s) => {\n let n, m;\n let p;\n let wsize = s.w_size;\n\n n = s.hash_size;\n p = n;\n do {\n m = s.head[--p];\n s.head[p] = (m >= wsize ? m - wsize : 0);\n } while (--n);\n n = wsize;\n//#ifndef FASTEST\n p = n;\n do {\n m = s.prev[--p];\n s.prev[p] = (m >= wsize ? m - wsize : 0);\n /* If n is not on any hash chain, prev[n] is garbage but\n * its value will never be used.\n */\n } while (--n);\n//#endif\n};\n\n/* eslint-disable new-cap */\nlet HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask;\n// This hash causes less collisions, https://github.com/nodeca/pako/issues/135\n// But breaks binary compatibility\n//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask;\nlet HASH = HASH_ZLIB;\n\n\n/* =========================================================================\n * Flush as much pending output as possible. All deflate() output, except for\n * some deflate_stored() output, goes through this function so some\n * applications may wish to modify it to avoid allocating a large\n * strm->next_out buffer and copying into it. (See also read_buf()).\n */\nconst flush_pending = (strm) => {\n const s = strm.state;\n\n //_tr_flush_bits(s);\n let len = s.pending;\n if (len > strm.avail_out) {\n len = strm.avail_out;\n }\n if (len === 0) { return; }\n\n strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);\n strm.next_out += len;\n s.pending_out += len;\n strm.total_out += len;\n strm.avail_out -= len;\n s.pending -= len;\n if (s.pending === 0) {\n s.pending_out = 0;\n }\n};\n\n\nconst flush_block_only = (s, last) => {\n _tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);\n s.block_start = s.strstart;\n flush_pending(s.strm);\n};\n\n\nconst put_byte = (s, b) => {\n s.pending_buf[s.pending++] = b;\n};\n\n\n/* =========================================================================\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\n * IN assertion: the stream state is correct and there is enough room in\n * pending_buf.\n */\nconst putShortMSB = (s, b) => {\n\n // put_byte(s, (Byte)(b >> 8));\n// put_byte(s, (Byte)(b & 0xff));\n s.pending_buf[s.pending++] = (b >>> 8) & 0xff;\n s.pending_buf[s.pending++] = b & 0xff;\n};\n\n\n/* ===========================================================================\n * Read a new buffer from the current input stream, update the adler32\n * and total number of bytes read. All deflate() input goes through\n * this function so some applications may wish to modify it to avoid\n * allocating a large strm->input buffer and copying from it.\n * (See also flush_pending()).\n */\nconst read_buf = (strm, buf, start, size) => {\n\n let len = strm.avail_in;\n\n if (len > size) { len = size; }\n if (len === 0) { return 0; }\n\n strm.avail_in -= len;\n\n // zmemcpy(buf, strm->next_in, len);\n buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);\n if (strm.state.wrap === 1) {\n strm.adler = adler32_1(strm.adler, buf, len, start);\n }\n\n else if (strm.state.wrap === 2) {\n strm.adler = crc32_1(strm.adler, buf, len, start);\n }\n\n strm.next_in += len;\n strm.total_in += len;\n\n return len;\n};\n\n\n/* ===========================================================================\n * Set match_start to the longest match starting at the given string and\n * return its length. Matches shorter or equal to prev_length are discarded,\n * in which case the result is equal to prev_length and match_start is\n * garbage.\n * IN assertions: cur_match is the head of the hash chain for the current\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\n * OUT assertion: the match length is not greater than s->lookahead.\n */\nconst longest_match = (s, cur_match) => {\n\n let chain_length = s.max_chain_length; /* max hash chain length */\n let scan = s.strstart; /* current string */\n let match; /* matched string */\n let len; /* length of current match */\n let best_len = s.prev_length; /* best match length so far */\n let nice_match = s.nice_match; /* stop if match long enough */\n const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?\n s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;\n\n const _win = s.window; // shortcut\n\n const wmask = s.w_mask;\n const prev = s.prev;\n\n /* Stop when cur_match becomes <= limit. To simplify the code,\n * we prevent matches with the string of window index 0.\n */\n\n const strend = s.strstart + MAX_MATCH;\n let scan_end1 = _win[scan + best_len - 1];\n let scan_end = _win[scan + best_len];\n\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\n * It is easy to get rid of this optimization if necessary.\n */\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \"Code too clever\");\n\n /* Do not waste too much time if we already have a good match: */\n if (s.prev_length >= s.good_match) {\n chain_length >>= 2;\n }\n /* Do not look for matches beyond the end of the input. This is necessary\n * to make deflate deterministic.\n */\n if (nice_match > s.lookahead) { nice_match = s.lookahead; }\n\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \"need lookahead\");\n\n do {\n // Assert(cur_match < s->strstart, \"no future\");\n match = cur_match;\n\n /* Skip to next match if the match length cannot increase\n * or if the match length is less than 2. Note that the checks below\n * for insufficient lookahead only occur occasionally for performance\n * reasons. Therefore uninitialized memory will be accessed, and\n * conditional jumps will be made that depend on those values.\n * However the length of the match is limited to the lookahead, so\n * the output of deflate is not affected by the uninitialized values.\n */\n\n if (_win[match + best_len] !== scan_end ||\n _win[match + best_len - 1] !== scan_end1 ||\n _win[match] !== _win[scan] ||\n _win[++match] !== _win[scan + 1]) {\n continue;\n }\n\n /* The check at best_len-1 can be removed because it will be made\n * again later. (This heuristic is not always a win.)\n * It is not necessary to compare scan[2] and match[2] since they\n * are always equal when the other bytes match, given that\n * the hash keys are equal and that HASH_BITS >= 8.\n */\n scan += 2;\n match++;\n // Assert(*scan == *match, \"match[2]?\");\n\n /* We check for insufficient lookahead only every 8th comparison;\n * the 256th check will be made at strstart+258.\n */\n do {\n /*jshint noempty:false*/\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n scan < strend);\n\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \"wild scan\");\n\n len = MAX_MATCH - (strend - scan);\n scan = strend - MAX_MATCH;\n\n if (len > best_len) {\n s.match_start = cur_match;\n best_len = len;\n if (len >= nice_match) {\n break;\n }\n scan_end1 = _win[scan + best_len - 1];\n scan_end = _win[scan + best_len];\n }\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\n\n if (best_len <= s.lookahead) {\n return best_len;\n }\n return s.lookahead;\n};\n\n\n/* ===========================================================================\n * Fill the window when the lookahead becomes insufficient.\n * Updates strstart and lookahead.\n *\n * IN assertion: lookahead < MIN_LOOKAHEAD\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\n * At least one byte has been read, or avail_in == 0; reads are\n * performed for at least two bytes (required for the zip translate_eol\n * option -- not supported here).\n */\nconst fill_window = (s) => {\n\n const _w_size = s.w_size;\n let n, more, str;\n\n //Assert(s->lookahead < MIN_LOOKAHEAD, \"already enough lookahead\");\n\n do {\n more = s.window_size - s.lookahead - s.strstart;\n\n // JS ints have 32 bit, block below not needed\n /* Deal with !@#$% 64K limit: */\n //if (sizeof(int) <= 2) {\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\n // more = wsize;\n //\n // } else if (more == (unsigned)(-1)) {\n // /* Very unlikely, but possible on 16 bit machine if\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\n // */\n // more--;\n // }\n //}\n\n\n /* If the window is almost full and there is insufficient lookahead,\n * move the upper half to the lower one to make room in the upper half.\n */\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\n\n s.window.set(s.window.subarray(_w_size, _w_size + _w_size - more), 0);\n s.match_start -= _w_size;\n s.strstart -= _w_size;\n /* we now have strstart >= MAX_DIST */\n s.block_start -= _w_size;\n if (s.insert > s.strstart) {\n s.insert = s.strstart;\n }\n slide_hash(s);\n more += _w_size;\n }\n if (s.strm.avail_in === 0) {\n break;\n }\n\n /* If there was no sliding:\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\n * more == window_size - lookahead - strstart\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\n * => more >= window_size - 2*WSIZE + 2\n * In the BIG_MEM or MMAP case (not yet supported),\n * window_size == input_size + MIN_LOOKAHEAD &&\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\n * Otherwise, window_size == 2*WSIZE so more >= 2.\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\n */\n //Assert(more >= 2, \"more < 2\");\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\n s.lookahead += n;\n\n /* Initialize the hash value now that we have some input: */\n if (s.lookahead + s.insert >= MIN_MATCH) {\n str = s.strstart - s.insert;\n s.ins_h = s.window[str];\n\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);\n//#if MIN_MATCH != 3\n// Call update_hash() MIN_MATCH-3 more times\n//#endif\n while (s.insert) {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = str;\n str++;\n s.insert--;\n if (s.lookahead + s.insert < MIN_MATCH) {\n break;\n }\n }\n }\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\n * but this is not important since only literal bytes will be emitted.\n */\n\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\n\n /* If the WIN_INIT bytes after the end of the current data have never been\n * written, then zero those bytes in order to avoid memory check reports of\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\n * the longest match routines. Update the high water mark for the next\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\n */\n// if (s.high_water < s.window_size) {\n// const curr = s.strstart + s.lookahead;\n// let init = 0;\n//\n// if (s.high_water < curr) {\n// /* Previous high water mark below current data -- zero WIN_INIT\n// * bytes or up to end of window, whichever is less.\n// */\n// init = s.window_size - curr;\n// if (init > WIN_INIT)\n// init = WIN_INIT;\n// zmemzero(s->window + curr, (unsigned)init);\n// s->high_water = curr + init;\n// }\n// else if (s->high_water < (ulg)curr + WIN_INIT) {\n// /* High water mark at or above current data, but below current data\n// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\n// * to end of window, whichever is less.\n// */\n// init = (ulg)curr + WIN_INIT - s->high_water;\n// if (init > s->window_size - s->high_water)\n// init = s->window_size - s->high_water;\n// zmemzero(s->window + s->high_water, (unsigned)init);\n// s->high_water += init;\n// }\n// }\n//\n// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\n// \"not enough room for search\");\n};\n\n/* ===========================================================================\n * Copy without compression as much as possible from the input stream, return\n * the current block state.\n *\n * In case deflateParams() is used to later switch to a non-zero compression\n * level, s->matches (otherwise unused when storing) keeps track of the number\n * of hash table slides to perform. If s->matches is 1, then one hash table\n * slide will be done when switching. If s->matches is 2, the maximum value\n * allowed here, then the hash table will be cleared, since two or more slides\n * is the same as a clear.\n *\n * deflate_stored() is written to minimize the number of times an input byte is\n * copied. It is most efficient with large input and output buffers, which\n * maximizes the opportunites to have a single copy from next_in to next_out.\n */\nconst deflate_stored = (s, flush) => {\n\n /* Smallest worthy block size when not flushing or finishing. By default\n * this is 32K. This can be as small as 507 bytes for memLevel == 1. For\n * large input and output buffers, the stored block size will be larger.\n */\n let min_block = s.pending_buf_size - 5 > s.w_size ? s.w_size : s.pending_buf_size - 5;\n\n /* Copy as many min_block or larger stored blocks directly to next_out as\n * possible. If flushing, copy the remaining available input to next_out as\n * stored blocks, if there is enough space.\n */\n let len, left, have, last = 0;\n let used = s.strm.avail_in;\n do {\n /* Set len to the maximum size block that we can copy directly with the\n * available input data and output space. Set left to how much of that\n * would be copied from what's left in the window.\n */\n len = 65535/* MAX_STORED */; /* maximum deflate stored block length */\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\n if (s.strm.avail_out < have) { /* need room for header */\n break;\n }\n /* maximum stored block length that will fit in avail_out: */\n have = s.strm.avail_out - have;\n left = s.strstart - s.block_start; /* bytes left in window */\n if (len > left + s.strm.avail_in) {\n len = left + s.strm.avail_in; /* limit len to the input */\n }\n if (len > have) {\n len = have; /* limit len to the output */\n }\n\n /* If the stored block would be less than min_block in length, or if\n * unable to copy all of the available input when flushing, then try\n * copying to the window and the pending buffer instead. Also don't\n * write an empty block when flushing -- deflate() does that.\n */\n if (len < min_block && ((len === 0 && flush !== Z_FINISH$3) ||\n flush === Z_NO_FLUSH$2 ||\n len !== left + s.strm.avail_in)) {\n break;\n }\n\n /* Make a dummy stored block in pending to get the header bytes,\n * including any pending bits. This also updates the debugging counts.\n */\n last = flush === Z_FINISH$3 && len === left + s.strm.avail_in ? 1 : 0;\n _tr_stored_block(s, 0, 0, last);\n\n /* Replace the lengths in the dummy stored block with len. */\n s.pending_buf[s.pending - 4] = len;\n s.pending_buf[s.pending - 3] = len >> 8;\n s.pending_buf[s.pending - 2] = ~len;\n s.pending_buf[s.pending - 1] = ~len >> 8;\n\n /* Write the stored block header bytes. */\n flush_pending(s.strm);\n\n//#ifdef ZLIB_DEBUG\n// /* Update debugging counts for the data about to be copied. */\n// s->compressed_len += len << 3;\n// s->bits_sent += len << 3;\n//#endif\n\n /* Copy uncompressed bytes from the window to next_out. */\n if (left) {\n if (left > len) {\n left = len;\n }\n //zmemcpy(s->strm->next_out, s->window + s->block_start, left);\n s.strm.output.set(s.window.subarray(s.block_start, s.block_start + left), s.strm.next_out);\n s.strm.next_out += left;\n s.strm.avail_out -= left;\n s.strm.total_out += left;\n s.block_start += left;\n len -= left;\n }\n\n /* Copy uncompressed bytes directly from next_in to next_out, updating\n * the check value.\n */\n if (len) {\n read_buf(s.strm, s.strm.output, s.strm.next_out, len);\n s.strm.next_out += len;\n s.strm.avail_out -= len;\n s.strm.total_out += len;\n }\n } while (last === 0);\n\n /* Update the sliding window with the last s->w_size bytes of the copied\n * data, or append all of the copied data to the existing window if less\n * than s->w_size bytes were copied. Also update the number of bytes to\n * insert in the hash tables, in the event that deflateParams() switches to\n * a non-zero compression level.\n */\n used -= s.strm.avail_in; /* number of input bytes directly copied */\n if (used) {\n /* If any input was used, then no unused input remains in the window,\n * therefore s->block_start == s->strstart.\n */\n if (used >= s.w_size) { /* supplant the previous history */\n s.matches = 2; /* clear hash */\n //zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);\n s.window.set(s.strm.input.subarray(s.strm.next_in - s.w_size, s.strm.next_in), 0);\n s.strstart = s.w_size;\n s.insert = s.strstart;\n }\n else {\n if (s.window_size - s.strstart <= used) {\n /* Slide the window down. */\n s.strstart -= s.w_size;\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\n if (s.matches < 2) {\n s.matches++; /* add a pending slide_hash() */\n }\n if (s.insert > s.strstart) {\n s.insert = s.strstart;\n }\n }\n //zmemcpy(s->window + s->strstart, s->strm->next_in - used, used);\n s.window.set(s.strm.input.subarray(s.strm.next_in - used, s.strm.next_in), s.strstart);\n s.strstart += used;\n s.insert += used > s.w_size - s.insert ? s.w_size - s.insert : used;\n }\n s.block_start = s.strstart;\n }\n if (s.high_water < s.strstart) {\n s.high_water = s.strstart;\n }\n\n /* If the last block was written to next_out, then done. */\n if (last) {\n return BS_FINISH_DONE;\n }\n\n /* If flushing and all input has been consumed, then done. */\n if (flush !== Z_NO_FLUSH$2 && flush !== Z_FINISH$3 &&\n s.strm.avail_in === 0 && s.strstart === s.block_start) {\n return BS_BLOCK_DONE;\n }\n\n /* Fill the window with any remaining input. */\n have = s.window_size - s.strstart;\n if (s.strm.avail_in > have && s.block_start >= s.w_size) {\n /* Slide the window down. */\n s.block_start -= s.w_size;\n s.strstart -= s.w_size;\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\n if (s.matches < 2) {\n s.matches++; /* add a pending slide_hash() */\n }\n have += s.w_size; /* more space now */\n if (s.insert > s.strstart) {\n s.insert = s.strstart;\n }\n }\n if (have > s.strm.avail_in) {\n have = s.strm.avail_in;\n }\n if (have) {\n read_buf(s.strm, s.window, s.strstart, have);\n s.strstart += have;\n s.insert += have > s.w_size - s.insert ? s.w_size - s.insert : have;\n }\n if (s.high_water < s.strstart) {\n s.high_water = s.strstart;\n }\n\n /* There was not enough avail_out to write a complete worthy or flushed\n * stored block to next_out. Write a stored block to pending instead, if we\n * have enough input for a worthy block, or if flushing and there is enough\n * room for the remaining input as a stored block in the pending buffer.\n */\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\n /* maximum stored block length that will fit in pending: */\n have = s.pending_buf_size - have > 65535/* MAX_STORED */ ? 65535/* MAX_STORED */ : s.pending_buf_size - have;\n min_block = have > s.w_size ? s.w_size : have;\n left = s.strstart - s.block_start;\n if (left >= min_block ||\n ((left || flush === Z_FINISH$3) && flush !== Z_NO_FLUSH$2 &&\n s.strm.avail_in === 0 && left <= have)) {\n len = left > have ? have : left;\n last = flush === Z_FINISH$3 && s.strm.avail_in === 0 &&\n len === left ? 1 : 0;\n _tr_stored_block(s, s.block_start, len, last);\n s.block_start += len;\n flush_pending(s.strm);\n }\n\n /* We've done all we can with the available input and output. */\n return last ? BS_FINISH_STARTED : BS_NEED_MORE;\n};\n\n\n/* ===========================================================================\n * Compress as much as possible from the input stream, return the current\n * block state.\n * This function does not perform lazy evaluation of matches and inserts\n * new strings in the dictionary only for unmatched strings or for short\n * matches. It is used only for the fast compression options.\n */\nconst deflate_fast = (s, flush) => {\n\n let hash_head; /* head of the hash chain */\n let bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH$2) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break; /* flush the current block */\n }\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n * At this point we have always match_length < MIN_MATCH\n */\n if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n }\n if (s.match_length >= MIN_MATCH) {\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\n\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\n s.match_length - MIN_MATCH, bflush); ***/\n bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n\n /* Insert new strings in the hash table only if the match length\n * is not too large. This saves time but degrades compression.\n */\n if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\n s.match_length--; /* string at strstart already in table */\n do {\n s.strstart++;\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\n * always MIN_MATCH bytes ahead.\n */\n } while (--s.match_length !== 0);\n s.strstart++;\n } else\n {\n s.strstart += s.match_length;\n s.match_length = 0;\n s.ins_h = s.window[s.strstart];\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);\n\n//#if MIN_MATCH != 3\n// Call UPDATE_HASH() MIN_MATCH-3 more times\n//#endif\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\n * matter since it will be recomputed at next deflate call.\n */\n }\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s.window[s.strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);\n if (flush === Z_FINISH$3) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.sym_next) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* ===========================================================================\n * Same as above, but achieves better compression. We use a lazy\n * evaluation for matches: a match is finally adopted only if there is\n * no better match at the next window position.\n */\nconst deflate_slow = (s, flush) => {\n\n let hash_head; /* head of hash chain */\n let bflush; /* set if current block must be flushed */\n\n let max_insert;\n\n /* Process the input block. */\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH$2) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n */\n s.prev_length = s.match_length;\n s.prev_match = s.match_start;\n s.match_length = MIN_MATCH - 1;\n\n if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&\n s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n\n if (s.match_length <= 5 &&\n (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {\n\n /* If prev_match is also MIN_MATCH, match_start is garbage\n * but we will ignore the current match anyway.\n */\n s.match_length = MIN_MATCH - 1;\n }\n }\n /* If there was a match at the previous step and the current\n * match is not better, output the previous match:\n */\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\n /* Do not insert strings in hash table beyond this. */\n\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\n\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\n s.prev_length - MIN_MATCH, bflush);***/\n bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\n /* Insert in hash table all strings up to the end of the match.\n * strstart-1 and strstart are already inserted. If there is not\n * enough lookahead, the last two strings are not inserted in\n * the hash table.\n */\n s.lookahead -= s.prev_length - 1;\n s.prev_length -= 2;\n do {\n if (++s.strstart <= max_insert) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n } while (--s.prev_length !== 0);\n s.match_available = 0;\n s.match_length = MIN_MATCH - 1;\n s.strstart++;\n\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n } else if (s.match_available) {\n /* If there was no match at the previous position, output a\n * single literal. If there was a match but the current match\n * is longer, truncate the previous match to a single literal.\n */\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\n\n if (bflush) {\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\n flush_block_only(s, false);\n /***/\n }\n s.strstart++;\n s.lookahead--;\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n } else {\n /* There is no previous match to compare with, wait for\n * the next step to decide.\n */\n s.match_available = 1;\n s.strstart++;\n s.lookahead--;\n }\n }\n //Assert (flush != Z_NO_FLUSH, \"no flush?\");\n if (s.match_available) {\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\n\n s.match_available = 0;\n }\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\n if (flush === Z_FINISH$3) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.sym_next) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n return BS_BLOCK_DONE;\n};\n\n\n/* ===========================================================================\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\n * one. Do not maintain a hash table. (It will be regenerated if this run of\n * deflate switches away from Z_RLE.)\n */\nconst deflate_rle = (s, flush) => {\n\n let bflush; /* set if current block must be flushed */\n let prev; /* byte at distance one to match */\n let scan, strend; /* scan goes up to strend for length of run */\n\n const _win = s.window;\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the longest run, plus one for the unrolled loop.\n */\n if (s.lookahead <= MAX_MATCH) {\n fill_window(s);\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH$2) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* See how many times the previous byte repeats */\n s.match_length = 0;\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\n scan = s.strstart - 1;\n prev = _win[scan];\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\n strend = s.strstart + MAX_MATCH;\n do {\n /*jshint noempty:false*/\n } while (prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n scan < strend);\n s.match_length = MAX_MATCH - (strend - scan);\n if (s.match_length > s.lookahead) {\n s.match_length = s.lookahead;\n }\n }\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \"wild scan\");\n }\n\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\n if (s.match_length >= MIN_MATCH) {\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\n\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\n bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n s.strstart += s.match_length;\n s.match_length = 0;\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH$3) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.sym_next) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* ===========================================================================\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\n * (It will be regenerated if this run of deflate switches away from Huffman.)\n */\nconst deflate_huff = (s, flush) => {\n\n let bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we have a literal to write. */\n if (s.lookahead === 0) {\n fill_window(s);\n if (s.lookahead === 0) {\n if (flush === Z_NO_FLUSH$2) {\n return BS_NEED_MORE;\n }\n break; /* flush the current block */\n }\n }\n\n /* Output a literal byte */\n s.match_length = 0;\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH$3) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.sym_next) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\n * the desired pack level (0..9). The values given below have been tuned to\n * exclude worst case performance for pathological files. Better values may be\n * found for specific files.\n */\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\n\n this.good_length = good_length;\n this.max_lazy = max_lazy;\n this.nice_length = nice_length;\n this.max_chain = max_chain;\n this.func = func;\n}\n\nconst configuration_table = [\n /* good lazy nice chain */\n new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\n new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\n new Config(4, 5, 16, 8, deflate_fast), /* 2 */\n new Config(4, 6, 32, 32, deflate_fast), /* 3 */\n\n new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\n new Config(8, 16, 32, 32, deflate_slow), /* 5 */\n new Config(8, 16, 128, 128, deflate_slow), /* 6 */\n new Config(8, 32, 128, 256, deflate_slow), /* 7 */\n new Config(32, 128, 258, 1024, deflate_slow), /* 8 */\n new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */\n];\n\n\n/* ===========================================================================\n * Initialize the \"longest match\" routines for a new zlib stream\n */\nconst lm_init = (s) => {\n\n s.window_size = 2 * s.w_size;\n\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n\n /* Set the default configuration parameters:\n */\n s.max_lazy_match = configuration_table[s.level].max_lazy;\n s.good_match = configuration_table[s.level].good_length;\n s.nice_match = configuration_table[s.level].nice_length;\n s.max_chain_length = configuration_table[s.level].max_chain;\n\n s.strstart = 0;\n s.block_start = 0;\n s.lookahead = 0;\n s.insert = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n s.ins_h = 0;\n};\n\n\nfunction DeflateState() {\n this.strm = null; /* pointer back to this zlib stream */\n this.status = 0; /* as the name implies */\n this.pending_buf = null; /* output still pending */\n this.pending_buf_size = 0; /* size of pending_buf */\n this.pending_out = 0; /* next pending byte to output to the stream */\n this.pending = 0; /* nb of bytes in the pending buffer */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.gzhead = null; /* gzip header information to write */\n this.gzindex = 0; /* where in extra, name, or comment */\n this.method = Z_DEFLATED$2; /* can only be DEFLATED */\n this.last_flush = -1; /* value of flush param for previous deflate call */\n\n this.w_size = 0; /* LZ77 window size (32K by default) */\n this.w_bits = 0; /* log2(w_size) (8..16) */\n this.w_mask = 0; /* w_size - 1 */\n\n this.window = null;\n /* Sliding window. Input bytes are read into the second half of the window,\n * and move to the first half later to keep a dictionary of at least wSize\n * bytes. With this organization, matches are limited to a distance of\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\n * performed with a length multiple of the block size.\n */\n\n this.window_size = 0;\n /* Actual size of window: 2*wSize, except when the user input buffer\n * is directly used as sliding window.\n */\n\n this.prev = null;\n /* Link to older string with same hash index. To limit the size of this\n * array to 64K, this link is maintained only for the last 32K strings.\n * An index in this array is thus a window index modulo 32K.\n */\n\n this.head = null; /* Heads of the hash chains or NIL. */\n\n this.ins_h = 0; /* hash index of string to be inserted */\n this.hash_size = 0; /* number of elements in hash table */\n this.hash_bits = 0; /* log2(hash_size) */\n this.hash_mask = 0; /* hash_size-1 */\n\n this.hash_shift = 0;\n /* Number of bits by which ins_h must be shifted at each input\n * step. It must be such that after MIN_MATCH steps, the oldest\n * byte no longer takes part in the hash key, that is:\n * hash_shift * MIN_MATCH >= hash_bits\n */\n\n this.block_start = 0;\n /* Window position at the beginning of the current output block. Gets\n * negative when the window is moved backwards.\n */\n\n this.match_length = 0; /* length of best match */\n this.prev_match = 0; /* previous match */\n this.match_available = 0; /* set if previous match exists */\n this.strstart = 0; /* start of string to insert */\n this.match_start = 0; /* start of matching string */\n this.lookahead = 0; /* number of valid bytes ahead in window */\n\n this.prev_length = 0;\n /* Length of the best match at previous step. Matches not greater than this\n * are discarded. This is used in the lazy match evaluation.\n */\n\n this.max_chain_length = 0;\n /* To speed up deflation, hash chains are never searched beyond this\n * length. A higher limit improves compression ratio but degrades the\n * speed.\n */\n\n this.max_lazy_match = 0;\n /* Attempt to find a better match only when the current match is strictly\n * smaller than this value. This mechanism is used only for compression\n * levels >= 4.\n */\n // That's alias to max_lazy_match, don't use directly\n //this.max_insert_length = 0;\n /* Insert new strings in the hash table only if the match length is not\n * greater than this length. This saves time but degrades compression.\n * max_insert_length is used only for compression levels <= 3.\n */\n\n this.level = 0; /* compression level (1..9) */\n this.strategy = 0; /* favor or force Huffman coding*/\n\n this.good_match = 0;\n /* Use a faster search when the previous match is longer than this */\n\n this.nice_match = 0; /* Stop searching when current match exceeds this */\n\n /* used by trees.c: */\n\n /* Didn't use ct_data typedef below to suppress compiler warning */\n\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\n\n // Use flat array of DOUBLE size, with interleaved fata,\n // because JS does not support effective\n this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2);\n this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2);\n this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2);\n zero(this.dyn_ltree);\n zero(this.dyn_dtree);\n zero(this.bl_tree);\n\n this.l_desc = null; /* desc. for literal tree */\n this.d_desc = null; /* desc. for distance tree */\n this.bl_desc = null; /* desc. for bit length tree */\n\n //ush bl_count[MAX_BITS+1];\n this.bl_count = new Uint16Array(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\n this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */\n zero(this.heap);\n\n this.heap_len = 0; /* number of elements in the heap */\n this.heap_max = 0; /* element of largest frequency */\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\n * The same heap array is used to build all trees.\n */\n\n this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\n zero(this.depth);\n /* Depth of each subtree used as tie breaker for trees of equal frequency\n */\n\n this.sym_buf = 0; /* buffer for distances and literals/lengths */\n\n this.lit_bufsize = 0;\n /* Size of match buffer for literals/lengths. There are 4 reasons for\n * limiting lit_bufsize to 64K:\n * - frequencies can be kept in 16 bit counters\n * - if compression is not successful for the first block, all input\n * data is still in the window so we can still emit a stored block even\n * when input comes from standard input. (This can also be done for\n * all blocks if lit_bufsize is not greater than 32K.)\n * - if compression is not successful for a file smaller than 64K, we can\n * even emit a stored file instead of a stored block (saving 5 bytes).\n * This is applicable only for zip (not gzip or zlib).\n * - creating new Huffman trees less frequently may not provide fast\n * adaptation to changes in the input data statistics. (Take for\n * example a binary file with poorly compressible code followed by\n * a highly compressible string table.) Smaller buffer sizes give\n * fast adaptation but have of course the overhead of transmitting\n * trees more frequently.\n * - I can't count above 4\n */\n\n this.sym_next = 0; /* running index in sym_buf */\n this.sym_end = 0; /* symbol table full when sym_next reaches this */\n\n this.opt_len = 0; /* bit length of current block with optimal trees */\n this.static_len = 0; /* bit length of current block with static trees */\n this.matches = 0; /* number of string matches in current block */\n this.insert = 0; /* bytes at end of window left to insert */\n\n\n this.bi_buf = 0;\n /* Output buffer. bits are inserted starting at the bottom (least\n * significant bits).\n */\n this.bi_valid = 0;\n /* Number of valid bits in bi_buf. All bits above the last valid bit\n * are always zero.\n */\n\n // Used for window memory init. We safely ignore it for JS. That makes\n // sense only for pointers and memory check tools.\n //this.high_water = 0;\n /* High water mark offset in window for initialized bytes -- bytes above\n * this are set to zero in order to avoid memory check warnings when\n * longest match routines access bytes past the input. This is then\n * updated to the new high water mark.\n */\n}\n\n\n/* =========================================================================\n * Check for a valid deflate stream state. Return 0 if ok, 1 if not.\n */\nconst deflateStateCheck = (strm) => {\n\n if (!strm) {\n return 1;\n }\n const s = strm.state;\n if (!s || s.strm !== strm || (s.status !== INIT_STATE &&\n//#ifdef GZIP\n s.status !== GZIP_STATE &&\n//#endif\n s.status !== EXTRA_STATE &&\n s.status !== NAME_STATE &&\n s.status !== COMMENT_STATE &&\n s.status !== HCRC_STATE &&\n s.status !== BUSY_STATE &&\n s.status !== FINISH_STATE)) {\n return 1;\n }\n return 0;\n};\n\n\nconst deflateResetKeep = (strm) => {\n\n if (deflateStateCheck(strm)) {\n return err(strm, Z_STREAM_ERROR$2);\n }\n\n strm.total_in = strm.total_out = 0;\n strm.data_type = Z_UNKNOWN;\n\n const s = strm.state;\n s.pending = 0;\n s.pending_out = 0;\n\n if (s.wrap < 0) {\n s.wrap = -s.wrap;\n /* was made negative by deflate(..., Z_FINISH); */\n }\n s.status =\n//#ifdef GZIP\n s.wrap === 2 ? GZIP_STATE :\n//#endif\n s.wrap ? INIT_STATE : BUSY_STATE;\n strm.adler = (s.wrap === 2) ?\n 0 // crc32(0, Z_NULL, 0)\n :\n 1; // adler32(0, Z_NULL, 0)\n s.last_flush = -2;\n _tr_init(s);\n return Z_OK$3;\n};\n\n\nconst deflateReset = (strm) => {\n\n const ret = deflateResetKeep(strm);\n if (ret === Z_OK$3) {\n lm_init(strm.state);\n }\n return ret;\n};\n\n\nconst deflateSetHeader = (strm, head) => {\n\n if (deflateStateCheck(strm) || strm.state.wrap !== 2) {\n return Z_STREAM_ERROR$2;\n }\n strm.state.gzhead = head;\n return Z_OK$3;\n};\n\n\nconst deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => {\n\n if (!strm) { // === Z_NULL\n return Z_STREAM_ERROR$2;\n }\n let wrap = 1;\n\n if (level === Z_DEFAULT_COMPRESSION$1) {\n level = 6;\n }\n\n if (windowBits < 0) { /* suppress zlib wrapper */\n wrap = 0;\n windowBits = -windowBits;\n }\n\n else if (windowBits > 15) {\n wrap = 2; /* write gzip wrapper instead */\n windowBits -= 16;\n }\n\n\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED$2 ||\n windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||\n strategy < 0 || strategy > Z_FIXED || (windowBits === 8 && wrap !== 1)) {\n return err(strm, Z_STREAM_ERROR$2);\n }\n\n\n if (windowBits === 8) {\n windowBits = 9;\n }\n /* until 256-byte window bug fixed */\n\n const s = new DeflateState();\n\n strm.state = s;\n s.strm = strm;\n s.status = INIT_STATE; /* to pass state test in deflateReset() */\n\n s.wrap = wrap;\n s.gzhead = null;\n s.w_bits = windowBits;\n s.w_size = 1 << s.w_bits;\n s.w_mask = s.w_size - 1;\n\n s.hash_bits = memLevel + 7;\n s.hash_size = 1 << s.hash_bits;\n s.hash_mask = s.hash_size - 1;\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\n\n s.window = new Uint8Array(s.w_size * 2);\n s.head = new Uint16Array(s.hash_size);\n s.prev = new Uint16Array(s.w_size);\n\n // Don't need mem init magic for JS.\n //s.high_water = 0; /* nothing written to s->window yet */\n\n s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */\n\n /* We overlay pending_buf and sym_buf. This works since the average size\n * for length/distance pairs over any compressed block is assured to be 31\n * bits or less.\n *\n * Analysis: The longest fixed codes are a length code of 8 bits plus 5\n * extra bits, for lengths 131 to 257. The longest fixed distance codes are\n * 5 bits plus 13 extra bits, for distances 16385 to 32768. The longest\n * possible fixed-codes length/distance pair is then 31 bits total.\n *\n * sym_buf starts one-fourth of the way into pending_buf. So there are\n * three bytes in sym_buf for every four bytes in pending_buf. Each symbol\n * in sym_buf is three bytes -- two for the distance and one for the\n * literal/length. As each symbol is consumed, the pointer to the next\n * sym_buf value to read moves forward three bytes. From that symbol, up to\n * 31 bits are written to pending_buf. The closest the written pending_buf\n * bits gets to the next sym_buf symbol to read is just before the last\n * code is written. At that time, 31*(n-2) bits have been written, just\n * after 24*(n-2) bits have been consumed from sym_buf. sym_buf starts at\n * 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1\n * symbols are written.) The closest the writing gets to what is unread is\n * then n+14 bits. Here n is lit_bufsize, which is 16384 by default, and\n * can range from 128 to 32768.\n *\n * Therefore, at a minimum, there are 142 bits of space between what is\n * written and what is read in the overlain buffers, so the symbols cannot\n * be overwritten by the compressed data. That space is actually 139 bits,\n * due to the three-bit fixed-code block header.\n *\n * That covers the case where either Z_FIXED is specified, forcing fixed\n * codes, or when the use of fixed codes is chosen, because that choice\n * results in a smaller compressed block than dynamic codes. That latter\n * condition then assures that the above analysis also covers all dynamic\n * blocks. A dynamic-code block will only be chosen to be emitted if it has\n * fewer bits than a fixed-code block would for the same set of symbols.\n * Therefore its average symbol length is assured to be less than 31. So\n * the compressed data for a dynamic block also cannot overwrite the\n * symbols from which it is being constructed.\n */\n\n s.pending_buf_size = s.lit_bufsize * 4;\n s.pending_buf = new Uint8Array(s.pending_buf_size);\n\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\n //s->sym_buf = s->pending_buf + s->lit_bufsize;\n s.sym_buf = s.lit_bufsize;\n\n //s->sym_end = (s->lit_bufsize - 1) * 3;\n s.sym_end = (s.lit_bufsize - 1) * 3;\n /* We avoid equality with lit_bufsize*3 because of wraparound at 64K\n * on 16 bit machines and because stored blocks are restricted to\n * 64K-1 bytes.\n */\n\n s.level = level;\n s.strategy = strategy;\n s.method = method;\n\n return deflateReset(strm);\n};\n\nconst deflateInit = (strm, level) => {\n\n return deflateInit2(strm, level, Z_DEFLATED$2, MAX_WBITS$1, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY$1);\n};\n\n\n/* ========================================================================= */\nconst deflate$2 = (strm, flush) => {\n\n if (deflateStateCheck(strm) || flush > Z_BLOCK$1 || flush < 0) {\n return strm ? err(strm, Z_STREAM_ERROR$2) : Z_STREAM_ERROR$2;\n }\n\n const s = strm.state;\n\n if (!strm.output ||\n (strm.avail_in !== 0 && !strm.input) ||\n (s.status === FINISH_STATE && flush !== Z_FINISH$3)) {\n return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR$1 : Z_STREAM_ERROR$2);\n }\n\n const old_flush = s.last_flush;\n s.last_flush = flush;\n\n /* Flush as much pending output as possible */\n if (s.pending !== 0) {\n flush_pending(strm);\n if (strm.avail_out === 0) {\n /* Since avail_out is 0, deflate will be called again with\n * more output space, but possibly with both pending and\n * avail_in equal to zero. There won't be anything to do,\n * but this is not an error situation so make sure we\n * return OK instead of BUF_ERROR at next call of deflate:\n */\n s.last_flush = -1;\n return Z_OK$3;\n }\n\n /* Make sure there is something to do and avoid duplicate consecutive\n * flushes. For repeated and useless calls with Z_FINISH, we keep\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\n */\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&\n flush !== Z_FINISH$3) {\n return err(strm, Z_BUF_ERROR$1);\n }\n\n /* User must not provide more input after the first FINISH: */\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\n return err(strm, Z_BUF_ERROR$1);\n }\n\n /* Write the header */\n if (s.status === INIT_STATE && s.wrap === 0) {\n s.status = BUSY_STATE;\n }\n if (s.status === INIT_STATE) {\n /* zlib header */\n let header = (Z_DEFLATED$2 + ((s.w_bits - 8) << 4)) << 8;\n let level_flags = -1;\n\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\n level_flags = 0;\n } else if (s.level < 6) {\n level_flags = 1;\n } else if (s.level === 6) {\n level_flags = 2;\n } else {\n level_flags = 3;\n }\n header |= (level_flags << 6);\n if (s.strstart !== 0) { header |= PRESET_DICT; }\n header += 31 - (header % 31);\n\n putShortMSB(s, header);\n\n /* Save the adler32 of the preset dictionary: */\n if (s.strstart !== 0) {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\n s.status = BUSY_STATE;\n\n /* Compression must start with an empty pending buffer */\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n }\n//#ifdef GZIP\n if (s.status === GZIP_STATE) {\n /* gzip header */\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n put_byte(s, 31);\n put_byte(s, 139);\n put_byte(s, 8);\n if (!s.gzhead) { // s->gzhead == Z_NULL\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, OS_CODE);\n s.status = BUSY_STATE;\n\n /* Compression must start with an empty pending buffer */\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n }\n else {\n put_byte(s, (s.gzhead.text ? 1 : 0) +\n (s.gzhead.hcrc ? 2 : 0) +\n (!s.gzhead.extra ? 0 : 4) +\n (!s.gzhead.name ? 0 : 8) +\n (!s.gzhead.comment ? 0 : 16)\n );\n put_byte(s, s.gzhead.time & 0xff);\n put_byte(s, (s.gzhead.time >> 8) & 0xff);\n put_byte(s, (s.gzhead.time >> 16) & 0xff);\n put_byte(s, (s.gzhead.time >> 24) & 0xff);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, s.gzhead.os & 0xff);\n if (s.gzhead.extra && s.gzhead.extra.length) {\n put_byte(s, s.gzhead.extra.length & 0xff);\n put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);\n }\n if (s.gzhead.hcrc) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending, 0);\n }\n s.gzindex = 0;\n s.status = EXTRA_STATE;\n }\n }\n if (s.status === EXTRA_STATE) {\n if (s.gzhead.extra/* != Z_NULL*/) {\n let beg = s.pending; /* start of bytes to update crc */\n let left = (s.gzhead.extra.length & 0xffff) - s.gzindex;\n while (s.pending + left > s.pending_buf_size) {\n let copy = s.pending_buf_size - s.pending;\n // zmemcpy(s.pending_buf + s.pending,\n // s.gzhead.extra + s.gzindex, copy);\n s.pending_buf.set(s.gzhead.extra.subarray(s.gzindex, s.gzindex + copy), s.pending);\n s.pending = s.pending_buf_size;\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n s.gzindex += copy;\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n beg = 0;\n left -= copy;\n }\n // JS specific: s.gzhead.extra may be TypedArray or Array for backward compatibility\n // TypedArray.slice and TypedArray.from don't exist in IE10-IE11\n let gzhead_extra = new Uint8Array(s.gzhead.extra);\n // zmemcpy(s->pending_buf + s->pending,\n // s->gzhead->extra + s->gzindex, left);\n s.pending_buf.set(gzhead_extra.subarray(s.gzindex, s.gzindex + left), s.pending);\n s.pending += left;\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n s.gzindex = 0;\n }\n s.status = NAME_STATE;\n }\n if (s.status === NAME_STATE) {\n if (s.gzhead.name/* != Z_NULL*/) {\n let beg = s.pending; /* start of bytes to update crc */\n let val;\n do {\n if (s.pending === s.pending_buf_size) {\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n beg = 0;\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.name.length) {\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n s.gzindex = 0;\n }\n s.status = COMMENT_STATE;\n }\n if (s.status === COMMENT_STATE) {\n if (s.gzhead.comment/* != Z_NULL*/) {\n let beg = s.pending; /* start of bytes to update crc */\n let val;\n do {\n if (s.pending === s.pending_buf_size) {\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n beg = 0;\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.comment.length) {\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n //--- HCRC_UPDATE(beg) ---//\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32_1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n //---//\n }\n s.status = HCRC_STATE;\n }\n if (s.status === HCRC_STATE) {\n if (s.gzhead.hcrc) {\n if (s.pending + 2 > s.pending_buf_size) {\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n }\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n }\n s.status = BUSY_STATE;\n\n /* Compression must start with an empty pending buffer */\n flush_pending(strm);\n if (s.pending !== 0) {\n s.last_flush = -1;\n return Z_OK$3;\n }\n }\n//#endif\n\n /* Start a new block or continue the current one.\n */\n if (strm.avail_in !== 0 || s.lookahead !== 0 ||\n (flush !== Z_NO_FLUSH$2 && s.status !== FINISH_STATE)) {\n let bstate = s.level === 0 ? deflate_stored(s, flush) :\n s.strategy === Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :\n s.strategy === Z_RLE ? deflate_rle(s, flush) :\n configuration_table[s.level].func(s, flush);\n\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\n s.status = FINISH_STATE;\n }\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\n if (strm.avail_out === 0) {\n s.last_flush = -1;\n /* avoid BUF_ERROR next call, see above */\n }\n return Z_OK$3;\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\n * of deflate should use the same flush parameter to make sure\n * that the flush is complete. So we don't have to output an\n * empty block here, this will be done at next call. This also\n * ensures that for a very small output buffer, we emit at most\n * one empty block.\n */\n }\n if (bstate === BS_BLOCK_DONE) {\n if (flush === Z_PARTIAL_FLUSH) {\n _tr_align(s);\n }\n else if (flush !== Z_BLOCK$1) { /* FULL_FLUSH or SYNC_FLUSH */\n\n _tr_stored_block(s, 0, 0, false);\n /* For a full flush, this empty block will be recognized\n * as a special marker by inflate_sync().\n */\n if (flush === Z_FULL_FLUSH$1) {\n /*** CLEAR_HASH(s); ***/ /* forget history */\n zero(s.head); // Fill with NIL (= 0);\n\n if (s.lookahead === 0) {\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n }\n }\n flush_pending(strm);\n if (strm.avail_out === 0) {\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\n return Z_OK$3;\n }\n }\n }\n\n if (flush !== Z_FINISH$3) { return Z_OK$3; }\n if (s.wrap <= 0) { return Z_STREAM_END$3; }\n\n /* Write the trailer */\n if (s.wrap === 2) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n put_byte(s, (strm.adler >> 16) & 0xff);\n put_byte(s, (strm.adler >> 24) & 0xff);\n put_byte(s, strm.total_in & 0xff);\n put_byte(s, (strm.total_in >> 8) & 0xff);\n put_byte(s, (strm.total_in >> 16) & 0xff);\n put_byte(s, (strm.total_in >> 24) & 0xff);\n }\n else\n {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n\n flush_pending(strm);\n /* If avail_out is zero, the application will call deflate again\n * to flush the rest.\n */\n if (s.wrap > 0) { s.wrap = -s.wrap; }\n /* write the trailer only once! */\n return s.pending !== 0 ? Z_OK$3 : Z_STREAM_END$3;\n};\n\n\nconst deflateEnd = (strm) => {\n\n if (deflateStateCheck(strm)) {\n return Z_STREAM_ERROR$2;\n }\n\n const status = strm.state.status;\n\n strm.state = null;\n\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR$2) : Z_OK$3;\n};\n\n\n/* =========================================================================\n * Initializes the compression dictionary from the given byte\n * sequence without producing any compressed output.\n */\nconst deflateSetDictionary = (strm, dictionary) => {\n\n let dictLength = dictionary.length;\n\n if (deflateStateCheck(strm)) {\n return Z_STREAM_ERROR$2;\n }\n\n const s = strm.state;\n const wrap = s.wrap;\n\n if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {\n return Z_STREAM_ERROR$2;\n }\n\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\n if (wrap === 1) {\n /* adler32(strm->adler, dictionary, dictLength); */\n strm.adler = adler32_1(strm.adler, dictionary, dictLength, 0);\n }\n\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\n\n /* if dictionary would fill window, just replace the history */\n if (dictLength >= s.w_size) {\n if (wrap === 0) { /* already empty otherwise */\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n /* use the tail */\n // dictionary = dictionary.slice(dictLength - s.w_size);\n let tmpDict = new Uint8Array(s.w_size);\n tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);\n dictionary = tmpDict;\n dictLength = s.w_size;\n }\n /* insert dictionary into window and hash */\n const avail = strm.avail_in;\n const next = strm.next_in;\n const input = strm.input;\n strm.avail_in = dictLength;\n strm.next_in = 0;\n strm.input = dictionary;\n fill_window(s);\n while (s.lookahead >= MIN_MATCH) {\n let str = s.strstart;\n let n = s.lookahead - (MIN_MATCH - 1);\n do {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n\n s.head[s.ins_h] = str;\n str++;\n } while (--n);\n s.strstart = str;\n s.lookahead = MIN_MATCH - 1;\n fill_window(s);\n }\n s.strstart += s.lookahead;\n s.block_start = s.strstart;\n s.insert = s.lookahead;\n s.lookahead = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n strm.next_in = next;\n strm.input = input;\n strm.avail_in = avail;\n s.wrap = wrap;\n return Z_OK$3;\n};\n\n\nvar deflateInit_1 = deflateInit;\nvar deflateInit2_1 = deflateInit2;\nvar deflateReset_1 = deflateReset;\nvar deflateResetKeep_1 = deflateResetKeep;\nvar deflateSetHeader_1 = deflateSetHeader;\nvar deflate_2$1 = deflate$2;\nvar deflateEnd_1 = deflateEnd;\nvar deflateSetDictionary_1 = deflateSetDictionary;\nvar deflateInfo = 'pako deflate (from Nodeca project)';\n\n/* Not implemented\nmodule.exports.deflateBound = deflateBound;\nmodule.exports.deflateCopy = deflateCopy;\nmodule.exports.deflateGetDictionary = deflateGetDictionary;\nmodule.exports.deflateParams = deflateParams;\nmodule.exports.deflatePending = deflatePending;\nmodule.exports.deflatePrime = deflatePrime;\nmodule.exports.deflateTune = deflateTune;\n*/\n\nvar deflate_1$2 = {\n\tdeflateInit: deflateInit_1,\n\tdeflateInit2: deflateInit2_1,\n\tdeflateReset: deflateReset_1,\n\tdeflateResetKeep: deflateResetKeep_1,\n\tdeflateSetHeader: deflateSetHeader_1,\n\tdeflate: deflate_2$1,\n\tdeflateEnd: deflateEnd_1,\n\tdeflateSetDictionary: deflateSetDictionary_1,\n\tdeflateInfo: deflateInfo\n};\n\nconst _has = (obj, key) => {\n return Object.prototype.hasOwnProperty.call(obj, key);\n};\n\nvar assign = function (obj /*from1, from2, from3, ...*/) {\n const sources = Array.prototype.slice.call(arguments, 1);\n while (sources.length) {\n const source = sources.shift();\n if (!source) { continue; }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be non-object');\n }\n\n for (const p in source) {\n if (_has(source, p)) {\n obj[p] = source[p];\n }\n }\n }\n\n return obj;\n};\n\n\n// Join array of chunks to single array.\nvar flattenChunks = (chunks) => {\n // calculate data length\n let len = 0;\n\n for (let i = 0, l = chunks.length; i < l; i++) {\n len += chunks[i].length;\n }\n\n // join chunks\n const result = new Uint8Array(len);\n\n for (let i = 0, pos = 0, l = chunks.length; i < l; i++) {\n let chunk = chunks[i];\n result.set(chunk, pos);\n pos += chunk.length;\n }\n\n return result;\n};\n\nvar common = {\n\tassign: assign,\n\tflattenChunks: flattenChunks\n};\n\n// String encode/decode helpers\n\n\n// Quick check if we can use fast array to bin string conversion\n//\n// - apply(Array) can fail on Android 2.2\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\n//\nlet STR_APPLY_UIA_OK = true;\n\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\n\n\n// Table with utf8 lengths (calculated by first byte of sequence)\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\n// because max possible codepoint is 0x10ffff\nconst _utf8len = new Uint8Array(256);\nfor (let q = 0; q < 256; q++) {\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\n}\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\n\n\n// convert string to array (typed, when possible)\nvar string2buf = (str) => {\n if (typeof TextEncoder === 'function' && TextEncoder.prototype.encode) {\n return new TextEncoder().encode(str);\n }\n\n let buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\n\n // count binary size\n for (m_pos = 0; m_pos < str_len; m_pos++) {\n c = str.charCodeAt(m_pos);\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\n c2 = str.charCodeAt(m_pos + 1);\n if ((c2 & 0xfc00) === 0xdc00) {\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\n m_pos++;\n }\n }\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\n }\n\n // allocate buffer\n buf = new Uint8Array(buf_len);\n\n // convert\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\n c = str.charCodeAt(m_pos);\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\n c2 = str.charCodeAt(m_pos + 1);\n if ((c2 & 0xfc00) === 0xdc00) {\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\n m_pos++;\n }\n }\n if (c < 0x80) {\n /* one byte */\n buf[i++] = c;\n } else if (c < 0x800) {\n /* two bytes */\n buf[i++] = 0xC0 | (c >>> 6);\n buf[i++] = 0x80 | (c & 0x3f);\n } else if (c < 0x10000) {\n /* three bytes */\n buf[i++] = 0xE0 | (c >>> 12);\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\n buf[i++] = 0x80 | (c & 0x3f);\n } else {\n /* four bytes */\n buf[i++] = 0xf0 | (c >>> 18);\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\n buf[i++] = 0x80 | (c & 0x3f);\n }\n }\n\n return buf;\n};\n\n// Helper\nconst buf2binstring = (buf, len) => {\n // On Chrome, the arguments in a function call that are allowed is `65534`.\n // If the length of the buffer is smaller than that, we can use this optimization,\n // otherwise we will take a slower path.\n if (len < 65534) {\n if (buf.subarray && STR_APPLY_UIA_OK) {\n return String.fromCharCode.apply(null, buf.length === len ? buf : buf.subarray(0, len));\n }\n }\n\n let result = '';\n for (let i = 0; i < len; i++) {\n result += String.fromCharCode(buf[i]);\n }\n return result;\n};\n\n\n// convert array to string\nvar buf2string = (buf, max) => {\n const len = max || buf.length;\n\n if (typeof TextDecoder === 'function' && TextDecoder.prototype.decode) {\n return new TextDecoder().decode(buf.subarray(0, max));\n }\n\n let i, out;\n\n // Reserve max possible length (2 words per char)\n // NB: by unknown reasons, Array is significantly faster for\n // String.fromCharCode.apply than Uint16Array.\n const utf16buf = new Array(len * 2);\n\n for (out = 0, i = 0; i < len;) {\n let c = buf[i++];\n // quick process ascii\n if (c < 0x80) { utf16buf[out++] = c; continue; }\n\n let c_len = _utf8len[c];\n // skip 5 & 6 byte codes\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\n\n // apply mask on first byte\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\n // join the rest\n while (c_len > 1 && i < len) {\n c = (c << 6) | (buf[i++] & 0x3f);\n c_len--;\n }\n\n // terminated by end of string?\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\n\n if (c < 0x10000) {\n utf16buf[out++] = c;\n } else {\n c -= 0x10000;\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\n }\n }\n\n return buf2binstring(utf16buf, out);\n};\n\n\n// Calculate max possible position in utf8 buffer,\n// that will not break sequence. If that's not possible\n// - (very small limits) return max size as is.\n//\n// buf[] - utf8 bytes array\n// max - length limit (mandatory);\nvar utf8border = (buf, max) => {\n\n max = max || buf.length;\n if (max > buf.length) { max = buf.length; }\n\n // go back from last position, until start of sequence found\n let pos = max - 1;\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\n\n // Very small and broken sequence,\n // return max, because we should return something anyway.\n if (pos < 0) { return max; }\n\n // If we came to start of buffer - that means buffer is too small,\n // return max too.\n if (pos === 0) { return max; }\n\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\n};\n\nvar strings = {\n\tstring2buf: string2buf,\n\tbuf2string: buf2string,\n\tutf8border: utf8border\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction ZStream() {\n /* next input byte */\n this.input = null; // JS specific, because we have no pointers\n this.next_in = 0;\n /* number of bytes available at input */\n this.avail_in = 0;\n /* total number of input bytes read so far */\n this.total_in = 0;\n /* next output byte should be put there */\n this.output = null; // JS specific, because we have no pointers\n this.next_out = 0;\n /* remaining free space at output */\n this.avail_out = 0;\n /* total number of bytes output so far */\n this.total_out = 0;\n /* last error message, NULL if no error */\n this.msg = ''/*Z_NULL*/;\n /* not visible by applications */\n this.state = null;\n /* best guess about the data type: binary or text */\n this.data_type = 2/*Z_UNKNOWN*/;\n /* adler32 value of the uncompressed data */\n this.adler = 0;\n}\n\nvar zstream = ZStream;\n\nconst toString$1 = Object.prototype.toString;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH: Z_NO_FLUSH$1, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH: Z_FINISH$2,\n Z_OK: Z_OK$2, Z_STREAM_END: Z_STREAM_END$2,\n Z_DEFAULT_COMPRESSION,\n Z_DEFAULT_STRATEGY,\n Z_DEFLATED: Z_DEFLATED$1\n} = constants$2;\n\n/* ===========================================================================*/\n\n\n/**\n * class Deflate\n *\n * Generic JS-style wrapper for zlib calls. If you don't need\n * streaming behaviour - use more simple functions: [[deflate]],\n * [[deflateRaw]] and [[gzip]].\n **/\n\n/* internal\n * Deflate.chunks -> Array\n *\n * Chunks of output data, if [[Deflate#onData]] not overridden.\n **/\n\n/**\n * Deflate.result -> Uint8Array\n *\n * Compressed result, generated by default [[Deflate#onData]]\n * and [[Deflate#onEnd]] handlers. Filled after you push last chunk\n * (call [[Deflate#push]] with `Z_FINISH` / `true` param).\n **/\n\n/**\n * Deflate.err -> Number\n *\n * Error code after deflate finished. 0 (Z_OK) on success.\n * You will not need it in real life, because deflate errors\n * are possible only on wrong options or bad `onData` / `onEnd`\n * custom handlers.\n **/\n\n/**\n * Deflate.msg -> String\n *\n * Error message, if [[Deflate.err]] != 0\n **/\n\n\n/**\n * new Deflate(options)\n * - options (Object): zlib deflate options.\n *\n * Creates new deflator instance with specified params. Throws exception\n * on bad params. Supported options:\n *\n * - `level`\n * - `windowBits`\n * - `memLevel`\n * - `strategy`\n * - `dictionary`\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Additional options, for internal needs:\n *\n * - `chunkSize` - size of generated data chunks (16K by default)\n * - `raw` (Boolean) - do raw deflate\n * - `gzip` (Boolean) - create gzip wrapper\n * - `header` (Object) - custom header for gzip\n * - `text` (Boolean) - true if compressed data believed to be text\n * - `time` (Number) - modification time, unix timestamp\n * - `os` (Number) - operation system code\n * - `extra` (Array) - array of bytes with extra data (max 65536)\n * - `name` (String) - file name (binary string)\n * - `comment` (String) - comment (binary string)\n * - `hcrc` (Boolean) - true if header crc should be added\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * , chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\n * , chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\n *\n * const deflate = new pako.Deflate({ level: 3});\n *\n * deflate.push(chunk1, false);\n * deflate.push(chunk2, true); // true -> last chunk\n *\n * if (deflate.err) { throw new Error(deflate.err); }\n *\n * console.log(deflate.result);\n * ```\n **/\nfunction Deflate$1(options) {\n this.options = common.assign({\n level: Z_DEFAULT_COMPRESSION,\n method: Z_DEFLATED$1,\n chunkSize: 16384,\n windowBits: 15,\n memLevel: 8,\n strategy: Z_DEFAULT_STRATEGY\n }, options || {});\n\n let opt = this.options;\n\n if (opt.raw && (opt.windowBits > 0)) {\n opt.windowBits = -opt.windowBits;\n }\n\n else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {\n opt.windowBits += 16;\n }\n\n this.err = 0; // error code, if happens (0 = Z_OK)\n this.msg = ''; // error message\n this.ended = false; // used to avoid multiple onEnd() calls\n this.chunks = []; // chunks of compressed data\n\n this.strm = new zstream();\n this.strm.avail_out = 0;\n\n let status = deflate_1$2.deflateInit2(\n this.strm,\n opt.level,\n opt.method,\n opt.windowBits,\n opt.memLevel,\n opt.strategy\n );\n\n if (status !== Z_OK$2) {\n throw new Error(messages[status]);\n }\n\n if (opt.header) {\n deflate_1$2.deflateSetHeader(this.strm, opt.header);\n }\n\n if (opt.dictionary) {\n let dict;\n // Convert data if needed\n if (typeof opt.dictionary === 'string') {\n // If we need to compress text, change encoding to utf8.\n dict = strings.string2buf(opt.dictionary);\n } else if (toString$1.call(opt.dictionary) === '[object ArrayBuffer]') {\n dict = new Uint8Array(opt.dictionary);\n } else {\n dict = opt.dictionary;\n }\n\n status = deflate_1$2.deflateSetDictionary(this.strm, dict);\n\n if (status !== Z_OK$2) {\n throw new Error(messages[status]);\n }\n\n this._dict_set = true;\n }\n}\n\n/**\n * Deflate#push(data[, flush_mode]) -> Boolean\n * - data (Uint8Array|ArrayBuffer|String): input data. Strings will be\n * converted to utf8 byte sequence.\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\n *\n * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with\n * new compressed chunks. Returns `true` on success. The last data block must\n * have `flush_mode` Z_FINISH (or `true`). That will flush internal pending\n * buffers and call [[Deflate#onEnd]].\n *\n * On fail call [[Deflate#onEnd]] with error code and return false.\n *\n * ##### Example\n *\n * ```javascript\n * push(chunk, false); // push one of data chunks\n * ...\n * push(chunk, true); // push last chunk\n * ```\n **/\nDeflate$1.prototype.push = function (data, flush_mode) {\n const strm = this.strm;\n const chunkSize = this.options.chunkSize;\n let status, _flush_mode;\n\n if (this.ended) { return false; }\n\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\n else _flush_mode = flush_mode === true ? Z_FINISH$2 : Z_NO_FLUSH$1;\n\n // Convert data if needed\n if (typeof data === 'string') {\n // If we need to compress text, change encoding to utf8.\n strm.input = strings.string2buf(data);\n } else if (toString$1.call(data) === '[object ArrayBuffer]') {\n strm.input = new Uint8Array(data);\n } else {\n strm.input = data;\n }\n\n strm.next_in = 0;\n strm.avail_in = strm.input.length;\n\n for (;;) {\n if (strm.avail_out === 0) {\n strm.output = new Uint8Array(chunkSize);\n strm.next_out = 0;\n strm.avail_out = chunkSize;\n }\n\n // Make sure avail_out > 6 to avoid repeating markers\n if ((_flush_mode === Z_SYNC_FLUSH || _flush_mode === Z_FULL_FLUSH) && strm.avail_out <= 6) {\n this.onData(strm.output.subarray(0, strm.next_out));\n strm.avail_out = 0;\n continue;\n }\n\n status = deflate_1$2.deflate(strm, _flush_mode);\n\n // Ended => flush and finish\n if (status === Z_STREAM_END$2) {\n if (strm.next_out > 0) {\n this.onData(strm.output.subarray(0, strm.next_out));\n }\n status = deflate_1$2.deflateEnd(this.strm);\n this.onEnd(status);\n this.ended = true;\n return status === Z_OK$2;\n }\n\n // Flush if out buffer full\n if (strm.avail_out === 0) {\n this.onData(strm.output);\n continue;\n }\n\n // Flush if requested and has data\n if (_flush_mode > 0 && strm.next_out > 0) {\n this.onData(strm.output.subarray(0, strm.next_out));\n strm.avail_out = 0;\n continue;\n }\n\n if (strm.avail_in === 0) break;\n }\n\n return true;\n};\n\n\n/**\n * Deflate#onData(chunk) -> Void\n * - chunk (Uint8Array): output data.\n *\n * By default, stores data blocks in `chunks[]` property and glue\n * those in `onEnd`. Override this handler, if you need another behaviour.\n **/\nDeflate$1.prototype.onData = function (chunk) {\n this.chunks.push(chunk);\n};\n\n\n/**\n * Deflate#onEnd(status) -> Void\n * - status (Number): deflate status. 0 (Z_OK) on success,\n * other if not.\n *\n * Called once after you tell deflate that the input stream is\n * complete (Z_FINISH). By default - join collected chunks,\n * free memory and fill `results` / `err` properties.\n **/\nDeflate$1.prototype.onEnd = function (status) {\n // On success - join\n if (status === Z_OK$2) {\n this.result = common.flattenChunks(this.chunks);\n }\n this.chunks = [];\n this.err = status;\n this.msg = this.strm.msg;\n};\n\n\n/**\n * deflate(data[, options]) -> Uint8Array\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * Compress `data` with deflate algorithm and `options`.\n *\n * Supported options are:\n *\n * - level\n * - windowBits\n * - memLevel\n * - strategy\n * - dictionary\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Sugar (options):\n *\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\n * negative windowBits implicitly.\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * const data = new Uint8Array([1,2,3,4,5,6,7,8,9]);\n *\n * console.log(pako.deflate(data));\n * ```\n **/\nfunction deflate$1(input, options) {\n const deflator = new Deflate$1(options);\n\n deflator.push(input, true);\n\n // That will never happens, if you don't cheat with options :)\n if (deflator.err) { throw deflator.msg || messages[deflator.err]; }\n\n return deflator.result;\n}\n\n\n/**\n * deflateRaw(data[, options]) -> Uint8Array\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * The same as [[deflate]], but creates raw data, without wrapper\n * (header and adler32 crc).\n **/\nfunction deflateRaw$1(input, options) {\n options = options || {};\n options.raw = true;\n return deflate$1(input, options);\n}\n\n\n/**\n * gzip(data[, options]) -> Uint8Array\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * The same as [[deflate]], but create gzip wrapper instead of\n * deflate one.\n **/\nfunction gzip$1(input, options) {\n options = options || {};\n options.gzip = true;\n return deflate$1(input, options);\n}\n\n\nvar Deflate_1$1 = Deflate$1;\nvar deflate_2 = deflate$1;\nvar deflateRaw_1$1 = deflateRaw$1;\nvar gzip_1$1 = gzip$1;\nvar constants$1 = constants$2;\n\nvar deflate_1$1 = {\n\tDeflate: Deflate_1$1,\n\tdeflate: deflate_2,\n\tdeflateRaw: deflateRaw_1$1,\n\tgzip: gzip_1$1,\n\tconstants: constants$1\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// See state defs from inflate.js\nconst BAD$1 = 16209; /* got a data error -- remain here until reset */\nconst TYPE$1 = 16191; /* i: waiting for type bits, including last-flag bit */\n\n/*\n Decode literal, length, and distance codes and write out the resulting\n literal and match bytes until either not enough input or output is\n available, an end-of-block is encountered, or a data error is encountered.\n When large enough input and output buffers are supplied to inflate(), for\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\n inflate execution time is spent in this routine.\n\n Entry assumptions:\n\n state.mode === LEN\n strm.avail_in >= 6\n strm.avail_out >= 258\n start >= strm.avail_out\n state.bits < 8\n\n On return, state.mode is one of:\n\n LEN -- ran out of enough output space or enough available input\n TYPE -- reached end of block code, inflate() to interpret next block\n BAD -- error in block data\n\n Notes:\n\n - The maximum input bits used by a length/distance pair is 15 bits for the\n length code, 5 bits for the length extra, 15 bits for the distance code,\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\n checking for available input while decoding.\n\n - The maximum bytes that a single length/distance pair can output is 258\n bytes, which is the maximum length that can be coded. inflate_fast()\n requires strm.avail_out >= 258 for each loop to avoid checking for\n output space.\n */\nvar inffast = function inflate_fast(strm, start) {\n let _in; /* local strm.input */\n let last; /* have enough input while in < last */\n let _out; /* local strm.output */\n let beg; /* inflate()'s initial strm.output */\n let end; /* while out < end, enough space available */\n//#ifdef INFLATE_STRICT\n let dmax; /* maximum distance from zlib header */\n//#endif\n let wsize; /* window size or zero if not using window */\n let whave; /* valid bytes in the window */\n let wnext; /* window write index */\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\n let s_window; /* allocated sliding window, if wsize != 0 */\n let hold; /* local strm.hold */\n let bits; /* local strm.bits */\n let lcode; /* local strm.lencode */\n let dcode; /* local strm.distcode */\n let lmask; /* mask for first level of length codes */\n let dmask; /* mask for first level of distance codes */\n let here; /* retrieved table entry */\n let op; /* code bits, operation, extra bits, or */\n /* window position, window bytes to copy */\n let len; /* match length, unused bytes */\n let dist; /* match distance */\n let from; /* where to copy match from */\n let from_source;\n\n\n let input, output; // JS specific, because we have no pointers\n\n /* copy state to local variables */\n const state = strm.state;\n //here = state.here;\n _in = strm.next_in;\n input = strm.input;\n last = _in + (strm.avail_in - 5);\n _out = strm.next_out;\n output = strm.output;\n beg = _out - (start - strm.avail_out);\n end = _out + (strm.avail_out - 257);\n//#ifdef INFLATE_STRICT\n dmax = state.dmax;\n//#endif\n wsize = state.wsize;\n whave = state.whave;\n wnext = state.wnext;\n s_window = state.window;\n hold = state.hold;\n bits = state.bits;\n lcode = state.lencode;\n dcode = state.distcode;\n lmask = (1 << state.lenbits) - 1;\n dmask = (1 << state.distbits) - 1;\n\n\n /* decode literals and length/distances until end-of-block or not enough\n input data or output space */\n\n top:\n do {\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n\n here = lcode[hold & lmask];\n\n dolen:\n for (;;) { // Goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n if (op === 0) { /* literal */\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n output[_out++] = here & 0xffff/*here.val*/;\n }\n else if (op & 16) { /* length base */\n len = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (op) {\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n len += hold & ((1 << op) - 1);\n hold >>>= op;\n bits -= op;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", len));\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n here = dcode[hold & dmask];\n\n dodist:\n for (;;) { // goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n\n if (op & 16) { /* distance base */\n dist = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n }\n dist += hold & ((1 << op) - 1);\n//#ifdef INFLATE_STRICT\n if (dist > dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD$1;\n break top;\n }\n//#endif\n hold >>>= op;\n bits -= op;\n //Tracevv((stderr, \"inflate: distance %u\\n\", dist));\n op = _out - beg; /* max distance in output */\n if (dist > op) { /* see if copy from window */\n op = dist - op; /* distance back in window */\n if (op > whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD$1;\n break top;\n }\n\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// if (len <= op - whave) {\n// do {\n// output[_out++] = 0;\n// } while (--len);\n// continue top;\n// }\n// len -= op - whave;\n// do {\n// output[_out++] = 0;\n// } while (--op > whave);\n// if (op === 0) {\n// from = _out - dist;\n// do {\n// output[_out++] = output[from++];\n// } while (--len);\n// continue top;\n// }\n//#endif\n }\n from = 0; // window index\n from_source = s_window;\n if (wnext === 0) { /* very common case */\n from += wsize - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n else if (wnext < op) { /* wrap around window */\n from += wsize + wnext - op;\n op -= wnext;\n if (op < len) { /* some from end of window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = 0;\n if (wnext < len) { /* some from start of window */\n op = wnext;\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n }\n else { /* contiguous in window */\n from += wnext - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n while (len > 2) {\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n len -= 3;\n }\n if (len) {\n output[_out++] = from_source[from++];\n if (len > 1) {\n output[_out++] = from_source[from++];\n }\n }\n }\n else {\n from = _out - dist; /* copy direct from output */\n do { /* minimum length is three */\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n len -= 3;\n } while (len > 2);\n if (len) {\n output[_out++] = output[from++];\n if (len > 1) {\n output[_out++] = output[from++];\n }\n }\n }\n }\n else if ((op & 64) === 0) { /* 2nd level distance code */\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dodist;\n }\n else {\n strm.msg = 'invalid distance code';\n state.mode = BAD$1;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n }\n else if ((op & 64) === 0) { /* 2nd level length code */\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dolen;\n }\n else if (op & 32) { /* end-of-block */\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.mode = TYPE$1;\n break top;\n }\n else {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD$1;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n } while (_in < last && _out < end);\n\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\n len = bits >> 3;\n _in -= len;\n bits -= len << 3;\n hold &= (1 << bits) - 1;\n\n /* update state and return */\n strm.next_in = _in;\n strm.next_out = _out;\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\n state.hold = hold;\n state.bits = bits;\n return;\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst MAXBITS = 15;\nconst ENOUGH_LENS$1 = 852;\nconst ENOUGH_DISTS$1 = 592;\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nconst CODES$1 = 0;\nconst LENS$1 = 1;\nconst DISTS$1 = 2;\n\nconst lbase = new Uint16Array([ /* Length codes 257..285 base */\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\n]);\n\nconst lext = new Uint8Array([ /* Length codes 257..285 extra */\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\n]);\n\nconst dbase = new Uint16Array([ /* Distance codes 0..29 base */\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\n 8193, 12289, 16385, 24577, 0, 0\n]);\n\nconst dext = new Uint8Array([ /* Distance codes 0..29 extra */\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\n 28, 28, 29, 29, 64, 64\n]);\n\nconst inflate_table = (type, lens, lens_index, codes, table, table_index, work, opts) =>\n{\n const bits = opts.bits;\n //here = opts.here; /* table entry for duplication */\n\n let len = 0; /* a code's length in bits */\n let sym = 0; /* index of code symbols */\n let min = 0, max = 0; /* minimum and maximum code lengths */\n let root = 0; /* number of index bits for root table */\n let curr = 0; /* number of index bits for current table */\n let drop = 0; /* code bits to drop for sub-table */\n let left = 0; /* number of prefix codes available */\n let used = 0; /* code entries in table used */\n let huff = 0; /* Huffman code */\n let incr; /* for incrementing code, index */\n let fill; /* index for replicating entries */\n let low; /* low bits for current root entry */\n let mask; /* mask for low root bits */\n let next; /* next available space in table */\n let base = null; /* base value table to use */\n// let shoextra; /* extra bits table to use */\n let match; /* use base and extra for symbol >= match */\n const count = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\n const offs = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\n let extra = null;\n\n let here_bits, here_op, here_val;\n\n /*\n Process a set of code lengths to create a canonical Huffman code. The\n code lengths are lens[0..codes-1]. Each length corresponds to the\n symbols 0..codes-1. The Huffman code is generated by first sorting the\n symbols by length from short to long, and retaining the symbol order\n for codes with equal lengths. Then the code starts with all zero bits\n for the first code of the shortest length, and the codes are integer\n increments for the same length, and zeros are appended as the length\n increases. For the deflate format, these bits are stored backwards\n from their more natural integer increment ordering, and so when the\n decoding tables are built in the large loop below, the integer codes\n are incremented backwards.\n\n This routine assumes, but does not check, that all of the entries in\n lens[] are in the range 0..MAXBITS. The caller must assure this.\n 1..MAXBITS is interpreted as that code length. zero means that that\n symbol does not occur in this code.\n\n The codes are sorted by computing a count of codes for each length,\n creating from that a table of starting indices for each length in the\n sorted table, and then entering the symbols in order in the sorted\n table. The sorted table is work[], with that space being provided by\n the caller.\n\n The length counts are used for other purposes as well, i.e. finding\n the minimum and maximum length codes, determining if there are any\n codes at all, checking for a valid set of lengths, and looking ahead\n at length counts to determine sub-table sizes when building the\n decoding tables.\n */\n\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\n for (len = 0; len <= MAXBITS; len++) {\n count[len] = 0;\n }\n for (sym = 0; sym < codes; sym++) {\n count[lens[lens_index + sym]]++;\n }\n\n /* bound code lengths, force root to be within code lengths */\n root = bits;\n for (max = MAXBITS; max >= 1; max--) {\n if (count[max] !== 0) { break; }\n }\n if (root > max) {\n root = max;\n }\n if (max === 0) { /* no symbols to code at all */\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n\n //table.op[opts.table_index] = 64;\n //table.bits[opts.table_index] = 1;\n //table.val[opts.table_index++] = 0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n opts.bits = 1;\n return 0; /* no symbols, but wait for decoding to report error */\n }\n for (min = 1; min < max; min++) {\n if (count[min] !== 0) { break; }\n }\n if (root < min) {\n root = min;\n }\n\n /* check for an over-subscribed or incomplete set of lengths */\n left = 1;\n for (len = 1; len <= MAXBITS; len++) {\n left <<= 1;\n left -= count[len];\n if (left < 0) {\n return -1;\n } /* over-subscribed */\n }\n if (left > 0 && (type === CODES$1 || max !== 1)) {\n return -1; /* incomplete set */\n }\n\n /* generate offsets into symbol table for each length for sorting */\n offs[1] = 0;\n for (len = 1; len < MAXBITS; len++) {\n offs[len + 1] = offs[len] + count[len];\n }\n\n /* sort symbols by length, by symbol order within each length */\n for (sym = 0; sym < codes; sym++) {\n if (lens[lens_index + sym] !== 0) {\n work[offs[lens[lens_index + sym]]++] = sym;\n }\n }\n\n /*\n Create and fill in decoding tables. In this loop, the table being\n filled is at next and has curr index bits. The code being used is huff\n with length len. That code is converted to an index by dropping drop\n bits off of the bottom. For codes where len is less than drop + curr,\n those top drop + curr - len bits are incremented through all values to\n fill the table with replicated entries.\n\n root is the number of index bits for the root table. When len exceeds\n root, sub-tables are created pointed to by the root entry with an index\n of the low root bits of huff. This is saved in low to check for when a\n new sub-table should be started. drop is zero when the root table is\n being filled, and drop is root when sub-tables are being filled.\n\n When a new sub-table is needed, it is necessary to look ahead in the\n code lengths to determine what size sub-table is needed. The length\n counts are used for this, and so count[] is decremented as codes are\n entered in the tables.\n\n used keeps track of how many table entries have been allocated from the\n provided *table space. It is checked for LENS and DIST tables against\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\n the initial root table size constants. See the comments in inftrees.h\n for more information.\n\n sym increments through all symbols, and the loop terminates when\n all codes of length max, i.e. all codes, have been processed. This\n routine permits incomplete codes, so another loop after this one fills\n in the rest of the decoding tables with invalid code markers.\n */\n\n /* set up for code type */\n // poor man optimization - use if-else instead of switch,\n // to avoid deopts in old v8\n if (type === CODES$1) {\n base = extra = work; /* dummy value--not used */\n match = 20;\n\n } else if (type === LENS$1) {\n base = lbase;\n extra = lext;\n match = 257;\n\n } else { /* DISTS */\n base = dbase;\n extra = dext;\n match = 0;\n }\n\n /* initialize opts for loop */\n huff = 0; /* starting code */\n sym = 0; /* starting code symbol */\n len = min; /* starting code length */\n next = table_index; /* current table to fill in */\n curr = root; /* current table index bits */\n drop = 0; /* current bits to drop from code for index */\n low = -1; /* trigger new sub-table when len > root */\n used = 1 << root; /* use root table entries */\n mask = used - 1; /* mask for comparing low */\n\n /* check available table space */\n if ((type === LENS$1 && used > ENOUGH_LENS$1) ||\n (type === DISTS$1 && used > ENOUGH_DISTS$1)) {\n return 1;\n }\n\n /* process all codes and make table entries */\n for (;;) {\n /* create table entry */\n here_bits = len - drop;\n if (work[sym] + 1 < match) {\n here_op = 0;\n here_val = work[sym];\n }\n else if (work[sym] >= match) {\n here_op = extra[work[sym] - match];\n here_val = base[work[sym] - match];\n }\n else {\n here_op = 32 + 64; /* end of block */\n here_val = 0;\n }\n\n /* replicate for those indices with low len bits equal to huff */\n incr = 1 << (len - drop);\n fill = 1 << curr;\n min = fill; /* save offset to next table */\n do {\n fill -= incr;\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\n } while (fill !== 0);\n\n /* backwards increment the len-bit code huff */\n incr = 1 << (len - 1);\n while (huff & incr) {\n incr >>= 1;\n }\n if (incr !== 0) {\n huff &= incr - 1;\n huff += incr;\n } else {\n huff = 0;\n }\n\n /* go to next symbol, update count, len */\n sym++;\n if (--count[len] === 0) {\n if (len === max) { break; }\n len = lens[lens_index + work[sym]];\n }\n\n /* create new sub-table if needed */\n if (len > root && (huff & mask) !== low) {\n /* if first time, transition to sub-tables */\n if (drop === 0) {\n drop = root;\n }\n\n /* increment past last table */\n next += min; /* here min is 1 << curr */\n\n /* determine length of next table */\n curr = len - drop;\n left = 1 << curr;\n while (curr + drop < max) {\n left -= count[curr + drop];\n if (left <= 0) { break; }\n curr++;\n left <<= 1;\n }\n\n /* check for enough space */\n used += 1 << curr;\n if ((type === LENS$1 && used > ENOUGH_LENS$1) ||\n (type === DISTS$1 && used > ENOUGH_DISTS$1)) {\n return 1;\n }\n\n /* point entry in root table to sub-table */\n low = huff & mask;\n /*table.op[low] = curr;\n table.bits[low] = root;\n table.val[low] = next - opts.table_index;*/\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\n }\n }\n\n /* fill in remaining table entry if code is incomplete (guaranteed to have\n at most one remaining entry, since if the code is incomplete, the\n maximum code length that was allowed to get this far is one bit) */\n if (huff !== 0) {\n //table.op[next + huff] = 64; /* invalid code marker */\n //table.bits[next + huff] = len - drop;\n //table.val[next + huff] = 0;\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\n }\n\n /* set return parameters */\n //opts.table_index += used;\n opts.bits = root;\n return 0;\n};\n\n\nvar inftrees = inflate_table;\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n\n\n\n\n\nconst CODES = 0;\nconst LENS = 1;\nconst DISTS = 2;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_FINISH: Z_FINISH$1, Z_BLOCK, Z_TREES,\n Z_OK: Z_OK$1, Z_STREAM_END: Z_STREAM_END$1, Z_NEED_DICT: Z_NEED_DICT$1, Z_STREAM_ERROR: Z_STREAM_ERROR$1, Z_DATA_ERROR: Z_DATA_ERROR$1, Z_MEM_ERROR: Z_MEM_ERROR$1, Z_BUF_ERROR,\n Z_DEFLATED\n} = constants$2;\n\n\n/* STATES ====================================================================*/\n/* ===========================================================================*/\n\n\nconst HEAD = 16180; /* i: waiting for magic header */\nconst FLAGS = 16181; /* i: waiting for method and flags (gzip) */\nconst TIME = 16182; /* i: waiting for modification time (gzip) */\nconst OS = 16183; /* i: waiting for extra flags and operating system (gzip) */\nconst EXLEN = 16184; /* i: waiting for extra length (gzip) */\nconst EXTRA = 16185; /* i: waiting for extra bytes (gzip) */\nconst NAME = 16186; /* i: waiting for end of file name (gzip) */\nconst COMMENT = 16187; /* i: waiting for end of comment (gzip) */\nconst HCRC = 16188; /* i: waiting for header crc (gzip) */\nconst DICTID = 16189; /* i: waiting for dictionary check value */\nconst DICT = 16190; /* waiting for inflateSetDictionary() call */\nconst TYPE = 16191; /* i: waiting for type bits, including last-flag bit */\nconst TYPEDO = 16192; /* i: same, but skip check to exit inflate on new block */\nconst STORED = 16193; /* i: waiting for stored size (length and complement) */\nconst COPY_ = 16194; /* i/o: same as COPY below, but only first time in */\nconst COPY = 16195; /* i/o: waiting for input or output to copy stored block */\nconst TABLE = 16196; /* i: waiting for dynamic block table lengths */\nconst LENLENS = 16197; /* i: waiting for code length code lengths */\nconst CODELENS = 16198; /* i: waiting for length/lit and distance code lengths */\nconst LEN_ = 16199; /* i: same as LEN below, but only first time in */\nconst LEN = 16200; /* i: waiting for length/lit/eob code */\nconst LENEXT = 16201; /* i: waiting for length extra bits */\nconst DIST = 16202; /* i: waiting for distance code */\nconst DISTEXT = 16203; /* i: waiting for distance extra bits */\nconst MATCH = 16204; /* o: waiting for output space to copy string */\nconst LIT = 16205; /* o: waiting for output space to write literal */\nconst CHECK = 16206; /* i: waiting for 32-bit check value */\nconst LENGTH = 16207; /* i: waiting for 32-bit length (gzip) */\nconst DONE = 16208; /* finished check, done -- remain here until reset */\nconst BAD = 16209; /* got a data error -- remain here until reset */\nconst MEM = 16210; /* got an inflate() memory error -- remain here until reset */\nconst SYNC = 16211; /* looking for synchronization bytes to restart inflate() */\n\n/* ===========================================================================*/\n\n\n\nconst ENOUGH_LENS = 852;\nconst ENOUGH_DISTS = 592;\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nconst MAX_WBITS = 15;\n/* 32K LZ77 window */\nconst DEF_WBITS = MAX_WBITS;\n\n\nconst zswap32 = (q) => {\n\n return (((q >>> 24) & 0xff) +\n ((q >>> 8) & 0xff00) +\n ((q & 0xff00) << 8) +\n ((q & 0xff) << 24));\n};\n\n\nfunction InflateState() {\n this.strm = null; /* pointer back to this zlib stream */\n this.mode = 0; /* current inflate mode */\n this.last = false; /* true if processing last block */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip,\n bit 2 true to validate check value */\n this.havedict = false; /* true if dictionary provided */\n this.flags = 0; /* gzip header method and flags (0 if zlib), or\n -1 if raw or no header yet */\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\n this.check = 0; /* protected copy of check value */\n this.total = 0; /* protected copy of output count */\n // TODO: may be {}\n this.head = null; /* where to save gzip header information */\n\n /* sliding window */\n this.wbits = 0; /* log base 2 of requested window size */\n this.wsize = 0; /* window size or zero if not using window */\n this.whave = 0; /* valid bytes in the window */\n this.wnext = 0; /* window write index */\n this.window = null; /* allocated sliding window, if needed */\n\n /* bit accumulator */\n this.hold = 0; /* input bit accumulator */\n this.bits = 0; /* number of bits in \"in\" */\n\n /* for string and stored block copying */\n this.length = 0; /* literal or length of data to copy */\n this.offset = 0; /* distance back to copy string from */\n\n /* for table and code decoding */\n this.extra = 0; /* extra bits needed */\n\n /* fixed and dynamic code tables */\n this.lencode = null; /* starting table for length/literal codes */\n this.distcode = null; /* starting table for distance codes */\n this.lenbits = 0; /* index bits for lencode */\n this.distbits = 0; /* index bits for distcode */\n\n /* dynamic table building */\n this.ncode = 0; /* number of code length code lengths */\n this.nlen = 0; /* number of length code lengths */\n this.ndist = 0; /* number of distance code lengths */\n this.have = 0; /* number of code lengths in lens[] */\n this.next = null; /* next available space in codes[] */\n\n this.lens = new Uint16Array(320); /* temporary storage for code lengths */\n this.work = new Uint16Array(288); /* work area for code table building */\n\n /*\n because we don't have pointers in js, we use lencode and distcode directly\n as buffers so we don't need codes\n */\n //this.codes = new Int32Array(ENOUGH); /* space for code tables */\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\n this.sane = 0; /* if false, allow invalid distance too far */\n this.back = 0; /* bits back of last unprocessed length/lit */\n this.was = 0; /* initial length of match */\n}\n\n\nconst inflateStateCheck = (strm) => {\n\n if (!strm) {\n return 1;\n }\n const state = strm.state;\n if (!state || state.strm !== strm ||\n state.mode < HEAD || state.mode > SYNC) {\n return 1;\n }\n return 0;\n};\n\n\nconst inflateResetKeep = (strm) => {\n\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR$1; }\n const state = strm.state;\n strm.total_in = strm.total_out = state.total = 0;\n strm.msg = ''; /*Z_NULL*/\n if (state.wrap) { /* to support ill-conceived Java test suite */\n strm.adler = state.wrap & 1;\n }\n state.mode = HEAD;\n state.last = 0;\n state.havedict = 0;\n state.flags = -1;\n state.dmax = 32768;\n state.head = null/*Z_NULL*/;\n state.hold = 0;\n state.bits = 0;\n //state.lencode = state.distcode = state.next = state.codes;\n state.lencode = state.lendyn = new Int32Array(ENOUGH_LENS);\n state.distcode = state.distdyn = new Int32Array(ENOUGH_DISTS);\n\n state.sane = 1;\n state.back = -1;\n //Tracev((stderr, \"inflate: reset\\n\"));\n return Z_OK$1;\n};\n\n\nconst inflateReset = (strm) => {\n\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR$1; }\n const state = strm.state;\n state.wsize = 0;\n state.whave = 0;\n state.wnext = 0;\n return inflateResetKeep(strm);\n\n};\n\n\nconst inflateReset2 = (strm, windowBits) => {\n let wrap;\n\n /* get the state */\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR$1; }\n const state = strm.state;\n\n /* extract wrap request from windowBits parameter */\n if (windowBits < 0) {\n wrap = 0;\n windowBits = -windowBits;\n }\n else {\n wrap = (windowBits >> 4) + 5;\n if (windowBits < 48) {\n windowBits &= 15;\n }\n }\n\n /* set number of window bits, free window if different */\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\n return Z_STREAM_ERROR$1;\n }\n if (state.window !== null && state.wbits !== windowBits) {\n state.window = null;\n }\n\n /* update state and reset the rest of it */\n state.wrap = wrap;\n state.wbits = windowBits;\n return inflateReset(strm);\n};\n\n\nconst inflateInit2 = (strm, windowBits) => {\n\n if (!strm) { return Z_STREAM_ERROR$1; }\n //strm.msg = Z_NULL; /* in case we return an error */\n\n const state = new InflateState();\n\n //if (state === Z_NULL) return Z_MEM_ERROR;\n //Tracev((stderr, \"inflate: allocated\\n\"));\n strm.state = state;\n state.strm = strm;\n state.window = null/*Z_NULL*/;\n state.mode = HEAD; /* to pass state test in inflateReset2() */\n const ret = inflateReset2(strm, windowBits);\n if (ret !== Z_OK$1) {\n strm.state = null/*Z_NULL*/;\n }\n return ret;\n};\n\n\nconst inflateInit = (strm) => {\n\n return inflateInit2(strm, DEF_WBITS);\n};\n\n\n/*\n Return state with length and distance decoding tables and index sizes set to\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\n If BUILDFIXED is defined, then instead this routine builds the tables the\n first time it's called, and returns those tables the first time and\n thereafter. This reduces the size of the code by about 2K bytes, in\n exchange for a little execution time. However, BUILDFIXED should not be\n used for threaded applications, since the rewriting of the tables and virgin\n may not be thread-safe.\n */\nlet virgin = true;\n\nlet lenfix, distfix; // We have no pointers in JS, so keep tables separate\n\n\nconst fixedtables = (state) => {\n\n /* build fixed huffman tables if first call (may not be thread safe) */\n if (virgin) {\n lenfix = new Int32Array(512);\n distfix = new Int32Array(32);\n\n /* literal/length table */\n let sym = 0;\n while (sym < 144) { state.lens[sym++] = 8; }\n while (sym < 256) { state.lens[sym++] = 9; }\n while (sym < 280) { state.lens[sym++] = 7; }\n while (sym < 288) { state.lens[sym++] = 8; }\n\n inftrees(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\n\n /* distance table */\n sym = 0;\n while (sym < 32) { state.lens[sym++] = 5; }\n\n inftrees(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\n\n /* do this just once */\n virgin = false;\n }\n\n state.lencode = lenfix;\n state.lenbits = 9;\n state.distcode = distfix;\n state.distbits = 5;\n};\n\n\n/*\n Update the window with the last wsize (normally 32K) bytes written before\n returning. If window does not exist yet, create it. This is only called\n when a window is already in use, or when output has been written during this\n inflate call, but the end of the deflate stream has not been reached yet.\n It is also called to create a window for dictionary data when a dictionary\n is loaded.\n\n Providing output buffers larger than 32K to inflate() should provide a speed\n advantage, since only the last 32K of output is copied to the sliding window\n upon return from inflate(), and since all distances after the first 32K of\n output will fall in the output data, making match copies simpler and faster.\n The advantage may be dependent on the size of the processor's data caches.\n */\nconst updatewindow = (strm, src, end, copy) => {\n\n let dist;\n const state = strm.state;\n\n /* if it hasn't been done already, allocate space for the window */\n if (state.window === null) {\n state.wsize = 1 << state.wbits;\n state.wnext = 0;\n state.whave = 0;\n\n state.window = new Uint8Array(state.wsize);\n }\n\n /* copy state->wsize or less output bytes into the circular window */\n if (copy >= state.wsize) {\n state.window.set(src.subarray(end - state.wsize, end), 0);\n state.wnext = 0;\n state.whave = state.wsize;\n }\n else {\n dist = state.wsize - state.wnext;\n if (dist > copy) {\n dist = copy;\n }\n //zmemcpy(state->window + state->wnext, end - copy, dist);\n state.window.set(src.subarray(end - copy, end - copy + dist), state.wnext);\n copy -= dist;\n if (copy) {\n //zmemcpy(state->window, end - copy, copy);\n state.window.set(src.subarray(end - copy, end), 0);\n state.wnext = copy;\n state.whave = state.wsize;\n }\n else {\n state.wnext += dist;\n if (state.wnext === state.wsize) { state.wnext = 0; }\n if (state.whave < state.wsize) { state.whave += dist; }\n }\n }\n return 0;\n};\n\n\nconst inflate$2 = (strm, flush) => {\n\n let state;\n let input, output; // input/output buffers\n let next; /* next input INDEX */\n let put; /* next output INDEX */\n let have, left; /* available input and output */\n let hold; /* bit buffer */\n let bits; /* bits in bit buffer */\n let _in, _out; /* save starting available input and output */\n let copy; /* number of stored or match bytes to copy */\n let from; /* where to copy match bytes from */\n let from_source;\n let here = 0; /* current decoding table entry */\n let here_bits, here_op, here_val; // paked \"here\" denormalized (JS specific)\n //let last; /* parent table entry */\n let last_bits, last_op, last_val; // paked \"last\" denormalized (JS specific)\n let len; /* length to copy for repeats, bits to drop */\n let ret; /* return code */\n const hbuf = new Uint8Array(4); /* buffer for gzip header crc calculation */\n let opts;\n\n let n; // temporary variable for NEED_BITS\n\n const order = /* permutation of code lengths */\n new Uint8Array([ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ]);\n\n\n if (inflateStateCheck(strm) || !strm.output ||\n (!strm.input && strm.avail_in !== 0)) {\n return Z_STREAM_ERROR$1;\n }\n\n state = strm.state;\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\n\n\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n _in = have;\n _out = left;\n ret = Z_OK$1;\n\n inf_leave: // goto emulation\n for (;;) {\n switch (state.mode) {\n case HEAD:\n if (state.wrap === 0) {\n state.mode = TYPEDO;\n break;\n }\n //=== NEEDBITS(16);\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\n if (state.wbits === 0) {\n state.wbits = 15;\n }\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32_1(state.check, hbuf, 2, 0);\n //===//\n\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = FLAGS;\n break;\n }\n if (state.head) {\n state.head.done = false;\n }\n if (!(state.wrap & 1) || /* check if zlib header allowed */\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\n strm.msg = 'incorrect header check';\n state.mode = BAD;\n break;\n }\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\n if (state.wbits === 0) {\n state.wbits = len;\n }\n if (len > 15 || len > state.wbits) {\n strm.msg = 'invalid window size';\n state.mode = BAD;\n break;\n }\n\n // !!! pako patch. Force use `options.windowBits` if passed.\n // Required to always use max window size by default.\n state.dmax = 1 << state.wbits;\n //state.dmax = 1 << len;\n\n state.flags = 0; /* indicate zlib header */\n //Tracev((stderr, \"inflate: zlib header ok\\n\"));\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = hold & 0x200 ? DICTID : TYPE;\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n break;\n case FLAGS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.flags = hold;\n if ((state.flags & 0xff) !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n if (state.flags & 0xe000) {\n strm.msg = 'unknown header flags set';\n state.mode = BAD;\n break;\n }\n if (state.head) {\n state.head.text = ((hold >> 8) & 1);\n }\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32_1(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = TIME;\n /* falls through */\n case TIME:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.time = hold;\n }\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n //=== CRC4(state.check, hold)\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n hbuf[2] = (hold >>> 16) & 0xff;\n hbuf[3] = (hold >>> 24) & 0xff;\n state.check = crc32_1(state.check, hbuf, 4, 0);\n //===\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = OS;\n /* falls through */\n case OS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.xflags = (hold & 0xff);\n state.head.os = (hold >> 8);\n }\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32_1(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = EXLEN;\n /* falls through */\n case EXLEN:\n if (state.flags & 0x0400) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length = hold;\n if (state.head) {\n state.head.extra_len = hold;\n }\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32_1(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n else if (state.head) {\n state.head.extra = null/*Z_NULL*/;\n }\n state.mode = EXTRA;\n /* falls through */\n case EXTRA:\n if (state.flags & 0x0400) {\n copy = state.length;\n if (copy > have) { copy = have; }\n if (copy) {\n if (state.head) {\n len = state.head.extra_len - state.length;\n if (!state.head.extra) {\n // Use untyped array for more convenient processing later\n state.head.extra = new Uint8Array(state.head.extra_len);\n }\n state.head.extra.set(\n input.subarray(\n next,\n // extra field is limited to 65536 bytes\n // - no need for additional size check\n next + copy\n ),\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\n len\n );\n //zmemcpy(state.head.extra + len, next,\n // len + copy > state.head.extra_max ?\n // state.head.extra_max - len : copy);\n }\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n state.check = crc32_1(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n state.length -= copy;\n }\n if (state.length) { break inf_leave; }\n }\n state.length = 0;\n state.mode = NAME;\n /* falls through */\n case NAME:\n if (state.flags & 0x0800) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n // TODO: 2 or 1 bytes?\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.name_max*/)) {\n state.head.name += String.fromCharCode(len);\n }\n } while (len && copy < have);\n\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n state.check = crc32_1(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.name = null;\n }\n state.length = 0;\n state.mode = COMMENT;\n /* falls through */\n case COMMENT:\n if (state.flags & 0x1000) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.comm_max*/)) {\n state.head.comment += String.fromCharCode(len);\n }\n } while (len && copy < have);\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\n state.check = crc32_1(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.comment = null;\n }\n state.mode = HCRC;\n /* falls through */\n case HCRC:\n if (state.flags & 0x0200) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((state.wrap & 4) && hold !== (state.check & 0xffff)) {\n strm.msg = 'header crc mismatch';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n if (state.head) {\n state.head.hcrc = ((state.flags >> 9) & 1);\n state.head.done = true;\n }\n strm.adler = state.check = 0;\n state.mode = TYPE;\n break;\n case DICTID:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n strm.adler = state.check = zswap32(hold);\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = DICT;\n /* falls through */\n case DICT:\n if (state.havedict === 0) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n return Z_NEED_DICT$1;\n }\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = TYPE;\n /* falls through */\n case TYPE:\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case TYPEDO:\n if (state.last) {\n //--- BYTEBITS() ---//\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n state.mode = CHECK;\n break;\n }\n //=== NEEDBITS(3); */\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.last = (hold & 0x01)/*BITS(1)*/;\n //--- DROPBITS(1) ---//\n hold >>>= 1;\n bits -= 1;\n //---//\n\n switch ((hold & 0x03)/*BITS(2)*/) {\n case 0: /* stored block */\n //Tracev((stderr, \"inflate: stored block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = STORED;\n break;\n case 1: /* fixed block */\n fixedtables(state);\n //Tracev((stderr, \"inflate: fixed codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = LEN_; /* decode codes */\n if (flush === Z_TREES) {\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break inf_leave;\n }\n break;\n case 2: /* dynamic block */\n //Tracev((stderr, \"inflate: dynamic codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = TABLE;\n break;\n case 3:\n strm.msg = 'invalid block type';\n state.mode = BAD;\n }\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break;\n case STORED:\n //--- BYTEBITS() ---// /* go to byte boundary */\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\n strm.msg = 'invalid stored block lengths';\n state.mode = BAD;\n break;\n }\n state.length = hold & 0xffff;\n //Tracev((stderr, \"inflate: stored length %u\\n\",\n // state.length));\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = COPY_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case COPY_:\n state.mode = COPY;\n /* falls through */\n case COPY:\n copy = state.length;\n if (copy) {\n if (copy > have) { copy = have; }\n if (copy > left) { copy = left; }\n if (copy === 0) { break inf_leave; }\n //--- zmemcpy(put, next, copy); ---\n output.set(input.subarray(next, next + copy), put);\n //---//\n have -= copy;\n next += copy;\n left -= copy;\n put += copy;\n state.length -= copy;\n break;\n }\n //Tracev((stderr, \"inflate: stored end\\n\"));\n state.mode = TYPE;\n break;\n case TABLE:\n //=== NEEDBITS(14); */\n while (bits < 14) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n//#ifndef PKZIP_BUG_WORKAROUND\n if (state.nlen > 286 || state.ndist > 30) {\n strm.msg = 'too many length or distance symbols';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracev((stderr, \"inflate: table sizes ok\\n\"));\n state.have = 0;\n state.mode = LENLENS;\n /* falls through */\n case LENLENS:\n while (state.have < state.ncode) {\n //=== NEEDBITS(3);\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n while (state.have < 19) {\n state.lens[order[state.have++]] = 0;\n }\n // We have separate tables & no pointers. 2 commented lines below not needed.\n //state.next = state.codes;\n //state.lencode = state.next;\n // Switch to use dynamic table\n state.lencode = state.lendyn;\n state.lenbits = 7;\n\n opts = { bits: state.lenbits };\n ret = inftrees(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\n state.lenbits = opts.bits;\n\n if (ret) {\n strm.msg = 'invalid code lengths set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, \"inflate: code lengths ok\\n\"));\n state.have = 0;\n state.mode = CODELENS;\n /* falls through */\n case CODELENS:\n while (state.have < state.nlen + state.ndist) {\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_val < 16) {\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.lens[state.have++] = here_val;\n }\n else {\n if (here_val === 16) {\n //=== NEEDBITS(here.bits + 2);\n n = here_bits + 2;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n if (state.have === 0) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n len = state.lens[state.have - 1];\n copy = 3 + (hold & 0x03);//BITS(2);\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n }\n else if (here_val === 17) {\n //=== NEEDBITS(here.bits + 3);\n n = here_bits + 3;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 3 + (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n else {\n //=== NEEDBITS(here.bits + 7);\n n = here_bits + 7;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 11 + (hold & 0x7f);//BITS(7);\n //--- DROPBITS(7) ---//\n hold >>>= 7;\n bits -= 7;\n //---//\n }\n if (state.have + copy > state.nlen + state.ndist) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n while (copy--) {\n state.lens[state.have++] = len;\n }\n }\n }\n\n /* handle error breaks in while */\n if (state.mode === BAD) { break; }\n\n /* check for end-of-block code (better have one) */\n if (state.lens[256] === 0) {\n strm.msg = 'invalid code -- missing end-of-block';\n state.mode = BAD;\n break;\n }\n\n /* build code tables -- note: do not change the lenbits or distbits\n values here (9 and 6) without reading the comments in inftrees.h\n concerning the ENOUGH constants, which depend on those values */\n state.lenbits = 9;\n\n opts = { bits: state.lenbits };\n ret = inftrees(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.lenbits = opts.bits;\n // state.lencode = state.next;\n\n if (ret) {\n strm.msg = 'invalid literal/lengths set';\n state.mode = BAD;\n break;\n }\n\n state.distbits = 6;\n //state.distcode.copy(state.codes);\n // Switch to use dynamic table\n state.distcode = state.distdyn;\n opts = { bits: state.distbits };\n ret = inftrees(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.distbits = opts.bits;\n // state.distcode = state.next;\n\n if (ret) {\n strm.msg = 'invalid distances set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, 'inflate: codes ok\\n'));\n state.mode = LEN_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case LEN_:\n state.mode = LEN;\n /* falls through */\n case LEN:\n if (have >= 6 && left >= 258) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n inffast(strm, _out);\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n if (state.mode === TYPE) {\n state.back = -1;\n }\n break;\n }\n state.back = 0;\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if (here_bits <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_op && (here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.lencode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n state.length = here_val;\n if (here_op === 0) {\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n state.mode = LIT;\n break;\n }\n if (here_op & 32) {\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.back = -1;\n state.mode = TYPE;\n break;\n }\n if (here_op & 64) {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break;\n }\n state.extra = here_op & 15;\n state.mode = LENEXT;\n /* falls through */\n case LENEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", state.length));\n state.was = state.length;\n state.mode = DIST;\n /* falls through */\n case DIST:\n for (;;) {\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if ((here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.distcode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n if (here_op & 64) {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break;\n }\n state.offset = here_val;\n state.extra = (here_op) & 15;\n state.mode = DISTEXT;\n /* falls through */\n case DISTEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n//#ifdef INFLATE_STRICT\n if (state.offset > state.dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracevv((stderr, \"inflate: distance %u\\n\", state.offset));\n state.mode = MATCH;\n /* falls through */\n case MATCH:\n if (left === 0) { break inf_leave; }\n copy = _out - left;\n if (state.offset > copy) { /* copy from window */\n copy = state.offset - copy;\n if (copy > state.whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// Trace((stderr, \"inflate.c too far\\n\"));\n// copy -= state.whave;\n// if (copy > state.length) { copy = state.length; }\n// if (copy > left) { copy = left; }\n// left -= copy;\n// state.length -= copy;\n// do {\n// output[put++] = 0;\n// } while (--copy);\n// if (state.length === 0) { state.mode = LEN; }\n// break;\n//#endif\n }\n if (copy > state.wnext) {\n copy -= state.wnext;\n from = state.wsize - copy;\n }\n else {\n from = state.wnext - copy;\n }\n if (copy > state.length) { copy = state.length; }\n from_source = state.window;\n }\n else { /* copy from output */\n from_source = output;\n from = put - state.offset;\n copy = state.length;\n }\n if (copy > left) { copy = left; }\n left -= copy;\n state.length -= copy;\n do {\n output[put++] = from_source[from++];\n } while (--copy);\n if (state.length === 0) { state.mode = LEN; }\n break;\n case LIT:\n if (left === 0) { break inf_leave; }\n output[put++] = state.length;\n left--;\n state.mode = LEN;\n break;\n case CHECK:\n if (state.wrap) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n // Use '|' instead of '+' to make sure that result is signed\n hold |= input[next++] << bits;\n bits += 8;\n }\n //===//\n _out -= left;\n strm.total_out += _out;\n state.total += _out;\n if ((state.wrap & 4) && _out) {\n strm.adler = state.check =\n /*UPDATE_CHECK(state.check, put - _out, _out);*/\n (state.flags ? crc32_1(state.check, output, _out, put - _out) : adler32_1(state.check, output, _out, put - _out));\n\n }\n _out = left;\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\n if ((state.wrap & 4) && (state.flags ? hold : zswap32(hold)) !== state.check) {\n strm.msg = 'incorrect data check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: check matches trailer\\n\"));\n }\n state.mode = LENGTH;\n /* falls through */\n case LENGTH:\n if (state.wrap && state.flags) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((state.wrap & 4) && hold !== (state.total & 0xffffffff)) {\n strm.msg = 'incorrect length check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: length matches trailer\\n\"));\n }\n state.mode = DONE;\n /* falls through */\n case DONE:\n ret = Z_STREAM_END$1;\n break inf_leave;\n case BAD:\n ret = Z_DATA_ERROR$1;\n break inf_leave;\n case MEM:\n return Z_MEM_ERROR$1;\n case SYNC:\n /* falls through */\n default:\n return Z_STREAM_ERROR$1;\n }\n }\n\n // inf_leave <- here is real place for \"goto inf_leave\", emulated via \"break inf_leave\"\n\n /*\n Return from inflate(), updating the total counts and the check value.\n If there was no progress during the inflate() call, return a buffer\n error. Call updatewindow() to create and/or update the window state.\n Note: a memory error from inflate() is non-recoverable.\n */\n\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\n (state.mode < CHECK || flush !== Z_FINISH$1))) {\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) ;\n }\n _in -= strm.avail_in;\n _out -= strm.avail_out;\n strm.total_in += _in;\n strm.total_out += _out;\n state.total += _out;\n if ((state.wrap & 4) && _out) {\n strm.adler = state.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/\n (state.flags ? crc32_1(state.check, output, _out, strm.next_out - _out) : adler32_1(state.check, output, _out, strm.next_out - _out));\n }\n strm.data_type = state.bits + (state.last ? 64 : 0) +\n (state.mode === TYPE ? 128 : 0) +\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\n if (((_in === 0 && _out === 0) || flush === Z_FINISH$1) && ret === Z_OK$1) {\n ret = Z_BUF_ERROR;\n }\n return ret;\n};\n\n\nconst inflateEnd = (strm) => {\n\n if (inflateStateCheck(strm)) {\n return Z_STREAM_ERROR$1;\n }\n\n let state = strm.state;\n if (state.window) {\n state.window = null;\n }\n strm.state = null;\n return Z_OK$1;\n};\n\n\nconst inflateGetHeader = (strm, head) => {\n\n /* check state */\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR$1; }\n const state = strm.state;\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR$1; }\n\n /* save header structure */\n state.head = head;\n head.done = false;\n return Z_OK$1;\n};\n\n\nconst inflateSetDictionary = (strm, dictionary) => {\n const dictLength = dictionary.length;\n\n let state;\n let dictid;\n let ret;\n\n /* check state */\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR$1; }\n state = strm.state;\n\n if (state.wrap !== 0 && state.mode !== DICT) {\n return Z_STREAM_ERROR$1;\n }\n\n /* check for correct dictionary identifier */\n if (state.mode === DICT) {\n dictid = 1; /* adler32(0, null, 0)*/\n /* dictid = adler32(dictid, dictionary, dictLength); */\n dictid = adler32_1(dictid, dictionary, dictLength, 0);\n if (dictid !== state.check) {\n return Z_DATA_ERROR$1;\n }\n }\n /* copy dictionary to window using updatewindow(), which will amend the\n existing dictionary if appropriate */\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\n if (ret) {\n state.mode = MEM;\n return Z_MEM_ERROR$1;\n }\n state.havedict = 1;\n // Tracev((stderr, \"inflate: dictionary set\\n\"));\n return Z_OK$1;\n};\n\n\nvar inflateReset_1 = inflateReset;\nvar inflateReset2_1 = inflateReset2;\nvar inflateResetKeep_1 = inflateResetKeep;\nvar inflateInit_1 = inflateInit;\nvar inflateInit2_1 = inflateInit2;\nvar inflate_2$1 = inflate$2;\nvar inflateEnd_1 = inflateEnd;\nvar inflateGetHeader_1 = inflateGetHeader;\nvar inflateSetDictionary_1 = inflateSetDictionary;\nvar inflateInfo = 'pako inflate (from Nodeca project)';\n\n/* Not implemented\nmodule.exports.inflateCodesUsed = inflateCodesUsed;\nmodule.exports.inflateCopy = inflateCopy;\nmodule.exports.inflateGetDictionary = inflateGetDictionary;\nmodule.exports.inflateMark = inflateMark;\nmodule.exports.inflatePrime = inflatePrime;\nmodule.exports.inflateSync = inflateSync;\nmodule.exports.inflateSyncPoint = inflateSyncPoint;\nmodule.exports.inflateUndermine = inflateUndermine;\nmodule.exports.inflateValidate = inflateValidate;\n*/\n\nvar inflate_1$2 = {\n\tinflateReset: inflateReset_1,\n\tinflateReset2: inflateReset2_1,\n\tinflateResetKeep: inflateResetKeep_1,\n\tinflateInit: inflateInit_1,\n\tinflateInit2: inflateInit2_1,\n\tinflate: inflate_2$1,\n\tinflateEnd: inflateEnd_1,\n\tinflateGetHeader: inflateGetHeader_1,\n\tinflateSetDictionary: inflateSetDictionary_1,\n\tinflateInfo: inflateInfo\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction GZheader() {\n /* true if compressed data believed to be text */\n this.text = 0;\n /* modification time */\n this.time = 0;\n /* extra flags (not used when writing a gzip file) */\n this.xflags = 0;\n /* operating system */\n this.os = 0;\n /* pointer to extra field or Z_NULL if none */\n this.extra = null;\n /* extra field length (valid if extra != Z_NULL) */\n this.extra_len = 0; // Actually, we don't need it in JS,\n // but leave for few code modifications\n\n //\n // Setup limits is not necessary because in js we should not preallocate memory\n // for inflate use constant limit in 65536 bytes\n //\n\n /* space at extra (only when reading header) */\n // this.extra_max = 0;\n /* pointer to zero-terminated file name or Z_NULL */\n this.name = '';\n /* space at name (only when reading header) */\n // this.name_max = 0;\n /* pointer to zero-terminated comment or Z_NULL */\n this.comment = '';\n /* space at comment (only when reading header) */\n // this.comm_max = 0;\n /* true if there was or will be a header crc */\n this.hcrc = 0;\n /* true when done reading gzip header (not used when writing a gzip file) */\n this.done = false;\n}\n\nvar gzheader = GZheader;\n\nconst toString = Object.prototype.toString;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH, Z_FINISH,\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR\n} = constants$2;\n\n/* ===========================================================================*/\n\n\n/**\n * class Inflate\n *\n * Generic JS-style wrapper for zlib calls. If you don't need\n * streaming behaviour - use more simple functions: [[inflate]]\n * and [[inflateRaw]].\n **/\n\n/* internal\n * inflate.chunks -> Array\n *\n * Chunks of output data, if [[Inflate#onData]] not overridden.\n **/\n\n/**\n * Inflate.result -> Uint8Array|String\n *\n * Uncompressed result, generated by default [[Inflate#onData]]\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param).\n **/\n\n/**\n * Inflate.err -> Number\n *\n * Error code after inflate finished. 0 (Z_OK) on success.\n * Should be checked if broken data possible.\n **/\n\n/**\n * Inflate.msg -> String\n *\n * Error message, if [[Inflate.err]] != 0\n **/\n\n\n/**\n * new Inflate(options)\n * - options (Object): zlib inflate options.\n *\n * Creates new inflator instance with specified params. Throws exception\n * on bad params. Supported options:\n *\n * - `windowBits`\n * - `dictionary`\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Additional options, for internal needs:\n *\n * - `chunkSize` - size of generated data chunks (16K by default)\n * - `raw` (Boolean) - do raw inflate\n * - `to` (String) - if equal to 'string', then result will be converted\n * from utf8 to utf16 (javascript) string. When string output requested,\n * chunk length can differ from `chunkSize`, depending on content.\n *\n * By default, when no options set, autodetect deflate/gzip data format via\n * wrapper header.\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * const chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\n * const chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\n *\n * const inflate = new pako.Inflate({ level: 3});\n *\n * inflate.push(chunk1, false);\n * inflate.push(chunk2, true); // true -> last chunk\n *\n * if (inflate.err) { throw new Error(inflate.err); }\n *\n * console.log(inflate.result);\n * ```\n **/\nfunction Inflate$1(options) {\n this.options = common.assign({\n chunkSize: 1024 * 64,\n windowBits: 15,\n to: ''\n }, options || {});\n\n const opt = this.options;\n\n // Force window size for `raw` data, if not set directly,\n // because we have no header for autodetect.\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\n opt.windowBits = -opt.windowBits;\n if (opt.windowBits === 0) { opt.windowBits = -15; }\n }\n\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\n !(options && options.windowBits)) {\n opt.windowBits += 32;\n }\n\n // Gzip header has no info about windows size, we can do autodetect only\n // for deflate. So, if window size not set, force it to max when gzip possible\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\n // bit 3 (16) -> gzipped data\n // bit 4 (32) -> autodetect gzip/deflate\n if ((opt.windowBits & 15) === 0) {\n opt.windowBits |= 15;\n }\n }\n\n this.err = 0; // error code, if happens (0 = Z_OK)\n this.msg = ''; // error message\n this.ended = false; // used to avoid multiple onEnd() calls\n this.chunks = []; // chunks of compressed data\n\n this.strm = new zstream();\n this.strm.avail_out = 0;\n\n let status = inflate_1$2.inflateInit2(\n this.strm,\n opt.windowBits\n );\n\n if (status !== Z_OK) {\n throw new Error(messages[status]);\n }\n\n this.header = new gzheader();\n\n inflate_1$2.inflateGetHeader(this.strm, this.header);\n\n // Setup dictionary\n if (opt.dictionary) {\n // Convert data if needed\n if (typeof opt.dictionary === 'string') {\n opt.dictionary = strings.string2buf(opt.dictionary);\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\n opt.dictionary = new Uint8Array(opt.dictionary);\n }\n if (opt.raw) { //In raw mode we need to set the dictionary early\n status = inflate_1$2.inflateSetDictionary(this.strm, opt.dictionary);\n if (status !== Z_OK) {\n throw new Error(messages[status]);\n }\n }\n }\n}\n\n/**\n * Inflate#push(data[, flush_mode]) -> Boolean\n * - data (Uint8Array|ArrayBuffer): input data\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE\n * flush modes. See constants. Skipped or `false` means Z_NO_FLUSH,\n * `true` means Z_FINISH.\n *\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\n * new output chunks. Returns `true` on success. If end of stream detected,\n * [[Inflate#onEnd]] will be called.\n *\n * `flush_mode` is not needed for normal operation, because end of stream\n * detected automatically. You may try to use it for advanced things, but\n * this functionality was not tested.\n *\n * On fail call [[Inflate#onEnd]] with error code and return false.\n *\n * ##### Example\n *\n * ```javascript\n * push(chunk, false); // push one of data chunks\n * ...\n * push(chunk, true); // push last chunk\n * ```\n **/\nInflate$1.prototype.push = function (data, flush_mode) {\n const strm = this.strm;\n const chunkSize = this.options.chunkSize;\n const dictionary = this.options.dictionary;\n let status, _flush_mode, last_avail_out;\n\n if (this.ended) return false;\n\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\n\n // Convert data if needed\n if (toString.call(data) === '[object ArrayBuffer]') {\n strm.input = new Uint8Array(data);\n } else {\n strm.input = data;\n }\n\n strm.next_in = 0;\n strm.avail_in = strm.input.length;\n\n for (;;) {\n if (strm.avail_out === 0) {\n strm.output = new Uint8Array(chunkSize);\n strm.next_out = 0;\n strm.avail_out = chunkSize;\n }\n\n status = inflate_1$2.inflate(strm, _flush_mode);\n\n if (status === Z_NEED_DICT && dictionary) {\n status = inflate_1$2.inflateSetDictionary(strm, dictionary);\n\n if (status === Z_OK) {\n status = inflate_1$2.inflate(strm, _flush_mode);\n } else if (status === Z_DATA_ERROR) {\n // Replace code with more verbose\n status = Z_NEED_DICT;\n }\n }\n\n // Skip snyc markers if more data follows and not raw mode\n while (strm.avail_in > 0 &&\n status === Z_STREAM_END &&\n strm.state.wrap > 0 &&\n data[strm.next_in] !== 0)\n {\n inflate_1$2.inflateReset(strm);\n status = inflate_1$2.inflate(strm, _flush_mode);\n }\n\n switch (status) {\n case Z_STREAM_ERROR:\n case Z_DATA_ERROR:\n case Z_NEED_DICT:\n case Z_MEM_ERROR:\n this.onEnd(status);\n this.ended = true;\n return false;\n }\n\n // Remember real `avail_out` value, because we may patch out buffer content\n // to align utf8 strings boundaries.\n last_avail_out = strm.avail_out;\n\n if (strm.next_out) {\n if (strm.avail_out === 0 || status === Z_STREAM_END) {\n\n if (this.options.to === 'string') {\n\n let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\n\n let tail = strm.next_out - next_out_utf8;\n let utf8str = strings.buf2string(strm.output, next_out_utf8);\n\n // move tail & realign counters\n strm.next_out = tail;\n strm.avail_out = chunkSize - tail;\n if (tail) strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);\n\n this.onData(utf8str);\n\n } else {\n this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));\n }\n }\n }\n\n // Must repeat iteration if out buffer is full\n if (status === Z_OK && last_avail_out === 0) continue;\n\n // Finalize if end of stream reached.\n if (status === Z_STREAM_END) {\n status = inflate_1$2.inflateEnd(this.strm);\n this.onEnd(status);\n this.ended = true;\n return true;\n }\n\n if (strm.avail_in === 0) break;\n }\n\n return true;\n};\n\n\n/**\n * Inflate#onData(chunk) -> Void\n * - chunk (Uint8Array|String): output data. When string output requested,\n * each chunk will be string.\n *\n * By default, stores data blocks in `chunks[]` property and glue\n * those in `onEnd`. Override this handler, if you need another behaviour.\n **/\nInflate$1.prototype.onData = function (chunk) {\n this.chunks.push(chunk);\n};\n\n\n/**\n * Inflate#onEnd(status) -> Void\n * - status (Number): inflate status. 0 (Z_OK) on success,\n * other if not.\n *\n * Called either after you tell inflate that the input stream is\n * complete (Z_FINISH). By default - join collected chunks,\n * free memory and fill `results` / `err` properties.\n **/\nInflate$1.prototype.onEnd = function (status) {\n // On success - join\n if (status === Z_OK) {\n if (this.options.to === 'string') {\n this.result = this.chunks.join('');\n } else {\n this.result = common.flattenChunks(this.chunks);\n }\n }\n this.chunks = [];\n this.err = status;\n this.msg = this.strm.msg;\n};\n\n\n/**\n * inflate(data[, options]) -> Uint8Array|String\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\n * format via wrapper header by default. That's why we don't provide\n * separate `ungzip` method.\n *\n * Supported options are:\n *\n * - windowBits\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information.\n *\n * Sugar (options):\n *\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\n * negative windowBits implicitly.\n * - `to` (String) - if equal to 'string', then result will be converted\n * from utf8 to utf16 (javascript) string. When string output requested,\n * chunk length can differ from `chunkSize`, depending on content.\n *\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako');\n * const input = pako.deflate(new Uint8Array([1,2,3,4,5,6,7,8,9]));\n * let output;\n *\n * try {\n * output = pako.inflate(input);\n * } catch (err) {\n * console.log(err);\n * }\n * ```\n **/\nfunction inflate$1(input, options) {\n const inflator = new Inflate$1(options);\n\n inflator.push(input);\n\n // That will never happens, if you don't cheat with options :)\n if (inflator.err) throw inflator.msg || messages[inflator.err];\n\n return inflator.result;\n}\n\n\n/**\n * inflateRaw(data[, options]) -> Uint8Array|String\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * The same as [[inflate]], but creates raw data, without wrapper\n * (header and adler32 crc).\n **/\nfunction inflateRaw$1(input, options) {\n options = options || {};\n options.raw = true;\n return inflate$1(input, options);\n}\n\n\n/**\n * ungzip(data[, options]) -> Uint8Array|String\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * Just shortcut to [[inflate]], because it autodetects format\n * by header.content. Done for convenience.\n **/\n\n\nvar Inflate_1$1 = Inflate$1;\nvar inflate_2 = inflate$1;\nvar inflateRaw_1$1 = inflateRaw$1;\nvar ungzip$1 = inflate$1;\nvar constants = constants$2;\n\nvar inflate_1$1 = {\n\tInflate: Inflate_1$1,\n\tinflate: inflate_2,\n\tinflateRaw: inflateRaw_1$1,\n\tungzip: ungzip$1,\n\tconstants: constants\n};\n\nconst { Deflate, deflate, deflateRaw, gzip } = deflate_1$1;\n\nconst { Inflate, inflate, inflateRaw, ungzip } = inflate_1$1;\n\n\n\nvar Deflate_1 = Deflate;\nvar deflate_1 = deflate;\nvar deflateRaw_1 = deflateRaw;\nvar gzip_1 = gzip;\nvar Inflate_1 = Inflate;\nvar inflate_1 = inflate;\nvar inflateRaw_1 = inflateRaw;\nvar ungzip_1 = ungzip;\nvar constants_1 = constants$2;\n\nvar pako = {\n\tDeflate: Deflate_1,\n\tdeflate: deflate_1,\n\tdeflateRaw: deflateRaw_1,\n\tgzip: gzip_1,\n\tInflate: Inflate_1,\n\tinflate: inflate_1,\n\tinflateRaw: inflateRaw_1,\n\tungzip: ungzip_1,\n\tconstants: constants_1\n};\n\nexport { Deflate_1 as Deflate, Inflate_1 as Inflate, constants_1 as constants, pako as default, deflate_1 as deflate, deflateRaw_1 as deflateRaw, gzip_1 as gzip, inflate_1 as inflate, inflateRaw_1 as inflateRaw, ungzip_1 as ungzip };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/pako/dist/pako.esm.mjs\n// module id = Y7uo\n// module chunks = 271","import {\n defaultContacts,\n defaultSelectedClerk,\n defaultSelectedContact,\n defaultSelectedDocument,\n defaultSelectedWarehouse\n} from \"./state\";\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setAudit(state, auditContacts) {\n state.auditContacts = auditContacts;\n}\n\nexport function setCountries(state, countries){\n state.countries = countries\n}\n\nexport function setContact(state, contact) {\n state.selectedContact = JSON.parse(JSON.stringify(contact));\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function contactError(state, payload) {\n state.error = true;\n state.errorMessage = payload;\n state.todo = [];\n}\n\nexport function setGetContactEdit(state, getContactEdit) {\n state.getContactEdit = getContactEdit;\n}\n\nexport function setPositionGeneral(state, dataMarker) {\n state.selectedContact.length = dataMarker.lng;\n state.selectedContact.latitude = dataMarker.lat;\n}\n\n//Establece el valor por defecto de selectedContact\nexport function resetSelectedContact(state) {\n Object.assign(state.selectedContact, defaultSelectedContact());\n}\n\n//Establece el valor por defecto de contacts\nexport function resetContacts(state) {\n Object.assign(state.contacts, defaultContacts());\n}\n\nexport function setIsCustomer(state, is_customer) {\n state.is_customer = is_customer;\n state.params.is_customer = is_customer;\n}\n\nexport function setCustomerCategories(state, customerCategories) {\n state.customerCategories = customerCategories;\n state.params.filter_customer = customerCategories;\n}\n\nexport function setIsProvider(state, is_provider) {\n state.is_provider = is_provider;\n state.params.is_provider = is_provider;\n}\n\nexport function setProviderCategories(state, providerCategories) {\n state.providerCategories = providerCategories;\n state.params.filter_provider = providerCategories;\n}\n\nexport function setIsEmployee(state, is_employee) {\n state.is_employee = is_employee;\n state.params.is_employee = is_employee;\n}\n\nexport function setEmployeeCategories(state, employeeCategories) {\n state.employeeCategories = employeeCategories;\n state.params.filter_employee = employeeCategories;\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilter(state, filter) {\n state.params.page = 0;\n state.params.query = filter;\n}\n\nexport function setPerPage(state, perPage) {\n state.params.page = 1;\n state.params.perPage = perPage;\n}\n\nexport function setPage(state, page) {\n state.params.page = page;\n}\n\nexport function setSortBy(state, sortBy) {\n state.params.sortBy = sortBy;\n}\n\nexport function setSort(state, sort) {\n state.params.sort = sort;\n}\n\nexport function setTooltipParamTable(state, paramTable) {\n state.parameters.map(p => {\n if (p.paramtable_id == paramTable.id) {\n p.tooltip = paramTable.code_table + \" - \" + paramTable.name_table;\n }\n });\n}\n\n//------------------------ PESTAÑA GENERAL------------------------//\n\n// Establece un valor para identificationTypes\nexport function setIdentificationTypes(state, identificationTypes) {\n state.identificationTypes = identificationTypes;\n}\n\n// Establece un valor para lines\nexport function setLines(state, lines) {\n state.lines = lines.map(p => {\n return { value: p.id, label: p.line_description };\n });\n}\n\n// Establece un valor para departments\nexport function setDepartments(state, departments) {\n state.departments = departments.map(p => {\n return { value: p.id, label: p.department };\n });\n}\n\n// Establece un valor para cities\nexport function setCities(state, cities) {\n state.cities = cities.map(p => {\n return { value: p.id, label: p.city };\n });\n}\n\n// Establece un valor para pointsOfSale\nexport function setPointsOfSale(state, pointsOfSale) {\n state.pointsOfSale = pointsOfSale;\n}\n\n// Establece un valor para personClasses\nexport function setPersonClasses(state, personClasses) {\n state.personClasses = personClasses;\n}\n\n// Establece un valor para taxpayerTypes\nexport function setTaxpayerTypes(state, taxpayerTypes) {\n state.taxpayerTypes = taxpayerTypes;\n}\n\n// Establece un valor para taxRegimes\nexport function setTaxRegimes(state, taxRegimes) {\n state.taxRegimes = taxRegimes;\n}\n\n//------------------------ PESTAÑA CLIENTES------------------------//\n\n// Establece un valor para categoriesCustomers\nexport function setCategoriesCustomers(state, categoriesCustomers) {\n state.categoriesCustomers = categoriesCustomers;\n}\n\nexport function setTradeClassificationCustomers(state, trade_classifications) {\n console.log(trade_classifications,'mutation')\n state.tradeClassificationCustomers = trade_classifications;\n}\n\n// Establece un valor para sellersCustomers\nexport function setSellersCustomers(state, sellersCustomers) {\n state.sellersCustomers = sellersCustomers;\n}\n\n// Establece un valor para priceListsCustomers\nexport function setPriceListsCustomers(state, priceListsCustomers) {\n state.priceListsCustomers = priceListsCustomers;\n}\n// Establece un valor para fiscalResponsibilitys\nexport function setFiscalResponsibilitys(state, fiscalResponsibilitys) {\n state.fiscalResponsibilitys = fiscalResponsibilitys;\n}\n\n// Establece un valor para zones\nexport function setZones(state, zones) {\n state.zones = zones;\n}\n\nexport function setLogoCustomer(state, logo) {\n state.selectedContact.customer.logo = logo;\n}\n\n//------------------------ PESTAÑA PROVEEDORES------------------------//\n\n// Establece un valor para categoriesProviders\nexport function setCategoriesProviders(state, categoriesProviders) {\n state.categoriesProviders = categoriesProviders;\n}\n\n// Establece un valor para sellersProviders\nexport function setSellersProviders(state, sellersProviders) {\n state.sellersProviders = sellersProviders;\n}\n\n// Establece un valor para priceListsProviders\nexport function setPriceListsProviders(state, priceListsProviders) {\n state.priceListsProviders = priceListsProviders;\n}\n\n// Establece un valor para paymentBanks\nexport function setPaymentBanks(state, paymentBanks) {\n state.paymentBanks = paymentBanks;\n}\n\nexport function setLogoProvider(state, logo) {\n state.selectedContact.provider.logo = logo;\n}\n\n//------------------------ PESTAÑA EMPLEADOS------------------------//\n\n// Establece un valor para categoriesEmployees\nexport function setCategoriesEmployees(state, categoriesEmployees) {\n state.categoriesEmployees = categoriesEmployees;\n}\n\n// Establece un valor para costCenters\nexport function setCostCenters(state, costCenters) {\n state.costCenters = costCenters;\n}\n\n// Establece un valor para sellerZones\nexport function setSellerZones(state, sellerZones) {\n state.sellerZones = sellerZones;\n}\n\n// Establece un valor para positions\nexport function setPositions(state, positions) {\n state.positions = positions;\n}\n\nexport function setPhotoEmployee(state, photo) {\n state.selectedContact.employee.photo = photo;\n}\n\n//------------\n\n// Establece un valor para icaCodes\nexport function setIcaCodes(state, icaCodes) {\n state.icaCodes = icaCodes;\n}\n\nexport function setContactsModal(state, contact) {\n state.contactsModal = contact;\n}\nexport function setContactFromVariousVouchers_setcontact(state, setcontact) {\n state.contactFromVariousVouchers.setcontact = setcontact;\n}\nexport function setContactFromVariousVouchers_contact(state, contact) {\n if (state.contactFromVariousVouchers.setcontact) {\n state.contactFromVariousVouchers.contact = contact;\n }\n}\n\n// Establece un valor para categoriesEmployees\nexport function setCategoriesOthers(state, categoriesOthers) {\n state.categoriesOthers = categoriesOthers;\n}\n\nexport function setDownloadExcelDataCreditLoading(state, value) {\n state.downloadExcelDataCreditLoading = value;\n}\n\nexport function setContactsSelect(state,clients) {\n state.contactsSelect=clients\n}\n\n/**\n * Establecer un valor para la variable wallet_accounts.\n * @author Brayan Ramirez\n */\nexport function setWalletAccounts(state,data) {\n state.wallet_accounts = data\n}\n/**\n * Establecer un valor para la variable voucher_types.\n * @author Brayan Ramirez\n */\nexport function setVoucherTypes(state, voucher_types) {\n state.voucher_types = voucher_types;\n}\n\n/**\n * Establecer un valor para la variable concepts.\n */\nexport function setConcepts(state, concepts) {\n state.concepts = concepts;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts/mutations.js","\nexport function changeModalConfigView(state){\n state.show_modal_config = !state.show_modal_config;\n}\nexport function setBranchOfficeWarehouses(state,data){\n state.listBranchOfficesWarehouses = data;\n}\n\nexport function setLines(state, lines) {\n state.lines = lines;\n}\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\nexport function setUsers(state, users) {\n state.users = users.map(p => {\n return { value: p.id, label: p.name + \" \" + p.surname };\n });\n}\nexport function setProducts (state, products) {\n state.products = products;\n}\n\nexport function setPhysicalInventory (state, data) {\n\n if (data){\n state.physicalInventory = data;\n state.params_config = {\n branch_office_id : data.branch_office_id,\n branch_office_warehouse_id : data.branch_office_warehouse_id,\n lines: extractIdsFromCategories(data, 'lines'),\n brands:extractIdsFromCategories(data, 'brands'),\n users:extractIdsFromCategories(data, 'users'),\n random_num_prod: data.random_num_prod,\n show_stock_counting:data.show_stock_counting,\n user_res_id:data.user_res_id,\n }\n }\n}\n\nexport function extractIdsFromCategories(data, category) {\n // Verificamos si la categoría existe en el objeto y si tiene elementos\n if (data[category] && data[category].length > 0) {\n // Utilizamos la función map para crear un nuevo array con solo los IDs\n return data[category].map(item => item.id);\n } else {\n return []; // Si la categoría no existe o no tiene elementos, devolvemos un array vacío\n }\n}\n\nexport function setLoading(state,data){\n state.loading.module = data\n}\n\nexport function setparamsConfig(state,data){\n\n state.params_config = {\n branch_office_id : data.branch_office_id,\n branch_office_warehouse_id : data.branch_office_warehouse_id,\n users : [],\n random_num_prod:null,\n show_stock_counting:false,\n user_res_id:data.user_id,\n only_diferences:true,\n }\n}\n\nexport function setFinalizeInventory(state,data){\n state.show_pdf = true\n state.file_name = data.pfd\n console.log(state.file_name,data)\n}\n\nexport function clearComponent(state,data= null){\n state.physicalInventory = {\n id : null,\n state : null\n };\n state.params_config = {\n branch_office_id : localStorage.selected_branchoffice,\n branch_office_warehouse_id : localStorage.selected_branchoffice_warehouse,\n lines:[],\n brands:[],\n users:[],\n random_num_prod:null,\n show_stock_counting:false,\n only_diferences:state.params_config.only_diferences,\n },\n state.show_pdf = false\n state.file_name = null\n\n}\n\nexport function setCounts(state,data){\n state.usersCount = data\n}\n\nexport function setCountingStateUsers(state,data){\n state.counting_state_users = data\n}\n\nexport function addUserResp(state,user_id){\n if (!state.params_config.users.includes(user_id)) {\n state.params_config.users.push(user_id);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/physical-inventory/mutations.js","import {fetchSellers} from \"./actions\";\n\nexport function setloading(state, value) {\n state.loading.module = value;\n}\nexport function setParams(state) {\n state.tableDocuments.params.branchoffice_id = localStorage.selected_branchoffice;\n}\nexport function setWatchDocumument(state, watchDocumument){\n state.watchDocumument = watchDocumument\n}\nexport function setBranchOffices(state, branchoffices) {\n state.branchoffices = branchoffices.map(b => {\n return { value: b.id, label: b.name };\n });\n}\nexport async function setSearchDocuments(state, docs) {\n state.tableDocuments.data = docs;\n if (docs.length > 0) {\n let iva = 0;\n state.documents_products = docs[0].products ? docs[0].products : [];\n await state.documents_products.forEach(item => {\n iva += parseFloat(item.total_value_iva)\n })\n state.tableDocuments.data[0].total_value_iva = iva;\n state.document_files = docs[0].files ? docs[0].files : [] ;\n }\n\n}\nexport function fetchModelsLite(state, data) {\n state.models_lite = data;\n}\nexport function setAccountsDoc(state, data) {\n state.accounts = data;\n}\nexport function setWarehousesContact(state, data) {\n state.warehousesContacts = data.data;\n}\nexport function setSellers(state, data) {\n state.sellers = data;\n\n}\nexport function setDocumentProductDeleted(state, data){\n state.deleted = data;\n}\nexport function setDocumentProducts(state, data){\n state.documents_products = data;\n}\nexport function setTypesOperationDocsPro(state, data){\n state.typesOperations = data;\n}\nexport function setProductsDocsPro(state, data){\n state.products = data;\n}\nexport function setDefautlState(state, data){\n state.tableDocuments = {\n data: [],\n columns:[],\n loading: false,\n params: {\n warehouse_id:null,\n vouchertype_id:null,\n prefix :null,\n consecutive :null,\n }\n },\n state.documents_products = [];\n state.default_document_product ={\n id :null,\n index :null,\n product_id :null,\n description :\"\",\n quantity :0,\n unit_value_before_taxes :0,\n discount_value :0,\n total_value_brut :0,\n total_value_iva :0,\n total_value :0,\n inventory_cost_value :0,\n operationType_id :null,\n fixed_cost :false,\n manage_inventory :true,\n account_id :null,\n unit_balance :0,\n value_balance :0,\n backorder_quantity :0,\n backorder_value :0,\n brand_id:null,\n line_id:null,\n subline_id:null,\n }\n state.update_document ={\n id :null,\n branchoffice_id :null,\n vouchertype_id :null,\n prefix :\"\",\n consecutive :null,\n document_date :null,\n mode_id :null,\n contact_id :null,\n thread :null,\n seller_id :null,\n observation :null,\n account_id :null,\n ret_fue_total :null,\n ret_iva_total :null,\n ret_ica_total :null,\n total_value :null,\n documents_information:{\n ret_fte_account_id :null,\n ret_ica_account_id :null,\n },\n products :[]\n }\n state.document_files_new = [],\n state.document_files_delete = [],\n state.document_files = []\n}\nexport function setDefautlItem(state, data){\n state.default_document_product ={\n id :null,\n index :null,\n product_id :null,\n description :\"\",\n quantity :0,\n unit_value_before_taxes :0,\n discount_value :0,\n total_value_brut :0,\n total_value_iva :0,\n total_value :0,\n inventory_cost_value :0,\n operationType_id :null,\n fixed_cost :false,\n manage_inventory :true,\n account_id :null,\n unit_balance :0,\n value_balance :0,\n backorder_quantity :0,\n backorder_value :0,\n brand_id:null,\n line_id:null,\n subline_id:null,\n }\n}\nexport function setDocumentUpdated(state, document){\n state.update_document = document\n\n state.update_document.files = state.document_files\n state.update_document.state_backorder = state.update_document.state_backorder? state.update_document.state_backorder.id : null\n state.update_document.products = state.documents_products.map(item => {\n return {\n id: item.id,\n index: item.index,\n product_id: item.product.id,\n branchoffice_warehouse_id: item.branchoffice_warehouse_id ? item.branchoffice_warehouse_id : document.branchoffice_warehouse_id,\n description: item.description,\n quantity: item.quantity,\n unit_value_before_taxes: item.unit_value_before_taxes,\n discount_value: item.discount_value,\n total_value_brut: item.total_value_brut,\n total_value_brut_us: item.total_value_brut_us,\n total_value_iva: item.total_value_iva,\n total_value: item.total_value,\n inventory_cost_value: item.inventory_cost_value,\n operationType_id: item.operationType_id,\n fixed_cost: item.fixed_cost? true : false,\n manage_inventory: item.manage_inventory ? true : false,\n account_id: item.account_id,\n unit_balance: item.unit_balance,\n value_balance: item.value_balance,\n backorder_quantity: item.backorder_quantity,\n backorder_value: item.backorder_value,\n brand_id: item.brand_id,\n subbrand_id: item.subbrand_id,\n line_id: item.line_id,\n subline_id: item.subline_id,\n product_repeat_number: item.product_repeat_number,\n seller_id: item.seller_id? item.seller_id : document.seller_id,\n\n }\n });\n}\nexport function setUpdateTotals(state){\n if (state.documents_products.length > 0){\n let iva = 0;\n let brut = 0;\n let backQty = 0;\n let backValue = 0;\n\n state.documents_products.forEach(item =>{\n iva+= parseFloat(item.total_value_iva)\n brut+= parseFloat(item.total_value_brut)\n backQty+= parseFloat(item.backorder_quantity)\n backValue+= parseFloat(item.backorder_value)\n })\n state.tableDocuments.data[0].total_value_iva = iva;\n state.tableDocuments.data[0].total_value_brut = brut;\n state.tableDocuments.data[0].total_value = brut + iva;\n state.tableDocuments.data[0].backorder_quantity = backQty;\n state.tableDocuments.data[0].backorder_value = backValue;\n }\n}\nexport function setStatesBackOrder(state, data){\n state.states_backorder = data;\n}\nexport function setBranchofficeWarehousesDocs(state, data){\n state.branchOfficeWarehousesDocs = data;\n}\nexport function setRetentionsDocument(state, data) {\n\n let document = state.tableDocuments.data[0];\n\n document.ret_fue_prod_total = data[0].ret_fue_prod_total;\n document.ret_fue_serv_total = data[0].ret_fue_serv_total;\n document.ret_ica_prod_total = data[0].ret_ica_prod_total;\n document.ret_ica_serv_total = data[0].ret_ica_serv_total;\n\n document.ret_iva_prod_total = data[0].ret_iva_prod_total;\n document.ret_iva_serv_total = data[0].ret_iva_serv_total;\n document.ret_fue_prod_vr_limit = data[0].ret_fue_prod_vr_limit;\n document.ret_fue_prod_percentage = data[0].ret_fue_prod_percentage;\n\n document.ret_fue_serv_vr_limit = data[0].ret_fue_serv_vr_limit;\n document.ret_fue_serv_percentage = data[0].ret_fue_serv_percentage;\n document.ret_iva_prod_vr_limit = data[0].ret_iva_prod_vr_limit;\n document.ret_iva_prod_percentage = data[0].ret_iva_prod_percentage;\n\n document.ret_iva_serv_vr_limit = data[0].ret_iva_serv_vr_limit;\n document.ret_iva_serv_percentage = data[0].ret_iva_serv_percentage;\n document.ret_ica_prod_vr_limit = data[0].ret_ica_prod_vr_limit;\n document.ret_ica_prod_percentage = data[0].ret_ica_prod_percentage;\n\n document.ret_ica_serv_vr_limit = data[0].ret_ica_serv_vr_limit;\n document.ret_ica_serv_percentage = data[0].ret_ica_serv_percentage;\n document.ret_fue_total = data[0].ret_fue_total;\n document.ret_ica_total = data[0].ret_ica_total;\n document.ret_iva_total = data[0].ret_iva_total;\n\n state.tableDocuments.data = [document]\n\n}\nexport function setProjectsDocs(state, data) {\n state.projects= data;\n}\nexport async function SetNewTrmValue(state, new_value) {\n state.documents_products= state.documents_products.map((obj) => {\n return {\n ...obj, // Copia todos los campos existentes del objeto\n total_value_brut: obj.total_value_brut_us * new_value, // Modifica el valor del campo1\n total_value: obj.total_value_us * new_value, // Modifica el valor del campo2\n };\n });\n}\nexport async function SetNewTotalValue(state) {\n let total_value_brut = 0;\n let total_value = 0;\n\n state.documents_products.forEach((obj) => {\n total_value_brut += obj.total_value_brut;\n total_value += obj.total_value;\n });\n\n state.tableDocuments.data[0].total_value = total_value;\n state.tableDocuments.data[0].total_value_brut = total_value_brut;\n}\nexport function setDocumentFiles(state, data) {\n console.log(data)\n let extension = data.name.split(\".\");\n let file = {\n id: null,\n name: data.name,\n extension: extension[extension.length - 1],\n path: \"\",\n size: data.size,\n sent: false,\n document_id: state.tableDocuments.data[0].id\n };\n\n state.document_files.push(file);\n\n state.document_files_new.push(data);\n}\nexport function deleteDocumentFiles(state, data) {\n if (data.id) {\n let key_file = state.document_files.findIndex(\n f => f.id === data.id\n );\n state.document_files.splice(key_file, 1);\n state.document_files_delete.push(data);\n } else {\n let key_file = state.document_files.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.document_files.splice(key_file, 1);\n\n let key_file_new = state.document_files_new.findIndex(\n f => f.size === data.size && f.name === data.name\n );\n state.document_files_new.splice(key_file_new, 1);\n }\n}\nexport function resetDataDocumentFIles(state) {\n state.document_files_new = [];\n state.document_files_delete = [];\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory-documents/mutations.js","import $http from \"../../axios\";\nimport { Notification, MessageBox } from \"element-ui\";\nimport {getApiDomain} from \"../../util/domains\";\nimport {setColumnTable} from './mutations';\n\n/**\n * Obtiene el modelo de acuerdo al id del mismo\n * @param commit\n * @param state\n * @param requestParameters\n * @returns {Promise}\n */\nexport async function fetchModel({ commit, state, rootState }, model_id) {\n let params = {\n params: {\n branchoffice_id: localStorage.selected_branchoffice\n }\n };\n\n if (state.selected_model.id !== model_id) {\n let modelTemp = rootState.baseDocuments.model;\n if (modelTemp && modelTemp.id && modelTemp.id === model_id) {\n commit(\"setSelectedModel\", modelTemp);\n commit(\"setTypeContact\", modelTemp);\n commit(\"setVoucherTypeToSelectedDocument\", modelTemp);\n } else {\n await $http\n .get(\"/api/obtener-modelo/\" + model_id, params)\n .then(response => {\n commit(\"setSelectedModel\", response.data.data);\n commit(\"setTypeContact\", response.data.data);\n commit(\"setVoucherTypeToSelectedDocument\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n }\n } else {\n commit(\"setSelectedModel\", state.selected_model);\n commit(\"setTypeContact\", state.selected_model);\n commit(\"setVoucherTypeToSelectedDocument\", state.selected_model);\n }\n}\nexport async function getBranchofficeWarehouses({ commit }) {\n let params = {\n params: {\n paginate: false\n }\n };\n\n await $http\n .get(\"/api/sedes/\", params)\n .then(response => {\n commit(\"setBranchofficeWarehouses\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer las bodegas.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getProjects({ commit }) {\n let params = {\n params: {\n paginate: false\n }\n };\n\n await $http\n .get(\"/api/proyectos-activos/\", params)\n .then(response => {\n commit(\"setProjects\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer los Proyectos.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getDocumentsProductsImport({commit, state}, params){\n if (!state.selected_model.select_import) return;\n await $http.get(`/api/productos-importacion/${params.document_id}`, {params})\n .then(response => {\n\n commit('setdocumentsProductsImport', response.data.data)\n commit('setexpenses', response.data.data)\n })\n .catch(error=>{\n console.log('Error al obtener productos');\n })\n}\n\n\n/**\n * Obtiene el modelo de acuerdo al id del mismo\n * @param commit\n * @param state\n * @param requestParameters\n * @returns {Promise}\n * @author Kevin Galindo\n */\nexport async function fetchModels({ commit, state }) {\n await $http\n .get(\"/api/modelos/\")\n .then(response => {\n commit(\"setModels\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchTypesImpression({ commit, state },id_comprobante=null) {\n if(id_comprobante){\n await $http.get('/api/tipos-de-comprobantes/'+id_comprobante)\n .then((response) => {\n let typesImpression = [];\n if(response.data.data.affectation === \"1\"){\n typesImpression = [\n { id: 1, tittle: \"Inventarios\" },\n ];\n state.TableSearchGlobal.params.type_impresion = 1;\n }else if(response.data.data.affectation === \"2\"){\n typesImpression = [\n { id: 2, tittle: \"Contabilidad\" },\n ];\n state.TableSearchGlobal.params.type_impresion = 2;\n }else{\n typesImpression = [\n { id: 0, tittle: \"Selecciona Un Formato Impresión\" },\n { id: 1, tittle: \"Inventarios\" },\n { id: 2, tittle: \"Contabilidad\" },\n ];\n state.TableSearchGlobal.params.type_impresion = 0;\n }\n\n commit(\"setTypeImmpression\", typesImpression);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n }else{\n let typesImpression = [\n { id: 0, tittle: \"Selecciona Un Formato Impresión\" },\n { id: 1, tittle: \"Inventarios\" },\n { id: 2, tittle: \"Contabilidad\" },\n ];\n commit(\"setTypeImmpression\", typesImpression);\n }\n\n\n}\n/**\n * Obtiene los documentos base\n * @param commit\n * @param state\n * @param voucher_type\n * @returns {Promise}\n */\nexport async function fetchBaseDocuments({ commit, state }, voucher_type) {\n await $http\n .get(\"/api/documentos-base\", {\n params: {\n voucher_type: voucher_type,\n filter: state.params.filter,\n date_start: state.params.filterDate[0],\n date_end: state.params.filterDate[1],\n model_id: selected_model.id\n }\n })\n .then(response => {\n commit(\"setBaseDocuments\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"errorMessage\", error.message);\n });\n}\n\n/**\n * Obtiene un documento nuevo creado con base en el documento base\n * @param commit\n * @param state\n * @param document_id\n * @returns {Promise}\n */\nexport async function createDocumentFromBase({ commit, state, rootState }, document_id) {\n let params = {\n document_id: document_id,\n vouchertype_id: state.selected_model.voucherType_id,\n model_id: state.selected_model.id,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse,\n additional_documents: state.additional_documents,\n additional_documents_products : rootState.baseDocuments.selected_documents_products\n }\n\n if (state.action === \"update-document\") {\n params.update_doc = true;\n }\n\n await $http\n .post(\"/api/documentos-inventario\", params)\n .then(response => {\n commit(\"setSelectedDocument\", response.data);\n commit(\"setBackupDocumentsProducts\");\n if (response.data.modify_price_list) {\n Notification.info({\n title: \"¡Atención!\",\n message: \"El documento ha sido modificado con la lista de precios actual\",\n type: \"info\",\n duration: 2500,\n customClass: \"notification-box\"\n });\n }\n if (response.data.error_manage_nonconsumption) {\n Notification.info({\n title: \"¡Atención!\",\n message: \"El producto maneja impoconsumo pero el Modelo no\",\n type: \"info\",\n duration: 10000,\n customClass: \"notification-box\"\n });\n }\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Obtiene un documento nuevo creado con base en el documento base\n * @param commit\n * @param state\n * @param document_id\n * @returns {Promise}\n */\nexport async function fetchDocument({ commit, state }, document_id) {\n let params = {\n params: {\n vouchertype_id: state.selected_model.voucherType_id,\n model_id: state.selected_model.id,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse,\n authorize_documents: state.authorize_documents ? true : undefined\n }\n };\n\n await $http\n .get(`/api/documentos-inventario/${document_id}`, params)\n .then(response => {\n commit(\"setSelectedDocument\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Crea el nuevo documento\n * @param commit\n * @param state\n * @param document_id\n * @returns {Promise}\n */\nexport async function createDocument({ commit, state }) {\n let data = state.selected_document;\n data.model_id = state.selected_model.id;\n\n await $http\n .post(\"/api/carrito\", state.selected_document)\n .then(response => {\n commit(\"setSelectedDocument\", response.data.data);\n commit(\"setBackupDocumentsProducts\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Obtiene todos los documentos relacionados al mismo id para calcular el backorder\n * @param commit\n * @param state\n * @param document_id\n * @returns {Promise}\n */\nexport async function fetchDocumentsForBackOrder({ commit, state }, thread_id) {\n await $http\n .get(`/api/back-order/${thread_id}`)\n .then(response => {\n commit(\"setDocumentsForBackOrder\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Obtiene todas las sedes del suscriptor actual\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchBranchOffices({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.branchoffices.length) {\n let params = {\n params: {\n subscriber_id: state.subscriber_id,\n paginate: false\n }\n };\n\n await $http\n .get(\"/api/sedes\", params)\n .then(response => {\n commit(\"setBranchOffices\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n }\n}\n\n/**\n * Obtiene todas las bodegas de la sede seleccionada\n * @param dispatch\n * @param state\n * @param rootState\n * @param commit\n * @returns {Promise}\n */\nexport async function fetchBranchOfficesWarehouses({\n dispatch,\n state,\n rootState,\n commit\n}) {\n if (!state.branchoffices_warehouses.length) {\n let params = {\n params: {\n branchoffice_id: state.selected_document.branchoffice_id,\n paginate: false\n }\n };\n\n await $http\n .get(\"/api/bodegas-sedes\", params)\n .then(response => {\n commit(\"setBranchOfficesWarehouses\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n }\n}\n\n/**\n * Obtiene los terceros de acuerdo al tipo de tercero\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function fetchContacts({ commit, state, rootState }) {\n\n\n\n if (state.selected_model) {\n switch (state.selected_model.contact_type) {\n case 1:\n state.params_contacts.type = \"is_customer\";\n break;\n case 2:\n state.params_contacts.type = \"is_provider\";\n break;\n case 3:\n state.params_contacts.type = \"is_employee\";\n break;\n }\n }\n\n let params = {\n params: state.params_contacts\n };\n\n if (state.selected_document.contact && state.action === \"view\") {\n if (state.selected_document.contact.identification) {\n params.params.filter = state.selected_document.contact.identification;\n }\n }\n\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchContactsLite({ commit, state, rootState }) {\n\n if (state.selected_model) {\n switch (state.selected_model.contact_type) {\n case 1:\n state.params_contacts_lite.type = \"is_customer\";\n break;\n case 2:\n state.params_contacts_lite.type = \"is_provider\";\n break;\n case 3:\n state.params_contacts_lite.type = \"is_employee\";\n break;\n }\n }\n\n let params = {\n params: state.params_contacts_lite\n };\n\n await $http\n .get(\"/api/terceros-lite\", params)\n .then(response => {\n commit(\"setContactsLite\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchContactsAditional({ commit, state, rootState }, filter) {\n state.params_contacts_aditional.filter = filter\n let params = {\n params: state.params_contacts_aditional\n };\n\n if (state.selected_document.contact && state.action === \"view\") {\n if (state.selected_document.contact.identification) {\n params.params.filter = state.selected_document.contact.identification;\n }\n }\n\n await $http\n .get(\"/api/terceros-lite\", params)\n .then(response => {\n commit(\"setContactsAditional\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchAccounts({commit, state}){\n let params = {\n params: {}\n };\n\n await $http\n .get(\"/api/cuentas\", params)\n .then(response => {\n commit(\"setAccounts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchCenterCosts({commit, state}){\n let params = {\n params: {}\n };\n\n await $http\n .get(\"/api/parametros-por-codigo/038\", params)\n .then(response => {\n commit(\"setCenterCosts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Obtiene las sucursales de acuerdo al tercero seleccionado\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function fetchContactsWarehouses({ commit, state }) {\n let params = {\n params: {\n contact_id: state.selected_document.contact_id\n }\n };\n\n await $http\n .get(\"/api/establecimientos\", params)\n .then(response => {\n commit(\"setContactsWarehouses\", response.data.data);\n\n let contact_warehouse_id = -1;\n\n if (state.contacts_warehouses.length == 1) {\n contact_warehouse_id = state.contacts_warehouses[0].id;\n }\n\n if (state.action !== \"view\") {\n commit(\"setDataContactWarehouse\", contact_warehouse_id);\n }\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n/**\n * Obtiene una sucursal por ID\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function getContactsWarehousesById({ commit, state }, id) {\n await $http\n .get(`/api/establecimientos/${id}`)\n .then(response => {\n commit(\"setContactsWarehouseById\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function applyPercentageDiscount(\n { commit, state, dispatch },\n data\n) {\n var data_request = {\n percentage_discount : data.percentage_discount,\n apply_discount_masive : data.apply_discount_masive,\n products : []\n }\n data.products.map(product => {\n let data = {\n // Datos del producto\n product_id: product.id,\n promotion_id: product.promotion_id,\n quantity: product.quantity,\n is_benefit: product.is_benefit,\n physical_unit: product.physical_unit,\n base_unit_value: product.base_unit_value,\n unit_value_before_taxes: product.unit_value_before_taxes,\n discount_value: product.discount_value,\n description: product.description,\n total_value_iva: product.total_value_iva,\n inventory_cost_value: product.inventory_cost_value,\n inventory_cost_value_unit: product.inventory_cost_value_unit,\n discount_value_us: product.discount_value_us,\n total_value_brut: product.total_value_brut,\n total_value_brut_us: product.total_value_brut_us,\n\n // Datos del documento\n seller_id: state.selected_document.seller_id,\n contact_id: state.selected_document.contact_id,\n warehouse_id: state.selected_document.warehouse_id,\n document_id: state.selected_document.id,\n model_id: state.selected_model.id,\n\n // Otros datos\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse,\n branchoffice_id: localStorage.selected_branchoffice,\n account_id: product.account_id\n };\n\n if (product.document_product_id) {\n data.document_product_id = product.document_product_id;\n data.branchoffice_warehouse_id_product = product.branchoffice_warehouse_id;\n } else {\n data.branchoffice_warehouse_id_product =\n state.doc_product_default_branchoffice_warehouse_id;\n }\n\n data_request.products.push(data)\n\n })\n\n await $http\n .post(\"/api/aplicar-descuento\", data_request)\n .then(response => {\n response.data.data.map(r => {\n commit(\"addDocumentProduct\", r);\n })\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Actualiza o crea un producto en el documento\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function updateOrCreateDocumentProduct(\n { commit, state, dispatch },\n product\n) {\n var data = {\n // Datos del producto\n product_id: product.id,\n promotion_id: product.promotion_id,\n quantity: product.quantity,\n is_benefit: product.is_benefit,\n physical_unit: product.physical_unit,\n base_unit_value: product.base_unit_value,\n unit_value_before_taxes: product.unit_value_before_taxes,\n discount_value: product.discount_value,\n description: product.description,\n total_value_iva: product.total_value_iva,\n total_value_impo: product.total_value_impo,\n inventory_cost_value: product.inventory_cost_value,\n inventory_cost_value_unit: product.inventory_cost_value_unit,\n discount_value_us: product.discount_value_us,\n total_value_brut: product.total_value_brut,\n total_value_brut_us: product.total_value_brut_us,\n\n // Datos del documento\n seller_id: state.selected_document.seller_id,\n contact_id: state.selected_document.contact_id,\n warehouse_id: state.selected_document.warehouse_id,\n document_id: state.selected_document.id,\n model_id: state.selected_model.id,\n\n // Otros datos\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse,\n branchoffice_id: localStorage.selected_branchoffice,\n account_id: product.account_id,\n tariff_percentage : product.tariff_percentage,\n from_inventory_maintenance:true, \n };\n\n if (product.document_product_id) {\n data.document_product_id = product.document_product_id;\n data.branchoffice_warehouse_id_product = product.branchoffice_warehouse_id;\n } else {\n data.branchoffice_warehouse_id_product =\n state.doc_product_default_branchoffice_warehouse_id;\n }\n\n await $http\n .post(\"/api/items-carrito\", data)\n .then(response => {\n let document = response.data.data\n\n if (document.documents_products && document.documents_products[0]){\n commit(\"addDocumentProduct\", document.documents_products[0]);\n }\n\n commit(\"setUpdateDocumentValues\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteQuantity(\n { commit, state, dispatch },\n data\n) {\n\n await $http\n .post(\"/api/eliminar-cantiades\", data)\n .then(response => {\n response.data.data.map(el => {\n commit(\"addDocumentProduct\", el);\n })\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Finaliza el documento activo\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function finalizeDocument({ commit, state, getters }) {\n const user = JSON.parse(localStorage.user);\n\n let formData = new FormData();\n // Informacion general\n if (state.authorize_documents) {\n formData.append(\"authorize_documents\", state.authorize_documents);\n }\n\n formData.append(\"contact_id\", state.selected_document.contact_id);\n formData.append(\"warehouse_id\", state.selected_document.warehouse_id);\n formData.append(\"save_document\", state.saveDocument);\n formData.append(\"document_id\", state.selected_document.id);\n formData.append(\"observation\", state.selected_document.observation || \"\");\n formData.append(\"observation_two\", state.selected_document.observation_two || \"\");\n formData.append(\"observation_three\", state.selected_document.observation_three || \"\");\n formData.append(\"term_days\", state.selected_document.term_days);\n formData.append(\"due_date\", state.selected_document.due_date);\n formData.append(\"seller_id\", state.selected_document.seller_id || \"\");\n formData.append(\"model_id\", state.selected_model.id);\n formData.append(\"projects_id\", state.selected_document.projects_id);\n formData.append(\n \"branchoffice_warehouse_id\",\n localStorage.selected_branchoffice_warehouse\n );\n formData.append(\"user_id\", user.id);\n\n // Porcentaje de comision\n if (state.selected_model.select_business) {\n formData.append(\"business_id\", state.selected_document.business_id);\n }\n\n // Porcentaje de comision\n if (state.selected_model.capture_commission_percentage) {\n formData.append(\n \"commission_percentage_applies\",\n state.selected_document.documents_information\n .commission_percentage_applies\n );\n\n\n formData.append(\"commission_percentage\", state.selected_document.documents_information.commission_percentage_applies\n ? state.selected_document.documents_information.commission_percentage || 0\n : 0);\n }\n\n\n if (state.selected_model.contact_additional) {\n formData.append(\"additional_contact_id\", state.selected_document.documents_information.additional_contact_id\n ? state.selected_document.documents_information.additional_contact_id || 0\n : null);\n }\n if ([1,9].includes(state.selected_model.invoice_cufe)) {\n // formData.append(\"prefix_invoice\", state.selected_document.prefix_invoice ? state.selected_document.prefix_invoice: '');\n // formData.append(\"number_invoice\", state.selected_document.number_invoice?state.selected_document.number_invoice: '');\n formData.append(\"cufe_invoice\", state.selected_document.cufe_invoice?state.selected_document.cufe_invoice: '');\n // formData.append(\"invoice_date\", state.selected_document.invoice_date?state.selected_document.invoice_date: '');\n }\n\n if (state.selected_model.expiration_date) {\n formData.append(\"due_date\", state.selected_document.due_date\n ? state.selected_document.due_date || 0\n : null);\n\n if (state.selected_document.term_days) {\n formData.append(\"term_days\", state.selected_document.term_days);\n }\n }\n\n if (state.selected_model.payment_method) {\n formData.append(\"payment_method\", state.selected_document.documents_information.payment_method\n ? state.selected_document.documents_information.payment_method || 0\n : null);\n }\n\n\n if (state.selected_model.capture_accounting_account) {\n formData.append(\n \"account_id\",\n state.selected_document.account_id\n );\n }\n\n if ([1,9].includes(state.selected_model.select_cost_center)) {\n formData.append(\n \"center_cost_id\",\n state.selected_document.center_cost_id\n );\n }\n\n if ([1,9].includes(state.selected_model.capture_rt_fte)) {\n formData.append(\n \"ret_fte_account_id\",\n state.selected_document.documents_information.ret_fte_account_id\n );\n }\n\n if ([1,9].includes(state.selected_model.capture_cta_ret_ica)) {\n formData.append(\n \"ret_ica_account_id\",\n state.selected_document.documents_information.ret_ica_account_id\n );\n }\n\n formData.append(\"document_date\", state.selected_document.document_date);\n // Diferencias\n if (state.selected_model.purchase_difference_management) {\n getters.getPurchaseDifference.map(pd => {\n formData.append(\"documentProductsDifferences[]\", JSON.stringify(pd));\n });\n }\n\n // Otras opciones\n if (state.selected_model.handling_other_parameters_state != 2) {\n // Validamos si es obligatorio\n formData.append(\n \"handling_other_parameters_value\",\n state.selected_document.handling_other_parameters_value\n );\n }\n\n // Documento Cruce\n if (state.selected_model.doc_cruce_management != 2) {\n formData.append(\n \"affects_prefix_document\",\n state.selected_document.affects_prefix_document || \"\"\n );\n formData.append(\n \"affects_number_document\",\n state.selected_document.affects_number_document || \"\"\n );\n formData.append(\n \"affects_date_document\",\n state.selected_document.affects_date_document || \"\"\n );\n }\n\n if (state.selected_document.vouchertype.unreferenced_document && (!state.selected_document.affects_document_id || state.selected_document.affects_document_id === state.selected_document.id)){\n formData.append(\n \"affects_year_month\",\n state.selected_document.affects_year_month || \"\"\n );\n }\n\n // Numero de importacion\n if (state.selected_model.import_number != 2) {\n formData.append(\n \"import_number\",\n state.selected_document.import_number || \"\"\n );\n }\n\n if (state.selected_model.handle_payment_methods !== 2) {\n formData.append(\n \"paymentMethods\",\n JSON.stringify(state.modalPaymentMethods.data)\n );\n }\n\n\n if ([1,9].includes(state.selected_model.select_conveyor)) {\n formData.append(\"protractor\",state.selected_document.documents_information.protractor || null);\n formData.append(\"guide_number\",state.selected_document.documents_information.guide_number || null);\n\n }\n formData.append(\"money\",state.selected_model.currency || null);\n\n if (!state.saveDocument && state.selected_document.state_ending_id) {\n formData.append(\"consecutive\", state.selected_document.consecutive);\n }\n\n // Archivos\n formData.append(\"document_files_delete\", state.document_files_delete);\n\n formData.append(\n \"document_name\",\n state.selected_document.documents_information\n .document_name\n );\n\n formData.append(\n \"date_entry\",\n state.selected_document.documents_information\n .date_entry\n );\n\n formData.append(\n \"order\",\n state.selected_document\n .order\n );\n\n state.document_files_new.map(fn => {\n formData.append(\"filesUpload[]\", fn);\n });\n\n\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/finalizar-documento\", formData)\n .then(async response => {\n if (response.status === 200) {\n await commit(\"setFilenameSelectedDocument\", response.data.data);\n await commit(\"setError\", false);\n await commit(\"setEditRetention\", false);\n\n commit('baseDocuments/setselected_documents_products', [], { root: true });\n commit('baseDocuments/setSelectedRows', [], { root: true });\n\n let message = \"Documento finalizado exitosamente\";\n\n if (!!response.data.message){\n message = response.data.message;\n }\n\n let notification = {\n title: \"Éxito\",\n message: message,\n type: \"success\",\n dangerouslyUseHTMLString: true,\n duration: 5000,\n customClass: \"notification-box\"\n };\n\n if (response.data.completed){\n Notification.success(notification);\n }else{\n notification.title = 'Documento finalizado'\n notification.duration = 0;\n notification.type = 'warning';\n\n Notification.warning(notification);\n }\n\n resolve(response.data.data);\n } else {\n reject(response.data.data);\n }\n })\n .catch(error => {\n console.error(error);\n commit(\"setError\", true);\n reject(error.response.data.data);\n });\n });\n}\n\n/**\n * Este metodo actualiza los datos generales del documento.\n *\n * @author Kevin Galindo\n */\nexport async function updateGeneralDataDocument(\n { commit, state },\n document_id\n) {\n let formData = new FormData();\n\n // Informacion general\n formData.append(\"contact_id\", state.selected_document.contact_id || \"\");\n formData.append(\"warehouse_id\", state.selected_document.warehouse_id || \"\");\n formData.append(\"seller_id\", state.selected_document.seller_id || \"\");\n formData.append(\n \"affects_prefix_document\",\n state.selected_document.affects_prefix_document || \"\"\n );\n formData.append(\"import_number\", state.selected_document.import_number || \"\");\n formData.append(\n \"affects_number_document\",\n state.selected_document.affects_number_document || \"\"\n );\n formData.append(\n \"affects_date_document\",\n state.selected_document.affects_date_document || \"\"\n );\n formData.append(\"observation\", state.selected_document.observation || \"\");\n\n // Retenciones\n formData.append(\"ret_fue_total\", state.selected_document.ret_fue_total || \"\");\n formData.append(\"ret_iva_total\", state.selected_document.ret_iva_total || \"\");\n formData.append(\"ret_ica_total\", state.selected_document.ret_ica_total || \"\");\n\n state.document_files_new.map(fn => {\n formData.append(\"filesUpload[]\", fn);\n });\n\n state.document_files_delete.map(fn => {\n formData.append(\"filesDelete[]\", JSON.stringify(fn));\n });\n\n if (state.selected_model.capture_accounting_account) {\n formData.append(\n \"account_id\",\n state.selected_document.account_id\n );\n }\n\n if ([1,9].includes(state.selected_model.select_cost_center)) {\n formData.append(\n \"center_cost_id\",\n state.selected_document.center_cost_id\n );\n }\n\n if ([1,9].includes(state.selected_model.capture_rt_fte)) {\n formData.append(\n \"ret_fte_account_id\",\n state.selected_document.documents_information.ret_fte_account_id\n );\n }\n\n if ([1,9].includes(state.selected_model.capture_cta_ret_ica)) {\n formData.append(\n \"ret_ica_account_id\",\n state.selected_document.documents_information.ret_ica_account_id\n );\n }\n\n formData.append(\"_method\", \"PUT\");\n formData.append(\"date_entry\", state.selected_document.documents_information.date_entry);\n formData.append(\"order\", state.selected_document.order);\n formData.append(\"name_document\", state.selected_document.documents_information.name_document);\n formData.append(\"document_date\", state.selected_document.document_date);\n\n await $http\n .post(`/api/documento/${document_id}/actualizar-datos-generales`, formData)\n .then(async response => {\n await commit(\"setAction\", \"create\");\n await commit(\"setFilenameSelectedDocument\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar los valores del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Calcula los valores del documento.\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function updateDocumentValues({ commit, state }) {\n let data = {\n document_id: state.selected_document.id,\n model_id: state.selected_model.id,\n warehouse_id: state.selected_document.warehouse_id,\n edit_base_retention: state.edit_base_retention,\n document_products_edit_iva: state.document_products_edit_iva,\n date_entry: state.selected_document.date_entry,\n order: state.selected_document.documents_information.order,\n document_name: state.selected_document.documents_information.document_name\n };\n\n // Valor total de la retencion.\n if (state.edit_retention) {\n data.edit_retention = state.edit_retention;\n data.ret_fue_total = state.selected_document.ret_fue_total;\n data.ret_iva_total = state.selected_document.ret_iva_total;\n data.ret_ica_total = state.selected_document.ret_ica_total;\n }\n\n await $http\n .post(\"/api/documento/actualizar-valores/\", data)\n .then(response => {\n commit(\"setUpdateDocumentValues\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar los valores del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateDocumentProductsValues({ commit }, products) {\n await $http\n .post(\"/api/documento/actualizar-valores-productos/\", {\n products\n })\n .then(response => {\n response.data.data.map(product => {\n commit(\"addDocumentProduct\", product);\n });\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message:\n \"Error al actualizar los valores de los productos del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Editar las retenciones del documento.\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function editRetentioDocument({ commit, state }) {\n let data = {\n // datos necesarios.\n document_id: state.selected_document.id,\n model_id: state.selected_model.id,\n warehouse_id: state.selected_document.warehouse_id\n };\n\n // Valor total de la retencion.\n if (state.edit_retention) {\n data.edit_retention = state.edit_retention;\n data.ret_fue_total = state.selected_document.ret_fue_total;\n data.ret_iva_total = state.selected_document.ret_iva_total;\n data.ret_ica_total = state.selected_document.ret_ica_total;\n }\n\n // Valor base de la retencion.\n if (state.edit_base_retention) {\n data.edit_base_retention = state.edit_base_retention;\n data.ret_fue_base_value = state.selected_document.ret_fue_base_value;\n data.ret_iva_base_value = state.selected_document.ret_iva_base_value;\n data.ret_ica_base_value = state.selected_document.ret_ica_base_value;\n data.ret_fue_serv_base_value =\n state.selected_document.ret_fue_serv_base_value;\n data.ret_iva_serv_base_value =\n state.selected_document.ret_iva_serv_base_value;\n data.ret_ica_serv_base_value =\n state.selected_document.ret_ica_serv_base_value;\n }\n\n await $http\n .post(\"/api/documento/actualizar-retenciones/\", data)\n .then(response => {\n commit(\"setUpdateDocumentValuesRetention\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar los valores del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Actualizar el documento activo\n * @param commit\n * @param state\n * @param rootState\n * @returns {Promise}\n */\nexport async function finalizeUpdateDocument({ commit, state, getters }) {\n const user = JSON.parse(localStorage.user);\n\n let data = {\n save_document: state.saveDocument,\n document: {\n id: state.selected_document.id,\n observation: state.selected_document.observation\n },\n model_id: state.selected_model.id,\n user_id: user.id\n };\n\n if (state.selected_model.capture_accounting_account) {\n data.account_id = state.selected_document.account_id\n }\n\n if ([1,9].includes(state.selected_model.select_cost_center)) {\n data.center_cost_id = state.selected_document.center_cost_id\n }\n\n if ([1,9].includes(state.selected_model.capture_rt_fte)) {\n data.ret_fte_account_id = state.selected_document.documents_information.ret_fte_account_id\n }\n\n if ([1,9].includes(state.selected_model.capture_cta_ret_ica)) {\n data.ret_ica_account_id = state.selected_document.documents_information.ret_ica_account_id\n }\n\n data.document_date = state.selected_document.document_date\n if (state.selected_model.handle_payment_methods !== 2) {\n data.paymentMethods = state.modalPaymentMethods.data;\n }\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/finalizar-documento-actualizar\", data)\n .then(async response => {\n if (response.status == 200) {\n await commit(\"setAction\", \"create\");\n await commit(\"setFilenameSelectedDocument\", response.data.document);\n resolve(response.data);\n } else {\n reject(response.data);\n }\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al Actualizar el documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n reject(error.response.data);\n });\n });\n}\n\n/**\n * Obtiene las promociones activas\n * @param commit\n * @param state\n * @returns {Promise}\n */\nexport async function getPromotions({ commit, state }) {\n await $http\n .get(\"/api/promociones-activas\")\n .then(response => {\n commit(\"setPromotions\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n *\n * @param state\n * @param commit\n * @param dispatch\n * @param rootState\n * @returns {Promise}\n */\nexport async function validateAllPromotionRules({\n state,\n commit,\n dispatch,\n rootState\n}) {\n state.promotions.map(promotion => {\n dispatch(\"validatePromotionRules\", promotion.id);\n });\n}\n\n/**\n *\n * @param state\n * @param commit\n * @param dispatch\n * @param rootState\n * @param promotion_product\n * @returns {Promise}\n */\nexport async function changePromotionProduct(\n { state, commit, dispatch, rootState },\n promotion_product\n) {\n dispatch(\"validatePromotionRules\", promotion_product.promotion_id);\n}\n\n/**\n *\n * @param state\n * @param commit\n * @param dispatch\n * @param rootState\n * @param promotion_id\n * @returns {Promise}\n */\nexport async function validatePromotionRules(\n { state, commit, dispatch, rootState },\n promotion_id\n) {\n let promotions = JSON.parse(JSON.stringify(state.promotions));\n\n promotions.map(promotion => {\n if (promotion.id == promotion_id) {\n let disable_button = false;\n let quantity = 0;\n let amount = 0;\n\n if (promotion.minimum_amount) {\n let minimum_amount = promotion.minimum_amount;\n\n promotion.products_promotions.map(ppp => {\n amount += parseInt(ppp.product.quantity);\n });\n\n disable_button = amount < minimum_amount;\n quantity = Math.floor(amount / minimum_amount);\n } else if (promotion.minimum_gross_value) {\n let minimum_gross = promotion.minimum_gross_value;\n\n promotion.products_promotions.map(ppp => {\n amount +=\n parseInt(ppp.product.price.price) * parseInt(ppp.product.quantity);\n });\n\n disable_button = amount < minimum_gross;\n quantity = Math.floor(amount / minimum_gross);\n } else {\n promotion.products_promotions.map(ppp => {\n let minimum_unit = ppp.minimum_amount;\n amount = ppp.product.quantity;\n\n disable_button = amount < minimum_unit;\n quantity = Math.floor(amount / minimum_unit);\n });\n }\n\n promotion.disable_button = disable_button;\n\n if (promotion.specific_product) {\n promotion.specific_product.quantity = quantity;\n }\n }\n });\n\n commit(\"setPromotions\", promotions);\n}\n\n/** Buscar productos según los criterios de clasificación */\nexport function fetchProductsByClasification({ commit, state }, params) {\n $http.get(\"/api/productos-clasificacion\", params).then(response => {\n commit(\"setProductsFiltered\", response.data.data);\n });\n}\n\n/**\n *\n * @param {*} param0\n * @param {*} params\n */\nexport async function uploadFileProductsDocument(\n { commit, state, dispatch },\n params\n) {\n // let params = {\n // params: {\n // branchoffice_id: localStorage.selected_branchoffice,\n // model_id: state.selected_model.id\n // }\n // }\n await $http\n .post(\n `/api/documento/cargar-productos-excel/${params.document_id}?model_id=${state.selected_model.id}&branchoffice_id=${localStorage.selected_branchoffice}&branchoffice_storage=${localStorage.selected_branchoffice}&warehouse_id=${state.selected_document.warehouse_id}&branchoffice_warehouse_id=${state.doc_product_default_branchoffice_warehouse_id}&branchoffice_warehouse_id_product=${state.doc_product_default_branchoffice_warehouse_id}&contact_id=${state.selected_document.contact_id}`,\n params.file\n )\n .then(async response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Registro actualizado.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n let products = response.data.message;\n let document_id = null;\n\n products.map(p => {\n //Guardamos la info\n commit(\"addDocumentProduct\", p);\n document_id = p.document_id;\n });\n })\n .catch(error => {\n console.error(error);\n\n var dataError = error.response.data.message;\n\n var data = dataError.data;\n\n if (data) {\n var csv = \"REFERENCIA\\n\";\n data.map((v, i) => {\n csv += `${v}\\n`;\n });\n\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURI(csv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = \"productos que no existen.csv\";\n hiddenElement.click();\n }\n\n Notification.error({\n title: \"Error!\",\n message: dataError.text ? dataError.text : \"Error al actualizar\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n MessageBox.alert(\n dataError.text ? dataError.text : \"Error al actualizar\",\n \"Error\", {\n confirmButtonText: \"Aceptar\",\n type: \"error\",\n customClass: \"notification-error\"\n }\n );\n });\n}\n\n/**\n * Este metodo trae los documentos segun los parametros\n *\n * @author Kevin Galindo\n */\n\nexport async function searchDocumentGlobal({ commit, state }) {\n state.TableSearchGlobal.loading = true;\n var params = {\n params: state.TableSearchGlobal.params\n };\n\n await $http\n .get(\"/api/documento/buscar/\", params)\n .then(response => {\n commit(\"setSearchDocumentGlobal\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al buscar el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n state.TableSearchGlobal.loading = false;\n}\n\n\nexport async function searchDocumentGlobalMasive({ commit, state }) {\n\n let name = \"\";\n if(state.TableSearchGlobal.params.type_impresion === 1){\n name = 'Formato Masivo Documentos Inventario desde consecutivo '+state.TableSearchGlobal.params.consecutive_ini+' al consecutivo '+state.TableSearchGlobal.params.consecutive_end+'.pdf'\n }else{\n name = 'Formato Masivo Documentos Contabilidad desde consecutivo '+state.TableSearchGlobal.params.consecutive_ini+' al consecutivo '+state.TableSearchGlobal.params.consecutive_end+'.pdf'\n }\n\n\n if(state.TableSearchGlobal.params.type_impresion === 1){\n\n await $http({\n url: '/api/documentos/descargar-pdf-masive/'+state.TableSearchGlobal.params.consecutive_ini+\"/\"+state.TableSearchGlobal.params.consecutive_end+\"/\"+state.TableSearchGlobal.params.vouchertype_id,\n method: 'GET',\n responseType: 'blob',\n params:{\n copies:state.TableSearchGlobal.params.copies\n }\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: 'No hay Información disponible para el filtro seleccionado',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n }else if(state.TableSearchGlobal.params.type_impresion === 2){\n await $http({\n url: '/api/descargar-pdf-contabilidad-masiva/'+state.TableSearchGlobal.params.consecutive_ini+\"/\"+state.TableSearchGlobal.params.consecutive_end+\"/\"+state.TableSearchGlobal.params.vouchertype_id,\n method: 'GET',\n responseType: 'blob',\n params:{\n copies:state.TableSearchGlobal.params.copies\n }\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: \"No hay Información disponible para el filtro seleccionado\",\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n }\n\n state.TableSearchGlobal.loading = false;\n}\n\n/**\n * Este metodo retorna la traza del backorder.\n *\n * @author Kevin Galindo\n */\n\nexport async function getTraceDocumentProduct({ commit, state }, data) {\n let params = {\n params: {\n model_id: state.selected_model.id,\n document_id: data.document_id\n }\n };\n await $http\n .get(`/api/traza-producto-documento/${data.document_product_id}`, params)\n .then(response => {\n commit(\"setTraceDocumentProduct\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer la traza del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Actualizar las retenciones\n *\n * @author Kevin Galindo\n */\n\nexport async function setConfigurationRetention({ commit, state }, data) {\n await $http\n .post(`/api/sucursal-contacto/actualizar-retencion`, data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Registro actualizado.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"setEditRetentionDocument\", true);\n });\n}\n\n/**\n *\n * Este metodo se encarga de calcular el valor de\n * las retenciones\n *\n * @param {*} data\n * @author Kevin Galindo\n */\nexport async function calculateRetention({ state, getters }, data) {\n if (state.action === \"view\") return;\n\n let retentions = state.tableRetention;\n\n let valueToCalculate = 0;\n let totalValueRetention = 0;\n\n retentions.map((retention, index) => {\n // Seteamos las variables\n valueToCalculate = 0;\n totalValueRetention = 0;\n\n // Recorremos el arreglo\n retention.fields.map((field, inxf) => {\n // Seteamos los valores\n field.total = 0;\n\n // IVA\n if (retention.prefix === \"IVA\") {\n if (field.prefix == \"product\") {\n valueToCalculate = Math.round(retention.base_value);\n }\n\n if (field.prefix == \"service\") {\n valueToCalculate = Math.round(retention.base_serv_value);\n }\n }\n\n // VR BRUTO\n else {\n if (field.prefix == \"product\") {\n valueToCalculate = Math.round(retention.base_value);\n }\n\n if (field.prefix == \"service\") {\n valueToCalculate = Math.round(retention.base_serv_value);\n }\n }\n\n if (\n state.selected_model.operation_type.code == \"155\" ||\n // state.selected_model.operation_type.code == \"156\" ||\n state.selected_model.operation_type.code == \"270\"\n ) {\n if (retention.prefix === \"FUE\") {\n if (field.prefix == \"product\") {\n if (\n parseInt(state.selected_document.document.ret_fue_base_value) >=\n parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n\n if (field.prefix == \"service\") {\n if (\n parseInt(\n state.selected_document.document.ret_fue_serv_base_value\n ) >= parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n }\n\n if (retention.prefix === \"IVA\") {\n if (field.prefix == \"product\") {\n if (\n parseInt(state.selected_document.document.ret_iva_base_value) >=\n parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n\n if (field.prefix == \"service\") {\n if (\n parseInt(\n state.selected_document.document.ret_iva_serv_base_value\n ) >= parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n }\n\n if (retention.prefix === \"ICA\") {\n if (field.prefix == \"product\") {\n if (\n parseInt(state.selected_document.document.ret_ica_base_value) >=\n parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n\n if (field.prefix == \"service\") {\n if (\n parseInt(\n state.selected_document.document.ret_ica_serv_base_value\n ) >= parseInt(field.vr_limit)\n ) {\n field.total = Math.round(\n (valueToCalculate * field.percentage) / 100\n );\n totalValueRetention += field.total;\n }\n }\n }\n } else {\n if (valueToCalculate != 0 && valueToCalculate >= field.vr_limit) {\n field.total = Math.round((valueToCalculate * field.percentage) / 100);\n totalValueRetention += field.total;\n } else {\n field.total = 0;\n totalValueRetention += field.total;\n }\n }\n\n // Seteamos las variables del documento\n if (retention.prefix === \"FUE\") {\n if (field.prefix == \"product\") {\n state.selected_document.ret_fue_prod_vr_limit = field.vr_limit;\n state.selected_document.ret_fue_prod_percentage = field.percentage;\n state.selected_document.ret_fue_prod_total = field.total;\n\n //base\n state.selected_document.ret_fue_base_value = retention.base_value;\n }\n\n if (field.prefix == \"service\") {\n state.selected_document.ret_fue_serv_vr_limit = field.vr_limit;\n state.selected_document.ret_fue_serv_percentage = field.percentage;\n state.selected_document.ret_fue_serv_total = field.total;\n\n //base\n state.selected_document.ret_fue_serv_base_value =\n retention.base_serv_value;\n }\n }\n\n if (retention.prefix === \"IVA\") {\n if (field.prefix == \"product\") {\n state.selected_document.ret_iva_prod_vr_limit = field.vr_limit;\n state.selected_document.ret_iva_prod_percentage = field.percentage;\n state.selected_document.ret_iva_prod_total = field.total;\n\n // base\n state.selected_document.ret_iva_base_value = retention.base_value;\n }\n\n if (field.prefix == \"service\") {\n state.selected_document.ret_iva_serv_vr_limit = field.vr_limit;\n state.selected_document.ret_iva_serv_percentage = field.percentage;\n state.selected_document.ret_iva_serv_total = field.total;\n\n //base\n state.selected_document.ret_iva_serv_base_value =\n retention.base_serv_value;\n }\n }\n\n if (retention.prefix === \"ICA\") {\n if (field.prefix == \"product\") {\n state.selected_document.ret_ica_prod_vr_limit = field.vr_limit;\n state.selected_document.ret_ica_prod_percentage = field.percentage;\n state.selected_document.ret_ica_prod_total = field.total;\n\n //base\n state.selected_document.ret_ica_base_value = retention.base_value;\n }\n\n if (field.prefix == \"service\") {\n state.selected_document.ret_ica_serv_vr_limit = field.vr_limit;\n state.selected_document.ret_ica_serv_percentage = field.percentage;\n state.selected_document.ret_ica_serv_total = field.total;\n\n //base\n state.selected_document.ret_ica_serv_base_value =\n retention.base_serv_value;\n }\n }\n });\n\n // Asignamos el valor total\n retention.total = totalValueRetention;\n\n //Valores totales\n //Seteamos las variables del documento\n if (retention.prefix === \"FUE\") {\n state.selected_document.ret_fue_total = retention.total;\n }\n\n if (retention.prefix === \"IVA\") {\n state.selected_document.ret_iva_total = retention.total;\n }\n\n if (retention.prefix === \"ICA\") {\n state.selected_document.ret_ica_total = retention.total;\n }\n });\n}\n\n/**\n *\n * Este metodo valida que tipo de retencion es y se\n * encarga de traer la informacion correspodiente.\n *\n * @param {*} data\n * @author Kevin Galindo\n */\nexport async function validateRetentionData({ state, commit }) {\n // RETENCION NORMAL\n if (state.selected_model.retention_management == 1) {\n commit(\"getParamsWarehouseRetention\");\n }\n\n // RETENCION CON DOCUMENTO BASE\n if (state.selected_model.retention_management == 3) {\n commit(\"getParamsBaseDocumentRetention\");\n }\n}\n\nexport async function showPdfDocumentById({ state, commit }, id) {\n await $http\n .get(`/api/imprimir-pedido/${id}`)\n .then(response => {\n let fileName = response.data.data.pdf;\n let appLink = getApiDomain();\n //let appLink = 'http://localhost:8085'\n\n window.open(\n `https://docs.google.com/viewerng/viewer?url=${appLink}${fileName}`,\n \"_blank\"\n );\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al generar el pdf\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n *\n * Este metodo recalcula todo el documento\n *\n * @author Kevin Galindo\n */\nexport async function getDocumentByIdUpdatedValues(\n { state, commit, getters, dispatch },\n id\n) {\n let data = {\n params: {\n model_id: state.selected_model.id\n }\n };\n\n await $http\n .get(\"/api/carrito/\" + id, data)\n .then(response => {\n let dataCommit = {\n document: response.data,\n getTotalIvaProducts: Math.round(getters.getTotalIvaProducts),\n getTotalIvaServices: Math.round(getters.getTotalIvaServices),\n getValBrutInProducts: Math.round(getters.getValBrutInProducts),\n getValBrutInServices: Math.round(getters.getValBrutInServices)\n };\n commit(\"setUpdateValuesDocument\", dataCommit);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al actualizar el documento\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n // Calculamos la retencion\n if (state.selected_model.retention_management != 0) {\n await dispatch(\"validateRetentionData\");\n await dispatch(\"calculateRetention\");\n }\n}\n\n// Obtener cartera del cliente\nexport async function getReceivablesByContactId({ commit, state }, contact_id) {\n // Validmos que el id no sea 'undefined'\n if (!contact_id) return;\n\n await $http\n .get(`/api/cartera/${contact_id}`)\n .then(response => {\n commit(\"setValuesReceivablesByContactId\", response.data);\n })\n .catch(error => {\n /*Notification.error({\n\t\t\t\ttitle: '¡Error!',\n\t\t\t\tmessage: error.response.data.message,\n\t\t\t\ttype: 'error',\n\t\t\t\tduration: 1500,\n\t\t\t\tcustomClass: 'notification-box'\n\t\t\t})*/\n });\n}\n\n// Obtener cartera del cliente\nexport async function deleteDocumentProduct({ commit, state, dispatch }, document_product_id) {\n // Validmos que el id no sea 'undefined'\n if (!document_product_id) return;\n\n state.updating = state.action === \"update-document\";\n\n let params = {\n params: {\n forceDelete: state.updating ? 0 : 1\n }\n };\n\n await $http.delete(`/api/items-carrito/${document_product_id}`, params)\n .then(response => {\n commit(\"deleteItemDocumentsProducts\", document_product_id);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al eliminar el elemento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Eliminar documents products.\n */\nexport async function deleteDocumentsProducts({ commit, state, dispatch }, documents_products_ids) {\n\n let params = {\n documents_products_ids\n };\n\n await $http.delete(`/api/eliminar-productos-documento`, {params})\n .then(response => {\n commit(\"deleteItemsDocumentsProducts\", documents_products_ids);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al eliminar el elemento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function searchmails({ state, commit }, text) {\n let params = {\n params: {\n filter: text,\n contact: state.selected_document.contact.id\n }\n };\n\n await $http\n .get(\"/api/buscar-correo\", params)\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updatemail({ state, commit }, to, contact) {\n let params = {\n to: to,\n contact: state.selected_document.contact.id\n };\n\n await $http\n .put(`/api/actualizar-correo`, params)\n .then(response => {\n commit(\"setMails\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al eliminar el elemento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function sendmail({ state, commit }, params) {\n await $http\n .post(\"/api/enviar-correo\", params)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"El correo ha sido enviado exitosamente.\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n//Obtener los parametros de una tabla\nexport async function fetchParametersTable({ commit, state }, paramtable_id) {\n if (paramtable_id) {\n const params = {\n params: {\n paramtable_id: paramtable_id\n }\n };\n await $http\n .get(\"/api/parametros\", params)\n .then(response => {\n commit(\"setParametersTable\", response.data.data);\n })\n .catch(error => {});\n }\n}\n\nexport async function downloadDocument({ state, commit, dispatch, rootState}, data) {\n\n await dispatch('cart/getModelBycode', '205', {root: true})\n let model = rootState.cart.selected_model\n\n let params = {\n params: {\n branchoffice_id: data.branchoffice_id,\n model_id: model ? model.id : null ,\n fromDate: data.filterDate[0],\n toDate: data.filterDate[1]\n }\n };\n\n await $http\n .get(`/api/descargar-documentos-con-estado`, params)\n .then(response => {\n let objArray = response.data.data;\n let nameDoc = response.data.name_excel;\n\n const array =\n typeof objArray !== \"object\" ? JSON.parse(objArray) : objArray;\n let str = \"\",\n dataCsv = \"\";\n if (array.length > 0) {\n str =\n `${Object.keys(array[0])\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n\n dataCsv = array.reduce((str, next) => {\n str +=\n `${Object.values(next)\n .map(value => `\"${value}\"`)\n .join(\";\")}` + \"\\r\\n\";\n return str;\n }, str);\n }\n\n var hiddenElement = document.createElement(\"a\");\n hiddenElement.href = \"data:text/csv;charset=utf-8,\" + encodeURIComponent(dataCsv);\n hiddenElement.target = \"_blank\";\n hiddenElement.download = nameDoc + \".csv\";\n hiddenElement.click();\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al descargar los docuemntos.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateDocCruce({ state, commit }) {\n let data = {\n document_id: state.selected_document.id,\n affects_prefix_document: state.selected_document.affects_prefix_document,\n affects_number_document: state.selected_document.affects_number_document,\n affects_date_document: state.selected_document.affects_date_document\n };\n await $http\n .post(\"/api/actualizar-doc-cruce\", data)\n .then(response => {\n Notification.success({\n title: \"Exito!\",\n message: \"Se ha actualizado el documento cruce..\",\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al actualizar el docuemnto cruce.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// Actualizar Documento\nexport async function updateDocument({ state, commit }, data) {\n let document_id = state.selected_document.id;\n\n if (document_id) {\n await $http\n .put(`/api/carrito/${document_id}`, data)\n .then(response => {})\n .catch(error => {\n console.error(error);\n });\n }\n}\n\nexport async function createPDf({ commit, state }, id) {\n await $http\n .get(`/api/pdf/${id}`)\n .then(response => {\n commit(\"setNamePdf\", response.data.data.pdf);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: \"Error al traer el pdf del documento.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function duplicateDocumentProduct(\n { commit, state, dispatch },\n dp\n) {\n let data = {\n product_id: dp.product_id,\n quantity: 0,\n is_benefit: false,\n description: dp.product.description,\n contact_id: state.selected_document.contact_id,\n document_id: state.selected_document.id,\n model_id: state.selected_model.id,\n branchoffice_warehouse_id: dp.branchoffice_warehouse_id\n ? dp.branchoffice_warehouse_id\n : state.selected_document.branchoffice_warehouse_id,\n branchoffice_id: state.selected_document.branchoffice_id,\n base_unit_value: dp.base_unit_value,\n original_quantity: dp.original_quantity,\n unit_value_before_taxes: dp.unit_value_before_taxes,\n physical_unit: dp.physical_unit\n };\n\n await $http\n .post(\"/api/items-carrito\", data)\n .then(response => {\n //Guardamos la info\n commit(\"addDocumentProduct\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function cancelDocument({ commit, state }) {\n const user = JSON.parse(localStorage.user);\n let data = {\n user_id: user.id\n };\n\n let document_id =\n state.action === \"update-document\"\n ? state.selected_document.ref_update_doc\n : state.selected_document.id;\n\n await $http\n .post(`/api/anular-documento/${document_id}`, data)\n .then(async response => {\n await commit(\"setAction\", \"create\");\n await commit(\"setFilenameSelectedDocument\", response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n// MODAL CREAR TERCERO\nexport async function fetchCities({ commit, state }) {\n let department_id = state.newContact.department_id;\n\n await $http\n .get(\"/api/ciudades?department_id=\" + department_id)\n .then(response => {\n commit(\"setCities\", response.data.data);\n });\n}\n\nexport async function fetchDepartments({ commit, state }) {\n if (!state.departments.length) {\n await $http.get(\"/api/departamentos\").then(response => {\n commit(\"setDepartments\", response.data.data);\n });\n }\n}\n\n//Obtener tipos de identificación\nexport async function fetchDocumentTypes({ commit, state }) {\n if (!state.identificationTypes.length) {\n await $http.get(`/api/parametros?paramtable_id=1`).then(response => {\n commit(\"setIdentificationTypes\", response.data.data);\n });\n }\n}\n\nexport async function storeContact({ commit, state }) {\n return await new Promise(async (resolve, reject) => {\n commit(\"setTypeNewContact\");\n\n let data = state.newContact;\n data.branchoffice_id = localStorage.selected_branchoffice;\n data.direct_invoice_blocking = 0;\n\n await $http\n .post(`/api/creacion-basica-tercero`, data)\n .then(response => {\n Notification.success({\n title: \"Éxito\",\n message: \"Cliente registrado exitosamente\",\n type: \"success\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n commit(\"setModalNewContact\", false);\n resolve(response.data.data);\n })\n .catch(error => {\n reject(error.response.data.message);\n });\n });\n}\n\n// Calcular el digito de verificación\nexport function calculateCheckDigit({ state }) {\n return new Promise((resolve, reject) => {\n let vpri, x, y, dv, z;\n\n // Se limpia el Nit\n state.newContact.identification = state.newContact.identification.replace(\n /\\s/g,\n \"\"\n ); // Espacios\n state.newContact.identification = state.newContact.identification.replace(\n /,/g,\n \"\"\n ); // Comas\n state.newContact.identification = state.newContact.identification.replace(\n /\\./g,\n \"\"\n ); // Puntos\n state.newContact.identification = state.newContact.identification.replace(\n /-/g,\n \"\"\n ); // Guiones\n\n // Se valida el nit\n if (isNaN(state.newContact.identification)) {\n reject(\n \"El nit/cédula '\" +\n state.newContact.identification +\n \"' no es válido(a).\"\n );\n }\n // Procedimiento\n vpri = new Array(16);\n z = state.newContact.identification.length;\n\n vpri[1] = 3;\n vpri[2] = 7;\n vpri[3] = 13;\n vpri[4] = 17;\n vpri[5] = 19;\n vpri[6] = 23;\n vpri[7] = 29;\n vpri[8] = 37;\n vpri[9] = 41;\n vpri[10] = 43;\n vpri[11] = 47;\n vpri[12] = 53;\n vpri[13] = 59;\n vpri[14] = 67;\n vpri[15] = 71;\n\n x = 0;\n y = 0;\n for (let i = 0; i < z; i++) {\n y = state.newContact.identification.substr(i, 1);\n x += y * vpri[z - i];\n }\n\n y = x % 11;\n resolve(+(y > 1 ? 11 - y : y));\n });\n}\n\n//Obtener tipos de vehiculo\nexport async function fetchVehicles({ commit, state }, filter) {\n if (filter.length >= 3) {\n let url = \"/api/tipos-de-vehiculo?filter=\" + filter;\n\n await $http.get(url).then(response => {\n commit(\"setVehicles\", response.data.data);\n });\n }\n}\n\nexport async function getContactForIdentification(\n { commit, state, dispatch },\n identification\n) {\n await $http\n .get(`/api/terceros/id/${identification}`)\n .then(async response => {\n if (response.data.success) {\n commit(\"setNewContact\", response.data.data);\n await dispatch(\"fetchDocumentTypes\");\n await dispatch(\"fetchDepartments\");\n dispatch(\"fetchCities\");\n await dispatch(\"fetchPersonClasses\");\n await dispatch(\"fetchTaxpayerTypes\");\n await dispatch(\"fetchTaxRegimes\");\n await dispatch(\"fetchFiscalResponsibilitys\");\n await dispatch(\"getVehiclesContact\", state.newContact.id);\n if (state.vehiclesContact.length) {\n await dispatch(\n \"validateLicensePlate\",\n state.vehiclesContact[0].license_plate\n );\n }\n } else {\n commit(\"resetNewContact\", true);\n }\n })\n .catch(error => {\n commit(\"resetNewContact\", true);\n });\n}\n\nexport async function validateLicensePlate({ state, commit }) {\n if (state.newContact.id) {\n await $http\n .get(\n \"/api/vehiculos-terceros?license_plate=\" +\n state.newContact.vehicle.license_plate +\n \"&contact_id=\" +\n state.newContact.id\n )\n .then(async response => {\n if (response.data.data.length) {\n commit(\"setVehicles\", [response.data.data[0].vehicle_type]);\n commit(\"setNewContactVehicle\", response.data.data[0]);\n commit(\"setDataVehicle\", response.data.data[0].vehicle_type_id);\n }\n });\n }\n}\n\nexport async function fetchPersonClasses({ state, commit }) {\n if (!state.personClasses.length) {\n await $http.get(`/api/parametros?code_table=055`).then(response => {\n commit(\"setPersonClasses\", response.data.data);\n });\n }\n}\n\nexport async function fetchTaxpayerTypes({ state, commit }) {\n if (!state.taxpayerTypes.length) {\n await $http.get(`/api/parametros?code_table=056`).then(response => {\n commit(\"setTaxpayerTypes\", response.data.data);\n });\n }\n}\n\nexport async function fetchTaxRegimes({ state, commit }) {\n if (!state.taxRegimes.length) {\n await $http.get(`/api/parametros?code_table=057`).then(response => {\n commit(\"setTaxRegimes\", response.data.data);\n });\n }\n}\n\nexport async function fetchFiscalResponsibilitys({ state, commit }) {\n if (!state.fiscalResponsibilitys.length) {\n await $http.get(`/api/parametros?code_table=061`).then(response => {\n commit(\"setFiscalResponsibilitys\", response.data.data);\n });\n }\n}\n\nexport async function fetchPayments({ state, commit }) {\n\n await $http.get(`/api/parametros?code_table=MPAG`).then(response => {\n commit(\"setPayments\", response.data.data);\n });\n\n}\n\n//Obtener los datos del tercero seleccionado\nexport async function getNewContact({ commit, state }, contactId) {\n if (!state.brandsVehicles.length) {\n await $http.get(`/api/terceros/` + contactId).then(response => {\n commit(\"setNewContact\", response.data.data);\n });\n }\n}\n\n//-------------------\n\n// Metodos de pagos\nexport async function getPaymentMethods({ commit, state }) {\n await $http\n .get(`/api/get-formas-pago`)\n .then(response => {\n commit(\"setPaymentMethods\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function documentsThreadHistoryByDocumentId(\n { commit },\n document_id\n) {\n let params = {\n params: {\n document_id\n }\n };\n\n await $http\n .get(\"/api/documentos-historial\", params)\n .then(response => {\n commit(\"setDocumentsThreadHistory\", response.data.documents);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchConveyors({commit}) {\n await $http.get(\"/api/obtener-transportadoras\")\n .then(response => {\n commit(\"setConveyors\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al obtener las transportadoras\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function validateCrossDocument ({commit, state}){\n let params= {\n 'crossing_prefix': state.selected_document.crossing_prefix,\n 'crossing_number_document': state.selected_document.crossing_number_document,\n 'contact_id': state.selected_document.contact_id,\n 'vouchertype_id': state.selected_document.vouchertype_id,\n 'affects_prefix_document': state.selected_document.affects_prefix_document,\n 'affects_number_document': state.selected_document.affects_number_document,\n }\n\n let validate;\n\n await $http\n .get(\"/api/validar-doc-cruce\", {params})\n .then(response => {\n validate = response.data;\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n return validate;\n}\n\nexport async function fetchAccountsLite({commit, state}){\n let params = {\n params: {}\n };\n\n await $http\n .get(\"/api/cuentas-lite\", params)\n .then(response => {\n commit(\"setAccountsRteFte\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchMoney({ state, commit }) {\n if (!state.personClasses.length) {\n await $http.get(`/api/parametros?code_table=051`).then(response => {\n commit(\"setMoney\", response.data.data);\n });\n }\n}\n\nexport async function fetchAccountsICa({commit, state}){\n let params = {\n params: {}\n };\n\n await $http\n .get(\"/api/cuentas-lite\", params)\n .then(response => {\n commit(\"setAccountsRteIca\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchDocumentsPaymentsMethods({ commit, state }) {\n await $http\n .get(\"/api/documento/obtener-formas-de-pago/\"+ state.selected_document.id)\n .then(response => {\n commit(\"setModalPaymentMethods\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function downloadExcel({state, commit}) {\n await $http({\n url: `/api/inventarios/excel/${state.selected_document.id}`,\n method: \"GET\",\n responseType: \"blob\"\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement(\"a\");\n link.href = url;\n link.setAttribute(\"download\", \"doc.xlsx\");\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchUnds({commit, state}, document_id){\n let documents_id = state.additional_documents ? state.additional_documents.split(',') : [];\n documents_id.push(document_id)\n\n let params = {\n 'documents_id' : documents_id\n }\n await $http\n .post(`/api/unds`, params)\n .then(response => {\n commit(\"setBackOrder\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n}\n\nexport async function fetchReportExistProducts({commit, state}, params_data){\n\n await $http.get(`/api/reporte-orden-compra`, {params : params_data}).then(response => {\n commit(\"setDataReportExistProduct\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n}\n\nexport async function validatePercentageDiscount({commit, state}) {\n await $http\n .get(`/api/validar-porcentaje-descuento/${state.selected_document.id}`)\n .then(response => {\n commit(\"setErrorsPercentageDiscount\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/inventory-movements/actions.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\n\n\nexport async function fetchparameters_status(\n {commit, state},\n) {\n await $http\n .get('/api/parametros-por-tabla/107')\n .then(response => {\n commit('setparameters_status', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('modelError', error.message);\n });\n}\n\n\n// Por favor no mover este metodo\nexport async function searchProducts({state, commit}, model_id = null) {\n let requestParameters = {\n params: state.params\n };\n\n if (model_id !== null) {\n requestParameters.params.model_id = model_id;\n }\n\n await $http.get('/api/lista-productos', requestParameters).then(response => {\n commit('setStateProducts', response.data.data);\n });\n}\n\nexport async function getProductForCode({commit, state, rootState}, code) {\n await $http\n .get(`/api/productos/id/${code}`)\n .then(response => {\n if (response.data.success) {\n state.productEdit = response.data.data.id;\n }\n })\n .catch(error => {\n state.productEdit = null;\n commit('productError', error.message);\n });\n}\n\nexport async function addProduct({commit, state}) {\n //data_sheets\n await $http\n .post('/api/productos', state.selectedProduct)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El producto ha sido creado',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setProduct', response.data.data);\n state.error = false;\n })\n .catch(error => {\n MessageBox.alert(error.message, 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n });\n commit('productError', error.message);\n });\n}\n\nexport async function getProduct({commit, state}, id) {\n if (state.getProductEdit) {\n let params = {\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n };\n\n await $http\n .get(`/api/productos/${id}/editar`, {params})\n .then(response => {\n commit('setProduct', response.data.data);\n commit('setProductsAttachments', response.data.data.products_attachments);\n if (state.selectedProduct.generic_product){\n commit('setGenericProducts', [state.selectedProduct.generic_product]);\n }\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('productError', error.message);\n });\n\n commit('setGetProductEdit', false);\n }\n}\n\nexport async function updateProduct({commit, state}) {\n state.selectedProduct.data_sheets = [];\n state.selectedProduct.inventory = state.inventory;\n\n state.selectedProduct.inventory.product_id = state.selectedProduct.id\n state.data_sheets.map(item => {\n state.selectedProduct.data_sheets.push({\n value: item.value,\n data_sheet_id: item.data_sheet_id\n });\n });\n /* state.selectedProduct.subcategory_id = state.selectedProduct.subcategory_id_1;*/\n await $http\n .put(`/api/productos/${state.selectedProduct.id}`, state.selectedProduct)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El producto ha sido actualizado',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setProduct', response.data.data);\n })\n .catch(error => {\n MessageBox.alert(error.message, 'Error', {\n confirmButtonText: 'Aceptar',\n type: 'error'\n });\n commit('productError', error.message);\n });\n}\n\nexport function cargaImagenProducto({commit}, image) {\n commit('setImagenCarga', image);\n}\n\nexport function documentChangePath({commit}, path) {\n commit('setDocumentPath', path);\n}\n\n//Descargar documento\nexport async function downloadDocument({state}) {\n let extension = state.selectedProduct.products_technnical_data.link_data_sheet\n .split('.')\n .pop();\n await $http({\n url: state.selectedProduct.products_technnical_data.link_data_sheet,\n method: 'GET',\n responseType: 'blob' // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute(\n 'download',\n state.selectedProduct.description + '.' + extension\n );\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchSublines(\n {dispatch, state, rootState, commit},\n requestParameters = {params: state.category_params}\n) {\n let params = {\n params: {\n lines: state.tableProduct.options.filter_lines,\n filter_brands: state.tableProduct.options.filter_brands\n }\n };\n\n await dispatch('sublines/listSublines', params, {root: true});\n commit('setSublines', rootState.sublines.sublines);\n}\n\nexport async function fetchBrands({dispatch, state, rootState, commit}) {\n await dispatch(\n 'brands/fetchBrands',\n {\n params: {\n paginate: false,\n lines: state.tableProduct.options.filter_lines\n }\n },\n {root: true}\n );\n commit('setBrands', rootState.brands.brands);\n}\n\nexport async function fetchSubbrands(\n {dispatch, state, rootState, commit},\n requestParameters = {\n params: state.tableProduct.options\n }\n) {\n let params = {\n params: {\n brands: state.tableProduct.options.filter_brands\n }\n };\n await dispatch('subbrands/listSubbrands', params, {\n root: true\n });\n commit('setSubbrands', rootState.subbrands.subbrands);\n}\n\nexport async function fetchCategories({dispatch, state, rootState, commit}) {\n await dispatch(\n 'categories/fetchCategories',\n {\n params: {\n paginate: false,\n lines: state.params.lines\n }\n },\n {\n root: true\n }\n );\n commit('setCategories', rootState.categories.categories);\n}\n\nexport async function fetchSubcategories({dispatch, state, rootState, commit}, category_id) {\n state.params.category_id = category_id;\n await $http.get('/api/lista-subcategorias', { params: state.params})\n .then((response) => {\n console.log('commit')\n commit('setSubcategoriesMutation', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nfunction mapParameters(parameters) {\n return parameters.map(p => {\n return {\n value: p.id,\n label: p.name_parameter\n };\n });\n}\n\n//-------Suscriptores-----------//\n// Obtiene los tipos de producto\nexport async function fetchProductType({dispatch, state, rootState, commit}) {\n if (!state.productType.length) {\n await dispatch(\n 'parameters/listParameter',\n {\n params: {\n idParamTable: 13,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit('setProductType', mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las tallas\nexport async function fetchSize({dispatch, state, rootState, commit}) {\n if (!state.size.length) {\n await dispatch(\n 'parameters/listParameter',\n {\n params: {\n idParamTable: 17,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit('setSize', mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los colores\nexport async function fetchColor({dispatch, state, rootState, commit}) {\n if (!state.color.length) {\n await dispatch(\n 'parameters/listParameter',\n {\n params: {\n idParamTable: 16,\n paginate: false\n }\n },\n {\n root: true\n }\n );\n commit('setColor', mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene los tipos de rotatcion\nexport async function fetchRotationType({\n dispatch,\n state,\n rootState,\n commit\n }) {\n if (!state.rotationType.length) {\n await dispatch(\n 'parameters/listParameter',\n {\n params: {\n idParamTable: 4,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit('setRotationType', mapParameters(rootState.parameters.parameters));\n }\n}\n\n// Obtiene las unidades de aplicación\nexport async function fetchApplicationUnit({\n dispatch,\n state,\n rootState,\n commit\n }) {\n if (!state.applicationUnit.length) {\n await dispatch(\n 'parameters/listParameter',\n {\n params: {\n idParamTable: 3,\n paginate: false\n }\n },\n {\n root: true\n }\n ); //TODO: Determinar el idParamTable\n commit(\n 'setApplicationUnit',\n mapParameters(rootState.parameters.parameters)\n );\n }\n}\n\n//Exportar archivo para crear productos.\nexport async function generateFileExport({commit, state}) {\n await $http({\n url: `/api/descargar-plantilla-informe`,\n method: 'GET',\n responseType: 'blob' // important\n }).then(response => {\n var type_file = response.data.type.split('/')[1];\n\n //Descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `plantilla-crear-productos.${type_file}`);\n document.body.appendChild(link);\n link.click();\n });\n}\n\n//Exportar archivo para crear productos.\nexport async function uploadFileProducts({commit, state}, data) {\n state.errorFileImport = [];\n commit('setChangeStateLoadFile', true);\n\n await $http\n .post(`/api/productos/ficha-datos/importar/${data.line_id}`, data.file)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message.text,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n state.errorFileImport = [];\n })\n .catch(error => {\n //setErrorFileImport\n Notification.error({\n title: 'Error!',\n message: 'Error al importar',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setErrorFileImport', error.response.data);\n });\n\n commit('setChangeStateLoadFile', false);\n}\n\n//Traemos los data sheets\nexport async function productsDataSheets({commit, dispatch, state}, id) {\n await $http\n .get(`/api/productos-ficha-datos/${id}`)\n .then(response => {\n commit('setProductsDataSheets', response.data);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Crear una nueva ficha de dato\nexport async function createProductsDataSheets(\n {commit, state, dispatch},\n data\n) {\n await $http\n .post(`/api/ficha-datos-productos/`, data)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('productsDataSheets', data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Actualizar ficha de dato del producto\nexport async function updateProductsDataSheets(\n {commit, state, dispatch},\n data\n) {\n await $http\n .put(`/api/ficha-datos-productos/${data.product_id}`, data.value)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('productsDataSheets', data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Eliminar ficha de dato del producto\nexport async function deleteProductsDataSheets(\n {commit, state, dispatch},\n data\n) {\n await $http\n .delete(\n `/api/ficha-datos-productos/${data.product_id}?data_sheet_id=${data.data_sheet_id}`\n )\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('productsDataSheets', data.product_id);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/*\n * Estos metodos se encargar de traer la infromacion para\n * mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\nexport async function getProductsTable({commit, state}) {\n state.tableProduct.loading = true;\n\n let params = state.tableProduct.options;\n\n params.branch_office_id = localStorage.selected_branchoffice;\n params.branch_office_warehouse_id = localStorage.selected_branchoffice_warehouse;\n\n await $http\n .get(`/api/tabla-productos/`, {params})\n .then(response => {\n commit('setProductsTable', response.data);\n })\n .catch(error => {\n console.error(error);\n });\n\n state.tableProduct.loading = false;\n}\n\n//Este metodo se encarga de guardar un producto.\nexport async function createProduct({commit, state}) {\n state.selectedProduct.data_sheets = [];\n\n state.data_sheets.map(item => {\n state.selectedProduct.data_sheets.push({\n value: item.value,\n data_sheet_id: item.data_sheet_id\n });\n });\n\n return await new Promise(async (resolve, reject) => {\n await $http\n .post('/api/productos', state.selectedProduct)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El producto ha sido creado',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('setProduct', response.data.data);\n resolve(response.data.data.id);\n })\n .catch(error => {\n MessageBox.alert('Error en la creación del producto', 'Error', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass: 'notification-error'\n });\n reject();\n });\n });\n\n\n}\n\n//Eliminar productos\nexport async function deleteProduct({commit, state}, id) {\n await $http\n .delete(`/api/productos/${id}`)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'El producto ha sido eliminado',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n let data = error.response.data.message;\n Notification.error({\n title: 'Error!',\n message: 'No se pudo eliminar el producto: ' + data,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function getParameterByTable({commit, state}, data) {\n state.parametersByTable = [];\n let response = await $http.get(\n `/api/parametros-por-tabla/${data.paramtable_id}`\n );\n if (response.status == 200) {\n commit('setParametersTableInRow', {\n data: response.data,\n row: data.row,\n paramtable_id: data.paramtable_id\n });\n }\n}\n\nexport async function fetchLines({dispatch, state, rootState, commit}) {\n if (!state.lines.length) {\n await dispatch(\n 'lines/fetchLines',\n {params: {paginate: false}},\n {root: true}\n );\n commit('setLines', rootState.lines.lines);\n }\n}\n\nexport async function fetchProviders({commit}, filter) {\n await $http\n .get('/api/lista-proveedores?filter='+filter)\n .then(response => {\n commit('setProviders', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchRotationClassification(\n {commit, state},\n) {\n await $http\n .get('/api/parametros-por-tabla/117')\n .then(response => {\n commit('setRotationClassification', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('modelError', error.message);\n });\n}\n\nexport async function reportGenerate({}) {\n await $http({\n url: '/api/reporte-productos',\n method: 'GET',\n responseType: 'blob' // important\n })\n .then(response => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'reporte-productos.csv');\n document.body.appendChild(link);\n link.click();\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function getImages({commit, state}) {\n await $http\n .get(`/api/imagenes-producto/${state.selectedProduct.id}`)\n .then(response => {\n commit('setProductsAttachments', response.data.data);\n })\n .catch(error => {\n let data = error.response.data.message;\n Notification.error({\n title: 'Error!',\n message: 'No se pudo eliminar el producto: ' + data,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\nexport async function deleteImage({dispatch, commit, state}, product_attachment_id) {\n await $http\n .delete(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'La imagen ha sido eliminada',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('getImages');\n })\n .catch(error => {\n let data = error.response.data.message;\n Notification.error({\n title: 'Error!',\n message: 'Error al eliminar la imagen',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function setMainToImage({dispatch, commit, state}, product_attachment_id) {\n await $http\n .put(`/api/imagenes-producto/${product_attachment_id}`)\n .then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'La imagen principal ha cambiado',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n dispatch('getImages');\n })\n .catch(error => {\n let data = error.response.data.message;\n Notification.error({\n title: 'Error!',\n message: 'Error al cambiar la imagen principal',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchClassification(\n {commit, state},\n) {\n await $http\n .get('/api/parametros-por-tabla/117')\n .then(response => {\n commit('setClassification', response.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit('modelError', error.message);\n });\n}\n\nexport async function fetchPackingUnits(\n {commit, state},\n) {\n let params = {\n params: {}\n };\n\n await $http\n .get('/api/parametros-por-codigo/120', params)\n .then(response => {\n commit('setPackingUnits', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Cargar imagenes al servidor 1 a 1\nexport async function loadProductImage({commit, state}, manage_previus_code_system = false) {\n\n var images = state.loadImages.images;\n\n // Seteamos los errores\n state.loadImages.errors.has = false;\n state.loadImages.errors.message = [];\n\n // Recorremos las imagenes y enviamos una a una\n for (var i = 0; i < images.length; i++) {\n var formData = new FormData();\n formData.append('image', images[i]);\n //Sene viar el campo para validar si tambien se busca el producto por codifo sitema anterior\n formData.append('manage_previus_code_system', manage_previus_code_system);\n\n await $http.post('/api/cargar-imagenes-producto', formData)\n .then((response) => {\n state.loadImages.loadedQuantity++;\n\n })\n .catch((error) => {\n state.loadImages.errors.has = true;\n state.loadImages.errors.message.push(error.response.data.message);\n });\n state.loadImages.processedQuantity++;\n }\n\n // Lanzamos una notificacion\n Notification.info({\n title: 'Info!',\n message: 'Proceso del cargue finalizado',\n type: 'info',\n duration: 3000,\n customClass: 'notification-box',\n });\n}\n\n/**\n * Request para obtener datos de products_combo.\n */\nexport async function getProductsCombo({commit, state}, filter = 3) {\n\n if (filter.length >= 3) {\n let branch_office_id = localStorage.getItem('selected_branchoffice');\n let branch_office_warehouse_id = localStorage.getItem('selected_branchoffice_warehouse');\n\n let params = {\n filter,\n mode: true,\n branch_office_id: Number(branch_office_id),\n branch_office_warehouse_id: Number(branch_office_warehouse_id)\n };\n\n await $http.get('/api/buscar-productos', {params})\n .then((response) => {\n commit('setProductsCombo', response.data.data);\n })\n .catch((error) => {\n console.error(error);\n });\n }\n}\n\n/**\n * Request para guardar datos de products_combo.\n */\nexport async function saveProductCombo({commit, state, dispatch}) {\n\n let data = state.product_combo\n\n data.combo_id = state.selectedProduct.id\n\n await $http.post('/api/producto-combo', data)\n .then((response) => {\n commit('setGetProductEdit', true);\n dispatch('getProduct', state.selectedProduct.id)\n commit('setShowToModalCombos', false);\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\n/**\n * Request para actualizar datos de products_combo.\n */\nexport async function updateProductCombo({commit, state, dispatch}, product_combo) {\n\n await $http.put('/api/producto-combo/' + product_combo.id, product_combo)\n .then((response) => {\n commit('setGetProductEdit', true);\n dispatch('getProduct', state.selectedProduct.id)\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Request para eliminar datos de products_combo.\n */\nexport async function deleteProductCombo({commit, state, dispatch}, product_combo) {\n\n await $http.delete('/api/producto-combo/' + product_combo.id)\n .then((response) => {\n commit('setGetProductEdit', true);\n dispatch('getProduct', state.selectedProduct.id)\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Request para guardar datos de precio.\n */\nexport async function updatePrice({commit, state, dispatch}) {\n\n let data = {\n informative_discount_percentage: state.selectedProduct.informative_discount_percentage,\n price: state.selectedProduct.sale_price,\n product_id: state.selectedProduct.id\n }\n\n await $http.post('/api/actualizar-precio-combo', data)\n .then((response) => {\n commit('setGetProductEdit', true);\n dispatch('getProduct', state.selectedProduct.id)\n Notification.success({\n title: 'Éxito!',\n message: response.data.message,\n type: 'success',\n duration: 3000,\n customClass: 'notification-box'\n });\n })\n .catch((error) => {\n console.error(error);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener los tipos de productos.\n */\nexport async function fetchTypes({commit, state}) {\n await $http\n .get('/api/parametros-por-codigo/118')\n .then(response => {\n commit('setTypes', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener los productos genéricos.\n */\nexport async function fetchGenericProducts({commit, state}, filter) {\n\n const params = {filter}\n\n await $http\n .get('/api/productos-genericos', {params})\n .then(response => {\n commit('setGenericProducts', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n/**\n * Obtener listas de precios.\n */\nexport async function fetchPriceLists({commit, state}) {\n\n await $http\n .get('/api/parametros-por-codigo/LDP')\n .then(response => {\n commit('setPriceLists', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener precio.\n */\nexport async function fetchPrice({commit, state}) {\n\n let params = state.price\n\n params.product_id = state.selectedProduct.id;\n\n await $http\n .get('/api/precio-producto-lista-precios', {params})\n .then(response => {\n if (response.data.data) {\n commit('setPrice', response.data.data);\n }else{\n commit('setPrice', {\n price_list_id: state.price.price_list_id,\n price: 0,\n product_id: state.selectedProduct.id\n });\n }\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Actualizar precio.\n */\nexport async function updateOrCreatePrice({commit, state}) {\n\n await $http\n .post('/api/precio-producto-lista-precios', state.price)\n .then(response => {\n Notification.success({\n title: 'Muy bien!',\n message: 'Precio actualizado exitosamente',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function getBranchsWarehouses({commit, state}) {\n\n await $http.get('/api/branchs-ware').then(response => {\n commit('setBranchsWarehouses', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * @author Brayan Ramirez\n * Obtener el valor del inventario por id de producto\n */\nexport async function getInventoryByProductId({commit, state}, params) {\n\n await $http.get('/api/get-inventory-by-product',{params: params}).then(response => {\n if (response.data && response.data.id ){\n commit('setProductInventory', response.data);\n }else{\n state.inventory.product_id = state.selectedProduct.id,\n state.inventory.minimum_stock = '',\n state.inventory.maximum_stock = '',\n state.inventory.location = ''\n }\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n/**\n * @author Brayan Ramirez\n * Obtener la Información del subscriptor\n */\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n/**\n * @author Brayan Ramirez\n * Obtener el cofigo mas grande de la tabla prodcuts\n */\n\n/**\n * Obtener la configuración de Clasificación de rotación\n */\nexport async function fetchParametersRotationClassification ({ commit }) {\n await $http.get(`/api/parametros-por-codigo/117`)\n .then((response) => {\n commit('setParametersRotationClassification', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function getMaxCodeProduct({commit, dispatch, state}) {\n await $http.get(`/api/products-max-code`)\n .then(response => {\n //usamos una exprecion regular para validar que sea un dato no alfanumerico\n const numberPattern = /^-?\\d+(\\.\\d+)?$/;\n const isValid = numberPattern.test(response.data.max_code)\n\n if (isValid){\n commit('setCodeProduct', response.data.max_code);\n }else{\n Notification.warning({\n title: 'Error!',\n message: 'No se puede suguerir un codigo de producto, la información contene datos alfanumericos',\n type: 'warning',\n duration: 1500,\n customClass: 'notification-box'\n });\n }\n\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * @author Brayan Ramirez\n * Verifica si existe un produto con ese codigo\n */\n\nexport async function getExistsProduct({commit, dispatch, state},code_product) {\n try {\n console.log('Valida el código:', code_product);\n const response = await $http.get('/api/validate-exist-product-by-code', { params: { code_product } });\n return response.data.exist;\n\n } catch (error) {\n console.error(error.response);\n return false;\n }\n}\n\n/**\n * @author Brayan Ramirez\n * Valida que el codigo del producto no existe de lo contrario agrega 1\n */\n\nexport async function validateProductCodeUntilFalse({ commit,dispatch,state }) {\n let exists;\n do {\n exists = await dispatch('getExistsProduct', state.selectedProduct.code);\n if (exists) {\n commit('setCodeProduct',state.selectedProduct.code);\n }\n } while (exists);\n}\n\nexport async function getAuditProduct({ commit }, id) {\n await $http\n .get(`/api/auditoria-producto/${id}`)\n .then(response => {\n commit(\"setAudit\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/products/actions.js","import {\n defaultSelectedProduct\n} from './state'\nimport {getApiDomain} from \"../../util/domains\";\n\n// trae todos los productos\nexport function setStateProducts (state, products) {\n state.products = products;\n}\n\n\n\n// Guardar los data sheets\nexport function setProductsDataSheets (state, data_sheets) {\n state.data_sheets = data_sheets;\n}\n\n// trae al estate un solo producto\nexport function setProduct (state, product) {\n state.selectedProduct = product;\n}\n\nexport function setProductsAttachments (state, products_attachments) {\n\n products_attachments.map(pa => {\n const encodedSrc = encodeURI(pa.src).replace(/#/g, '%23');\n const encodedThump = encodeURI(pa.thumb).replace(/#/g, '%23');\n\n pa.src = getApiDomain() + encodedSrc;\n pa.thumb = getApiDomain() + encodedThump;\n })\n\n state.products_attachments = products_attachments;\n}\n\nexport function setAction (state, action) {\n state.action = action;\n}\n\nexport function productError (state, error) {\n state.error = true\n state.errorMessage = error\n state.products = []\n}\n\nexport function setGetProductEdit (state, getProductEdit) {\n state.getProductEdit = getProductEdit;\n}\n\n//Establece el valor por defecto de selectedLine\nexport function resetSelectedProduct (state) {\n let id = state.selectedProduct.id\n Object.assign(state.selectedProduct, defaultSelectedProduct())\n state.products_attachments = []\n state.selectedProduct.id = id\n}\n\nexport function setLines (state, lines) {\n state.lines = lines\n}\n\nexport function setImagenCarga (state, image) {\n state.selectedProduct.products_attachments.url = image\n}\n\nexport function setDocumentPath (state, data_sheet) {\n state.selectedProduct.products_technnical_data.link_data_sheet = data_sheet;\n}\n\nexport function setSublines (state, sublines) {\n\n if (sublines.length <= 0) { return }\n\n state.sublines = sublines.map(p => {\n return {\n value: p.id,\n label: `${p.subline_code} - ${p.subline_description}`\n }\n })\n}\n\nexport function setBrands (state, brands) {\n\n if (brands.length <= 0) { return }\n\n state.brands = brands.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setSubbrands (state, subbrands) {\n state.subbrands = subbrands.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setCategories (state, categories) {\n state.categories = categories.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\nexport function setSubcategories (state, subcategories) {\n state.subcategories = subcategories.map(p => {\n return {\n value: p.id,\n label: p.description\n }\n })\n}\n\n// Establece un valor para tipo de producto\nexport function setProductType (state, productType) {\n state.productType = productType\n}\n\n// Establece un valor para Talla\nexport function setSize (state, size) {\n state.size = size\n}\n\nexport function setColor (state, color) {\n state.color = color\n}\n\n// Establece un valor para taxpayerTypes\nexport function setRotationType (state, rotationType) {\n state.rotationType = rotationType;\n}\n\n// Establece un valor para taxRegimes\nexport function setApplicationUnit (state, applicationUnit) {\n state.applicationUnit = applicationUnit\n}\n\nexport function setFilterBranch (state, branch) {\n state.search_params.branch = branch;\n}\n\nexport function setParams (state, new_params) {\n\n let params = JSON.parse(JSON.stringify(state.params))\n\n for (let np in new_params) {\n let add = false\n for (let p in params) {\n if (p == np) {\n params[p] = new_params[np]\n add = true\n }\n }\n\n if (!add) {\n params[np] = new_params[np]\n }\n }\n\n state.params = params\n}\n\nexport function setErrorFileImport (state, data) {\n state.errorFileImport = data;\n}\n\nexport function setChangeStateLoadFile (state, data) {\n state.loadFileImport = data;\n}\n\nexport function clearDataSheets (state) {\n state.data_sheets = [];\n}\n\n\n\n/*\n * Estos mutadores se encargar de normalizar la informacion\n * para mostrar en la tabla de productos.\n *\n * @author Kevin Galindo\n */\n\nexport function setProductsTable (state, data) {\n //console.log(data.data);\n // Agregamos los datos de la tabla\n state.tableProduct.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data\n\n // Agregamos los datos de la paginacion\n state.tableProduct.pagination = data\n}\n\nexport function setParametersTableInRow (state, data) {\n state.data_sheets.map((ds, index) => {\n if (ds.data_sheet_id == data.row.data_sheet_id) {\n state.data_sheets[index].data_sheet_detail.parameters = data.data\n state.data_sheets[index].data_sheet_detail.paramtable_id = data.paramtable_id\n }\n })\n}\n\nexport function setbranchoffice_warehouse_id (state, warehouse_id) {\n state.params.branchoffice_warehouse_id = warehouse_id\n}\nexport function setBranchoffice (state, branchoffice) {\n state.params.branchoffice = branchoffice\n}\nexport function setContactIdParams (state, contact_id) {\n state.params.contact_id = contact_id\n}\nexport function setProviders(state, providers){\n state.providers = providers\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/protractor-guide/mutations.js","import axios from 'axios';\nimport {getApiDomain} from '../util/domains';\n\nconst $http = axios.create({});\n\nconst api_domain = getApiDomain();\n\n$http.interceptors.request.use(req => {\n req.url = api_domain + req.url;\n\n let no_auth_routes = [\n 'api/login',\n 'api/login-wms',\n 'contrasena/olvido',\n 'contrasena/buscar',\n 'contrasena/restablecer',\n 'api/app-image-product',\n 'app/login'\n ];\n\n let user = JSON.parse(localStorage.getItem('user')) || [];\n let no_auth_route = no_auth_routes.find(nar => req.url.includes(nar));\n\n if (!no_auth_route) {\n if (user && user.token) {\n req.headers.Authorization = `Bearer ${user.token}`;\n } else {\n return Promise.reject(new Error('No hay usuario autenticado'));\n }\n }\n\n return req;\n\n}, error => {\n console.log(`interceptor request ${error}`);\n});\n\n$http.interceptors.response.use(resp => {\n const headers = resp.headers;\n\n if (headers['x-additional-data']) {\n let subscriber = atob(headers['x-additional-data']);\n localStorage.setItem('subscriber_for_collection', subscriber);\n }\n\n return resp;\n}, error => {\n const originalRequest = error.config;\n\n if (error.response && error.response.status === 401 && !originalRequest.url.includes('validar-contrasena')) {\n localStorage.clear();\n window.location.href = '/#/login';\n window.location.reload();\n }\n\n return Promise.reject(error);\n});\n\n\nexport default $http;\n\n\n\n// WEBPACK FOOTER //\n// ./src/axios/index.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui';\n//Obtener los tipos de comprobantes\nexport async function fetchVouchersTypes ({ commit, state }, requestParameters = { params: state.params }) {\n\n if (requestParameters.params.branchoffice === undefined) {\n requestParameters.params.branchoffice = parseInt(localStorage.selected_branchoffice)\n } else if (requestParameters.params.branchoffice == null) {\n requestParameters.params.branchoffice = parseInt(localStorage.selected_branchoffice)\n }\n\n await $http.get('/api/tipos-de-comprobantes', requestParameters)\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('VouchersTypeError', error.message)\n })\n}\n\n//Crear tipo de comprobante\nexport async function addVouchersType ({ commit, state, dispatch }) {\n\n $http.post('/api/tipos-de-comprobantes', state.selectedVouchersType)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: ' El Tipo de Comprobante ha sido creado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchVouchersTypes')\n commit('resetSelectedVouchersType')\n state.error = false\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('VouchersTypeError', error.message)\n })\n}\n\n//Consultar tipo de comprobante por id\nexport async function getVouchersType ({ commit, state }, id) {\n if (state.getVouchesTypeEdit) {\n await $http.get(`/api/tipos-de-comprobantes/${id}`)\n .then((response) => {\n commit('setVouchersType', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('VouchersTypeError', error.message)\n })\n commit('setGetVouchersTypeEdit', false)\n }\n}\n\n// Consultar los tipos de documentos electrónicos\nexport async function getElectronicDocuments ({ commit, state }, id) {\n if (!state.electronic_documents.length) {\n await $http.get(`/api/parametros-por-codigo/FE01`)\n .then((response) => {\n commit('setElectronicDocuments', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n}\n// Consultar los tipos de naturaleza de documento\n\nexport async function getDocumentsNature ({ commit, state }, id) {\n if (!state.documents_nature.length) {\n await $http.get(`/api/parametros-por-codigo/064`)\n .then((response) => {\n commit('setDocumentsNature', response.data.data)\n })\n .catch((error) => {\n\n })\n }\n}\n\n\n//Actualizar tipo de comprobante\nexport async function updateVouchersType ({ commit, state, dispatch }) {\n await $http.put(`/api/tipos-de-comprobantes/${state.selectedVouchersType.id}`, state.selectedVouchersType)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: ' El Tipo de Comprobante ha sido actualizado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('setVouchersType', response.data.data)\n dispatch('fetchVouchersTypes')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n })\n commit('VouchersTypeError', error.message)\n })\n}\n\n\n//Eliminar tipo de comprobante\nexport async function removeVouchersType ({ commit, dispatch }, vouchersType) {\n\n $http.delete(`/api/tipos-de-comprobantes/${vouchersType.id}`)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: ' El Tipo de Comprobante ha sido eliminado',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchVouchersTypes')\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('VouchersTypeError', error.message)\n })\n}\n\n//------------------------ PAGINACIÓN ------------------------//\n\nexport function setFilterPagination ({ commit, dispatch }, filter) {\n commit('setFilter', filter.target.value)\n dispatch('fetchVouchersTypes')\n}\n\nexport function setPerPagePagination ({ commit, dispatch }, perPage) {\n commit('setPerPage', parseInt(perPage.target.value))\n dispatch('fetchVouchersTypes')\n}\n\nexport function setPagePagination ({ commit, dispatch }, page) {\n commit('setPage', parseInt(page))\n dispatch('fetchVouchersTypes')\n}\n\nexport function setSortByPagination ({ commit, dispatch }, sortBy) {\n commit('setSortBy', sortBy)\n // dispatch('fetchVouchersTypes')\n}\n\nexport function setSortPagination ({ commit, dispatch }, sort) {\n commit('setSort', sort)\n // dispatch('fetchVouchersTypes')\n}\n\nexport async function fetchBranchOffices ({ dispatch, state, rootState, commit }) {\n if (!state.branchOffices.length) {\n await dispatch('branchOffices/fetchBranchOffices', {}, { root: true })\n commit('setBranchOffices', rootState.branchOffices.branchOffices)\n }\n}\n\nexport async function cloneVouchersType ({ dispatch, state, rootState, commit }) {\n\n state.loading = true;\n $http.post(`/api/clonar-voucher-types`)\n .then((response) => {\n state.loading = false;\n Notification.success({\n title: 'Exito!',\n message: 'Se han Clonado Exitosamente los Tipos de Comprobantes',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchVouchersTypes')\n })\n .catch((error) => {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n dispatch('fetchVouchersTypes')\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/vouchers-types/actions.js","export const defaultSelectedContact = () => {\n let city_id = null;\n let department_id = null;\n let subscriber_id = null;\n\n const user = localStorage.getItem('user');\n const selected_branch_office = +localStorage.getItem('selected_branchoffice');\n\n if (selected_branch_office) {\n let branch_offices = localStorage.getItem('branchoffices');\n\n if (branch_offices) {\n const branch_office = JSON.parse(branch_offices).find(b => b.id === selected_branch_office);\n\n if (branch_office) {\n city_id = branch_office.city_id;\n\n if (branch_office.city) {\n department_id = branch_office.city.department_id;\n }\n }\n }\n }\n\n if (user) {\n subscriber_id = JSON.parse(user).subscriber_id;\n }\n\n return {\n id: null,\n subscriber_id: subscriber_id,\n identification_type: '',\n identification: '',\n check_digit: '',\n name: '',\n surname: '',\n address: '',\n main_telephone: '',\n is_customer: 1,\n email: '',\n email_electronic_invoice: '',\n birthdate: '',\n price_list_id: null,\n full_name_with_identification: '',\n fiscal_responsibility_id: null,\n city_id: city_id,\n customer: {\n required_purchase_order: 0\n },\n city: {\n department_id: department_id\n },\n warehouses: [\n {seller_id: null}\n ]\n };\n};\n\nexport const cities = () => {\n const selected_branch_office = +localStorage.getItem('selected_branchoffice');\n\n if (selected_branch_office) {\n let branch_offices = localStorage.getItem('branchoffices');\n\n if (branch_offices) {\n const branch_office = JSON.parse(branch_offices).find(b => b.id === selected_branch_office);\n\n if (branch_office && branch_office.city) {\n return [branch_office.city];\n }\n }\n }\n\n return [];\n};\n\nexport const departments = () => {\n const selected_branch_office = +localStorage.getItem('selected_branchoffice');\n\n if (selected_branch_office) {\n let branch_offices = localStorage.getItem('branchoffices');\n\n if (branch_offices) {\n const branch_office = JSON.parse(branch_offices).find(b => b.id === selected_branch_office);\n\n if (branch_office && branch_office.city && branch_office.city.department) {\n return [branch_office.city.department];\n }\n }\n }\n\n return [];\n};\n\n\nexport default {\n params_contacts: {\n only_active: true,\n only_active_api_search: true,\n filter: '',\n type: 'is_customer',\n is_customer: true,\n paginate: false,\n contact_id: null,\n contact_warehouse_id: null,\n with_contact_warehouses: 0\n },\n client: defaultSelectedContact(),\n complete: false,\n show_component: false,\n identificationTypes: [], //Tipos de identificación\n priceLists: [], // Listas de precios de clientes,\n contacts: [],\n tax_responsibilities: [],\n modal_question: {show: false},\n departments: departments(),\n cities: cities(),\n sellers: [],\n selected_model: null,\n subscriber: {},\n taxes: [],\n branch_office: {},\n contact_warehouse: null\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clients-component/state.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\n\nexport async function fetchContacts({ commit, state, rootState }) {\n\n let params = { params: state.params_contacts};\n\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchDeleteDocuments({ commit, state, rootState }) {\n state.loading.module = true\n await $http\n .post(\"/api/documentos/eliminar-documentos-admin\", state.params)\n .then(response => {\n state.loading.module = false\n Notification.success({\n title: \"Success!\",\n message: response.data,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.response.data,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/delete-documents/actions.js","import {request_guarantee} from './state';\nimport {getApiDomain} from '../../../util/domains';\nimport moment from 'moment';\n\nexport function setContactWarehouseIdRequestGuarantee(state, user_b2b) {\n state.request_guarantee.contact_id = user_b2b.contact_id;\n state.request_guarantee.contact_warehouse_id = user_b2b.id;\n}\n\nexport function setContactWarehouseIdRequestGuaranteeFilters(state, contact_warehouse_id) {\n state.filters.contact_warehouse_id = contact_warehouse_id;\n}\n\nexport function setModalShow(state, modal_show) {\n state.modal.show = modal_show;\n}\n\nexport function setStep(state, step) {\n state.step = step;\n\n let observation = '';\n\n const obj_step = state.steps.find(s => s.step === step);\n\n if (obj_step) {\n const _state = state.request_guarantee.request_guarantee_states.find(s => s.state.code_parameter === obj_step.code);\n\n if (_state) {\n observation = _state.observation;\n }\n }\n\n state.request_guarantee.observation = observation;\n}\n\nexport function setStepAvailable(state, step_available) {\n state.step_available = step_available;\n}\n\nexport function setRequestsGuarantees(state, requests_guarantees) {\n\n requests_guarantees.data.map(rg => {\n let step = 1;\n let step_code = '';\n\n if (rg.request_guarantee_state && rg.request_guarantee_state.state) {\n step_code = rg.request_guarantee_state.state.code_parameter;\n\n let step_obj = state.steps.find(s => s.code === step_code);\n\n if (step_obj) {\n step = step_obj.step;\n }\n }\n\n rg.only_view = step > 1 || step_code === 'PGS9' || step_code === 'PGS5';\n });\n\n\n state.requests_guarantees = requests_guarantees;\n}\n\nexport function setRequestGuarantee(state, request_guarantee) {\n\n const state_creation = request_guarantee.request_guarantee_states.find(s => s.state.code_parameter === 'PGS1');\n\n if (state_creation) {\n request_guarantee.observation = state_creation.observation;\n }\n\n state.request_guarantee = request_guarantee;\n state.request_guarantee.attachments_deleted = [];\n}\n\nexport function resetRequestGuarantee(state) {\n state.request_guarantee = request_guarantee();\n}\n\nexport function setAction(state, action) {\n state.action = action;\n}\n\nexport function addAttachmentDeleteRequestGuarantee(state, attachment) {\n state.request_guarantee.attachments_deleted.push(attachment);\n}\n\nexport function deleteAttachmentRequestGuarantee(state, attachment) {\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n let request_guarantee = JSON.parse(JSON.stringify(state.request_guarantee));\n\n keys.map(key => {\n let index_attachment = request_guarantee[key].findIndex(a => a.id === attachment.id);\n\n if (index_attachment >= 0) {\n request_guarantee[key].splice(index_attachment, 1);\n }\n });\n\n state.request_guarantee = request_guarantee;\n}\n\nexport function resetPageFilters(state) {\n state.filters.page = 1;\n}\n\nexport function setSending(state, sending) {\n state.sending = sending;\n}\n\n\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable documents.\n */\nexport function setDocuments(state, documents) {\n state.documents = documents;\n}\n\n/**\n * Establecer un valor para la variable request_types.\n */\nexport function setRequestTypes(state, request_types) {\n state.request_types = request_types;\n}\n\n/**\n * Establecer un valor para la variable devolution_reasons.\n */\nexport function setDevolutionReasons(state, devolution_reasons) {\n state.devolution_reasons = devolution_reasons;\n}\n\n/**\n * Establecer un valor para la variable model.\n */\nexport function setModel(state, model) {\n state.model = model;\n}\n\nexport function setUpdateDocumentValues(state, data) {\n state.request_guarantee.return.total_value = data.total_value;\n state.request_guarantee.return.total_value_brut = data.total_value_brut;\n state.request_guarantee.return.taxes = data.taxes;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_pdf.\n */\nexport function setShowToModalPdf(state, document) {\n state.modal_pdf.pdf = getApiDomain() + document.invoice_link;\n state.modal_pdf.show = true;\n}\n\n/**\n * Establecer un valor para la variable approval_states.\n */\nexport function setApprovalStates(state, approval_states) {\n state.approval_states = approval_states;\n}\n\n/**\n * Establecer un valor para la variable approval_reasons.\n */\nexport function setApprovalReasons(state, approval_reasons) {\n state.approval_reasons = approval_reasons;\n}\n\n/**\n * Establecer un valor para la variable options.\n */\nexport function setOptions(state, options) {\n state.options = options;\n}\n\n/**\n * Establecer un valor para la variable branch_offices.\n */\nexport function setBranchOffices(state, branch_offices) {\n state.branch_offices = JSON.parse(localStorage.getItem('branchoffices'));\n}\n\n/**\n * Establecer un valor para la variable branch_offices_warehouses.\n */\nexport function setBranchOfficesWarehouses(state, branch_offices_warehouses) {\n state.branch_offices_warehouses = JSON.parse(localStorage.getItem('branchoffices_warehouses'));\n}\n\n/**\n * Establecer un valor para la variable documents_by_thread.\n */\nexport function setDocumentsByThread(state, documents_by_thread) {\n\n documents_by_thread.map(d => {\n d.unix = moment(d.document_date).unix()\n })\n\n documents_by_thread = documents_by_thread.sort((a,b) => a.unix - b.unix)\n\n state.documents_by_thread = documents_by_thread;\n}\n\n/**\n * Establecer un valor para la variable models.\n */\nexport function setModels(state, models) {\n state.models = models;\n}\n\n/**\n * Establecer un valor para la variable editing.\n */\nexport function setEditing(state, editing) {\n state.editing = editing;\n}\n\n/**\n * Establecer un valor para la variable guarantee_reasons.\n */\nexport function setGuaranteeReasons(state, guarantee_reasons) {\n state.guarantee_reasons = guarantee_reasons;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/guarantees/mutations.js","import $http from \"../../axios\";\nimport { Notification } from \"element-ui\";\n\nexport async function generateSquareCashRegisterPdf({ commit, state }) {\n commit(\"setLoadingPdf\", true);\n commit(\"resetFileNamePdfCashRegisterSquare\");\n\n var params = {\n params: state.paramsGeneratePdf\n };\n\n $http\n .get(\"/api/cuadre-de-caja\", params)\n .then(response => {\n if(response.data === 'No hay registros para esta caja'){\n Notification.success({\n title: \"¡success!\",\n message: \"No hay registros para esta caja en las fechas seleccionadas\",\n type: \"success\",\n duration: 3500,\n customClass: \"notification-box\"\n });\n }else{\n commit(\"setFileNamePdfCashRegisterSquare\", response.data);\n commit(\"setShowPdfCashRegisterSquare\", true);\n }\n\n commit(\"setLoadingPdf\", false);\n })\n .catch(error => {\n commit(\"setLoadingPdf\", false);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al crear el cuadre de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function saveSquareCashRegister({ commit, state, dispatch }) {\n await $http\n .post(\"/api/historial-cuadre-de-caja\", state.paramsGeneratePdf)\n .then(response => {\n commit(\"resetFileNamePdfCashRegisterSquare\");\n dispatch(\"getHistorySquareCashRegister\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al crear el cuadre de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function updateSquareCashRegister(\n { commit, state, dispatch },\n id\n) {\n await $http\n .put(`/api/historial-cuadre-de-caja/${id}`, state.paramsGeneratePdf)\n .then(response => {\n commit(\"resetFileNamePdfCashRegisterSquare\");\n dispatch(\"getHistorySquareCashRegister\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al crear el cuadre de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getHistorySquareCashRegister({ commit, state }) {\n var params = {\n params: state.paramsHistoryTable\n };\n $http\n .get(\"/api/historial-cuadre-de-caja\", params)\n .then(response => {\n commit(\"setItemsHistoryTable\", response.data);\n })\n .catch(error => {\n state.loading.module = false\n console.error(error);\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al traer los cuadres de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function deleteHistorySquareCashRegister(\n { commit, state, dispatch },\n id\n) {\n await $http\n .delete(`/api/historial-cuadre-de-caja/${id}`)\n .then(response => {\n dispatch(\"getHistorySquareCashRegister\");\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: \"Error al eliminar el cuadre de caja.\",\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function fetchCashRegisters({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/081\")\n .then(response => {\n commit(\"setCashRegisters\", response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function getPaymentMethods({commit, state}) {\n await $http\n .get(`/api/get-formas-pago`)\n .then(response => {\n commit('setPaymentMethods', response.data.data);\n })\n .catch(error => {\n state.loading.module = false\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box'\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/cash-register-square/actions.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui';\nimport moment from \"moment\";\n\nexport async function fetchVouchertype({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.paramsVoucherType})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n//Obtener las sedes\nexport async function fetchBranchOffices ({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener las bodega\nexport async function fetchBranchOfficesWarehouse ({ commit, state }, branchOffice) {\n await $http.get(`/api/bodegas-sedes?branchoffice_id=${branchOffice}`)\n .then((response) => {\n commit(\"setBranchofficeWarehousesEntry\", response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchTemplates({commit, state}) {\n await $http.get('/api/modelos', { params : state.paramstemplates})\n .then((response) => {\n commit('setTemplates', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchTemplatesExclude({commit, state}) {\n await $http.get('/api/modelos', { params : state.paramstemplates_exclude})\n .then((response) => {\n commit('setTemplatesExclude', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchLines ({ dispatch, state, rootState, commit }) {\n if (!state.lines.length) {\n await dispatch('lines/fetchLines', { params: { paginate: false } }, { root: true })\n commit('setLines', rootState.lines.lines)\n }\n}\n\nexport async function fetchSublines ({ dispatch, state, rootState, commit }, requestParameters = { params: state.category_params }) {\n let params = {\n params: {\n lines: state.params.filter_lines,\n filter_brands: state.params.filter_brands,\n filter_groups: state.params.filter_groups\n }\n }\n\n await dispatch('sublines/listSublines', params, { root: true })\n commit('setGroups', rootState.sublines.sublines)\n}\n\nexport async function fetchBrand ({ dispatch, state, rootState, commit }) {\n await dispatch('brands/fetchBrands', { params: { paginate: false, lines: state.params.lines } }, { root: true })\n commit('setBrands', rootState.brands.brands)\n}\n\nexport async function fetchSubbrands ({ dispatch, state, rootState, commit }, requestParameters = { params: state.params }) {\n await dispatch('subbrands/listSubbrands', requestParameters, { root: true })\n commit('setSubbrands', rootState.subbrands.subbrands)\n}\n\nexport async function searchProducts ({state,commit}, filter) {\n let params ={\n filter : filter,\n paginate : false,\n branchoffice_id: localStorage.selected_branchoffice,\n branchoffice_warehouse_id: localStorage.selected_branchoffice_warehouse\n }\n await $http.get('/api/lista-productos', {params}).then((response) => {\n commit('setProducts', response.data.data.data)\n })\n}\n\nexport async function fetchContacts({commit,state}, requestParameters = {params: state.paramsquery}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchDepartaments({commit}) {\n await $http.get('/api/departamentos')\n .then((response) => {\n commit('setDepartaments', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchCities({commit, state}, text) {\n let params = { department:state.params.departament, filter:text}\n await $http.get('/api/ciudades-departamentos', {params} )\n .then((response) => {\n commit('setCities', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchTypesOperations({commit, state}){\n await $http.get('/api/types_operations?paginate=false')\n .then((response) => {\n commit('settypes_operations', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchsellers({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchReportRange({commit, state}) {\n state.loading = true;\n state.params.download = null;\n await $http.get('/api/crear-informe-operaciones', {params:state.params})\n .then((response) => {\n commit('setReportData', response.data.data)\n state.loading = false;\n })\n .catch((error) => {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function downloadReport({commit, state}) {\n state.params.download = true;\n state.loading = true;\n await $http({\n url: `/api/crear-informe-operaciones`,\n method: 'GET',\n params: state.params,\n responseType: 'blob', // important\n }).then(response => {\n state.loading = false;\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n let date= new Date();\n link.setAttribute('download', `Informe-Operaciones-${moment(date).format(\"YYYY-MM-DD hh-mm-ss\")}.xlsx`); //or any other extension\n document.body.appendChild(link);\n link.click();\n\n }).catch((error) => {\n state.loading = false;\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/operations-report/actions.js","import $http from '../../axios';\nimport {Notification} from \"element-ui\";\nexport async function fetchContacts({ commit, state, rootState }) {\n let params = { params: state.params_contacts};\n await $http\n .get(\"/api/terceros\", params)\n .then(response => {\n commit(\"setContacts\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function fetchChecksStatus({commit, state}, ) {\n await $http\n .get(\"/api/parametros-por-codigo/063\")\n .then(response => {\n commit(\"setCheckState\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function getReportData({ state, commit }) {\n\n state.loading.form = true ;\n await $http\n .get(\"/api/reporte-consignacion-cheques\", { params : state.params})\n .then(response => {\n commit(\"setReportDataConsigned\", response.data);\n state.loading.form = false ;\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n state.loading.form = false ;\n });\n}\nexport async function updateObservationReport({ state, commit },params) {\n await $http\n .post(\"/api/actualizar-observacion-forma-pago\", params)\n .then(response => {\n\n Notification.success({\n title: \"Success!\",\n message: response.data.message,\n type: \"success\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function getAuxAccounts({ state, commit }) {\n let params = {\n notAux:false,\n onlyAux:false,\n paginate:false,\n bank_only:true\n }\n await $http\n .get(\"/api/cuentas\",{params}).then(response => {\n commit(\"setAuxiliaryAccounts\", response.data.data);\n })\n .catch(error => {\n\n });\n}\nexport async function searchchconsecutive({commit, state}, data) {\n await $http.get('/api/tipos-de-comprobantes/'+data.voucherType_id, {params:data})\n .then((response) => {\n commit('setConsecutive', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function createVouchers({commit , state},document_payment_id = null){\n state.loading_modal = true\n\n await $http.post('/api/comprobantes-varios', state.payload)\n .then((response)=>{\n state.loading_modal = false\n state.payload.document_id = response.data.data.document.id\n commit('setDocumentSaved', response.data.data.document)\n commit('updateVoucherPayload', response.data.data)\n\n commit('setConsignedData', {\n document_payment_id: state.payload.document_transaction.document_payment_id,\n document_transaction_id: null,\n account_id: null,\n observation: state.payload.document_transaction.observation\n })\n\n })\n .catch((error)=>{\n state.loading_modal = false\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetDocumentPaymentMethods({ commit, state }, data) {\n return new Promise(async (resolve, reject) => {\n await $http\n .post(\"/api/documento/guardar-formas-de-pago/\", data)\n .then(response => {\n resolve();\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 2000,\n customClass: \"notification-box\"\n });\n reject(error);\n });\n });\n}\n\nexport async function createVoucherItem({ commit }, payload){\n await $http.post('/api/comprobantes-varios', payload)\n .then((response) => {\n commit('updateVoucherPayload', response.data.data)\n })\n .catch((error)=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function finalizeAccountingDocument({commit , state, dispatch}){\n state.loading_modal = true\n state.payload.pending_consigned = state.pending_consigned\n await $http.post('/api/finalizar-documento-contable', state.payload)\n .then((response)=>{\n state.loading_modal = false\n commit('setFinalizeVoucher', response.data.data)\n })\n .catch((error)=>{\n state.loading_modal = false\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n })\n}\nexport async function downloadDocument({state}, documentToPdf) {\n let name = documentToPdf.code_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n let url = '/api/documentos/descargar-pdf/' + documentToPdf.document_id\n\n\n await $http({\n url: url,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\nexport async function accountingDocCheck({commit, state, dispatch}, document_id){\n await $http.get(`/api/documento/contabilizar/${document_id}`)\n .then(response => {\n dispatch('getReportData');\n })\n .catch(error => {\n dispatch('getReportData');\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/check-consignment/actions.js","import $http from '../../axios';\nimport {MessageBox, Notification} from 'element-ui';\nimport moment from 'moment';\n\nexport async function downloadAccountingDocument({}, documentToPdf) {\n let name = documentToPdf.vouchertype.name_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n await $http({\n url: '/api/descargar-pdf-contabilidad/'+documentToPdf.id,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\nexport async function downloadPdfInventory({state}, document_id) {\n\n let name = state.pdf_document_name;\n state.pdf_clear_params = false;\n await $http({\n url: '/api/documentos/descargar-pdf/'+ document_id,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n state.file_name = '/storage/pdf/'+name ;\n state.show_pdf = true ;\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\n\n//recontabilizar documento\nexport async function accountingDoc({commit, state, dispatch}, document_id){\n await $http.get(`/api/documento/contabilizar/${document_id}`)\n .then(response => {\n dispatch('listTransactions', document_id);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function listTransactions({commit, state, dispatch}, document_id) {\n await $http.get(`/api/comprobantes-documento/${document_id}`)\n .then(async response => {\n commit('listTransactions', response.data.data);\n await dispatch('fetchBalanceByContacts');\n })\n .catch(error => {\n // let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: 'error',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n//Obtener las sedes\nexport async function fetchBranchOffices({commit, state}) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n }\n\nexport async function fetchVouchertype({commit, state}) {\n await $http.get('/api/tipos-de-comprobantes', { params : state.paramsVoucherType})\n .then((response) => {\n commit('setVouchersTypes', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchpayment_methods(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/111\")\n .then(response => {\n commit(\"setpayment_methods\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function getcommissionable_concepts(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/115\")\n .then(response => {\n commit(\"setcommissionable_concepts\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function fetchGroups(\n { commit, state },\n ) {\n await $http\n .get(\"/api/parametros-por-tabla/97\")\n .then(response => {\n commit(\"setGroups\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n export async function fetchContacts({commit,state}, requestParameters = {params: state.paramsquery}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n }\n\nexport async function fetchTemplates({commit, state}) {\n await $http.get('/api/modelos', { params : state.paramstemplates})\n .then((response) => {\n commit('setTemplates', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchcost_center_1(\n { commit, state },\n ) {\n await $http\n .get(\"/api/parametros-por-tabla/9\")\n .then(response => {\n commit(\"setcost_center_1\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n }\n\nexport async function fetchCities({commit, state}, text) {\n let params = { department:state.params.departament, filter:text}\n await $http.get('/api/ciudades-departamentos', {params} )\n .then((response) => {\n commit('setCities', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchsellers({commit, state}, text) {\n let params = { filter:text}\n await $http.get('/api/lista-vendedores', {params} )\n .then((response) => {\n commit('setSellers', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchProjects({commit, state}, text) {\n let params = { filter:text, status:1, paginate: false,}\n await $http.get('/api/proyectos', {params} )\n .then((response) => {\n commit('setProjects', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchProjectsdt({commit, state}, text) {\n let params = { filter:text, status:1, paginate: false,}\n await $http.get('/api/proyectos-activos', {params} )\n .then((response) => {\n commit('setProjectsdt', response.data.data)\n\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\nexport async function fetchconsecutive({commit, state}, data) {\n await $http.get('/api/tipos-de-comprobantes/'+data.voucherType_id, {params:data})\n .then((response) => {\n commit('setConsecutive', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchContact({commit,state}, id) {\n await $http.get('/api/terceros/'+id)\n .then((response) => {\n commit('setContacts', [response.data.data])\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchContactAudit({commit,state}, document) {\n commit('setContactsAudit', document);\n}\n\nexport async function fetchContactdt({commit,state}, id) {\n await $http.get('/api/terceros/'+id)\n .then((response) => {\n commit('setContactdt', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n/**\n * Buscar documento.\n */\nexport async function findDocument({commit,state}) {\n\n let params = {\n affects_prefix_document: state.params.affects_prefix_document ? state.params.affects_prefix_document.toUpperCase() : '',\n affects_number_document: state.params.affects_number_document,\n in_progress: false,\n contact_id: state.params.contact_id,\n origin_document: true\n }\n\n await $http.get('/api/buscar-documento-filtros', {params})\n .then((response) => {\n commit('setShowToModalAlert', true)\n commit('setOldDocument', response.data.data)\n })\n .catch((error) => {\n commit('setOldDocument', {})\n })\n}\n\nexport async function downloadDocument({state}) {\n\n let name = state.old_document.prefix.trim() + '-' + state.old_document.consecutive;\n await $http({\n url: '/api/documentos/descargar-pdf/' + state.old_document.id,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name + '.pdf');\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n}\n\n/**\n * Clonar documento\n */\nexport async function cloneAccountingDocument({commit, state, dispatch}) {\n const payload = {\n branchoffice_id: state.params.branchoffice_id,\n contact_id: state.params.contact_id ,\n vouchertype_id: state.params.voucherType_id,\n document_id: state.params.original_document ? state.params.original_document.id : null\n }\n\n await $http.post('/api/clonar-documento-contable/', payload)\n .then(async (response) => {\n commit(\"setParamsClone\", response.data.data);\n await dispatch('fetchconsecutive', {\n voucherType_id: state.params.voucherType_id,\n template_id: null,\n branchoffice_id: state.params.branchoffice_id\n })\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n/**\n * Copiar documento\n */\nexport async function copyAccountingDocument({commit, state, dispatch}) {\n const payload = {\n document_id: state.params.document_id\n }\n\n await $http.post('/api/copiar-documento-contable/', payload)\n .then(async (response) => {\n commit(\"setParamsClone\", response.data.data);\n commit('setEditDocument', false)\n await dispatch('fetchconsecutive', {\n voucherType_id: state.params.voucherType_id,\n template_id: null,\n branchoffice_id: state.params.branchoffice_id\n })\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.response.data,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchContactsdt({commit,state}, requestParameters = {params: state.paramsquerydt}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContactsdt', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchContacts_filterdt({commit,state}, requestParameters = {params: state.paramsquerydt}) {\n await $http.get('/api/terceros', requestParameters)\n .then((response) => {\n commit('setContacts_filterdt', response.data.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n}\n\n//Obtener las sedes\nexport async function fetchBranchoffice({commit, state}, id) {\n await $http.get('/api/sedes/'+id)\n .then((response) => {\n commit('setbranchOffice', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n commit('BranchOfficeError', error.message)\n })\n}\n\nexport async function createVariousVouchers({commit , state}){\n await $http.post('/api/comprobantes-varios', state.params)\n .then((response)=>{\n commit('setParamsdocumentid', response.data.data)\n })\n .catch((error)=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchCancellationReasons(\n { commit, state },\n) {\n await $http\n .get(\"/api/parametros-por-tabla/116\")\n .then(response => {\n commit(\"setCancellationReasons\", response.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\n\nexport async function cancelAccountingDocument({commit, state}){\n\n let params = {\n 'cancellation_reason' : state.params.cancellation_reason,\n 'observation' : state.params.observation\n }\n\n await $http.put(`/api/documento-contable/cancelar/${state.params.document_id}`, params)\n .then((response) => {\n Notification.error({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n .catch((error) => {\n let data = error.response.data\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n\n}\n\nexport async function fetchContactselect({commit, state}, id){\n let contats =[]\n await $http.get('/api/terceros/'+id)\n .then((response) => {\n contats= [response.data.data]\n // commit('setContactdt', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n return contats\n}\n\nexport async function fetchAccountFromRoot({commit, state}, id){\n let accounts =[]\n await $http\n .get(`/api/cuentas-raiz/${id}`)\n .then(response => {\n accounts = response.data.data\n // commit(\"setaccountsselect\", );\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return accounts\n}\n\nexport async function fetchAccount({commit , state}, id){\n let account =[];\n await $http\n .get(`/api/cuentas/${id}`)\n .then(response => {\n account = response.data.data\n // commit(\"setaccountselect\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return account\n}\n\nexport async function fetchVoucherInModels({commit , state}, id){\n let vouvherInModels =[];\n await $http\n .get(`/api/tipocomprobante-modelos/${id}`)\n .then(response => {\n vouvherInModels = response.data.data\n // commit(\"setaccountselect\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return vouvherInModels\n}\n\nexport async function fetchTax({commit , state}, id){\n let tax =[];\n await $http\n .get(`/api/impuestos/${id}`)\n .then(response => {\n tax = response.data.data\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n return tax\n}\n\nexport async function setTransactionsByCsv({commit , state, dispatch}, transactions){\n // setear en la variable transactions_csv las transacciones del csv\n state.params.transactions_csv = transactions\n await $http\n .post(`/api/transacciones-csv/`, state.params )\n .then(async response => {\n commit('setParamsdocument_id', response.data.data)\n await dispatch('listTransactions', state.params.document_id);\n })\n .catch(error => {\n let errors = error.response.data.data;\n let csv = errors.join('\\r\\n');\n\n let now = new Date();\n let year = now.getFullYear();\n let month = String(now.getMonth() + 1).padStart(2, '0');\n let day = String(now.getDate()).padStart(2, '0');\n let hours = String(now.getHours()).padStart(2, '0');\n let minutes = String(now.getMinutes()).padStart(2, '0');\n let seconds = String(now.getSeconds()).padStart(2, '0');\n let date = `${year}${month}${day}${hours}${minutes}${seconds}`\n\n let link = document.createElement('a');\n link.id = 'download-csv'+date;\n link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(csv));\n let file_name = 'errores'+date+'.csv';\n link.setAttribute('download', file_name);\n document.body.appendChild(link);\n document.querySelector('#download-csv'+date).click();\n\n Notification.error({\n title: \"Error!\",\n message: 'Error al crear transacciones',\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function finalizeAccountingDocument({commit, state, dispatch}) {\n return new Promise(async (resolve, reject) => {\n await $http.post('/api/finalizar-documento-contable', state.params)\n .then((response) => {\n dispatch('accountingDocumentAttachment');\n commit('setShowPdf', response.data.data);\n resolve(false)\n })\n .catch((error) => {\n let data = error.response.data;\n\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n\n if (data.message === 'Comprobante Descuadrado.') {\n resolve(true)\n }else{\n commit('setloading_form', false);\n }\n });\n });\n}\n\nexport async function downloadFile({commit, state}, file){\n await $http({\n url: `/api/descargar-archivo`,\n params : file,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', file.name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n })\n // await $http\n // .get()\n // .then(response => {\n // // commit(\"setaccountselect\", response.data.data);\n // })\n // .catch(error => {\n // let data = error.response.data\n // Notification.error({\n // title: \"Error!\",\n // message: data.message,\n // type: \"error\",\n // duration: 1500,\n // customClass: \"notification-box\"\n // });\n // });\n}\n\nexport async function fetchFiles({commit, state}, document_id){\n await $http\n .get(`/api/archivos-documento/${document_id}`)\n .then(response => {\n commit('setFilesSearchDocument', response.data)\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function accountingDocumentAttachment({commit , state}){\n let formData = new FormData();\n\n formData.append(\"document_id\", state.params.document_id);\n\n state.document_files_new.map(fn => {\n formData.append(\"filesUpload[]\", fn);\n });\n\n state.document_files_delete.map(fn => {\n formData.append(\"filesDelete[]\", JSON.stringify(fn));\n });\n\n await $http.post('/api/documento-contable-adjuntos', formData)\n .then((response)=>{\n commit('setFiles', response.data.data.data)\n })\n .catch((error)=>{\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function fetchDocumentransactions({commit , state}, id){\n await $http\n .get(`/api/comprobantes-documento/${id}`)\n .then(response => {\n // commit(\"setaccountselect\", response.data.data);\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function searchDocument({commit , state}, data){\n let requestParameters = {params: data}, docu\n await $http.get('/api/buscar-documento', requestParameters)\n .then((response) => {\n // commit('setContacts_filterdt', data)\n docu = response.data.data\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n return docu\n}\n\nexport async function getDocument({commit , state}, document_id){\n let docu\n await $http.get(`/api/buscar-documento/${document_id}`)\n .then((response) => {\n // commit('setContacts_filterdt', data)\n docu = response.data.data\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n })\n return docu\n}\n\nexport async function editDocument({commit , state}, id){\n await $http\n .get(`/api/editar-documento/${id}`)\n .then(response => {\n commit(\"setParamsEdit\", response.data.data);\n })\n .catch(error => {\n console.error(error);\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function FinalizeUpdate({commit, state, dispatch}, id) {\n return new Promise(async (resolve, reject) => {\n state.params.total_debit = state.total_debit;\n state.params.total_credit = state.total_credit;\n await $http\n .post(`/api/actualizar-documento-contable`, state.params)\n .then(response => {\n dispatch('accountingDocumentAttachment');\n commit('setShowPdf', response.data.data);\n resolve(false);\n })\n .catch(error => {\n let data = error.response.data;\n Notification.error({\n title: 'Error!',\n message: data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n\n if (data.message === 'Comprobante Descuadrado.') {\n resolve(true);\n }\n });\n });\n}\n\nexport async function deleteAccountFromDocumentTransaction({commit, state}, $id){\n await $http\n .delete(`/api/eliminar-partida/${$id}`)\n .then(response => {\n // commit('setShowPdf', response.data.data)\n })\n .catch(error => {\n let data = error.response.data\n Notification.error({\n title: \"Error!\",\n message: data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function getAuditDocument({ commit, state },id_document) {\n\n await $http\n .get(\"/api/auditoria-documento-modulo/\"+id_document)\n .then(response => {\n commit(\"setAudit\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n}\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http.get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\nexport async function fetchCorrerias({ commit, state }) {\n await $http\n .get('/api/parametros-por-codigo/039')\n .then(response => {\n commit('setCorrerias', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchBalanceByContact({commit, state}, document_transaction) {\n return new Promise(async (resolve, reject) => {\n const year_month = moment().format('YYYYMM');\n\n const params = {\n year_month_from: year_month,\n year_month_up: year_month,\n account_id: document_transaction.account_id,\n contact_id: document_transaction.contact_id\n };\n\n await $http\n .get('/api/reporte-balance-tercero', {params})\n .then(response => {\n if (response.data && response.data.data && response.data.data[0]){\n resolve(response.data.data[0].final_balance)\n }else{\n resolve(0);\n }\n })\n .catch(error => {\n reject();\n });\n });\n}\n\nexport async function fetchBalanceByContacts({commit, state}) {\n const year_month = moment().format('YYYYMM');\n\n const data = {\n data : []\n };\n\n state.params.document_transactions.map(dt => {\n if (dt.contact_id && dt.account_id && !data.data.find(i => i.contact_id === dt.contact_id && i.account_id === dt.account_id)) {\n data.data.push({\n year_month_from: year_month,\n year_month_up: year_month,\n account_id: dt.account_id,\n contact_id: dt.contact_id\n });\n }\n });\n\n await $http\n .post('/api/reporte-balance-terceros', data)\n .then(response => {\n response.data;\n commit('setBalancesByContacts', response.data.data);\n })\n .catch(error => {\n commit('setBalancesByContacts', []);\n });\n}\n\nexport async function getContactById({commit, state}, id) {\n return new Promise(async (resolve, reject) => {\n await $http\n .get('/api/terceros/' + id)\n .then(response => {\n resolve(response.data.data)\n })\n .catch(error => {\n reject();\n });\n });\n}\n\nexport async function validateCrossDocument ({commit, state}){\n let params= {\n 'contact_id': state.params.contact_id,\n 'vouchertype_id': state.params.voucherType_id,\n 'affects_prefix_document': state.params.affects_prefix_document,\n 'affects_number_document': state.params.affects_number_document,\n }\n\n let validate;\n\n await $http\n .get(\"/api/validar-doc-cruce\", {params})\n .then(response => {\n validate = response.data;\n })\n .catch(error => {\n Notification.error({\n title: \"¡Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n });\n\n return validate;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/various-vouchers/actions.js","import $http from \"../../axios\";\nimport * as mutations from './mutations'\nimport {Notification} from \"element-ui\";\n\nexport async function downloadProductsTemplate({state}) {\n let name = 'inventarios_ideales.xlsx';\n state.message_loading = 'Descargando Plantilla De Inventarios Ideales';\n state.loading = true;\n\n try {\n const response = await $http({\n url: '/api/descargar-plantilla-inventarios-ideales',\n method: 'GET',\n responseType: 'blob',\n });\n\n state.loading = false;\n\n // Crea un enlace para descargar el archivo\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n\n // Elimina el enlace después de la descarga\n link.remove();\n } catch (error) {\n state.loading = false;\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n }\n}\n\n/**\n * Envio petición para generar el carge de la plantilla de inventarios ideales\n */\nexport async function uploadIdealBalancesTemplate ({state, commit}) {\n let formData = new FormData();\n formData.append('file', state.file);\n commit('setMessageLoading', 'Cargando Plantilla De Inventarios Ideales');\n commit('setLoading', true);\n $http.post(`/api/cargar-plantilla-inventarios-ideales`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n ).then(function(){\n Notification.success({\n title: \"Success!\",\n message: 'Archivo cargado',\n type: \"success\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }).catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message +' Verifique el archivo sea un csv delimitado por punto y coma (;) y que corresponda a la información de la plantilla',\n type: \"error\",\n duration: 3000,\n customClass: \"notification-box\"\n });\n }).finally(() => {\n commit('setLoading', false);\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-ideal-balances/actions.js","import {document, params, params_documents, product} from './state';\nimport moment from 'moment';\nimport {getApiDomain} from '../../../util/domains';\n\n/**\n * Establecer un valor para la variable models.\n */\nexport function setModels(state, models) {\n state.models = models;\n}\n\n/**\n * Establecer un valor para la variable all_models.\n */\nexport function setAllModels(state, all_models) {\n state.all_models = all_models;\n}\n\n/**\n * Establecer un valor para la variable voucher_type.\n */\nexport function setVoucherType(state, voucher_type) {\n state.voucher_type = voucher_type;\n}\n\n/**\n * Establecer un valor para la variable model.\n */\nexport function setModel(state, model) {\n state.model = model;\n\n if (model.show_availability){\n state.key_inventory = 'available'\n }else{\n state.key_inventory = 'stock'\n }\n}\n\n/**\n * Establecer un valor para la variable contact.\n */\nexport function setContact(state, contact) {\n state.contact = contact;\n}\n\n/**\n * Establecer un valor para la variable price_list.\n */\nexport function setPriceList(state, price_list) {\n state.price_list = price_list;\n}\n\n/**\n * Establecer un valor para la variable seller.\n */\nexport function setSeller(state, seller) {\n state.seller = seller;\n}\n\n/**\n * Establecer el valor por defecto de la variable document.\n */\nexport function resetDocument(state) {\n state.document = document();\n}\n\n/**\n * Establecer el valor por defecto de la variable params.\n */\nexport function resetParams(state) {\n state.params = params();\n}\n\n/**\n * Establecer un valor para la variable products.\n */\nexport function setProducts(state, products) {\n\n products.map((p, i) => {\n p.selected = i === 0;\n });\n\n state.products = products;\n}\n\n/**\n * Establecer un valor para el atributo price_list_id de la variable params.\n */\nexport function setPriceListIdParams(state, price_list_id) {\n state.params.price_list_id = price_list_id;\n}\n\n/**\n * Establecer un valor para la variable lines.\n */\nexport function setLines(state, lines) {\n state.lines = lines;\n}\n\n/**\n * Establecer un valor para la variable brands.\n */\nexport function setBrands(state, brands) {\n state.brands = brands;\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n\n/**\n * Establecer un valor para la variable document.\n */\nexport function setDocument(state, document) {\n\n let is_ventas = false;\n\n let subscriber = localStorage.getItem('subscriber');\n\n if (subscriber) {\n subscriber = JSON.parse(subscriber);\n is_ventas = subscriber.identification === '800198348'\n }\n\n if (!document.documents_products) {\n document.documents_products = [];\n } else if (!!document.documents_products.length) {\n document.documents_products.map(dp => {\n if (state.finished_document && !state.only_view && state.set_back_order) {\n dp.quantity = dp.backorder_quantity;\n }\n\n const inventory = dp.product.inventory;\n\n if (dp.manage_inventory && (!inventory || !inventory[0] || +inventory[0][state.key_inventory] === 0 || inventory[0][state.key_inventory] < dp.quantity)) {\n dp.updated_at_as_time = moment().add(1, 'hour').toDate().getTime();\n } else {\n dp.updated_at_as_time = moment(dp.updated_at).toDate().getTime();\n }\n\n dp.unit_value_iva = dp.total_value_iva / dp.quantity;\n });\n\n if (!state.editing && !is_ventas) {\n document.documents_products.sort((a, b) => b.updated_at_as_time - a.updated_at_as_time);\n }\n\n }\n\n state.document = document;\n}\n\n/**\n * Asigna valores por defecto a branchoffice_id y branchoffice_warehouse_id de document\n * Los valores por defecto son los que se encuentran en el localStorage\n */\nexport function setDefaultBranchOfficeAndBranchOfficeWarehouse(state) {\n let branchoffice_id = localStorage.getItem('selected_branchoffice');\n let branchoffice_warehouse_id = localStorage.getItem('selected_branchoffice_warehouse');\n\n state.document.branchoffice_id = Number(branchoffice_id);\n state.document.branchoffice_warehouse_id = Number(branchoffice_warehouse_id);\n}\n\n/**\n * Establecer un valor para el atributo operationType_id de la variable document.\n */\nexport function setOperationTypeIdDocument(state, operationType_id) {\n state.document.operationType_id = operationType_id;\n}\n\n\n/**\n * Establecer un valor para el atributo model_id de la variable document.\n */\nexport function setModelIdDocument(state, model_id) {\n state.document.model_id = model_id;\n}\n\n/**\n * Establecer un valor para la variable toggle_table.\n */\nexport function toggleTable(state) {\n state.toggle_table = !state.toggle_table;\n}\n\n/**\n * Establecer un valor para la variable toggle_table.\n */\nexport function setToggleTable(state, toggle_table) {\n state.toggle_table = toggle_table;\n}\n\n/**\n * Establecer un valor para la variable active.\n */\nexport function changeActiveProduct(state, down) {\n\n if (state.toggle_table) {\n const index_product = state.products.findIndex(p => p.selected);\n\n if (index_product >= 0) {\n if (down && index_product < state.products.length) {\n state.products[index_product].selected = false;\n state.products[index_product + 1].selected = true;\n } else if (!down && index_product > 0) {\n state.products[index_product].selected = false;\n state.products[index_product - 1].selected = true;\n }\n }\n }\n}\n\n/**\n * Establecer un valor para la variable active.\n */\nexport function setActiveProduct(state, index) {\n state.products.map((p, i) => {\n p.selected = i === index;\n });\n}\n\n/**\n * Establecer un valor para la variable document_product.\n */\nexport function setDocumentProduct(state, product) {\n let quantity = 1;\n\n if (!!product.quantity) {\n quantity = product.quantity;\n }\n\n let document_product = state.document_product;\n\n document_product.price_list_id = state.price_list.id;\n document_product.unit_value_list = product.unit_value_after_taxes;\n document_product.branchoffice_warehouse_id = state.document.branchoffice_warehouse_id;\n document_product.description = product.description;\n document_product.document_product_id = null;\n document_product.quantity = quantity;\n document_product.product = product;\n document_product.original_quantity = quantity;\n document_product.model_id = state.model.id;\n document_product.seller_id = state.seller.id;\n document_product.document_id = state.document.id;\n document_product.product_id = product.id;\n document_product.contact_id = state.contact.id;\n document_product.physical_unit = true;\n document_product.unit_value_before_taxes = product.unit_value_before_taxes;\n document_product.unit_value_after_taxes = product.unit_value_after_taxes;\n document_product.total_value_iva = product.unit_value_iva * quantity;\n document_product.total_value = product.unit_value_after_taxes * quantity;\n document_product.total_value_brut = product.unit_value_before_taxes * quantity;\n document_product.operationType_id = state.document.operationType_id;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_save_restore.\n */\nexport function setShowToModalSaveRestore(state, show) {\n state.modal_save_restore.show = show;\n state.modal_save_restore.id = null;\n}\n\n/**\n * Establecer un valor para el atributo saving de la variable modal_save_restore.\n */\nexport function setSavingToModalSaveRestore(state, saving) {\n state.modal_save_restore.saving = saving;\n}\n\n/**\n * Establecer un valor para la variable documents.\n */\nexport function setDocuments(state, documents) {\n state.documents = documents;\n}\n\n/**\n * Establecer un valor para el atributo name de la variable document.\n */\nexport function setNameToDocument(state, name) {\n state.document.name = name;\n}\n\n/**\n * Establecer un valor para el atributo id de la variable document.\n */\nexport function setIdToDocument(state, id) {\n state.document.id = id;\n}\n\n/**\n * Establecer un valor para el atributo filter de la variable params.\n */\nexport function setFilterToParams(state, filter) {\n state.params.filter = filter;\n}\n\n/**\n * Establecer un valor para la variable mode.\n */\nexport function toggleModeParams(state, mode) {\n state.params.mode = mode;\n}\n\n/**\n * Establecer un valor para la variable ultra.\n */\nexport function toggleUltraParams(state) {\n state.params.ultra = !state.params.ultra;\n}\n\n/**\n * Establecer un valor para el atributo mode de la variable params.\n */\nexport function setModeToParams(state, mode) {\n state.params.mode = mode;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_mode.\n */\nexport function setShowToModalMode(state, show) {\n state.modal_mode.show = show;\n}\n\n/**\n * Establecer un valor para la variable model_form.\n */\nexport function setModelForm(state, model_form) {\n state.model_form = model_form;\n}\n\n/**\n * Establecer un valor para la variable url_pdf.\n */\nexport function setUrlPdf(state, url_pdf) {\n if (!state.url_pdf) {\n state.url_pdf = url_pdf;\n } else {\n state.url_pdf_two = url_pdf;\n }\n}\n\n/**\n * Establecer el valor por defecto de la variable url_pdf.\n */\nexport function resetUrlPdf(state) {\n state.url_pdf = '';\n state.url_pdf_two = ''\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_pdf.\n */\nexport function setShowToModalPdf(state, show) {\n state.modal_pdf.show = show;\n if (!show) {\n state.url_pdf = '';\n state.url_pdf_two = ''\n }\n}\n\n/**\n * Establecer un valor para la variable finished_document.\n */\nexport function setFinishedDocument(state, finished_document) {\n state.finished_document = finished_document;\n}\n\n/**\n * Establecer un valor para la variable allow_rollback.\n */\nexport function setAllowRollback(state, allow_rollback) {\n state.allow_rollback = allow_rollback;\n}\n\n/**\n * Establecer un valor para la variable cancel.\n */\nexport function setCancel(state, cancel) {\n state.cancel = cancel;\n}\n\n\n/**\n * Establecer un valor para el atributo pass_inventory_validation de la variable documents_products.\n */\nexport function setPassInventoryValidationToDocumentsProducts(state, documents_products) {\n\n let temp_documents_products = JSON.parse(JSON.stringify(state.document.documents_products));\n\n documents_products.map(dp => {\n let ssdp = temp_documents_products.find(sdp => sdp.id === dp.id);\n\n if (ssdp) {\n ssdp.stock = dp.stock;\n ssdp.available = dp.available;\n ssdp.pass_inventory_validation = dp.pass_inventory_validation;\n }\n });\n\n state.document.documents_products = temp_documents_products;\n}\n\n/**\n * Establecer un valor para la variable with_existences.\n */\nexport function toggleWithExistencesParams(state) {\n state.params.with_existences = !state.params.with_existences;\n}\n\n/**\n * Establecer un valor para el atributo printing_format_point_of_sale_id de la variable model.\n */\nexport function setPrintTemplateIdToModel(state, printing_format_point_of_sale_id) {\n state.model.printing_format_point_of_sale_id = printing_format_point_of_sale_id;\n}\n\n/**\n * Establecer un valor para la variable sellers.\n */\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\n/**\n * Establecer un valor para la variable reverse_mode.\n */\nexport function setReverseMode(state, reverse_mode) {\n state.reverse_mode = reverse_mode;\n}\n\n/**\n * Establecer un valor para la variable original_document_id.\n */\nexport function setOriginalDocumentId(state, original_document_id) {\n state.original_document_id = original_document_id;\n}\n\n/**\n * Establecer un valor para la variable only_view.\n */\nexport function setOnlyView(state, only_view) {\n state.only_view = only_view;\n}\n\n/**\n * Establecer el valor por defecto de la variable product.\n */\nexport function resetProduct(state) {\n state.product = product();\n}\n\n/**\n * Establecer un valor para el atributo ultra de la variable params.\n */\nexport function setUltraToParams(state, ultra) {\n state.params.ultra = ultra;\n}\n\n/**\n * Establecer un valor para la variable product.\n */\nexport function setProduct(state, new_product) {\n\n let product = JSON.parse(JSON.stringify(new_product))\n\n let quantity = 1;\n\n if (+product.quantity > 0) {\n quantity = +product.quantity;\n }\n\n let iva_value = 0;\n let impo_value = 0;\n let price = +product.price;\n let include_taxes = product.include_taxes && product.include_taxes.trim().toUpperCase() === 'SI';\n let factor_taxes = !state.document.warehouse || !state.document.warehouse.excluded_taxes ? 1 : 0;\n let factor_impo = state.model.manage_nonconsumption ? 1 : 0;\n\n let taxes_pct = +product.percentage_sale * factor_taxes;\n let iva_pct = +product.percentage_sale * factor_taxes;\n let impo_pct = +product.percentage_consumption_tax * factor_impo;\n\n product.unit_value_list = product.price;\n product.percentage_iva_sale = iva_pct;\n\n if (!!product.value_consumption_tax) {\n impo_value = product.value_consumption_tax * quantity * factor_impo;\n } else if (!!impo_pct) {\n taxes_pct += +impo_pct;\n }\n\n if (include_taxes) {\n product.total_value = Math.round(price * quantity);\n product.total_value_brut = Math.round((((product.total_value - impo_value) / (1 + (taxes_pct / 100))) + Number.EPSILON) * 100) / 100;;\n } else {\n let total_value_brut = price * quantity;\n\n iva_value = Math.round(((+total_value_brut * (+iva_pct / 100)) + Number.EPSILON) * 100) / 100;\n\n impo_value = impo_value ? impo_value : Math.round(((+total_value_brut * (+impo_pct / 100)) + Number.EPSILON) * 100) / 100;\n\n product.total_value_brut = total_value_brut;\n product.total_value = Math.round(total_value_brut + iva_value + impo_value);\n }\n\n product.total_value_iva = product.total_value - product.total_value_brut - impo_value;\n product.price = product.total_value / quantity;\n product.unit_value_before_taxes = product.total_value_brut / quantity;\n product.unit_value_after_taxes = Math.round(product.total_value / quantity);\n product.unit_value_iva = product.total_value_iva / quantity;\n\n state.product = product;\n}\n\n\n/**\n * Establecer un valor para la variable set_back_order.\n */\nexport function setSetBackOrder(state, set_back_order) {\n state.set_back_order = set_back_order;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_detail.\n */\nexport function setShowToModalDetail(state, show) {\n state.modal_detail.show = show;\n}\n\n/**\n * Establecer un valor para la variable product_detail.\n */\nexport function setProductDetail(state, product_detail) {\n\n if (!!product_detail.products_attachments.length) {\n product_detail.products_attachments.map((pa, i) => {\n pa.selected = i === 0;\n \n const encodedSrc = encodeURI(pa.src).replace(/#/g, '%23');\n const encodedThump = encodeURI(pa.thumb).replace(/#/g, '%23');\n\n pa.src = getApiDomain() + encodedSrc;\n pa.thumb = getApiDomain() + encodedThump;\n });\n }\n\n state.product_detail = product_detail;\n}\n\n/**\n * Establecer un valor para el atributo selected de la variable products_attachments.\n */\nexport function setSelectedToProductsAttachments(state, product_attachment) {\n state.product_detail.products_attachments.map((pa, i) => {\n pa.selected = pa.id === product_attachment.id;\n });\n}\n\n/**\n * Establecer un valor para la variable data_sheets.\n */\nexport function setDataSheets(state, data_sheets) {\n state.data_sheets = data_sheets;\n}\n\n/**\n * Establecer un valor para la variable editing.\n */\nexport function setEditing(state, editing) {\n state.editing = editing;\n}\n\n/**\n * Establecer un valor para la variable uvt_control.\n */\nexport function setUvtControl(state, uvt_control) {\n state.uvt_control = uvt_control;\n}\n\n/**\n * Establecer un valor para la variable printers.\n */\nexport function setPrinters(state, printers) {\n state.printers = printers;\n}\n\n/**\n * Establecer un valor para el atributo name de la variable selected_printer.\n */\nexport function setNameToSelectedPrinter(state, name) {\n state.selected_printer.name = name;\n}\n\n/**\n * Establecer un valor para la variable subscriber.\n */\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber;\n\n state.uvt_limit_value = +subscriber.uvt_value * +subscriber.uvt_electronic_invoice;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_options.\n */\nexport function setShowToModalOptions(state, show) {\n state.modal_options.show = show;\n}\n\n/**\n * Establecer un valor para la variable price_lists.\n */\nexport function setPriceLists(state, price_lists) {\n state.price_lists = price_lists;\n}\n\n/**\n * Establecer un valor para la variable prices.\n */\nexport function setPrices(state, prices) {\n state.prices = prices;\n}\n\n/**\n * Establecer un valor para la variable selected_document_product.\n */\nexport function setSelectedDocumentProduct(state, selected_document_product) {\n let is_ventas = false;\n const exist_tax_combo = selected_document_product.document_product_taxes.some(item => item.tax.code === '101');\n\n let subscriber = localStorage.getItem('subscriber');\n\n if (subscriber) {\n subscriber = JSON.parse(subscriber);\n is_ventas = subscriber.identification === '800198348'\n }\n\n let sdp = selected_document_product;\n\n const is_combo = sdp.product.combo;\n\n let price_list = state.price_lists.find(pl => pl.code_parameter === '001');\n\n if (state.params.price_list_id) {\n price_list = state.price_lists.find(pl => pl.id === state.params.price_list_id);\n }\n\n let iva_value = 0;\n let iva_five_combo_value = 0;\n let impo_value = 0;\n let quantity = sdp.quantity;\n let price = sdp.unit_value_list;\n let discount_pct = +sdp.percentage_discount;\n let factor_taxes = !state.document.warehouse || !state.document.warehouse.excluded_taxes ? 1 : 0;\n let factor_impo = state.model.manage_nonconsumption ? 1 : 0;\n let include_taxes = price_list.alphanum_data_second.trim().toUpperCase() === 'SI';\n\n let taxes_pct = 0;\n let iva_pct = 0;\n let impo_pct = +sdp.product.percentage_consumption_tax * factor_impo;\n\n let iva_five_combo_pct = 0;\n if (is_ventas && is_combo && exist_tax_combo) {\n taxes_pct = +sdp.product.percentage_iva_buy * factor_taxes;\n iva_pct = +sdp.product.percentage_iva_buy * factor_taxes;\n\n taxes_pct += +sdp.product.percentage_iva_sale * factor_taxes;\n iva_five_combo_pct = +sdp.product.percentage_iva_sale * factor_taxes;\n } else {\n taxes_pct = +sdp.product.percentage_iva_sale * factor_taxes;\n iva_pct = +sdp.product.percentage_iva_sale * factor_taxes;\n }\n\n if (!!sdp.product.value_consumption_tax) {\n impo_value = sdp.product.value_consumption_tax * sdp.quantity;\n } else if (!!impo_pct) {\n taxes_pct += +impo_pct;\n }\n\n if (include_taxes) {\n sdp.total_value = Math.round(price * quantity * (1 - discount_pct / 100));\n sdp.total_value_brut = Math.round((((sdp.total_value - impo_value) / (1 + (taxes_pct / 100))) + Number.EPSILON) * 100) / 100;\n } else {\n let total_value_brut = price * quantity * (1 - discount_pct / 100);\n\n iva_value = Math.round(((+total_value_brut * (+iva_pct / 100)) + Number.EPSILON) * 100) / 100;\n iva_five_combo_value = Math.round(((+total_value_brut * (+iva_five_combo_pct / 100)) + Number.EPSILON) * 100) / 100;\n\n impo_value = impo_value ? impo_value : Math.round(((+total_value_brut * (+impo_pct / 100)) + Number.EPSILON) * 100) / 100;\n\n sdp.total_value_brut = total_value_brut;\n sdp.total_value = Math.round(total_value_brut + iva_value + impo_value + iva_five_combo_value);\n }\n\n sdp.backorder_quantity = null;\n sdp.sdp_id = sdp.id;\n sdp.model_id = state.model.id;\n sdp.total_value_iva = sdp.total_value - sdp.total_value_brut - impo_value;\n sdp.price = sdp.total_value / quantity;\n sdp.unit_value_before_taxes = sdp.total_value_brut / quantity;\n sdp.unit_value_after_taxes = Math.round(sdp.total_value / quantity);\n sdp.unit_value_iva = sdp.total_value_iva / quantity;\n\n state.selected_document_product = sdp;\n}\n\n/**\n * Establecer un valor para el atributo unit_value_list de la variable selected_document_product.\n */\nexport function setUnitValueListToSelectedDocumentProduct(state, unit_value_list) {\n state.selected_document_product.unit_value_list = unit_value_list;\n}\n\n/**\n * Establecer un valor para el atributo unit_list_value de la variable selected_document_product.\n */\nexport function setUnitListValueToSelectedDocumentProduct(state, unit_list_value) {\n state.selected_document_product.unit_list_value = unit_list_value;\n}\n\n/**\n * Establecer un valor para la variable types.\n */\nexport function setTypes(state, types) {\n state.types = types;\n\n if (state.document.vouchertype.document_nature\n && state.document.vouchertype.document_nature.code_parameter === '20') {\n const type = types.find(t => t.code_parameter === '2');\n\n if (type) {\n state.params.type_id = type.id;\n }\n }\n}\n\n/**\n * Establecer un valor para la variable contact_subscriber.\n */\nexport function setContactSubscriber(state, contact_subscriber) {\n state.contact_subscriber = contact_subscriber;\n}\n\n/**\n * Establecer el valor por defecto de la variable params_documents.\n */\nexport function resetParamsDocuments(state) {\n state.params_documents = params_documents();\n}\n\n/**\n * Establecer un valor para la variable documents_with_dispatch_request.\n */\nexport function setDocumentsWithDispatchRequest(state, documents_with_dispatch_request) {\n state.documents_with_dispatch_request = documents_with_dispatch_request;\n}\n\n/**\n * Establecer un valor para el atributo with_existences de la variable params.\n */\nexport function setWithExistencesToParams(state, with_existences) {\n state.params.with_existences = with_existences;\n}\n\n/**\n * Establecer un valor para la variable documents_by_thread.\n */\nexport function setDocumentsByThread(state, documents_by_thread) {\n state.documents_by_thread = documents_by_thread;\n}\n\n/**\n * Establecer un valor para la variable edit_mode.\n */\nexport function setEditMode(state, edit_mode) {\n state.edit_mode = edit_mode;\n}\n\n/**\n * Establecer un valor para la variable balance_payable.\n */\nexport function setBalancePayable(state, balance_payable) {\n if (balance_payable && balance_payable[0]){\n state.balance_payable = balance_payable[0].final_balance;\n state.defeated_balance = balance_payable[0].defeated_balance;\n }\n}\n\n/**\n * Establecer el valor por defecto de la variable balance_payable.\n */\nexport function resetBalancePayable(state) {\n state.balance_payable = 0;\n state.defeated_balance = 0;\n}\n\n/**\n * Establecer un valor para la variable doc_for_prods_without_avail.\n */\nexport function setDocForProdsWithoutAvail(state, doc_for_prods_without_avail) {\n state.doc_for_prods_without_avail = doc_for_prods_without_avail;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_authorization.\n */\nexport function setShowToModalAuthorization(state, show) {\n state.modal_authorization.show = show;\n}\n\n/**\n * Establecer un valor para la variable users.\n */\nexport function setUsers(state, users) {\n state.users = users;\n}\n\n/**\n * Establecer un valor para el atributo price_list_id de la variable params.\n */\nexport function setPriceListIdToParams(state, price_list_id) {\n state.params.price_list_id = price_list_id;\n}\n\n/**\n * Establecer un valor para la variable key_inventory.\n */\nexport function setKeyInventory(state, key_inventory) {\n state.key_inventory = key_inventory;\n}\n\n/**\n * Establecer un valor para el atributo general_discount de la variable document.\n */\nexport function setGeneralDiscountToDocument(state, general_discount) {\n state.document.general_discount = general_discount;\n}\n\n/**\n * Establecer un valor para la variable contact_default.\n */\nexport function setContactDefault(state, contact_default) {\n state.contact_default = contact_default;\n}\n\n/**\n *\n */\nexport function resetUserAuthentication (state) {\n state.params.user_id_authorizes = null;\n state.params.authorize_discount_user_id = null;\n}\n// Establece valor para la variable user_id_authorize_wallet_payments_methods\nexport function setUserIdAuthorizeWalletPaymentsMethods (state, user_id) {\n state.user_id_authorize_wallet_payments_methods = user_id;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/point_of_sale/modules/point_of_sale/mutations.js","export function setLoading (state, value) {\n state.loading = value;\n}\n\nexport function setMessageLoading (state, value) {\n state.message_loading = value;\n}\nexport function setFile(state, value) {\n state.file = value;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/import-ideal-balances/mutations.js","import $http from \"../../axios\";import {Notification, MessageBox} from 'element-ui';\n\nexport async function fetchUsers({ commit, state }) {\n let params = { params: state.users_params }\n await $http\n .get(\"/api/usuarios\", params)\n .then(response => {\n commit(\"setUsers\", response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.message,\n type: \"error\",\n duration: 1500,\n customClass: \"notification-box\"\n });\n commit(\"modelError\", error.message);\n });\n}\nexport async function fetchUserDocumentsReport({commit, state}) {\n state.loading.module = true;\n await $http.get('/api/reporte-usuario-documents',{params : state.params}).then((response) => {\n state.loading.module = false;\n commit('setReport', response.data)\n })\n .catch((error) => {\n state.loading.module = false;\n Notification.error({\n title: 'Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-user-document/actions.js","import $http from \"../../axios\";\nimport { Notification } from 'element-ui';\nimport moment from \"moment\";\nexport async function fetchReportData({commit, state}) {\n commit('setLoading', true);\n await $http.get('/api/report-documents-pending-order-dispatch', {params:state.params})\n .then((response) => {\n commit('setReportData', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n }).finally( () => {\n commit('setLoading', false);\n }\n );\n}\n\nexport async function fetchProductsReportData({commit, state}, document_id) {\n await $http.get('/api/get-products-documents-pending-order-dispatch/' + document_id)\n .then((response) => {\n console.log(response.data.data);\n commit('setDocumentProductReportData', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function downloadDocument({\n state\n }, documentToPdf) {\n console.log(documentToPdf);\n let name = documentToPdf.code_voucher_type + ' No. ' + documentToPdf.consecutive + '.pdf'\n await $http({\n url: '/api/documentos/descargar-pdf/' + documentToPdf.id,\n method: 'GET',\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n })\n}\n\nexport async function sendDocumentWmsDispatch({\n state\n }, documentSend) {\n return await $http.post('/api/send-document-wms-dispatch/' + documentSend.id)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function updateDocInformationByDocumentId({ state }, data) {\n return await $http.post('/api/document-information-update-by-document-id/' + data.id, data)\n .then((response) => {\n Notification.success({\n title: 'Exito!',\n message: 'Fecha de Entrega Actualizada.',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box',\n });\n return response;\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-document-pending-dispatch-order/actions.js","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBS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3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/leaflet/dist/images/marker-icon-2x.png\n// module id = qXhe\n// module chunks = 271","import $http from '../../../axios';\nimport {MessageBox, Notification} from 'element-ui';\nimport {setApprovalStates, setDocuments, setDocumentsByThread} from './mutations';\n\nexport async function fetchDocuments({commit}) {\n\n const user_b2b = JSON.parse(localStorage.getItem('user_b2b'));\n\n let params = {\n warehouse_id: user_b2b.id\n };\n\n commit('setPreloader', true);\n\n await $http.get('/api/documentos-por-sucursal-cliente', {params})\n .then((response) => {\n commit('setDocuments', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener las solicitudes',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function fetchRequestTypes({commit}) {\n await $http\n .get('/api/parametros-por-codigo/RTGM')\n .then(response => {\n commit('setRequestTypes', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchDevolutionReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/136')\n .then(response => {\n commit('setDevolutionReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchGuaranteeReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/DRGM')\n .then(response => {\n commit('setGuaranteeReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchApprovalStates({commit}) {\n await $http\n .get('/api/parametros-por-codigo/GAS01')\n .then(response => {\n commit('setApprovalStates', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchApprovalReasons({commit}) {\n await $http\n .get('/api/parametros-por-codigo/GAR01')\n .then(response => {\n commit('setApprovalReasons', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchOptions({commit}) {\n await $http\n .get('/api/parametros-por-codigo/PGOP')\n .then(response => {\n commit('setOptions', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchModel({commit}) {\n await $http\n .get('/api/modelo-por-codigo/155')\n .then(response => {\n commit('setModel', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function findAll({commit, state, dispatch}, reset_page = false) {\n\n if (reset_page) {\n commit('resetPageFilters');\n }\n\n const user_b2b = JSON.parse(localStorage.getItem('user_b2b'));\n\n commit('setContactWarehouseIdRequestGuaranteeFilters', user_b2b.id);\n commit('setPreloader', true);\n\n await $http.get('/api/solicitud-de-garantia', {params: state.filters})\n .then((response) => {\n commit('setRequestsGuarantees', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener las solicitudes',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function create({commit, state, dispatch}) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n const user_b2b = JSON.parse(localStorage.getItem('user_b2b'));\n\n commit('setContactWarehouseIdRequestGuarantee', user_b2b);\n\n let request_guarantee = JSON.parse(JSON.stringify(state.request_guarantee));\n\n request_guarantee.model_id = state.model.id;\n request_guarantee.vouchertype_id = state.model.voucherType_id;\n\n state.documents.map(d => {\n if (d.id === request_guarantee.invoice_id) {\n request_guarantee.branchoffice_warehouse_id = d.branchoffice_warehouse_id;\n }\n });\n\n await $http.post('/api/solicitud-de-garantia', request_guarantee)\n .then(async (response) => {\n\n commit('setRequestGuarantee', response.data.data);\n\n commit('setSending', false);\n commit('setPreloader', false);\n\n commit('setStep', 1);\n commit('setStepAvailable', 1);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud creada correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al crear la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function update({commit, state, dispatch}, files) {\n\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n let form_data = new FormData();\n\n for (const property in state.request_guarantee) {\n if (property !== 'attachments_deleted' && !['images_product_loaded', 'other_images_loaded', 'images_guide_loaded'].includes(property)) {\n form_data.append(property, state.request_guarantee[property]);\n }\n }\n\n keys.map(key => {\n if (files[key]) {\n for (let i = 0; i < files[key].length; i++) {\n form_data.append(key + '_loaded[' + i + ']', files[key][i]);\n }\n }\n });\n\n for (let i = 0; i < state.request_guarantee.attachments_deleted.length; i++) {\n form_data.append('attachments_deleted[' + i + ']', state.request_guarantee.attachments_deleted[i].id);\n }\n\n form_data.append('documents_products', JSON.stringify(state.request_guarantee.return.documents_products));\n\n await $http.post('/api/solicitud-de-garantia/' + state.request_guarantee.id, form_data)\n .then((response) => {\n dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud actualizada correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al actualizar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function findForId({commit, state, dispatch}, id) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/solicitud-de-garantia/' + id)\n .then((response) => {\n\n let request_guarantee = response.data.data;\n\n request_guarantee.return.documents_products.map(dp => {\n\n if (dp.requested_quantity === null) {\n let _dpi = request_guarantee.invoice.documents_products.find(dpi => dpi.product_id === dp.product_id);\n\n if (_dpi) {\n dp.requested_quantity = _dpi.quantity;\n }\n }\n\n if (dp.received_quantity === null) {\n dp.received_quantity = dp.requested_quantity;\n }\n\n if (dp.authorized_quantity === null) {\n dp.authorized_quantity = dp.received_quantity;\n }\n\n });\n\n commit('setRequestGuarantee', request_guarantee);\n\n let step = 1;\n let action = 'Editar';\n\n if (state.request_guarantee.request_guarantee_state && state.request_guarantee.request_guarantee_state.state) {\n\n let step_code = state.request_guarantee.request_guarantee_state.state.code_parameter;\n\n let step_obj = state.steps.find(s => s.code === step_code);\n\n if (step_obj) {\n step = step_obj.step;\n }\n\n let type = state.request_types.find(t => t.id === state.request_guarantee.type_id);\n\n if (step_code === 'PGS5' && type && type.code_parameter === 'RTGM02') {\n step++;\n }\n }\n\n\n commit('setStep', step);\n commit('setAction', action);\n commit('setStepAvailable', step);\n commit('setPreloader', false);\n\n }).catch((error) => {\n\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al obtener la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function updateWithNewState({commit, state, dispatch}, files) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n let keys = [\n 'images_product',\n 'other_images',\n 'images_guide'\n ];\n\n let form_data = new FormData();\n\n for (const property in state.request_guarantee) {\n if (property !== 'attachments_deleted' && !['images_product_loaded', 'other_images_loaded', 'images_guide_loaded'].includes(property)) {\n form_data.append(property, state.request_guarantee[property]);\n }\n }\n\n keys.map(key => {\n if (files[key]) {\n for (let i = 0; i < files[key].length; i++) {\n form_data.append(key + '_loaded[' + i + ']', files[key][i]);\n }\n }\n });\n\n for (let i = 0; i < state.request_guarantee.attachments_deleted.length; i++) {\n form_data.append('attachments_deleted[' + i + ']', state.request_guarantee.attachments_deleted[i].id);\n }\n\n form_data.append('documents_products', JSON.stringify(state.request_guarantee.return.documents_products));\n\n await $http.post('/api/solicitud-de-garantia/nuevo-estado/' + state.request_guarantee.id, form_data)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud actualizada correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al actualizar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\nexport async function finalizeRequestGuarantee({commit, state, dispatch}) {\n commit('setSending', true);\n commit('setPreloader', true);\n\n return new Promise(async (resolve, reject) => {\n await $http.post('/api/solicitud-de-garantia/finalizar/' + state.request_guarantee.id, state.request_guarantee)\n .then(async (response) => {\n commit('setModalShow', false);\n commit('resetRequestGuarantee');\n commit('setSending', false);\n commit('setPreloader', false);\n commit('setShowToModalPdf', response.data.data.data);\n\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud finalizada correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n resolve(response.data.data.data);\n }).catch((error) => {\n commit('setSending', false);\n commit('setPreloader', false);\n\n Notification.error({\n title: 'Error',\n message: 'Error al actualizar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n reject();\n });\n });\n}\n\nexport async function deleteAttachment({commit, state}, attachment) {\n await MessageBox.confirm('¿Está seguro de eliminar el adjunto?', 'Eliminar adjunto', {\n confirmButtonText: 'Aceptar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n customClass: 'notification-danger'\n }).then(async (result) => {\n commit('addAttachmentDeleteRequestGuarantee', attachment);\n commit('deleteAttachmentRequestGuarantee', attachment);\n }).catch((e) => {\n console.error(e);\n });\n}\n\nexport async function destroy({commit, state, dispatch}, request_guarantee) {\n\n if (!request_guarantee.only_view) {\n await MessageBox.confirm('¿Está seguro de cancelar la solicitud?', 'Cancelar', {\n confirmButtonText: 'Aceptar',\n cancelButtonText: 'Cancelar',\n type: 'warning',\n customClass: 'notification-danger'\n }).then(async (result) => {\n\n commit('setPreloader', true);\n\n await $http.delete('/api/solicitud-de-garantia/' + request_guarantee.id)\n .then(async (response) => {\n await dispatch('findAll');\n commit('setPreloader', false);\n Notification.success({\n title: 'Éxito!',\n message: 'Solicitud cancelada correctamente',\n type: 'success',\n duration: 3000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n Notification.error({\n title: 'Error',\n message: 'Error al cancelar la solicitud',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n }).catch((e) => {\n commit('setPreloader', false);\n console.error(e);\n });\n }\n}\n\nexport async function downloadAttachment({commit}, attachment) {\n\n commit('setPreloader', true);\n\n await $http({\n url: '/api/solicitud-de-garantia/descargar-adjunto/' + attachment.id,\n method: 'GET',\n responseType: 'blob', // important\n }).then((response) => {\n\n commit('setPreloader', false);\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', attachment.original_name);\n document.body.appendChild(link);\n link.click();\n }).catch((error) => {\n\n commit('setPreloader', false);\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n\n });\n}\n\nexport async function updateProductDocument({commit, state, dispatch, rootState}, product) {\n let data = JSON.parse(JSON.stringify(product));\n\n data.model_id = state.model.id;\n data.warehouse_id = state.request_guarantee.return.warehouse_id;\n data.branchoffice_id = state.request_guarantee.return.branchoffice_id;\n data.document_product_id = product.id;\n\n await $http.post('/api/items-carrito', data)\n .then(async response => {\n dispatch('updateDocumentValues');\n }).catch(error => {\n if (error.response && error.response.data && error.response.data.message) {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 5000,\n customClass: 'notification-box'\n });\n }\n });\n}\n\nexport async function updateDocumentValues({commit, state}) {\n let data = {\n document_id: state.request_guarantee.return.id,\n model_id: state.model.id,\n warehouse_id: state.request_guarantee.return.warehouse_id\n };\n\n await $http\n .post('/api/documento/actualizar-valores/', data)\n .then(response => {\n commit('setUpdateDocumentValues', response.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al actualizar los valores del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchDocumentsByThread({commit, state}) {\n await $http\n .get('/api/back-order/' + state.request_guarantee.invoice_id)\n .then(response => {\n commit('setDocumentsByThread', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al actualizar los valores del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchModels({commit}) {\n commit('setPreloader', true);\n\n let params = {\n codes: ['155', '186']\n };\n\n await $http.get('/api/modelos-devoluciones', {params})\n .then((response) => {\n commit('setModels', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n Notification.error({\n title: 'Error',\n message: 'Error al obtener los modelos',\n type: 'error',\n duration: 3000,\n customClass: 'notification-box',\n });\n });\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/b2b/modules/guarantees/actions.js","import moment from 'moment/moment';\n\nexport const reception_document = () => {\n return {\n id: -1,\n correlative_company: null,\n cufe: null,\n status: null,\n status_dian_code: null,\n status_dian_description: null,\n status_dian_date: null,\n status_name: null,\n issue_date: moment().format('YYYY-MM-DD'),\n due_date: moment().add('months', 1).format('YYYY-MM-DD'),\n reception_date: null,\n issue_time: null,\n total_value_brut: 0,\n iva: 0,\n rete_iva: 0,\n rete_fte: 0,\n rete_ica: 0,\n total_value: 0,\n total_amount: 0,\n document_number: null,\n identification_number: null,\n contact_id: null,\n business_name: null,\n document_type: null,\n issuer_type: null,\n identity_type: null,\n contact: {},\n referrals_ids: [],\n authorized: false\n };\n};\n\nexport const accounting_document = () => {\n return {\n branch_office_id: null,\n voucher_type_id: null,\n prefix: null,\n consecutive: null,\n document_date: null,\n due_date: null,\n center_cost_id: null,\n observation: null,\n referrals_ids: [],\n affects_prefix_document: null,\n affects_number_document: null\n };\n};\n\nexport const params_referrals = () => {\n return {\n branch_office_id: null,\n branch_office_warehouse_id: null,\n dates: [\n moment().add('month', -12).format('YYYY-MM-DD'),\n moment().format('YYYY-MM-DD')\n ],\n voucher_type_id: null,\n model_id: null,\n contact_id: null,\n state_id: 1,\n paginate: 1,\n per_page: 15,\n page: 1\n };\n};\n\nexport default {\n reception_documents: [],\n reception_document: reception_document(),\n accounting_document: accounting_document(),\n params_concepts: {\n paginate: true,\n page: 1,\n perPage: 15,\n filter: '',\n ids: [],\n },\n preloader: false,\n branch_offices: [],\n voucher_types: [],\n params: {\n state_id: '01'\n },\n concepts: {data: []},\n subscriber: null,\n fiscal_responsibilities: [],\n accounts: [],\n modal_pdf: {\n show: false,\n url: null\n },\n modal_rejection: {\n show: false,\n url: null\n },\n modal_authorization: {\n show: false,\n url: null,\n observation: ''\n },\n modal_attachments: {\n show: false,\n url: null,\n attachment: null\n },\n attachments: [],\n support_document_mode: false,\n code_voucher_type: '320',\n code_voucher_type_referrals: null,\n contacts: [],\n mode_referrals: 0,\n show_left_panel: 1,\n referrals: {data: []},\n params_referrals: params_referrals(),\n cost_centers: [],\n rejection_reasons: [],\n contact_warehouse: null,\n contacts_lite: []\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reception_documents/state.js","import {defaultSelectedContact} from './state';\nimport {setTime} from '@syncfusion/ej2-vue-schedule';\n\nexport function setTooltipParamTable(state, paramTable) {\n state.parameters.map(p => {\n if (p.paramtable_id == paramTable.id) {\n p.tooltip = paramTable.code_table + ' - ' + paramTable.name_table;\n }\n });\n}\n\n// Establece un valor para identificationTypes\nexport function setIdentificationTypes(state, identificationTypes) {\n state.identificationTypes = identificationTypes;\n let identification_type = state.identificationTypes.find(it => it.code_parameter === '02');\n\n if (identification_type) {\n state.client.identification_type = identification_type.id;\n }\n}\n\n// Establece un valor para complete\nexport function setComplete(state, complete) {\n state.complete = complete;\n}\n\n// Establece un valor para complete\nexport function fetchClientComponent(state, contact) {\n\n if (contact && !contact.customer) {\n contact.customer = {\n required_purchase_order: 0\n };\n }\n\n if (!state.show_component) {\n if (contact) {\n state.client = contact;\n } else {\n state.client = defaultSelectedContact();\n }\n }\n\n state.contacts = [];\n state.params_contacts.contact_id = null;\n state.params_contacts.contact_warehouse_id = null;\n\n state.show_component = !state.show_component;\n}\n\n// Establece un valor para complete\nexport function fetchClientSearch(state, client) {\n\n if (client && !client.customer) {\n client.customer = {\n required_purchase_order: 0\n };\n }\n\n state.client = client;\n state.client.price_list_id = state.selected_model.price_list_id;\n}\n\n// Establece un valor para el componente\nexport function clearModal(state) {\n state.client = defaultSelectedContact();\n state.client.price_list_id = state.selected_model.price_list_id;\n}\n\n// Establece un valor para el los parametros\nexport function setParamsContacts(state, filter) {\n state.params_contacts.filter = filter;\n}\n\n// Establece un valor para el los contactos\nexport function setContacts(state, contacts) {\n let contacts_filtered = [];\n\n const identification = state.client.identification;\n\n if (state.params_contacts.with_contact_warehouses && state.params_contacts.filter) {\n let filter_parts = state.params_contacts.filter\n .trim()\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .toLowerCase()\n .split(' ');\n\n if (filter_parts && filter_parts.length > 1) {\n contacts_filtered = contacts.map(c => {\n let final_filter_parts = [];\n\n filter_parts.map(fp => {\n let match_contact = c.full_name_with_identification\n .trim()\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .toLowerCase()\n .includes(fp);\n\n if (!match_contact) {\n final_filter_parts.push(fp);\n }\n });\n\n let warehouses = [];\n\n if (final_filter_parts.length) {\n warehouses = c.warehouses.filter(w => {\n let match = false;\n\n final_filter_parts.map(fp => {\n if (!match) {\n match = w.address\n .trim()\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .toLowerCase()\n .includes(fp);\n }\n });\n\n return match;\n });\n } else {\n warehouses = c.warehouses;\n }\n\n return {\n ...c,\n warehouses: warehouses\n };\n });\n } else {\n contacts_filtered = contacts;\n }\n } else {\n contacts_filtered = contacts;\n }\n\n state.contacts = contacts_filtered;\n\n state.client = defaultSelectedContact();\n state.client.identification = identification;\n state.client.price_list_id = state.selected_model.price_list_id;\n}\n\n// Establece un valor para el las listas de precios\nexport function setPriceLists(state, priceLists) {\n state.priceLists = priceLists;\n}\n\nexport function setIdentification(state, identification) {\n state.client.identification = identification;\n}\n\nexport function removeId(state) {\n state.client.id = null;\n}\n\nexport function SetId(state, data) {\n state.client.id = data.id;\n state.client.warehouses = data.warehouses;\n state.client.full_name = data.full_name;\n}\n\nexport function setSelectedModel(state, data) {\n state.selected_model = data;\n state.client.price_list_id = state.selected_model.price_list_id;\n}\n\n/**\n * Establecer un valor para la variable client.\n */\nexport function setClient(state, client) {\n if (client && !client.customer) {\n client.customer = {\n required_purchase_order: 0\n };\n }\n\n state.client = client;\n\n if (client.customer) {\n state.client.price_list_id = client.customer.price_list_id;\n }\n}\n\n/**\n * Establecer un valor para la variable tax_responsibilities.\n */\nexport function setTaxResponsibilities(state, tax_responsibilities) {\n state.tax_responsibilities = tax_responsibilities;\n}\n\n/**\n * Establecer un valor para el atributo from_identification de la variable params_contacts.\n */\nexport function setFromIdentificationToParamsContacts(state, from_identification) {\n state.params_contacts.from_identification = from_identification;\n}\n\n/**\n * Establecer un valor para el atributo contact_id de la variable params_contacts.\n */\nexport function resetContactIdToParamsContacts(state) {\n state.params_contacts.contact_id = null;\n}\n\n/**\n * Establecer un valor para el atributo show de la variable modal_question.\n */\nexport function setShowToModalQuestion(state, show) {\n state.modal_question.show = show;\n\n if (show) {\n setTimeout(() => {\n let new_customer = document.getElementById('new_customer');\n\n if (new_customer) {\n new_customer.focus();\n }\n }, 500);\n }\n}\n\n/**\n * Establecer un valor para el atributo identification de la variable client.\n */\nexport function setCheckDigitToClient(state) {\n\n let identification = state.client.identification.toString();\n\n let vpri,\n x,\n y,\n z;\n\n // Se limpia el Nit\n identification = identification.replace(/\\s/g, ''); // Espacios\n identification = identification.replace(/,/g, ''); // Comas\n identification = identification.replace(/\\./g, ''); // Puntos\n identification = identification.replace(/-/g, ''); // Guiones\n\n // Procedimiento\n vpri = new Array(16);\n z = identification.length;\n\n vpri[1] = 3;\n vpri[2] = 7;\n vpri[3] = 13;\n vpri[4] = 17;\n vpri[5] = 19;\n vpri[6] = 23;\n vpri[7] = 29;\n vpri[8] = 37;\n vpri[9] = 41;\n vpri[10] = 43;\n vpri[11] = 47;\n vpri[12] = 53;\n vpri[13] = 59;\n vpri[14] = 67;\n vpri[15] = 71;\n\n x = 0;\n y = 0;\n\n for (let i = 0; i < z; i++) {\n y = (identification.substr(i, 1));\n\n x += (y * vpri [z - i]);\n }\n\n y = x % 11;\n\n state.client.check_digit = (y > 1) ? 11 - y : y;\n}\n\n/**\n * Establecer un valor para el atributo identification_type de la variable client.\n */\nexport function setIdentificationTypeToClient(state) {\n\n let identification_code = '02';\n\n if (state.client.identification.length === 9) {\n identification_code = '01';\n }\n\n const identification_type = state.identificationTypes.find(it => it.code_parameter === identification_code);\n if (identification_type) {\n state.client.identification_type = identification_type.id;\n }\n}\n\n/**\n * Establecer un valor para la variable cities.\n */\nexport function setCities(state, cities) {\n state.cities = cities;\n}\n\n/**\n * Establecer un valor para la variable departments.\n */\nexport function setDepartments(state, departments) {\n state.departments = departments;\n}\n\n/**\n * Establecer un valor para el atributo with_contact_warehouses de la variable params_contacts.\n */\nexport function setWithContactWarehousesToParamsContacts(state, with_contact_warehouses) {\n state.params_contacts.with_contact_warehouses = with_contact_warehouses;\n}\n\n/**\n * Establecer un valor para la variable sellers.\n */\nexport function setSellers(state, sellers) {\n state.sellers = sellers;\n}\n\n/**\n * Establecer un valor para la variable subscriber.\n */\nexport function setSubscriber(state, subscriber) {\n state.subscriber = subscriber;\n}\n\n/**\n * Establecer un valor para la variable taxes.\n */\nexport function setTaxes(state, taxes) {\n state.taxes = taxes;\n}\n\n/**\n * Establecer un valor para la variable branch_office.\n */\nexport function setBranchOffice(state, branch_office) {\n state.branch_office = branch_office;\n}\n\n/**\n * Establecer un valor para la variable contact_warehouse.\n */\nexport function setContactWarehouse(state, contact_warehouse) {\n state.contact_warehouse = contact_warehouse;\n}\n\n/**\n * Establecer un valor para el atributo address de la variable client.\n */\nexport function setAddressToClient(state, address) {\n state.client.address = address.toUpperCase();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/clients-component/mutations.js","var map = {\n\t\"./af\": \"3CJN\",\n\t\"./af.js\": \"3CJN\",\n\t\"./ar\": \"3MVc\",\n\t\"./ar-dz\": \"tkWw\",\n\t\"./ar-dz.js\": \"tkWw\",\n\t\"./ar-kw\": \"j8cJ\",\n\t\"./ar-kw.js\": \"j8cJ\",\n\t\"./ar-ly\": \"wPpW\",\n\t\"./ar-ly.js\": \"wPpW\",\n\t\"./ar-ma\": \"dURR\",\n\t\"./ar-ma.js\": \"dURR\",\n\t\"./ar-sa\": \"7OnE\",\n\t\"./ar-sa.js\": \"7OnE\",\n\t\"./ar-tn\": \"BEem\",\n\t\"./ar-tn.js\": \"BEem\",\n\t\"./ar.js\": \"3MVc\",\n\t\"./az\": \"eHwN\",\n\t\"./az.js\": \"eHwN\",\n\t\"./be\": \"3hfc\",\n\t\"./be.js\": \"3hfc\",\n\t\"./bg\": \"lOED\",\n\t\"./bg.js\": \"lOED\",\n\t\"./bm\": \"hng5\",\n\t\"./bm.js\": \"hng5\",\n\t\"./bn\": \"aM0x\",\n\t\"./bn.js\": \"aM0x\",\n\t\"./bo\": \"w2Hs\",\n\t\"./bo.js\": \"w2Hs\",\n\t\"./br\": \"OSsP\",\n\t\"./br.js\": \"OSsP\",\n\t\"./bs\": \"aqvp\",\n\t\"./bs.js\": \"aqvp\",\n\t\"./ca\": \"wIgY\",\n\t\"./ca.js\": \"wIgY\",\n\t\"./cs\": \"ssxj\",\n\t\"./cs.js\": \"ssxj\",\n\t\"./cv\": \"N3vo\",\n\t\"./cv.js\": \"N3vo\",\n\t\"./cy\": \"ZFGz\",\n\t\"./cy.js\": \"ZFGz\",\n\t\"./da\": \"YBA/\",\n\t\"./da.js\": \"YBA/\",\n\t\"./de\": \"DOkx\",\n\t\"./de-at\": \"8v14\",\n\t\"./de-at.js\": \"8v14\",\n\t\"./de-ch\": \"Frex\",\n\t\"./de-ch.js\": \"Frex\",\n\t\"./de.js\": \"DOkx\",\n\t\"./dv\": \"rIuo\",\n\t\"./dv.js\": \"rIuo\",\n\t\"./el\": \"CFqe\",\n\t\"./el.js\": \"CFqe\",\n\t\"./en-SG\": \"oYA3\",\n\t\"./en-SG.js\": \"oYA3\",\n\t\"./en-au\": \"Sjoy\",\n\t\"./en-au.js\": \"Sjoy\",\n\t\"./en-ca\": \"Tqun\",\n\t\"./en-ca.js\": \"Tqun\",\n\t\"./en-gb\": \"hPuz\",\n\t\"./en-gb.js\": \"hPuz\",\n\t\"./en-ie\": \"ALEw\",\n\t\"./en-ie.js\": \"ALEw\",\n\t\"./en-il\": \"QZk1\",\n\t\"./en-il.js\": \"QZk1\",\n\t\"./en-nz\": \"dyB6\",\n\t\"./en-nz.js\": \"dyB6\",\n\t\"./en-sg\": \"NYST\",\n\t\"./en-sg.js\": \"NYST\",\n\t\"./eo\": \"Nd3h\",\n\t\"./eo.js\": \"Nd3h\",\n\t\"./es\": \"LT9G\",\n\t\"./es-do\": \"7MHZ\",\n\t\"./es-do.js\": \"7MHZ\",\n\t\"./es-us\": \"INcR\",\n\t\"./es-us.js\": \"INcR\",\n\t\"./es.js\": \"LT9G\",\n\t\"./et\": \"XlWM\",\n\t\"./et.js\": \"XlWM\",\n\t\"./eu\": \"sqLM\",\n\t\"./eu.js\": \"sqLM\",\n\t\"./fa\": \"2pmY\",\n\t\"./fa.js\": \"2pmY\",\n\t\"./fi\": \"nS2h\",\n\t\"./fi.js\": \"nS2h\",\n\t\"./fo\": \"OVPi\",\n\t\"./fo.js\": \"OVPi\",\n\t\"./fr\": \"tzHd\",\n\t\"./fr-ca\": \"bXQP\",\n\t\"./fr-ca.js\": \"bXQP\",\n\t\"./fr-ch\": \"VK9h\",\n\t\"./fr-ch.js\": \"VK9h\",\n\t\"./fr.js\": \"tzHd\",\n\t\"./fy\": \"g7KF\",\n\t\"./fy.js\": \"g7KF\",\n\t\"./ga\": \"U5Iz\",\n\t\"./ga.js\": \"U5Iz\",\n\t\"./gd\": \"nLOz\",\n\t\"./gd.js\": \"nLOz\",\n\t\"./gl\": \"FuaP\",\n\t\"./gl.js\": \"FuaP\",\n\t\"./gom-latn\": \"+27R\",\n\t\"./gom-latn.js\": \"+27R\",\n\t\"./gu\": \"rtsW\",\n\t\"./gu.js\": \"rtsW\",\n\t\"./he\": \"Nzt2\",\n\t\"./he.js\": \"Nzt2\",\n\t\"./hi\": \"ETHv\",\n\t\"./hi.js\": \"ETHv\",\n\t\"./hr\": \"V4qH\",\n\t\"./hr.js\": \"V4qH\",\n\t\"./hu\": \"xne+\",\n\t\"./hu.js\": \"xne+\",\n\t\"./hy-am\": \"GrS7\",\n\t\"./hy-am.js\": \"GrS7\",\n\t\"./id\": \"yRTJ\",\n\t\"./id.js\": \"yRTJ\",\n\t\"./is\": \"upln\",\n\t\"./is.js\": \"upln\",\n\t\"./it\": \"FKXc\",\n\t\"./it-ch\": \"/E8D\",\n\t\"./it-ch.js\": \"/E8D\",\n\t\"./it.js\": \"FKXc\",\n\t\"./ja\": \"ORgI\",\n\t\"./ja.js\": \"ORgI\",\n\t\"./jv\": \"JwiF\",\n\t\"./jv.js\": \"JwiF\",\n\t\"./ka\": \"RnJI\",\n\t\"./ka.js\": \"RnJI\",\n\t\"./kk\": \"j+vx\",\n\t\"./kk.js\": \"j+vx\",\n\t\"./km\": \"5j66\",\n\t\"./km.js\": \"5j66\",\n\t\"./kn\": \"gEQe\",\n\t\"./kn.js\": \"gEQe\",\n\t\"./ko\": \"eBB/\",\n\t\"./ko.js\": \"eBB/\",\n\t\"./ku\": \"kI9l\",\n\t\"./ku.js\": \"kI9l\",\n\t\"./ky\": \"6cf8\",\n\t\"./ky.js\": \"6cf8\",\n\t\"./lb\": \"z3hR\",\n\t\"./lb.js\": \"z3hR\",\n\t\"./lo\": \"nE8X\",\n\t\"./lo.js\": \"nE8X\",\n\t\"./lt\": \"/6P1\",\n\t\"./lt.js\": \"/6P1\",\n\t\"./lv\": \"jxEH\",\n\t\"./lv.js\": \"jxEH\",\n\t\"./me\": \"svD2\",\n\t\"./me.js\": \"svD2\",\n\t\"./mi\": \"gEU3\",\n\t\"./mi.js\": \"gEU3\",\n\t\"./mk\": \"Ab7C\",\n\t\"./mk.js\": \"Ab7C\",\n\t\"./ml\": \"oo1B\",\n\t\"./ml.js\": \"oo1B\",\n\t\"./mn\": \"CqHt\",\n\t\"./mn.js\": \"CqHt\",\n\t\"./mr\": \"5vPg\",\n\t\"./mr.js\": \"5vPg\",\n\t\"./ms\": \"ooba\",\n\t\"./ms-my\": \"G++c\",\n\t\"./ms-my.js\": \"G++c\",\n\t\"./ms.js\": \"ooba\",\n\t\"./mt\": \"oCzW\",\n\t\"./mt.js\": \"oCzW\",\n\t\"./my\": \"F+2e\",\n\t\"./my.js\": \"F+2e\",\n\t\"./nb\": \"FlzV\",\n\t\"./nb.js\": \"FlzV\",\n\t\"./ne\": \"/mhn\",\n\t\"./ne.js\": \"/mhn\",\n\t\"./nl\": \"3K28\",\n\t\"./nl-be\": \"Bp2f\",\n\t\"./nl-be.js\": \"Bp2f\",\n\t\"./nl.js\": \"3K28\",\n\t\"./nn\": \"C7av\",\n\t\"./nn.js\": \"C7av\",\n\t\"./pa-in\": \"pfs9\",\n\t\"./pa-in.js\": \"pfs9\",\n\t\"./pl\": \"7LV+\",\n\t\"./pl.js\": \"7LV+\",\n\t\"./pt\": \"ZoSI\",\n\t\"./pt-br\": \"AoDM\",\n\t\"./pt-br.js\": \"AoDM\",\n\t\"./pt.js\": \"ZoSI\",\n\t\"./ro\": \"wT5f\",\n\t\"./ro.js\": \"wT5f\",\n\t\"./ru\": \"ulq9\",\n\t\"./ru.js\": \"ulq9\",\n\t\"./sd\": \"fW1y\",\n\t\"./sd.js\": \"fW1y\",\n\t\"./se\": \"5Omq\",\n\t\"./se.js\": \"5Omq\",\n\t\"./si\": \"Lgqo\",\n\t\"./si.js\": \"Lgqo\",\n\t\"./sk\": \"OUMt\",\n\t\"./sk.js\": \"OUMt\",\n\t\"./sl\": \"2s1U\",\n\t\"./sl.js\": \"2s1U\",\n\t\"./sq\": \"V0td\",\n\t\"./sq.js\": \"V0td\",\n\t\"./sr\": \"f4W3\",\n\t\"./sr-cyrl\": \"c1x4\",\n\t\"./sr-cyrl.js\": \"c1x4\",\n\t\"./sr.js\": \"f4W3\",\n\t\"./ss\": \"7Q8x\",\n\t\"./ss.js\": \"7Q8x\",\n\t\"./sv\": \"Fpqq\",\n\t\"./sv.js\": \"Fpqq\",\n\t\"./sw\": \"DSXN\",\n\t\"./sw.js\": \"DSXN\",\n\t\"./ta\": \"+7/x\",\n\t\"./ta.js\": \"+7/x\",\n\t\"./te\": \"Nlnz\",\n\t\"./te.js\": \"Nlnz\",\n\t\"./tet\": \"gUgh\",\n\t\"./tet.js\": \"gUgh\",\n\t\"./tg\": \"5SNd\",\n\t\"./tg.js\": \"5SNd\",\n\t\"./th\": \"XzD+\",\n\t\"./th.js\": \"XzD+\",\n\t\"./tl-ph\": \"3LKG\",\n\t\"./tl-ph.js\": \"3LKG\",\n\t\"./tlh\": \"m7yE\",\n\t\"./tlh.js\": \"m7yE\",\n\t\"./tr\": \"k+5o\",\n\t\"./tr.js\": \"k+5o\",\n\t\"./tzl\": \"iNtv\",\n\t\"./tzl.js\": \"iNtv\",\n\t\"./tzm\": \"FRPF\",\n\t\"./tzm-latn\": \"krPU\",\n\t\"./tzm-latn.js\": \"krPU\",\n\t\"./tzm.js\": \"FRPF\",\n\t\"./ug-cn\": \"To0v\",\n\t\"./ug-cn.js\": \"To0v\",\n\t\"./uk\": \"ntHu\",\n\t\"./uk.js\": \"ntHu\",\n\t\"./ur\": \"uSe8\",\n\t\"./ur.js\": \"uSe8\",\n\t\"./uz\": \"XU1s\",\n\t\"./uz-latn\": \"/bsm\",\n\t\"./uz-latn.js\": \"/bsm\",\n\t\"./uz.js\": \"XU1s\",\n\t\"./vi\": \"0X8Q\",\n\t\"./vi.js\": \"0X8Q\",\n\t\"./x-pseudo\": \"e/KL\",\n\t\"./x-pseudo.js\": \"e/KL\",\n\t\"./yo\": \"YXlc\",\n\t\"./yo.js\": \"YXlc\",\n\t\"./zh-cn\": \"Vz2w\",\n\t\"./zh-cn.js\": \"Vz2w\",\n\t\"./zh-hk\": \"ZUyn\",\n\t\"./zh-hk.js\": \"ZUyn\",\n\t\"./zh-tw\": \"BbgG\",\n\t\"./zh-tw.js\": \"BbgG\"\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"uslO\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/moment/locale ^\\.\\/.*$\n// module id = uslO\n// module chunks = 271","import $http from '../../../axios';\nimport {MessageBox, Notification} from 'element-ui';\nimport axios from 'axios';\nimport sound from '../../../assets/sounds/sound.mp3';\nimport {getApiDomain} from '../../../util/domains';\nimport {setAcceptFinalizeDocument, setContactDefault} from './mutations';\n\nlet cancel;\nconst CancelToken = axios.CancelToken;\n\n/**\n * Obtener modelos.\n */\nexport async function fetchModels({commit, state, dispatch}) {\n\n let branch_office_id = localStorage.getItem('selected_branchoffice');\n let branch_office_warehouse_id = localStorage.getItem('selected_branchoffice_warehouse');\n\n let params = {\n branch_office_id,\n branch_office_warehouse_id\n };\n\n commit('resetDocument');\n commit('resetBalancePayable');\n\n try {\n\n let response = await $http.get('/api/modelos-punto-de-venta', {params});\n\n commit('setAllModels', response.data.data);\n /*if (!state.all_models.length) {\n let response = await $http.get('/api/modelos-punto-de-venta', {params});\n\n commit('setAllModels', response.data.data);\n }*/\n\n let models = state.all_models.filter(m => {\n if (!!m.branchoffice_id) {\n if (m.branchoffice_id === +branch_office_id) {\n if (!!m.branchoffice_warehouse_id) {\n if (m.branchoffice_warehouse_id !== +branch_office_warehouse_id) {\n return false;\n }\n }\n } else {\n return false;\n }\n }\n\n return true;\n });\n\n commit('setModels', models);\n commit('setEditMode', false);\n commit('setOnlyView', false);\n commit('setToggleTable', true);\n\n let model = models.find(m => m.default_point_of_sale && !!m.branchoffice_id && !!m.branchoffice_warehouse_id);\n\n if (!model) {\n model = models.find(m => m.default_point_of_sale);\n }\n\n if (!model) {\n commit('setPreloader', false);\n\n await MessageBox.confirm('No existe el modelo por defecto de punto de venta', 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n\n return;\n }\n\n let model_electronic_invoice = models.find(m => m.type_point_of_sale_id === 1);\n\n commit('setUvtControl', !!model_electronic_invoice && !!model_electronic_invoice.assign_automatic_electronic_invoice_uvt);\n\n const document = state.document;\n\n document.id = null;\n document.document_id = null;\n\n if (model) {\n let voucher_type = model.voucher_type;\n\n if (voucher_type) {\n voucher_type = await dispatch('fetchVoucherType', {\n code: voucher_type.code_voucher_type,\n branch_office_id\n });\n }\n\n if (!voucher_type) {\n commit('setPreloader', false);\n\n await MessageBox.confirm('El modelo no tiene tipo de comprobante', 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n\n return;\n }\n\n model.voucherType_id = voucher_type.id;\n\n model.print_template = state.print_templates.find(pt => pt.id === model.printing_format_point_of_sale_id);\n\n document.vouchertype_id = model.voucherType_id;\n document.model_id = model.id;\n document.contact_id = model.contact_id;\n document.operationType_id = model.operationType_id;\n\n if (model.contact_warehouse_point_of_sale) {\n commit('setContact', model.contact_warehouse_point_of_sale.contact);\n\n document.contact_id = model.contact_warehouse_point_of_sale.contact_id;\n\n document.warehouse_id = model.contact_warehouse_point_of_sale_id;\n\n if (model.contact_warehouse_point_of_sale.seller) {\n commit('setSeller', model.contact_warehouse_point_of_sale.seller);\n document.seller_id = model.contact_warehouse_point_of_sale.seller_id;\n } else {\n commit('setSeller', {});\n document.seller_id = null;\n }\n } else {\n await dispatch('fetchContactDefault');\n\n if (state.contact_default) {\n commit('setContact', state.contact_default);\n\n document.contact_id = state.contact_default.id;\n\n const contact_warehouse = state.contact_default.warehouses[0];\n\n document.warehouse_id = contact_warehouse.id;\n\n if (contact_warehouse.seller) {\n commit('setSeller', contact_warehouse.seller);\n document.seller_id = contact_warehouse.seller_id;\n } else {\n commit('setSeller', {});\n document.seller_id = null;\n }\n }\n }\n\n if (model.price_list) {\n commit('setPriceListIdParams', model.price_list_id);\n commit('setPriceList', model.price_list);\n } else {\n let price_list = state.price_lists.find(pl => pl.code_parameter === '001');\n\n if (price_list) {\n commit('setPriceListIdParams', price_list.id);\n commit('setPriceList', price_list);\n }\n }\n\n commit('setModel', model);\n commit('setDocument', document);\n }\n } catch (e) {\n console.error(e);\n }\n}\n\n/**\n * Obtener tipo de comprobante.\n */\nexport async function fetchVoucherType({state, commit}, {code, branch_office_id}) {\n return new Promise(async (resolve, reject) => {\n await $http.get(`/api/tipo-comprobante/${code}/${branch_office_id}`)\n .then(response => {\n commit('setVoucherType', response.data.data);\n resolve(response.data.data);\n }).catch((error) => {\n commit('setVoucherType', null);\n reject(null);\n });\n });\n}\n\n/**\n * Obtener tercero suscriptor.\n */\nexport async function fetchContactSubscriber({state, commit}) {\n\n if (!!state.contact_subscriber) {\n return;\n }\n\n await $http.get('/api/tercero-suscriptor')\n .then(response => {\n commit('setContactSubscriber', response.data.data);\n }).catch(async (error) => {\n await MessageBox.confirm('El tercero suscriptor no existe', 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n/**\n * Obtener tercero por defecto.\n */\nexport async function fetchContactDefault({state, commit}) {\n if (state.contact_default.id) {\n return;\n }\n\n await $http.get('/api/terceros/id/1')\n .then(response => {\n commit('setContactDefault', response.data.data);\n }).catch(async (error) => {\n console.error(error);\n });\n}\n\n/**\n * Obtener productos.\n */\nexport async function fetchProducts({commit, state, dispatch}, is_reposition_assistant = true) {\n\n let params = JSON.parse(JSON.stringify(state.params));\n\n params.filter = state.product.code.trim();\n\n let branch_office_id = localStorage.getItem('selected_branchoffice');\n let branch_office_warehouse_id = localStorage.getItem('selected_branchoffice_warehouse');\n\n params.branch_office_id = Number(branch_office_id);\n params.branch_office_warehouse_id = Number(branch_office_warehouse_id);\n params.contact_id = state.document.contact_id;\n params.contact_warehouse_id = state.document.warehouse_id;\n\n await $http.get('/api/buscar-productos?is_reposition_assistant=' + is_reposition_assistant, {params})\n .then(async (response) => {\n\n let products = response.data.data;\n\n let reg = new RegExp('^[0-9]*$');\n\n if (!!products.length && params.filter) {\n let products_filtered = products.filter(p => {\n if (!!p.code && p.code.toLowerCase() === params.filter.toLowerCase()) {\n return true;\n } else if (!!p.barcode && p.barcode.toLowerCase() === params.filter.toLowerCase()) {\n return true;\n } else if (!!p.supplyer_code && !!p.supplyer_code.length) {\n const supplyer_codes = p.supplyer_code.split(' ');\n\n return supplyer_codes.some(sc => sc.toLowerCase().includes(params.filter.toLowerCase()));\n }\n\n return false;\n }); \n\n if (products_filtered.length === 1) {\n\n let product = JSON.parse(JSON.stringify(products_filtered[0]));\n\n commit('setProducts', products_filtered);\n\n if (!params.ultra) {\n\n let document_product = state.document.documents_products.find(dp => dp.product_id === product.id);\n\n let quantity = null;\n\n let iva_percentage = +product.percentage_sale;\n let total_value_iva = +product.price * iva_percentage / 100;\n let total_value_brut = +product.price;\n\n product.total_value = total_value_brut + total_value_iva;\n\n if (document_product) {\n quantity = document_product.quantity;\n }\n\n product.quantity = quantity;\n\n commit('setProduct', product);\n\n setTimeout(() => {\n let quantity = window.document.getElementById('quantity');\n\n if (!!quantity) {\n quantity.focus();\n quantity.select();\n }\n }, 100);\n } else {\n let document_product = state.document.documents_products.find(dp => dp.product_id === product.id);\n\n let quantity = 1;\n\n commit('setProduct', product);\n\n if (document_product) {\n\n document_product.quantity++;\n document_product.branchoffice_warehouse_id = state.document.branchoffice_warehouse_id;\n document_product.original_quantity = document_product.quantity;\n document_product.document_product_id = document_product.id;\n document_product.model_id = state.model.id;\n document_product.unit_value_list_before_taxes = (+document_product.unit_value_list);\n document_product.unit_value_before_taxes = (+document_product.unit_value_list);\n document_product.total_value_brut = (+document_product.unit_value_list) * +document_product.quantity;\n document_product.total_value_iva = document_product.unit_value_iva * +document_product.quantity;\n document_product.total_value = (+document_product.total_value_brut + +document_product.total_value_iva);\n\n quantity = document_product.quantity;\n\n } else {\n commit('setDocumentProduct', state.product);\n\n document_product = state.document_product;\n\n document_product.model_id = state.model.id;\n\n const document = JSON.parse(JSON.stringify(state.document));\n\n document.documents_products.unshift(document_product);\n\n commit('setDocument', document);\n }\n\n const audio = new Audio(sound);\n await audio.play();\n\n await dispatch('addDocumentProduct', document_product);\n\n product.code = '';\n product.quantity = quantity;\n\n setTimeout(() => {\n\n let code = window.document.getElementById('code');\n\n if (!!code) {\n code.focus();\n code.select();\n }\n }, 100);\n }\n } else if (products_filtered.length > 1) {\n commit('resetProduct');\n commit('setProducts', products_filtered);\n\n const table_products = document.getElementById('table-products');\n\n if (!!table_products) {\n table_products.focus();\n }\n } else {\n if (!!params.filter && (params.ultra || reg.test(params.filter))) {\n commit('resetProduct');\n\n await MessageBox.confirm('El producto no existe', 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n } else {\n commit('setProducts', products);\n\n const table_products = document.getElementById('table-products');\n\n if (!!table_products) {\n table_products.focus();\n }\n }\n }\n } else {\n if (!!params.filter && (params.ultra || reg.test(params.filter))) {\n commit('resetProduct');\n\n await MessageBox.confirm('El producto no existe', 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n } else {\n commit('setProducts', products);\n\n if (!products.length) {\n Notification.error({\n title: 'Error',\n message: 'No se encontraron productos con los filtros aplicados',\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n }\n }\n }\n\n })\n .catch((error) => {\n console.error(error);\n });\n}\n\n/**\n * Obtener líneas.\n */\nexport async function fetchLines({commit}) {\n\n await $http.get('/api/lineas')\n .then(response => {\n commit('setLines', response.data.data);\n }).catch((error) => {\n console.error(error);\n });\n}\n\n/**\n * Obtener marcas.\n */\nexport async function fetchBrands({commit}) {\n\n await $http.get('/api/marcas')\n .then(response => {\n commit('setBrands', response.data.data);\n }).catch((error) => {\n console.error(error);\n });\n}\n\n/**\n * Crear o actualizar documento.\n */\nexport async function updateOrCreateDocument({commit, state, dispatch}) {\n\n let copy_document = JSON.parse(JSON.stringify(state.document));\n\n const allowed = ['contact_id',\n 'vouchertype_id',\n 'warehouse_id',\n 'model_id',\n 'consecutive',\n 'document_date',\n 'document_last_state',\n 'issue_date',\n 'branchoffice_id',\n 'branchoffice_warehouse_id',\n 'operationType_id',\n 'in_progress',\n 'name',\n 'seller_id'\n ];\n\n const document = Object.keys(copy_document)\n .filter(key => allowed.includes(key))\n .reduce((obj, key) => {\n obj[key] = copy_document[key];\n return obj;\n }, {});\n\n let branch_office_id = localStorage.getItem('selected_branchoffice');\n let branch_office_warehouse_id = localStorage.getItem('selected_branchoffice_warehouse');\n\n document.branchoffice_id = Number(branch_office_id);\n document.branchoffice_warehouse_id = Number(branch_office_warehouse_id);\n\n if (state.model.contact_warehouse_point_of_sale) {\n document.contact_id = state.model.contact_warehouse_point_of_sale.contact_id;\n } else {\n document.contact_id = state.document.contact_id;\n }\n\n document.model_id = state.model.id;\n document.vouchertype_id = state.model.voucherType_id;\n document.in_progress = true;\n\n commit('setOriginalDocumentId', null);\n\n await $http.post('/api/crear-o-actualizar-documento?is_point_sale=true', document)\n .then(async response => {\n commit('setFinishedDocument', false);\n commit('setAllowRollback', false);\n commit('setDocument', response.data.data);\n\n if (!!state.document.seller_id) {\n const seller = state.sellers.find(s => s.id === state.document.seller_id);\n\n if (seller) {\n commit('setSeller', seller);\n }\n }\n\n if (response.data.data.contact) {\n commit('setContact', response.data.data.contact);\n }\n\n commit('resetProduct');\n\n await dispatch('fetchProducts');\n\n }).catch((error) => {\n commit('setFinishedDocument', false);\n commit('setAllowRollback', false);\n\n MessageBox.confirm(error.response.data.message, 'Error al inicializar el documento', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n/**\n * Crear document product.\n */\nexport async function addDocumentProduct({commit, state, dispatch}, document_product) {\n\n if (state.cancel != null) {\n state.cancel();\n }\n\n let data = document_product;\n data.force_recalculate = !!state.edit_mode;\n\n await $http.post('/api/productos-documento' + '?is_point_sale=true', data, {\n cancelToken: new CancelToken(function executor(c) {\n state.cancel = c;\n })\n }).then(async response => {\n commit('setDocument', response.data.data);\n }).catch((error) => {\n console.error(error);\n\n commit('setDocument', error.response.data.data);\n\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n/**\n * Obtener documento.\n */\nexport async function getDocument({commit, state, dispatch}, return_model_id = null) {\n\n let params = {\n model_id: state.model.id,\n force_recalculate: !!state.edit_mode\n };\n\n commit('setPreloader', true);\n\n await $http.get('/api/documento-por-id/' + state.document.id + '?is_point_sale=true', {params})\n .then(async response => {\n\n let document = response.data.data;\n\n if (return_model_id) {\n let voucher_type = await dispatch('getVoucherType', return_model_id);\n\n if (voucher_type) {\n document.prefix = voucher_type.prefix;\n document.consecutive = voucher_type.consecutive_number;\n }\n }\n\n if (!!document.contact) {\n document.contact.city = {};\n\n commit('setContact', document.contact);\n }\n\n if (!!document.seller && !state.seller.id) {\n commit('setSeller', document.seller);\n }\n\n commit('setDocument', document);\n commit('setPreloader', false);\n }).catch((error) => {\n commit('setPreloader', false);\n console.error(error);\n });\n\n}\n\n/**\n * Obtener documento.\n */\nexport async function getVoucherType({commit, state}, voucher_type_id) {\n\n return new Promise(async (resolve, reject) => {\n await $http.get('/api/consecutivo/' + voucher_type_id)\n .then(async response => {\n resolve(response.data);\n }).catch((error) => {\n console.error(error);\n reject(error);\n });\n });\n\n}\n\n/**\n * Borrar documento.\n */\nexport async function deleteDocument({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n\n await $http.delete('/api/carrito/' + state.document.id + '?is_point_sale=true')\n .then(async response => {\n commit('setPreloader', false);\n dispatch('updateOrCreateDocument');\n\n Notification.success({\n title: 'Muy bien!',\n message: 'El documento se ha borrado exitosamente',\n type: 'success',\n duration: 4000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Obtener documentos guardados.\n */\nexport async function fetchDocumentsSaved({commit, state}) {\n commit('setPreloader', true);\n\n let params = state.params_documents;\n\n params.vouchertype_id = state.document.vouchertype_id;\n params.branchoffice_id = state.document.branchoffice_id;\n params.branchoffice_warehouse_id = state.document.branchoffice_warehouse_id;\n\n await $http.get('/api/documentos-guardados', {params})\n .then(async response => {\n commit('setDocuments', response.data.data);\n commit('setPreloader', false);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Obtener documentos con solicitud de despacho.\n */\nexport async function fetchDocumentsWithDispatchRequest({commit}) {\n await $http.get('/api/documentos-solicitud-despacho')\n .then(async response => {\n commit('setDocumentsWithDispatchRequest', response.data.data);\n }).catch((error) => {\n console.error(error);\n });\n}\n\n/**\n * Guardar documento.\n */\n\nexport async function saveDocument({commit, state, dispatch}, keys = []) {\n\n let data = {};\n\n for (let key in state.document) {\n if (keys.includes(key)) {\n data[key] = state.document[key];\n }\n }\n\n await $http.post('/api/guardar-documento/' + state.document.id + '?is_point_sale=true', data)\n .then(async response => {\n commit('resetDocument');\n commit('setDefaultBranchOfficeAndBranchOfficeWarehouse');\n\n const document = state.document;\n\n document.vouchertype_id = state.model.voucherType_id;\n document.model_id = state.model.id;\n document.contact_id = state.model.contact_id;\n document.operationType_id = state.model.operationType_id;\n\n if (!!state.model.contacts && !!state.model.contacts.warehouses.length) {\n document.warehouse_id = state.model.contacts.warehouses[0].id;\n }\n\n commit('setDocument', document);\n\n await dispatch('fetchModels');\n await dispatch('updateOrCreateDocument');\n\n Notification.success({\n title: 'Muy bien!',\n message: 'El documento se ha guardado exitosamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n/**\n * Guardar documento.\n */\nexport async function saveDocumentByModelChange({commit, state, dispatch}, keys = []) {\n\n let data = {};\n data['documents_information'] = {};\n\n for (let key in state.document) {\n if (key === 'documents_information') {\n for (let key_information in state.document[key]) {\n if (keys.includes('documents_information.'+key_information)) {\n data['documents_information'][key_information] = state.document[key][key_information];\n }\n }\n }\n if (keys.includes(key)) {\n data[key] = state.document[key];\n }\n }\n\n await $http.post('/api/guardar-documento/' + state.document.id + '?is_point_sale=true', data)\n .then(async response => {\n Notification.success({\n title: 'Muy bien!',\n message: 'El documento se ha guardado exitosamente',\n type: 'success',\n duration: 2000,\n customClass: 'notification-box',\n });\n\n commit('setDocument', response.data.data);\n return response;\n }).catch((error) => {\n //commit('setContact', state.document.contact);\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n throw error;\n });\n}\n\n/**\n * Actualizar lista de precios del documento.\n */\nexport async function changePriceListInDocument({commit, state}, {general_discount, show_alert, from_price_list}) {\n\n let params = {general_discount, from_price_list};\n\n commit('setPreloader', true);\n\n await $http.post(`/api/actualizar-lista-de-precios-documento/${state.document.id}/${state.params.price_list_id}?is_point_sale=true`, params)\n .then(async response => {\n commit('setPreloader', false);\n commit('setDocument', response.data.data);\n\n if (show_alert) {\n if (general_discount) {\n await MessageBox.confirm('Descuento general aplicado', 'Muy bien!', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'success',\n customClass: 'notification-success'\n });\n } else {\n await MessageBox.confirm('Se revalorizaron los productos cargados al documento con la lista de precios del Cliente', 'Muy bien!', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'success',\n customClass: 'notification-success'\n });\n }\n }\n }).catch((error) => {\n commit('setPreloader', false);\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n throw error;\n });\n}\n\n/**\n * Borrar producto del documento.\n */\nexport async function deleteDocumentDocumentProduct({commit, state, dispatch}, document_product_id) {\n\n commit('setPreloader', true);\n\n await $http.delete('/api/items-carrito/' + document_product_id + '?is_point_sale=true&force_recalculate=' + !!state.edit_mode)\n .then(async response => {\n commit('setPreloader', false);\n dispatch('getDocument');\n\n Notification.success({\n title: 'Muy bien!',\n message: 'El producto se ha borrado exitosamente',\n type: 'success',\n duration: 4000,\n customClass: 'notification-box',\n });\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n throw error;\n });\n}\n\n\n/**\n * Finalizar documento\n */\nexport async function finalizeDocument({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n\n let copy_document = JSON.parse(JSON.stringify(state.document));\n\n const allowed = ['contact_id',\n 'vouchertype_id',\n 'warehouse_id',\n 'model_id',\n 'document_date',\n 'document_last_state',\n 'issue_date',\n 'operationType_id',\n 'name',\n 'seller_id',\n 'observation'\n ];\n\n const document = Object.keys(copy_document)\n .filter(key => allowed.includes(key))\n .reduce((obj, key) => {\n obj[key] = copy_document[key];\n return obj;\n }, {});\n\n document.model_id = state.model.id;\n document.in_progress = true;\n document.document_id = state.document.id;\n document.consecutive = null;\n document.user_id_authorizes = state.params.user_id_authorizes;\n document.authorize_discount_user_id = state.params.authorize_discount_user_id;\n document.user_id_authorize_wallet_payments_methods = state.user_id_authorize_wallet_payments_methods;\n\n return new Promise(async (resolve, reject) => {\n if (!state.document.documents_products.some(dp => dp.quantity > 0) && state.doc_for_prods_without_avail) {\n resolve(null);\n commit('resetUserAuthentication');\n } else {\n await $http.post('/api/finalizar-documento' + '?is_point_sale=true', document)\n .then(async response => {\n commit('setPreloader', false);\n\n Notification.success({\n title: 'Muy bien!',\n message: 'El documento se ha finalizado exitosamente',\n type: 'success',\n duration: 4000,\n customClass: 'notification-box',\n });\n\n commit('setDocument', response.data.data);\n\n resolve(response.data.data);\n }).catch((error) => {\n commit('setPreloader', false);\n\n const subscriber = JSON.parse(localStorage.getItem('subscriber'));\n\n const is_ventas = subscriber && subscriber.identification === '800198348';\n\n if (is_ventas && !!error.response.data.data.data && error.response.data.data.type === 'stock') {\n console.error(error.response.data.data);\n commit('setPassInventoryValidationToDocumentsProducts', error.response.data.data.data);\n }\n\n\n MessageBox.confirm(error.response.data.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n\n reject(error);\n }).finally(() => {\n commit('resetUserAuthentication');\n });\n }\n });\n}\n\n/**\n * Eliminar documents products.\n */\nexport async function deleteDocumentsProducts({commit, state, dispatch}, documents_products_ids) {\n\n let params = {\n documents_products_ids\n };\n\n await $http.delete(`/api/eliminar-productos-documento?is_point_sale=true`, {params})\n .then(response => {\n commit('deleteItemsDocumentsProducts', documents_products_ids);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: 'Error al eliminar el elemento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Finalizar segundo documento\n */\nexport async function createAndFinalizeDocument({commit, state}) {\n commit('setPreloader', true);\n\n await $http.post('/api/crear-documento-finalizar?is_point_sale=true', state.doc_for_prods_without_avail)\n .then(async response => {\n commit('setPreloader', false);\n commit('setUrlPdf', getApiDomain() + response.data.data.invoice_link);\n commit('setShowToModalPdf', true);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Generar pdf\n */\nexport async function generatePdf({commit, state, dispatch}, id = null) {\n\n let document_id = state.document.id;\n\n if (!!id) {\n document_id = id;\n }\n\n commit('setPreloader', true);\n\n await $http.get('/api/pdf/' + document_id)\n .then(async response => {\n commit('setPreloader', false);\n commit('setUrlPdf', getApiDomain() + response.data.data.pdf);\n commit('setShowToModalPdf', true);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Generar pdf Ticket\n */\nexport async function generatePdfTicket({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/pdf-lite/' + state.document.id)\n .then(async response => {\n commit('setPreloader', false);\n commit('setUrlPdf', response.data.data.pdf);\n commit('setShowToModalPdf', true);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Validar existencia.\n */\nexport async function validateExistencesByDocumentId({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n\n await $http.get('/api/validar-inventario-documento/' + state.document.id)\n .then(async response => {\n commit('setPreloader', false);\n commit('setPassInventoryValidationToDocumentsProducts', response.data.data);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\n/**\n * Validar existencia.\n */\nexport async function validateExistencesByDocumentProductId({commit, state, dispatch}, document_product) {\n\n return new Promise(async (resolve, reject) => {\n\n commit('setPreloader', true);\n\n let params = document_product;\n\n await $http.get('/api/consulta-existencias', {params})\n .then(async response => {\n commit('setPreloader', false);\n\n resolve(response.data.data);\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n reject();\n });\n });\n}\n\n/**\n * Reversar operación\n */\nexport async function reverseOperation({commit, state, dispatch}, document) {\n\n commit('setPreloader', true);\n commit('setReverseMode', true);\n\n await $http.post('/api/reversar-operacion/' + document.id + '?is_point_sale=true', document)\n .then(async response => {\n commit('setPreloader', false);\n\n if (response.data.data.code === '200') {\n\n Notification.success({\n title: 'Muy bien!',\n message: 'La operación se ha reversado exitosamente',\n type: 'success',\n duration: 4000,\n customClass: 'notification-box',\n });\n\n commit('setPrintTemplateIdToModel', document.model.printing_format_point_of_sale_id);\n commit('setDocument', response.data.data.data);\n }\n\n }).catch((error) => {\n commit('setPreloader', false);\n\n MessageBox.confirm(error.response.data.message, 'Error', {\n confirmButtonText: 'Aceptar',\n confirmButtonClass: 'btn-danger',\n showCancelButton: false,\n type: 'error',\n customClass: 'notification-error'\n });\n });\n}\n\n\n/**\n * Copiar documento\n */\nexport async function copyDocument({commit, state, dispatch}) {\n\n commit('setPreloader', true);\n commit('setReverseMode', false);\n\n await $http.post('/api/copiar-documento/' + state.original_document_id + '?is_point_sale=true')\n .then(async response => {\n commit('setOriginalDocumentId', null);\n commit('setPreloader', false);\n commit('setDocument', response.data.data);\n commit('setContact', response.data.data.contact);\n commit('setSeller', response.data.data.seller);\n\n Notification.success({\n title: 'Muy bien!',\n message: 'El documento se ha creado exitosamente',\n type: 'success',\n duration: 4000,\n customClass: 'notification-box',\n });\n\n }).catch((error) => {\n console.error(error);\n commit('setPreloader', false);\n });\n}\n\nexport async function updateDocumentValues({commit, state}) {\n let data = {\n document_id: state.document.id,\n model_id: state.model.id,\n warehouse_id: state.document.warehouse_id,\n };\n\n commit('setPreloader', true);\n\n await $http\n .post('/api/documento/actualizar-valores/', data)\n .then(response => {\n commit('setPreloader', false);\n })\n .catch(error => {\n console.error(error);\n commit('setPreloader', false);\n Notification.error({\n title: '¡Error!',\n message: 'Error al actualizar los valores del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener vendedores\n */\nexport async function fetchSellers({commit, state}, text = '') {\n let params = {filter: text};\n await $http.get('/api/lista-vendedores', {params})\n .then((response) => {\n commit('setSellers', response.data.data);\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box',\n });\n });\n}\n\n/**\n * Obtiene un documento nuevo creado con base en el documento base\n */\nexport async function createDocumentFromBase({commit, state}, document) {\n let params = {\n document_id: document.id,\n vouchertype_id: state.model.voucherType_id,\n model_id: state.model.id,\n branchoffice_id: document.branchoffice_id,\n branchoffice_warehouse_id: document.branchoffice_warehouse_id,\n additional_documents: document.additional_documents\n };\n\n await $http.post('/api/documentos-inventario?is_point_sale=true', params)\n .then(response => {\n\n let document = response.data;\n\n commit('setDocument', document);\n\n if (document.contact) {\n document.contact.city = {};\n commit('setContact', document.contact);\n }\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener el detalle de un producto\n */\nexport async function getProductDetail({commit, state, rootState}, product_id) {\n let params = {\n params: {\n branchoffice_id: state.document.branchoffice_id\n }\n };\n\n await $http\n .get(\n '/api/calcular-precio/' + state.document.warehouse_id + '/' + product_id,\n params\n )\n .then(response => {\n commit('setProductDetail', response.data.data);\n })\n .catch(error => {\n });\n}\n\n/**\n * Obtener datos de un producto.\n */\nexport async function getProductsDataSheets({commit, dispatch, state}, id) {\n await $http\n .get(`/api/productos-ficha-datos/${id}`)\n .then(response => {\n commit('setDataSheets', response.data);\n })\n .catch(error => {\n Notification.error({\n title: '¡Error!',\n message: error.response.data.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n/**\n * Obtener suscriptor.\n */\nexport async function getSubscriber({commit, dispatch, state}) {\n await $http\n .get(`/api/suscriptor`)\n .then(response => {\n commit('setSubscriber', response.data.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Obtener listas de precios\n */\nexport async function fetchPriceLists({commit, state}) {\n if (!state.price_lists.length) {\n await $http.get(`/api/parametros-por-codigo/LDP?sort_by=code_parameter`)\n .then((response) => {\n commit('setPriceLists', response.data.data);\n })\n .catch((error) => {\n console.error(error);\n });\n }\n}\n\n/**\n * Obtener precios\n */\nexport async function fetchPrices({commit, state}, product_id) {\n\n const params = {\n product_id,\n contact_warehouse_id: state.document.warehouse_id,\n all: 1\n };\n\n await $http.get(`/api/precio-producto-lista-precios`, {params})\n .then((response) => {\n commit('setPrices', response.data.data);\n })\n .catch((error) => {\n console.error(error);\n });\n\n}\n\n/**\n * Obtener los tipos de productos.\n */\nexport async function fetchTypes({commit, state}) {\n await $http\n .get('/api/parametros-por-codigo/118')\n .then(response => {\n commit('setTypes', response.data.data);\n })\n .catch(error => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\nexport async function fetchDocumentsByThread({commit, state}, thread_id) {\n await $http\n .get('/api/back-order/' + thread_id)\n .then(response => {\n commit('setDocumentsByThread', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al actualizar los valores del documento.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n// Obtener cartera del cliente\nexport async function getBalanceByContactId({commit, state}) {\n await $http\n .get(`/api/cartera/${state.contact.id}`)\n .then(response => {\n commit('setBalancePayable', response.data);\n })\n .catch(error => {\n console.error(error);\n });\n}\n\n/**\n * Obtener los usuarios con rol admin.\n */\nexport async function getUsers({commit, state}, only_admin) {\n /*if (!!state.users.length) {\n return;\n }*/\n\n let roles = 'superadmin;DIRECTOR CALL CENTER;GERENTE COMERCIAL';\n\n if (only_admin) {\n roles = 'superadmin';\n }\n\n await $http\n .get(`/api/usuarios-por-rol/${roles}`)\n .then(response => {\n commit('setUsers', response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al obtener los usuarios.',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n}\n\n\n/**\n * Validar contraseña de usuario autenticador.\n */\nexport async function validatePassword({commit, state}, data) {\n return new Promise(async (resolve, reject) => {\n await $http\n .post('/api/validar-contrasena', data)\n .then(response => {\n resolve(true);\n })\n .catch(error => {\n reject(false);\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Contraseña incorrecta',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n });\n });\n}\n\n\n/**\n * Validar orden de compra.\n */\nexport async function validateBuyOrder({commit, state}) {\n return new Promise(async (resolve, reject) => {\n\n let params = {\n id: state.document.id,\n contact_id: state.document.contact_id,\n buy_order: state.document.buy_order ? state.document.buy_order.toString() : ''\n };\n\n await $http\n .get('/api/validar-orden-de-compra', {params})\n .then(response => {\n resolve(response.data.data);\n })\n .catch(error => {\n console.error(error);\n Notification.error({\n title: '¡Error!',\n message: 'Error al validar la orden de compra',\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n });\n reject(false);\n });\n });\n}\n\n/**\n * Calcula la cartera de un tercero en base a un documento\n * @param commit\n * @param state\n * @param dispatch\n * @param return_model_id\n * @returns {Promise}\n *\n * @author Oscar Sabogal\n */\nexport async function calculateWalletProblem({commit, state, dispatch}) {\n\n let params = {\n document_id: state.document.id\n };\n\n await $http.get('/api/calculate-wallet-problem' + '?is_point_sale=true', {params})\n .then(async response => {\n console.log(response);\n }).catch((error) => {\n MessageBox.alert(error.response.data.message, 'Error!', {\n dangerouslyUseHTMLString: true,\n confirmButtonText: 'Aceptar',\n type: 'error',\n customClass:'notification-error'\n });\n });\n}\n\n/**\n * Validar estado factura de un documento de factura\n *\n * @param commit\n * @param state\n * @param dispatch\n * @param return_model_id\n * @returns {Promise}\n *\n * @author Oscar Sabogal\n */\nexport async function validateStatusSalesDocument ({commit, state, dispatch}, {contact_id, warehouse_id, document_id, model_id, edit_mode}) {\n\n let params = {\n document_id: document_id,\n model_id: model_id,\n contact_id: contact_id,\n warehouse_id: warehouse_id,\n edit_mode: edit_mode\n };\n\n return await $http.get('/api/validar-estado-facturado-documento' + '?is_point_sale=true', {params})\n .then(async response => {\n return true;\n }).catch(async (error) => {\n return await MessageBox.confirm(error.response.data.data.message, 'Error', {\n confirmButtonText: 'Si',\n cancelButtonText: 'No',\n confirmButtonClass: 'btn-danger',\n showCancelButton: true,\n type: 'error',\n customClass: 'notification-error',\n dangerouslyUseHTMLString: true,\n })\n .then(() => {\n return true;\n })\n .catch(() => {\n return false;\n })\n });\n}\n\n\n// WEBPACK FOOTER //\n// ./src/point_of_sale/modules/point_of_sale/actions.js","import {documentProduct} from './state';\n\nexport function setDespatchInvoiceList(state, data) {\n state.despatchInvoiceList = data;\n}\n\nexport function setContactBranchoffice(state, data) {\n let contact_branchoffices = [];\n state.contact_branchoffices = [];\n data.data.map((element) => {\n if (element.warehouse) {\n if (!contact_branchoffices.find((el) => element.warehouse.branchoffice_id == el.id)) {\n if (element.warehouse.branchoffice) {\n contact_branchoffices.push(element.warehouse.branchoffice);\n }\n }\n }\n });\n\n state.contact_branchoffices = contact_branchoffices;\n\n}\n\nexport function setDespatchInvoiceTable(state, data) {\n data.data.map((val, index_val) => {\n val.pack_off = false;\n val.documents_products = [];\n // // Recorremos los productos de la factura\n // val.documents_products.map((dp, index_dp) => {\n // dp.products_lots = {\n // id: null,\n // documents_products_id: dp.id,\n // num_lot: null,\n // expiration_date: null\n // };\n // });\n });\n\n // Agregamos los datos de la tabla\n state.tableDespatch.data = data.data;\n\n // Quitamos los valores de la tabla del arreglo\n delete data.data;\n\n // Agregamos los datos de la paginacion\n state.tableDespatch.pagination = data;\n}\n\nexport function setParametersZone(state, data) {\n state.contactZone = data;\n}\n\nexport function setconyevors(state, conyevors) {\n state.conyevors = conyevors;\n}\n\nexport function setDocumentsProductsLot(state, data) {\n // Vaciamos el contenido\n state.tableDocumentsProductsLot.data = [];\n\n // Recorremos los datos de despachos\n state.tableDespatch.data.map((d, index) => {\n // Recorremos los productos de la factura\n d.documents_products.map((dp, index) => {\n // Validamos si existe\n var find = state.tableDocumentsProductsLot.data.find(\n dd => dd.id == dp.id\n );\n if (find !== undefined) return false;\n if (dp.product.line.line_code != '1155') return false;\n if (!d.pack_off) return false;\n\n dp.products_lots.num_lot = null;\n state.tableDocumentsProductsLot.data.push(dp);\n });\n });\n\n // Recorremos el objeto para agregar las marcas\n state.tableDocumentsProductsLot.data.map((dpl, index_dpl) => {\n var find = state.tableDocumentsProductsLot.brands.find(\n db => db.id == dpl.product.brand.id\n );\n if (find !== undefined) return;\n\n state.tableDocumentsProductsLot.brands.push({\n id: dpl.product.brand.id,\n description: dpl.product.brand.description\n });\n });\n}\n\nexport function setConsecutiveProductLot(state, data) {\n // Variables\n var consecutive = Number(\n state.tableDocumentsProductsLot.dataFilter[0].products_lots.num_lot\n );\n\n // Validamos que el indice sea 0\n if (consecutive == 0) return;\n\n // Realizamos el sonsecutivo\n for (let i = 0; i < state.tableDocumentsProductsLot.dataFilter.length; i++) {\n state.tableDocumentsProductsLot.dataFilter[\n i\n ].products_lots.num_lot = consecutive;\n consecutive++;\n }\n}\n\nexport function setExpirationDateProductLot(state) {\n // Variables\n var expiration_date =\n state.tableDocumentsProductsLot.dataFilter[0].products_lots.expiration_date;\n\n // Validar\n if (expiration_date == null || expiration_date == '') return;\n\n // Asignamos el valor\n\n state.tableDocumentsProductsLot.dataFilter.map((df, index) => {\n df.products_lots.expiration_date = expiration_date;\n });\n}\n\nexport function searchProductLotByBrand(state, e) {\n /*state.tableDocumentsProductsLot.data.map((dpl, index_dpl) => {\n dpl.products_lots.num_lot = null;\n })*/\n\n var data = state.tableDocumentsProductsLot.data.filter((dpl, index_dpl) => {\n return dpl.product.brand.id == e;\n });\n\n state.tableDocumentsProductsLot.dataFilter = data;\n}\n\nexport function setColumnTableDespatch(state, visible) {\n let fields = [\n {\n key: 'detail',\n label: ''\n },\n {\n key: 'document_date',\n label: 'Fecha',\n thStyle: {\n 'min-width': '100px !important'\n }\n },\n {\n key: 'consecutive',\n label: 'Numero Documento'\n },\n {\n key: 'document_date',\n label: 'Factura'\n },\n {\n key: 'contact.name',\n label: 'Cliente'\n },\n {\n key: 'contact.address',\n label: 'Direccion'\n },\n {\n key: 'total_value',\n label: 'Vr-total'\n },\n // {\n // key: \"warehouse.zone_despatch_id\",\n // label: \"Zona\",\n // variant: \"success\"\n // },\n {\n key: 'contact_city',\n label: 'Ciudad'\n },\n {\n key: 'documents_information.protractor',\n label: 'Transportador',\n variant: 'success'\n },\n {\n key: 'documents_information.guide_number',\n label: 'Numero de guia',\n variant: 'success'\n },\n {\n key: 'number_stickers',\n label: 'Numero de cajas',\n variant: 'success'\n },\n {\n key: 'documents_information.delivery_observation',\n label: 'Obs Despacho',\n variant: 'success'\n },\n {\n key: 'documents_information.invoice_filed',\n label: 'Factura Radicada',\n thClass:\n visible ? '' : 'd-none',\n tdClass: visible ? '' : 'd-none'\n },\n {\n key: 'actions',\n label: 'Opciones',\n thClass:\n state.tableDespatch.options.state == 'DESPACHADO' ? '' : 'd-none',\n tdClass: state.tableDespatch.options.state == 'DESPACHADO' ? '' : 'd-none'\n }\n ];\n\n state.tableDespatch.fields = fields;\n}\n\nexport function setDateRangeParam(state) {\n // Seteamos la fecha\n var dt = new Date();\n\n // Fecha Actual\n\n state.tableDespatch.options.date[1] = dt.toISOString().substring(0, 10);\n\n //Hace 30 Dias\n dt.setDate(dt.getDate() - 1);\n state.tableDespatch.options.date[0] = dt.toISOString().substring(0, 10);\n}\n\nexport function setloading_print_sticker(state, loading_print_sticker) {\n state.loading_report_butons.print_sticker = loading_print_sticker;\n}\n\nexport function setContacts(state, contacts) {\n state.contacts = contacts;\n}\n\nexport function setStates(state, states) {\n state.states = states;\n}\n\nexport function setInvoices(state, invoices) {\n state.invoices = invoices;\n}\n\nexport function setStateDespatchIdFilters(state, state_despatch_id) {\n state.params.state_despatch_id = state_despatch_id;\n}\n\nexport function setModalPackingShow(state, show) {\n state.modal_packing.show = show;\n}\n\n/**\n * Establecer un valor para la variable invoice.\n */\nexport function setInvoice(state, invoice) {\n state.invoice = invoice;\n}\n\n/**\n * Establecer un valor para la variable document_product.\n */\nexport function setDocumentProduct(state, document_product) {\n state.document_product = document_product;\n}\n\n/**\n * Establecer el valor por defecto a la variable document_product.\n */\nexport function resetDocumentProduct(state) {\n state.document_product = documentProduct();\n}\n\n/**\n * Establecer un valor para la variable preloader.\n */\nexport function setPreloader(state, preloader) {\n state.preloader = preloader;\n}\n/**\n * Establecer un valor para la variable stickers.\n */\nexport function setStickers(state, stickers) {\n state.stickers = stickers;\n}\nexport function setDocumentProductModal(state,data){\n state.document_product_modal = data;\n}\n\nexport function calculateTotalsDocument(state){\n\n let iva = 0;\n let brut = 0;\n let backQty = 0;\n let backValue = 0;\n if (state.invoice.documents_products.length > 0){\n state.invoice.documents_products.forEach(item =>{\n iva+= parseFloat(item.total_value_iva)\n brut+= parseFloat(item.total_value_brut)\n backQty+= parseFloat(item.backorder_quantity)\n backValue+= parseFloat(item.backorder_value)\n })\n }\n state.invoice.total_value_iva = iva;\n state.invoice.total_value_brut = brut;\n state.invoice.total_value = brut + iva;\n state.invoice.backorder_quantity = backQty;\n state.invoice.backorder_value = backValue;\n\n}\nexport function addDocumentProdcut(state,dp){\n state.invoice.documents_products.push(dp);\n}\nexport function updateDocumentProdcut(state, dp){\n let document_products = state.invoice.documents_products.filter(el => el.id !== dp.id);\n document_products.push(dp)\n state.invoice.documents_products = document_products\n}\n\nexport function deleteDocumentProdcut(state, id){\n let document_products = state.invoice.documents_products.filter(el => el.id !== id);\n state.invoice.documents_products = document_products\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/despatch-packing/mutations.js","export const defaultSelectedContact = () => {\n let user = localStorage.getItem(\"user\");\n\n let user_as_json = null;\n\n let subscriber_id = null;\n\n if (user) {\n user_as_json = JSON.parse(user);\n subscriber_id = user_as_json.subscriber_id;\n }\n\n return {\n id: null,\n erp_id: null,\n subscriber_id: subscriber_id,\n identification_type: \"\",\n identification: \"\",\n check_digit: \"\",\n name: \"\",\n surname: \"\",\n birthdate: \"\",\n gender: \"\",\n city_id: \"\",\n address: \"\",\n stratum: \"\",\n code_ciiu: \"\",\n main_telephone: \"\",\n secondary_telephone: \"\",\n fax: \"\",\n cell_phone: \"\",\n email: \"\",\n email_electronic_invoice: \"\",\n web_page: \"\",\n latitude: \"\",\n length: \"\",\n is_customer: 0,\n is_provider: 0,\n is_employee: 0,\n is_other: 0,\n class_person: \"\",\n taxpayer_type: \"\",\n tax_regime: \"\",\n declarant: 0,\n self_retainer: 0,\n observations: \"\",\n tradename: \"\",\n ERP_code: null,\n state:1,\n country_id:null,\n customer: {\n contact_id: 0,\n category_id: \"\",\n seller_id_1: \"\",\n seller_id_2: \"\",\n callcenter_advisor_id: \"\",\n point_of_sale_id: \"\",\n electronic_invoice_shipping: 0,\n b2b_portal_access: 0,\n priority: \"\",\n price_list_id: \"\",\n zone_id: \"\",\n percentage_discount: \"\",\n trade_classification_id: \"\",\n credit_quota: \"\",\n expiration_date_credit_quota: \"\",\n days_soon_payment_1: \"\",\n percentage_soon_payment_1: \"\",\n days_soon_payment_2: \"\",\n percentage_soon_payment_2: \"\",\n days_soon_payment_3: \"\",\n percentage_soon_payment_3: \"\",\n last_purchase: \"\",\n blocked: 0,\n observation: \"\",\n logo: \"\",\n retention_source: 0,\n retention_iva: 0,\n retention_ica: 0,\n date_financial_statement: \"\",\n assets: \"\",\n liabilities: \"\",\n heritage: \"\",\n code_ica_id: \"\",\n aut_rep_cent_riesgo: null,\n wallet_account_id: \"\",\n required_purchase_order: null,\n observation_customer_commerce: ''\n },\n provider: {\n contact_id: 0,\n category_id: \"\",\n seller_id: \"\",\n point_of_sale_id: \"\",\n percentage_commision: \"\",\n contract_number: \"\",\n price_list_id: \"\",\n priority: \"\",\n percentage_discount: \"\",\n credit_quota: \"\",\n expiration_date_credit_quota: \"\",\n days_soon_payment_1: \"\",\n percentage_soon_payment_1: \"\",\n days_soon_payment_2: \"\",\n percentage_soon_payment_2: \"\",\n days_soon_payment_3: \"\",\n percentage_soon_payment_3: \"\",\n replacement_days: \"\",\n electronic_order: 0,\n update_shopping_list: 0,\n calculate_sale_prices: 0,\n last_purchase: \"\",\n observation: \"\",\n blocked: 0,\n logo: \"\",\n retention_source: 0,\n percentage_retention_source: \"\",\n retention_iva: 0,\n percentage_retention_iva: \"\",\n retention_ica: 0,\n percentage_retention_ica: \"\",\n code_ica_id: \"\",\n payment_bank_id: \"\",\n account_type: \"\",\n account_number: \"\",\n accounting_concepts_ids: [],\n causation_voucher_type_id: null,\n manages_referral: 0,\n ultra_processed_tax: 0,\n referral_voucher_type_id: null\n },\n employee: {\n contact_id: 0,\n category_id: \"\",\n cost_center_id: \"\",\n contract_number: \"\",\n percentage_commision: \"\",\n position_id: \"\",\n observation: \"\",\n photo: \"\",\n order_minimum_ammount: \"\",\n seller_zone_id: \"\"\n },\n contact_other: {\n contact_id: 0,\n category_id: \"\",\n observations: \"\"\n },\n city: {\n department_id: \"\"\n },\n lines: \"\",\n\n physical_file_number: null,\n pay_days: null,\n user_update: null,\n contact_date_update: \"\",\n contact_user_update: null,\n };\n};\n\nexport const defaultContacts = () => {\n return {\n data: [],\n total: 1\n };\n};\n\nexport default {\n countries:[],\n contacts: [],\n audit_contacts: [],\n selectedContact: defaultSelectedContact(),\n error: false,\n errorMessage: \"\",\n action: \"create\",\n actionWarehouse: \"create\",\n actionClerk: \"create\",\n actionDocument: \"create\",\n contactEdit: null,\n loading: {\n module:false,\n },\n identificationTypes: [], //Tipos de identificación\n departments: [],\n cities: [],\n pointsOfSale: [], // Puntos de venta\n personClasses: [], // Clases de persona\n taxpayerTypes: [], // Tipos de contribuyente\n taxRegimes: [], // Regimenes contributivos\n\n categoriesCustomers: [], // Categorías de clientes\n tradeClassificationCustomers: [], // Clasificacion comercial de clientes\n sellersCustomers: [], // Vendedores de clientes\n priceListsCustomers: [], // Listas de precios de clientes\n zones: [], // Zonas\n\n categoriesProviders: [], // Categorías de proveedores\n sellersProviders: [], // Vendedores de proveedores\n priceListsProviders: [], // Listas de precios de proveedores\n paymentBanks: [], // Bancos de pago\n\n categoriesEmployees: [], // Categorías de empleados\n costCenters: [], // Centros de costos de empleados\n sellerZones: [], // Zonas de vendedores\n positions: [], // Cargos de empleados\n\n categoriesOthers: [],\n\n fiscalResponsibilitys: [], //Responsabilidades fiscales\n icaCodes: [], // Códigos de ICA para clientes y proveedores\n\n is_customer: false,\n is_provider: false,\n is_employee: false,\n customerCategories: [],\n providerCategories: [],\n employeeCategories: [],\n\n getContactEdit: true,\n\n lines: [],\n\n parameters: [\n { paramtable_id: 1, tooltip: \"\" },\n { paramtable_id: 2, tooltip: \"\" },\n { paramtable_id: 3, tooltip: \"\" },\n { paramtable_id: 4, tooltip: \"\" },\n { paramtable_id: 5, tooltip: \"\" },\n { paramtable_id: 6, tooltip: \"\" },\n { paramtable_id: 7, tooltip: \"\" },\n { paramtable_id: 8, tooltip: \"\" },\n { paramtable_id: 9, tooltip: \"\" },\n { paramtable_id: 10, tooltip: \"\" },\n { paramtable_id: 95, tooltip: \"\" },\n { paramtable_id: 96, tooltip: \"\" }\n ],\n\n params: {\n is_customer: false,\n is_provider: false,\n is_employee: false,\n filter_customer: [],\n filter_provider: [],\n filter_employee: [],\n paginate: true,\n page: 1,\n perPage: 50,\n query: \"\",\n sortBy: \"name\",\n sort: \"ASC\"\n },\n auditContacts: [],\n contactFromVariousVouchers: {\n setcontact: false,\n contact: null\n },\n contactsModal: [],\n downloadExcelDataCreditLoading: false,\n contactsSelect:[],\n wallet_accounts:[],\n voucher_types: [],\n concepts: [],\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contacts/state.js","import moment from 'moment';\n\nexport const params = () => {\n return {\n filter: '',\n mode: 1,\n brand_id: null,\n line_id: null,\n type_id: null,\n contact_id: null,\n contact_warehouse_id: null,\n price_list_id: null,\n branch_office_id: null,\n with_existences: true,\n branch_office_warehouse_id: null,\n ultra: false,\n user_id_authorizes: null,\n discount_percentage_customer: null,\n authorize_discount_user_id: null,\n };\n};\n\nexport const params_documents = () => {\n return {\n page: 1,\n per_page: 10\n };\n};\n\nexport const product = () => {\n return {\n id: null,\n code: '',\n description: null,\n percentage_sale: null,\n stock: null,\n price: 0,\n total_value: 0\n };\n};\n\nexport const product_detail = () => {\n return {\n id: null,\n code: null,\n description: null,\n percentage_sale: null,\n stock: null,\n price: 0,\n total_value: 0,\n products_attachments: []\n };\n};\n\nexport const document_product = () => {\n return {\n unit_value_list: null,\n document_product_id: null,\n is_benefit: null,\n quantity: null,\n original_quantity: null,\n model_id: null,\n price_list_id: null,\n percentage_discount: null,\n seller_id: null,\n promotion_id: null,\n document_id: null,\n product_id: null,\n contact_id: null,\n manage_inventory: null,\n physical_unit: null,\n unit_value_before_taxes: null,\n discount_value: 0,\n discount_value_us: 0,\n description: null,\n total_value_iva: null,\n total_value_brut: null,\n total_value_brut_us: 0,\n inventory_cost_value_unit: null,\n account_id: null,\n operationType_id: null,\n product: {}\n };\n};\n\nexport const document = () => {\n return {\n contact_id: null,\n vouchertype_id: null,\n warehouse_id: null,\n model_id: null,\n consecutive: 1,\n document_date: moment().format('YYYY-MM-DD HH:mm:ss'),\n document_last_state: moment().format('YYYY-MM-DD'),\n issue_date: moment().format('YYYY-MM-DD'),\n branchoffice_id: null,\n branchoffice_warehouse_id: null,\n operationType_id: null,\n in_progress: true,\n name: null,\n documents_products: [],\n taxes: [],\n seller_id: null,\n vouchertype: {},\n observation: '',\n buy_order: '',\n general_discount: null,\n documents_information: {\n delivery_observation: '',\n delivery_date: null\n }\n };\n};\n\nexport const selectedPrinter = () => {\n let selected_printer = localStorage.getItem('selected_printer');\n\n return {\n name: selected_printer ? selected_printer : ''\n };\n};\n\nexport default {\n models: [],\n all_models: [],\n product: product(),\n product_detail: product_detail(),\n data_sheets: [],\n model_form: {\n id: null,\n printing_format_point_of_sale_id: null\n },\n print_templates: [\n {id: 1, text: 'Carta'},\n {id: 2, text: 'Ticket'},\n ],\n voucher_type: null,\n model: {\n id: null,\n voucher_type: {\n code_voucher_type: null\n },\n model_prods_without_availability: {}\n },\n editing: false,\n contact: {},\n contact_default: {},\n seller: {},\n price_list: {},\n lines: [],\n types: [],\n brands: [],\n products: [],\n sellers: [],\n unique_product: null,\n params: params(),\n document: document(),\n documents: {data: []},\n documents_with_dispatch_request: 0,\n document_product: document_product(),\n preloader: true,\n toggle_table: true,\n params_documents: params_documents(),\n finished_document: false,\n allow_rollback: false,\n only_view: false,\n modal_mode: {\n show: false\n },\n modal_detail: {\n show: false\n },\n modal_options: {\n show: false\n },\n url_pdf: '',\n url_pdf_two: '',\n modal_pdf: {\n show: false\n },\n modal_authorization: {\n show: false\n },\n modal_finder: {\n show: true\n },\n cancel: null,\n contact_subscriber: null,\n reverse_mode: false,\n original_document_id: null,\n modal_save_restore: {\n show: false,\n saving: true,\n id: null\n },\n edit_mode: false,\n set_back_order: true,\n uvt_control: false,\n uvt_limit_value: 0,\n printers: [],\n selected_printer: selectedPrinter(),\n subscriber: {},\n price_lists: [],\n prices: [],\n documents_by_thread: [],\n selected_document_product: document_product(),\n balance_payable: 0,\n doc_for_prods_without_avail: null,\n users: [],\n defeated_balance: 0,\n key_inventory: 'stock',\n user_id_authorize_wallet_payments_methods: null,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/point_of_sale/modules/point_of_sale/state.js","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/leaflet/dist/images/marker-shadow.png\n// module id = wkq0\n// module chunks = 271","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\nimport {\n\tdefaultModalDocumentThreadHistory,\n\tdefaultModalPaymentMethods,\n\tdefaultNewContact,\n\tdefaultSelectedDocument,\n\tdefaultSelectedDocumentProduct,\n\tdefaultSelectedModel, defaultsubscriberId, defaultTableSearchGlobal\n} from '../inventory-movements/state';\nimport {emitToparent} from './mutations';\n\nexport async function getPaymentMethods({commit, state}) {\n\tawait $http\n\t\t.get(`/api/get-formas-pago`)\n\t\t.then(response => {\n\t\t\tcommit('setPaymentMethods', response.data.data);\n\t\t})\n\t\t.catch(error => {\n\t\t\tNotification.error({\n\t\t\t\ttitle: 'Error!',\n\t\t\t\tmessage: error.message,\n\t\t\t\ttype: 'error',\n\t\t\t\tduration: 2000,\n\t\t\t\tcustomClass: 'notification-box'\n\t\t\t});\n\t\t});\n}\n\nexport async function fetDocumentPaymentMethods({commit, state,dispatch}, data) {\n\t\treturn new Promise(async (resolve, reject) => {\n\n\t\tlet data_json = {\n\t\t\t'document_id': state.selected_document.id,\n\t\t\tfrom_inventory_documents : state.from_inventory_documents,\n\t\t\tfrom_accounting_documents: state.from_accounting_documents,\n\t\t\tpaymentMethods: data\n\t\t};\n\n\t\tawait $http\n\t\t\t.post('/api/documento/guardar-formas-de-pago/', data_json)\n\t\t\t.then(async response => {\n /* await dispatch('accountingDoc', state.selected_document.id)*/\n commit('setCompleteProcess', true);\n Notification.success({\n title: 'Exito!',\n message: 'Metodos de pago guardados',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n resolve();\n })\n\t\t\t.catch(error => {\n\t\t\t\tNotification.error({\n\t\t\t\t\ttitle: 'Error!',\n\t\t\t\t\tmessage: error.response.data.message,\n\t\t\t\t\ttype: 'error',\n\t\t\t\t\tduration: 2000,\n\t\t\t\t\tcustomClass: 'notification-box'\n\t\t\t\t});\n\t\t\t\treject(error)\n\t\t\t});\n\t});\n}\n\n/**\n * Contabilizar documento\n */\nexport async function postFormsOfPayment({state}) {\n\tawait $http\n\t\t.get('/api/documento/contabilizar/' + state.selected_document.id)\n\t\t.then(response => {\n Notification.success({\n title: 'Exito!',\n message: 'Metodos de pago guardados',\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n\t\t})\n\t\t.catch(error => {\n console.log(error.response.data)\n\t\t\tNotification.error({\n\t\t\t\ttitle: 'Error!',\n message: error.response.data.message,\n\t\t\t\ttype: 'error',\n\t\t\t\tduration: 2000,\n\t\t\t\tcustomClass: 'notification-box'\n\t\t\t});\n\t\t});\n}\n\n\nexport async function fetchModel({commit, state, rootState}, model_id) {\n\tlet params = {\n\t\tparams: {\n\t\t\tbranchoffice_id: localStorage.selected_branchoffice\n\t\t}\n\t};\n\n\tif (!state.selected_model) {\n\t\tawait $http\n\t\t\t.get('/api/obtener-modelo/' + model_id, params)\n\t\t\t.then(response => {\n\t\t\t\tcommit('setSelectedModel', response.data.data);\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\tNotification.error({\n\t\t\t\t\ttitle: '¡Error!',\n\t\t\t\t\tmessage: error.message,\n\t\t\t\t\ttype: 'error',\n\t\t\t\t\tduration: 1500,\n\t\t\t\t\tcustomClass: 'notification-box'\n\t\t\t\t});\n\t\t\t});\n\t} else {\n\t\tcommit('setSelectedModel', state.selected_model);\n\t}\n}\n\nexport async function fetchDocument({commit, state}, {document_id, model_id}) {\n\n\tlet params = {\n\t\tmodel_id,\n\t\t'is_modal_payment_methods' : true\n\t};\n\n\tawait $http.get('/api/documento-por-id/' + document_id, {params})\n\t\t.then(async response => {\n\t\t\tcommit('setSelectedDocument', response.data.data);\n\t\t}).catch((error) => {\n\t\t\tconsole.error(error);\n\t\t});\n}\n\nexport async function getBalance({commit, state}, params) {\n\tawait $http.get('/api/saldo-por-tercero', {params})\n\t\t.then(async response => {\n\t\t\tcommit('setBalance', response.data.data);\n\t\t}).catch((error) => {\n\t\t\tconsole.error(error);\n\t\t});\n}\n\nexport async function accountingDoc({commit, state, dispatch}, document_id){\n await $http.get(`/api/documento/contabilizar/${document_id}`)\n .then(response => {\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n });\n}\n\nexport async function reAccountingDoc({commit, state, dispatch}, document_id){\n await $http.post(`/api/documento/recontabilizar/${document_id}`)\n .then(response => {\n console.log(response);\n })\n .catch(error => {\n Notification.error({\n title: \"Error!\",\n message: error.response.data.message,\n type: \"error\",\n duration: 4500,\n customClass: \"notification-box\"\n });\n });\n}\n\n/**\n * Actualizar el usuario que actualizo la cartera del documento.\n *\n * @param commit\n * @param state\n * @param dispatch\n * @param document_id\n * @param user_id\n * @returns {Promise}\n *\n * @author Oscar Sabogal\n */\n\nexport async function updateUserAuthorized ({commit, state, dispatch}, user_id) {\n\n\tlet params = {\n\t\tuser_id_authorize_wallet_payments_methods: user_id\n\t};\n\n\tconsole.log(params);\n\n\treturn new Promise(async (resolve, reject) => {\n\t\tawait $http.put(`/api/actualizar-usuario-autorizador/${state.selected_document.id}`, params)\n\t\t\t.then(response => {\n\t\t\t\tresolve();\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\tNotification.error({\n\t\t\t\t\ttitle: \"Error!\",\n\t\t\t\t\tmessage: error.response.data.message,\n\t\t\t\t\ttype: \"error\",\n\t\t\t\t\tduration: 4500,\n\t\t\t\t\tcustomClass: \"notification-box\"\n\t\t\t\t});\n\t\t\t\treject(error);\n\t\t\t});\n\t});\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payments-methods-modal/actions.js","import $http from \"../../axios\"\nimport { Notification, MessageBox } from 'element-ui'\n\nexport async function fetchUpdateMasiveRetentions ({ commit, state },retentions) {\n let params ={\n type_contact : state.type_contact,\n retentions\n }\n await $http.post('/api/actualizar-masivo-retenciones', params).then((res) => {\n if(res.data.rows == 0){\n\n Notification.warning({\n title: '¡UPS!',\n message: `No se han encontrados registros a actualizar con la informacoin actual`,\n type: 'warning',\n duration: 1500,\n customClass: 'notification-box'\n })\n }else{\n Notification.success({\n title: '¡Success!',\n message: `Se han actualizado correctamente ${res.data.rows} Registros`,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n })\n }\n }).catch((error) => {\n Notification.error({\n title: '¡Error!',\n message: error.message,\n type: 'error',\n duration: 1500,\n customClass: 'notification-box'\n })\n });\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/update-withholdings/actions.js","export function setProducts(state, products){\n state.products = products\n}\nexport function setTypeBuild(state, tabIndex){\n state.tabIndex = tabIndex\n}\nexport function setCodeBranch(state, code_branch_office){\n state.code_branch_office = code_branch_office\n}\nexport function setBranchOffices_refactor(state, branch_offices){\n state.branch_offices = branch_offices\n}\nexport function setVoucherTypes(state, voucherTypes) {\n state.voucherTypes = voucherTypes.map(p => {\n return {\n value: p.id,\n label: p.name_voucher_type,\n code: p.code_voucher_type,\n consecutive_number: p.consecutive_number\n };\n });\n}\nexport function setDocuments(state, documents) {\n state.documents = documents.map(p => {\n return {\n value: p.id,\n label: (p.prefix && p.prefix.trim().length > 0) ? p.prefix.trim() +'-'+p.consecutive:p.consecutive,\n };\n });\n}\nexport function setNullVoucherTypeId(state, documents) {\n state.params.voucher_type_id = null;\n state.voucherTypes = [];\n}\nexport function setNullDocumentId(state, documents) {\n state.params.document_id = null;\n state.documents = [];\n}\nexport function setTypeRefactor(state, type) {\n state.params.type_refactor = type;\n}\nexport function slearState(state) {\n state.voucherTypes=[],\n state.documents=[],\n state.code_branch_office=null,\n state.params = {\n date: null,\n product_ids : [],\n voucher_type_id : null,\n branch_office_id : null,\n document_id : null,\n type_refactor : \"\",\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/rebuild/mutations.js","module.exports = \"data:audio/mpeg;base64,SUQzBAAAAAABAFRYWFg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qqqqqqqqqqqqqq\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/sounds/sound.mp3\n// module id = yvjm\n// module chunks = 271","\nexport function setPaymentMethods(state, paymentMethods){\n state.paymentMethods = paymentMethods;\n}\nexport function setSelectedModel(state, selectedModel){\n state.selected_model= selectedModel;\n}\n\nexport function modalPaymentMethodsToggle(state, from_inventory_documents = false) {\n state.show.modal_component = !state.show.modal_component;\n state.from_inventory_documents = from_inventory_documents\n}\nexport function CloseModalPaymentMethodsToggle(state) {\n state.show.modal_component = false;\n}\nexport async function validationsModalPaymentMethods(state) {\n // Eliminamos los registros vacios\n let voidModalPaymentMethods = state.data.filter(\n d =>\n !d.payment_method_id &&\n !d.authorization_number &&\n !d.check_number &&\n !d.entity &&\n !d.value\n );\n\n await Promise.all(\n voidModalPaymentMethods.map(d => {\n deleteRowModalPaymentMethodsData(state, d.id);\n })\n );\n\n if (state.selected_model.handle_payment_methods === 9) {\n if (state.data.length <= 0) {\n return false;\n }\n }\n}\nexport function deleteRowModalPaymentMethodsData(state, id) {\n let index = state.data.findIndex(d => d.id === id);\n state.data.splice(index, 1);\n}\nexport function resetModalPaymentMethodsData(state) {\n state.data = [];\n}\n\nexport function setSelectedDocument(state, selected_document) {\n //productos con promo\n selected_document.documents_products.map((dp) => {\n if (dp.promotion) {\n dp.applied_promotion = dp.promotion.description;\n }\n });\n\n state.selected_document = selected_document;\n}\n\n\nexport function setloading(state, value) {\n state.loading = value;\n}\nexport function setPaymentMethodsSend(state,paymentMethodsSend) {\n state.paymentMethodsSend = paymentMethodsSend;\n}\nexport function setCompleteProcess(state, value) {\n state.complete = value;\n}\n\n/**\n * Establecer un valor para la variable data.\n */\nexport function setData(state, data) {\n state.data = data;\n}\n\n/**\n * Establecer un valor para la variable balance.\n */\nexport function setBalance(state, balance) {\n state.balance = +balance;\n}\n\nexport function setFromAccountingDocuments(state,from_accounting_documents) {\n state.from_accounting_documents = from_accounting_documents;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/payments-methods-modal/mutations.js","export const validateRoleLoggedUser = value => {\n let user = JSON.parse(localStorage.user);\n\n return !!user.get_roles.find(\n ({ role, id }) => role.toUpperCase() === value || id === value\n );\n};\n\nexport const userIsSeller = () => validateRoleLoggedUser(\"VENDEDOR\");\nexport const userIsCustomer = () => validateRoleLoggedUser(\"CLIENTE\");\nexport const userIsSuperAdmin = () => validateRoleLoggedUser(8);\nexport const userIsTechnicalService = () => validateRoleLoggedUser(4);\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/roleFunctions.js","import $http from '../../axios';\nimport {Notification, MessageBox} from 'element-ui';\nimport {setFinalizeVoucherAlkosto} from \"./mutations\";\n\nexport async function fetchProcess({commit, state},confirmation) {\n state.loading.module = true;\n\n if (confirmation){\n state.params.confirmation = confirmation\n }\n\n await $http\n .post('/api/re-clasificacion-cartera-alkosto', state.params)\n .then(response => {\n state.loading.module = false;\n state.params.confirmation = false;\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n commit(\"setFinalizeVoucherAlkosto\", response.data.data);\n\n })\n .catch(error => {\n state.loading.module = false;\n commit(\"setFormAlokstosProccessResponse\", error.response.data);\n });\n}\n\nexport async function fetchReportAlkosto({commit, state},confirmation) {\n state.loading.module = true;\n\n if (confirmation){\n state.params.confirmation = confirmation\n }\n\n await $http\n .get('/api/get-data-re-clasificacion-cartera-alkosto', {params: state.params})\n .then(response => {\n state.loading.module = false;\n state.params.confirmation = false;\n commit('setDataReport', response.data.data);\n Notification.success({\n title: 'Exito!',\n message: response.data.message,\n type: 'success',\n duration: 1500,\n customClass: 'notification-box'\n });\n })\n .catch(error => {\n state.loading.module = false;\n commit(\"setResponseAlkostos\", error.response.data);\n });\n}\n\nexport async function fetchBranchOfficesAlkosto ({ commit, state }) {\n await $http.get('/api/sedes')\n .then((response) => {\n commit('setBranchOffices', response.data.data)\n })\n .catch((error) => {\n Notification.error({\n title: 'Error!',\n message: error.message,\n type: 'error',\n duration: 2000,\n customClass: 'notification-box',\n });\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/portfolio_reclassification/actions.js","import moment from \"moment\";\n\n/**\n * Establecer un valor para la variable voucher_types (Tipo de comprobante)\n */\nexport function setVouchersTypes(state, voucher_types) {\n state.voucher_types = voucher_types;\n}\n/**\n * Establecer un valor para la variable params_voucher_type.branchoffice, que se utiliza para el fecth de voucher_type (Tipo de comprobante)\n * Establecer un valor para la variable params.branch_office. (Tipo de comprobante seleccionado)\n */\nexport function setBranchOffice(state , branchOffice) {\n state.params_voucher_type.branchoffice = branchOffice;\n state.params.branch_office = branchOffice;\n}\n/**\n * Establecer un valor para la variable branchOffices (Sedes)\n */\nexport function setBranchOffices(state , branchOffices) {\n state.branchOffices = branchOffices;\n}\n/**\n * Establecer un valor para la variable contacts (Terceros)\n */\nexport function setContacts(state, contacts){\n state.contacts = contacts;\n}\n/**\n * Establecer un valor para la variable loading\n */\nexport function setLoading(state, loading){\n state.loading = loading\n}\n/**\n * Establecer un valor para la variable report_data (Información del reporte)\n */\nexport function setReportData(state,data){\n state.report_data = data;\n}\n\n/**\n * Resta una cantidad de meses a una fecha dada\n */\nexport function subtractMonthsToDate(date, quantity_months) {\n const date_clone = new Date(date);\n\n // Obtener el mes y año actuales\n const current_month = date_clone.getMonth();\n const current_year = date_clone.getFullYear();\n\n // Calcular el nuevo mes y año\n let new_month = current_month - quantity_months;\n let new_year = current_year;\n\n // Manejar el cambio de año si el nuevo mes es menor a 0\n while (new_month < 0) {\n new_month += 12;\n new_year--;\n }\n\n // Establecer la nueva fecha con los meses restados\n date_clone.setMonth(new_month);\n date_clone.setFullYear(new_year);\n\n return date_clone;\n}\n\n/**\n * Establecer un valor por defecto para las fechas del reporte Primer día del mes anterior - Día en curso\n */\nexport function setDateRangeParam(state) {\n\n const date_current = new Date(); // Fecha actual\n\n // Restar un mes a la fecha actual para obtener el mes anterior\n const date_month_previous = subtractMonthsToDate(date_current, 1);\n\n // Obtener el primer día del mes anterior\n const first_day_month_previous = new Date(date_month_previous.getFullYear(), date_month_previous.getMonth(), 1);\n\n // Obtener el último día del mes anterior\n //const ultimoDiaMesAnterior = new Date(date_month_previous.getFullYear(), date_month_previous.getMonth() + 1, 0);\n\n state.params.date = [\n moment(first_day_month_previous).format('YYYY-MM-DD'),\n moment(date_current).format('YYYY-MM-DD'),\n ];\n}\n/**\n * Establecer un valor para la variable product_details_document (Productos de un documento)\n */\nexport function setProductDetailsDocument (state, data) {\n state.product_details_document = data;\n}\n/**\n * Establecer un valor para la variable document_referrals (Información de la segunda tabla)\n */\nexport function setDocumentReferrals (state, data) {\n state.document_referrals = data;\n}\n/**\n * Establecer un valor para la variable product_id_details_document_query (El id del producto cuando el detalle se selecciona desde la cantidad de productos de la remision)\n */\nexport function setProductIDDetailsDocumentQuery (state, data) {\n state.product_id_details_document_query = data;\n}\n/**\n * Limipiar los parametros de busqueda de los filtros.\n */\nexport function clearStateParams (state) {\n //state.params.branch_office = null;\n state.params.voucher_type = null;\n state.params.contact = [];\n}\n/**\n * Limpiar el voucherType (Cuando se cambia la sede)\n */\nexport function clearVoucherType (state) {\n state.params.voucher_type = null;\n}\n/**\n * Establecer un valor para la variable name_pdf (Nombre del pdf que se descarga)\n */\nexport function setNamePdf(state, name_pdf) {\n state.name_pdf = name_pdf;\n}\n/**\n * Establecer un valor para la variable column_status (Nombre que se le brinda a columna status)\n */\nexport function setColumnStatus(state, column) {\n state.column_status = column;\n}\n/**\n * Establecer un valor para la variable templates (Modelos que se cargan en el select)\n */\nexport function setTemplates(state , templates) {\n state.templates = templates;\n}\n\n/**\n * Establecer un valor para la variable template (Modelo seleccionado en el template)\n */\nexport function setTemplate(state , template) {\n state.params.template = template;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-sales-referrals/mutations.js"],"sourceRoot":""}