Refresh product from back office

This commit is contained in:
CHIEFSOFT\ameye
2025-10-11 06:17:27 -04:00
parent 08337f1dbd
commit a87f482240
3 changed files with 50 additions and 10 deletions
+8
View File
@@ -536,6 +536,14 @@ def get_product_update_office():
return jsonify(result)
@api.route('/office/rebuild-template', methods=['POST'])
def product_rebuild_office():
# Call the dashboard service
data = request.get_json()
result = OfficeTemplatesService.office_template_rebuild(data)
return jsonify(result)
@api.route('/office/products-templates', methods=['GET'])
def get_product_templates():
# Call the dashboard service