

PrestaShopException {#965 #message: "Invalid date" #code: 0 #file: "/home/agtibr/public_html/classes/Tools.php" #line: 999 : { { ›if (!Validate::isDate($date) || !Validate::isBool($full)) {
›throw new PrestaShopException('Invalid date');
›}
} { ›v<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['version']->value->getVersionNumber(), ENT_QUOTES, 'UTF-8');?>
›- <?php echo htmlspecialchars(Tools::displayDate($_smarty_tpl->tpl_vars['version']->value->getDateAdd()->format('Y-m-d H:i:s')), ENT_QUOTES, 'UTF-8');?>
› } { ›}
›$unifunc($_template);
›foreach ($_template->endRenderCallbacks as $callback) {
} { ›} else {
›$this->getRenderedTemplateCode($_template);
›}
} { ›}
›$this->compiled->render($this);
›}
} { ›}
›$result = $template->render(false, $function);
›$template->_cleanUp();
} { ›{
›$result = $this->_execute($template, $cache_id, $compile_id, $parent, 0);
›return $result === null ? ob_get_clean() : $result;
} { › ›$result = $this->getCurrentSubTemplate($template, $cache_id, $compile_id)->fetch();
› } { › ›return $this->display($this->_path, 'views/templates/front/product_changelog.tpl');
›} catch (Exception $e){
} { ›$content->setTitle("Changelog")
›->setContent($this->renderProductChangelog($params['product']));
› } { ›if ($hookType === self::HOOK_TYPE_MODULE) {
›$hookValue = $moduleInstance->{$hookName}($hookArgs);
› } { ›require_once _PS_MODULE_DIR_ . 'jprestaspeedpack/jprestaspeedpack.php';
›return Jprestaspeedpack::execHook(Jprestaspeedpack::HOOK_TYPE_MODULE, $module, $method, $params);
›}
} { ›if (is_callable([$module, $methodName])) {
›return static::coreCallHook($module, $methodName, $hookArgs);
›}
} { › ›$display = Hook::callHookOn($moduleInstance, $registeredHookName, $hook_args);
› } { ›try {
›return Hook::exec($hook_name, $hook_args, $id_module, $array_return, $check_exceptions, $use_push, $id_shop);
›} catch (\Exception $e) {
} { ›{
›$hookContent = (new HookManager())->exec($this->hookName, $this->params, null, true);
›if (!is_array($hookContent)) {
} { › ›return parent::find();
›}
} { ›{
›$hookContent = $this->find();
›$presentedContents = [];
} { ›$product['quantity_wanted'] = $this->getRequiredQuantity($product);
›$product['extraContent'] = $extraContentFinder->addParams(['product' => $this->product])->present();
› } { › ›$product_for_template = $this->getTemplateVarProduct();
› } { ›if ($this->viewAccess()) {
›$this->initContent();
›} else {
} { ›// Running controller
›$controller->run();
› } { ›require dirname(__FILE__).'/config/config.inc.php';
›Dispatcher::getInstance()->dispatch();
› } } }
With this module you can offer to your customers the most diverse forms of payment, as long as they do not depend on external services. You can offer payment by check, bank transfer, bank deposit, cash payment at the store, etc. You can also offer discounts and ask for additional informations, like date/time of delivery.
Data sheet