webmaniabr / nfeprestashop Goto Github PK
View Code? Open in Web Editor NEWMódulo de emissão de Nota Fiscal Eletrônica para PrestaShop.
Home Page: https://webmaniabr.com/nota-fiscal-eletronica/
Módulo de emissão de Nota Fiscal Eletrônica para PrestaShop.
Home Page: https://webmaniabr.com/nota-fiscal-eletronica/
Olá, estou avaliando a solução no período gratuito e encontrei este erro ao clicar sobre "Visualizar pedido". As configurações no servidor do webmaniabr foram realizadas, com exceção do certificado digital (estamos no processo de aquisição). O que você sugere para que eu possa continuar com os testes no modo desenvolvimento?
Symfony\Component\Debug\Exception\FatalThrowableError:
Type error: Too few arguments to function WebmaniaBrNFe::hookDisplayAdminOrderContentShip(), 1 passed in /home1/imagine3/publica.imaginetc.com.br/classes/Hook.php on line 970 and exactly 3 expected
at modules/webmaniabrnfe/webmaniabrnfe.php:941
at WebmaniaBrNFe->hookDisplayAdminOrderContentShip(array('order' => object(Order), 'products' => array(array('id_order_detail' => '9', 'id_order' => '7', 'id_order_invoice' => '0', 'id_warehouse' => '0', 'id_shop' => '1', 'product_id' => '20', 'product_attribute_id' => '0', 'id_customization' => '0', 'product_name' => 'Debates sobre Feminismo e Análise do Comportamento', 'product_quantity' => '1', 'product_quantity_in_stock' => '1', 'product_quantity_refunded' => '0', 'product_quantity_return' => '0', 'product_quantity_reinjected' => '0', 'product_price' => 60.0, 'reduction_percent' => '0.00', 'reduction_amount' => '0.000000', 'reduction_amount_tax_incl' => '0.000000', 'reduction_amount_tax_excl' => '0.000000', 'group_reduction' => '0.00', 'product_quantity_discount' => '0.000000', 'product_ean13' => '', 'product_isbn' => '', 'product_upc' => '', 'product_reference' => 'LAC-24LGKURY6', 'product_supplier_reference' => '', 'product_weight' => '0.500000', 'id_tax_rules_group' => '54', 'tax_computation_method' => '0', 'tax_name' => '', 'tax_rate' => 12.0, 'ecotax' => '0.000000', 'ecotax_tax_rate' => '0.000', 'discount_quantity_applied' => '0', 'download_hash' => '', 'download_nb' => '0', 'download_deadline' => '0000-00-00 00:00:00', 'total_price_tax_incl' => '67.200000', 'total_price_tax_excl' => '60.000000', 'unit_price_tax_incl' => '67.200000', 'unit_price_tax_excl' => '60.000000', 'total_shipping_price_tax_incl' => '0.000000', 'total_shipping_price_tax_excl' => '0.000000', 'purchase_supplier_price' => '0.000000', 'original_product_price' => '60.000000', 'original_wholesale_price' => '0.000000', 'id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '10', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => '5', 'low_stock_alert' => '0', 'price' => '60.000000', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => 'LAC-24LGKURY6', 'supplier_reference' => '', 'location' => 'Fortaleza, Sede.', 'width' => '15.000000', 'height' => '23.000000', 'depth' => '1.800000', 'weight' => '0.500000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '2019-10-31', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2019-08-08 15:05:22', 'date_upd' => '2019-08-09 10:37:12', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'nfe_tax_class' => null, 'nfe_ean_bar_code' => null, 'nfe_gtin_tributavel' => null, 'nfe_ncm_code' => null, 'nfe_cest_code' => null, 'nfe_cnpj_fabricante' => null, 'nfe_ind_escala' => null, 'nfe_product_source' => '-1', 'nfe_ignorar_nfe' => '0', 'image' => object(Image), 'image_size' => array(45, 45, 2, 'width="45" height="45"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg'), 'current_stock' => 247, 'tax_calculator' => object(TaxCalculator), 'product_price_wt' => 67.2000000000000028421709430404007434844970703125, 'product_price_wt_but_ecotax' => 67.2000000000000028421709430404007434844970703125, 'total_wt' => '67.200000', 'total_price' => '60.000000', 'customizedDatas' => null, 'customizationQuantityTotal' => 0, 'id_address_delivery' => '5', 'image_tag' => '<img src="../img/tmp/product_mini_20_0.jpg?time=1565958958" alt="" class="imgm img-thumbnail" />', 'customized_product_quantity' => 0, 'quantity_refundable' => 1, 'amount_refundable' => 60.0, 'amount_refundable_tax_incl' => 67.2000000000000028421709430404007434844970703125, 'amount_refund' => null, 'refund_history' => array(), 'return_history' => array(), 'warehouse_name' => '--', 'warehouse_location' => false, 'pack_items' => array())), 'customer' => object(Customer), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
(classes/Hook.php:970)
at HookCore::coreCallHook(object(WebmaniaBrNFe), 'hookdisplayAdminOrderContentShip', array('order' => object(Order), 'products' => array(array('id_order_detail' => '9', 'id_order' => '7', 'id_order_invoice' => '0', 'id_warehouse' => '0', 'id_shop' => '1', 'product_id' => '20', 'product_attribute_id' => '0', 'id_customization' => '0', 'product_name' => 'Debates sobre Feminismo e Análise do Comportamento', 'product_quantity' => '1', 'product_quantity_in_stock' => '1', 'product_quantity_refunded' => '0', 'product_quantity_return' => '0', 'product_quantity_reinjected' => '0', 'product_price' => 60.0, 'reduction_percent' => '0.00', 'reduction_amount' => '0.000000', 'reduction_amount_tax_incl' => '0.000000', 'reduction_amount_tax_excl' => '0.000000', 'group_reduction' => '0.00', 'product_quantity_discount' => '0.000000', 'product_ean13' => '', 'product_isbn' => '', 'product_upc' => '', 'product_reference' => 'LAC-24LGKURY6', 'product_supplier_reference' => '', 'product_weight' => '0.500000', 'id_tax_rules_group' => '54', 'tax_computation_method' => '0', 'tax_name' => '', 'tax_rate' => 12.0, 'ecotax' => '0.000000', 'ecotax_tax_rate' => '0.000', 'discount_quantity_applied' => '0', 'download_hash' => '', 'download_nb' => '0', 'download_deadline' => '0000-00-00 00:00:00', 'total_price_tax_incl' => '67.200000', 'total_price_tax_excl' => '60.000000', 'unit_price_tax_incl' => '67.200000', 'unit_price_tax_excl' => '60.000000', 'total_shipping_price_tax_incl' => '0.000000', 'total_shipping_price_tax_excl' => '0.000000', 'purchase_supplier_price' => '0.000000', 'original_product_price' => '60.000000', 'original_wholesale_price' => '0.000000', 'id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '10', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => '5', 'low_stock_alert' => '0', 'price' => '60.000000', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => 'LAC-24LGKURY6', 'supplier_reference' => '', 'location' => 'Fortaleza, Sede.', 'width' => '15.000000', 'height' => '23.000000', 'depth' => '1.800000', 'weight' => '0.500000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '2019-10-31', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2019-08-08 15:05:22', 'date_upd' => '2019-08-09 10:37:12', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'nfe_tax_class' => null, 'nfe_ean_bar_code' => null, 'nfe_gtin_tributavel' => null, 'nfe_ncm_code' => null, 'nfe_cest_code' => null, 'nfe_cnpj_fabricante' => null, 'nfe_ind_escala' => null, 'nfe_product_source' => '-1', 'nfe_ignorar_nfe' => '0', 'image' => object(Image), 'image_size' => array(45, 45, 2, 'width="45" height="45"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg'), 'current_stock' => 247, 'tax_calculator' => object(TaxCalculator), 'product_price_wt' => 67.2000000000000028421709430404007434844970703125, 'product_price_wt_but_ecotax' => 67.2000000000000028421709430404007434844970703125, 'total_wt' => '67.200000', 'total_price' => '60.000000', 'customizedDatas' => null, 'customizationQuantityTotal' => 0, 'id_address_delivery' => '5', 'image_tag' => '<img src="../img/tmp/product_mini_20_0.jpg?time=1565958958" alt="" class="imgm img-thumbnail" />', 'customized_product_quantity' => 0, 'quantity_refundable' => 1, 'amount_refundable' => 60.0, 'amount_refundable_tax_incl' => 67.2000000000000028421709430404007434844970703125, 'amount_refund' => null, 'refund_history' => array(), 'return_history' => array(), 'warehouse_name' => '--', 'warehouse_location' => false, 'pack_items' => array())), 'customer' => object(Customer), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
(classes/Hook.php:355)
at HookCore::callHookOn(object(WebmaniaBrNFe), 'displayAdminOrderContentShip', array('order' => object(Order), 'products' => array(array('id_order_detail' => '9', 'id_order' => '7', 'id_order_invoice' => '0', 'id_warehouse' => '0', 'id_shop' => '1', 'product_id' => '20', 'product_attribute_id' => '0', 'id_customization' => '0', 'product_name' => 'Debates sobre Feminismo e Análise do Comportamento', 'product_quantity' => '1', 'product_quantity_in_stock' => '1', 'product_quantity_refunded' => '0', 'product_quantity_return' => '0', 'product_quantity_reinjected' => '0', 'product_price' => 60.0, 'reduction_percent' => '0.00', 'reduction_amount' => '0.000000', 'reduction_amount_tax_incl' => '0.000000', 'reduction_amount_tax_excl' => '0.000000', 'group_reduction' => '0.00', 'product_quantity_discount' => '0.000000', 'product_ean13' => '', 'product_isbn' => '', 'product_upc' => '', 'product_reference' => 'LAC-24LGKURY6', 'product_supplier_reference' => '', 'product_weight' => '0.500000', 'id_tax_rules_group' => '54', 'tax_computation_method' => '0', 'tax_name' => '', 'tax_rate' => 12.0, 'ecotax' => '0.000000', 'ecotax_tax_rate' => '0.000', 'discount_quantity_applied' => '0', 'download_hash' => '', 'download_nb' => '0', 'download_deadline' => '0000-00-00 00:00:00', 'total_price_tax_incl' => '67.200000', 'total_price_tax_excl' => '60.000000', 'unit_price_tax_incl' => '67.200000', 'unit_price_tax_excl' => '60.000000', 'total_shipping_price_tax_incl' => '0.000000', 'total_shipping_price_tax_excl' => '0.000000', 'purchase_supplier_price' => '0.000000', 'original_product_price' => '60.000000', 'original_wholesale_price' => '0.000000', 'id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '10', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => '5', 'low_stock_alert' => '0', 'price' => '60.000000', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => 'LAC-24LGKURY6', 'supplier_reference' => '', 'location' => 'Fortaleza, Sede.', 'width' => '15.000000', 'height' => '23.000000', 'depth' => '1.800000', 'weight' => '0.500000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '2019-10-31', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2019-08-08 15:05:22', 'date_upd' => '2019-08-09 10:37:12', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'nfe_tax_class' => null, 'nfe_ean_bar_code' => null, 'nfe_gtin_tributavel' => null, 'nfe_ncm_code' => null, 'nfe_cest_code' => null, 'nfe_cnpj_fabricante' => null, 'nfe_ind_escala' => null, 'nfe_product_source' => '-1', 'nfe_ignorar_nfe' => '0', 'image' => object(Image), 'image_size' => array(45, 45, 2, 'width="45" height="45"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg'), 'current_stock' => 247, 'tax_calculator' => object(TaxCalculator), 'product_price_wt' => 67.2000000000000028421709430404007434844970703125, 'product_price_wt_but_ecotax' => 67.2000000000000028421709430404007434844970703125, 'total_wt' => '67.200000', 'total_price' => '60.000000', 'customizedDatas' => null, 'customizationQuantityTotal' => 0, 'id_address_delivery' => '5', 'image_tag' => '<img src="../img/tmp/product_mini_20_0.jpg?time=1565958958" alt="" class="imgm img-thumbnail" />', 'customized_product_quantity' => 0, 'quantity_refundable' => 1, 'amount_refundable' => 60.0, 'amount_refundable_tax_incl' => 67.2000000000000028421709430404007434844970703125, 'amount_refund' => null, 'refund_history' => array(), 'return_history' => array(), 'warehouse_name' => '--', 'warehouse_location' => false, 'pack_items' => array())), 'customer' => object(Customer), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
(classes/Hook.php:907)
at HookCore::exec('displayAdminOrderContentShip', array('order' => object(Order), 'products' => array(array('id_order_detail' => '9', 'id_order' => '7', 'id_order_invoice' => '0', 'id_warehouse' => '0', 'id_shop' => '1', 'product_id' => '20', 'product_attribute_id' => '0', 'id_customization' => '0', 'product_name' => 'Debates sobre Feminismo e Análise do Comportamento', 'product_quantity' => '1', 'product_quantity_in_stock' => '1', 'product_quantity_refunded' => '0', 'product_quantity_return' => '0', 'product_quantity_reinjected' => '0', 'product_price' => 60.0, 'reduction_percent' => '0.00', 'reduction_amount' => '0.000000', 'reduction_amount_tax_incl' => '0.000000', 'reduction_amount_tax_excl' => '0.000000', 'group_reduction' => '0.00', 'product_quantity_discount' => '0.000000', 'product_ean13' => '', 'product_isbn' => '', 'product_upc' => '', 'product_reference' => 'LAC-24LGKURY6', 'product_supplier_reference' => '', 'product_weight' => '0.500000', 'id_tax_rules_group' => '54', 'tax_computation_method' => '0', 'tax_name' => '', 'tax_rate' => 12.0, 'ecotax' => '0.000000', 'ecotax_tax_rate' => '0.000', 'discount_quantity_applied' => '0', 'download_hash' => '', 'download_nb' => '0', 'download_deadline' => '0000-00-00 00:00:00', 'total_price_tax_incl' => '67.200000', 'total_price_tax_excl' => '60.000000', 'unit_price_tax_incl' => '67.200000', 'unit_price_tax_excl' => '60.000000', 'total_shipping_price_tax_incl' => '0.000000', 'total_shipping_price_tax_excl' => '0.000000', 'purchase_supplier_price' => '0.000000', 'original_product_price' => '60.000000', 'original_wholesale_price' => '0.000000', 'id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '10', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => '5', 'low_stock_alert' => '0', 'price' => '60.000000', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => 'LAC-24LGKURY6', 'supplier_reference' => '', 'location' => 'Fortaleza, Sede.', 'width' => '15.000000', 'height' => '23.000000', 'depth' => '1.800000', 'weight' => '0.500000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '2019-10-31', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2019-08-08 15:05:22', 'date_upd' => '2019-08-09 10:37:12', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'nfe_tax_class' => null, 'nfe_ean_bar_code' => null, 'nfe_gtin_tributavel' => null, 'nfe_ncm_code' => null, 'nfe_cest_code' => null, 'nfe_cnpj_fabricante' => null, 'nfe_ind_escala' => null, 'nfe_product_source' => '-1', 'nfe_ignorar_nfe' => '0', 'image' => object(Image), 'image_size' => array(45, 45, 2, 'width="45" height="45"', 'bits' => 8, 'channels' => 3, 'mime' => 'image/jpeg'), 'current_stock' => 247, 'tax_calculator' => object(TaxCalculator), 'product_price_wt' => 67.2000000000000028421709430404007434844970703125, 'product_price_wt_but_ecotax' => 67.2000000000000028421709430404007434844970703125, 'total_wt' => '67.200000', 'total_price' => '60.000000', 'customizedDatas' => null, 'customizationQuantityTotal' => 0, 'id_address_delivery' => '5', 'image_tag' => '<img src="../img/tmp/product_mini_20_0.jpg?time=1565958958" alt="" class="imgm img-thumbnail" />', 'customized_product_quantity' => 0, 'quantity_refundable' => 1, 'amount_refundable' => 60.0, 'amount_refundable_tax_incl' => 67.2000000000000028421709430404007434844970703125, 'amount_refund' => null, 'refund_history' => array(), 'return_history' => array(), 'warehouse_name' => '--', 'warehouse_location' => false, 'pack_items' => array())), 'customer' => object(Customer), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
(controllers/admin/AdminOrdersController.php:1937)
at AdminOrdersControllerCore->renderView()
(classes/controller/AdminController.php:2128)
at AdminControllerCore->initContent()
(classes/controller/Controller.php:291)
at ControllerCore->run()
(classes/Dispatcher.php:515)
at DispatcherCore->dispatch()
(admin01/index.php:97)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.