Skip to content

Commit

Permalink
Merge pull request #330 from fyndiq/v1.0.4
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
aquilax committed Feb 24, 2016
2 parents 07c22d7 + 15278da commit 04a2515
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/backoffice/FmUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FyndiqProductSKUNotFound extends Exception
class FmUtils
{
const MODULE_NAME = 'fyndiqmerchant';
const VERSION = '1.0.3';
const VERSION = '1.0.4';
const COMMIT = 'XXXXXX';
const REPOSITORY_PATH = 'fyndiq/fyndiq-prestashop-module/';
const DISABLE_UPDATE_CHECK = 0;
Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/frontend/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
.center {
text-align: center; }

.icon {
.fm-product-panel .icon {
border-radius: 50%;
border: 3px solid #fff;
display: inline-block;
height: 13px;
vertical-align: middle;
width: 13px; }
.icon.pending {
.fm-product-panel .icon.pending {
background-color: #f08c48; }
.icon.on {
.fm-product-panel .icon.on {
background-color: #83c070; }
.icon.noton {
.fm-product-panel .icon.noton {
background-color: #e85353; }
.icon.big {
.fm-product-panel .icon.big {
border: 0;
height: 20px;
width: 20px; }
Expand Down Expand Up @@ -320,7 +320,7 @@
.fm-products-list-container .prices input:disabled {
background-color: #e3e3e3; }

.info {
p.info {
margin: 1em; }

.fm-product-list-controls,
Expand Down
2 changes: 1 addition & 1 deletion src/backoffice/includes/shared
8 changes: 6 additions & 2 deletions src/backoffice/models/FmOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ public function install()
created timestamp DEFAULT CURRENT_TIMESTAMP);';
$res &= $this->fmPrestashop->dbGetInstance()->Execute($sql, false);

$sql = 'CREATE INDEX orderIndexNew ON ' . $tableName . ' (fyndiq_orderid);';
$res &= $this->fmPrestashop->dbGetInstance()->Execute($sql, false);
try{
// Index creation will fail if this is reinstall
$sql = 'CREATE INDEX orderIndexNew ON ' . $tableName . ' (fyndiq_orderid);';
$this->fmPrestashop->dbGetInstance()->Execute($sql, false);
} catch (Exception $e) {
}

return (bool)$res;
}
Expand Down
2 changes: 1 addition & 1 deletion src/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>fyndiqmerchant</name>
<displayName><![CDATA[Fyndiq]]></displayName>
<version><![CDATA[1.0.3]]></version>
<version><![CDATA[1.0.4]]></version>
<description><![CDATA[Export your products to Fyndiq and import and handle Fyndiq Orders in Prestashop.]]></description>
<author><![CDATA[Fyndiq AB]]></author>
<tab><![CDATA[market_place]]></tab>
Expand Down

0 comments on commit 04a2515

Please sign in to comment.