Bugs solucionados

This commit is contained in:
Juan Ferrer Toribio 2015-03-31 17:14:44 +02:00
parent dfc4e2f535
commit d4f34b4ed1
11 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
Package: hedera-web Package: hedera-web
Version: 1.0-44 Version: 1.0-45
Architecture: all Architecture: all
Maintainer: Juan Ferrer Toribio <juan@verdnatura.es> Maintainer: Juan Ferrer Toribio <juan@verdnatura.es>
Depends: apache2, php5-mysql, php-vn-web Depends: apache2, php5-mysql, php-vn-web

View File

@ -17,7 +17,7 @@
<div id="form" class="address"> <div id="form" class="address">
<div class="box"> <div class="box">
<div class="header"> <div class="header">
<h1><t>EditAddress</t></h1> <h1><t>AddEditAddress</t></h1>
<div class="action-bar"> <div class="action-bar">
<button on-click="onReturnClick"> <button on-click="onReturnClick">
<img src="image/dark/go-previous.svg" alt=""/> <img src="image/dark/go-previous.svg" alt=""/>

View File

@ -8,6 +8,7 @@ Vn.Catalog = new Class
,activate: function () ,activate: function ()
{ {
this.$('items-model').setInfo ('m', 'order_row_view', 'hedera', ['id'], 'id'); this.$('items-model').setInfo ('m', 'order_row_view', 'hedera', ['id'], 'id');
this.$('items-model').setInfo ('a', 'Articles', 'vn2008', ['Id_Article']);
this.$('price').renderer = this.priceRenderer; this.$('price').renderer = this.priceRenderer;
this.$('type-column').renderer = this.typeRenderer.bind (this); this.$('type-column').renderer = this.typeRenderer.bind (this);

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1156,12 +1156,12 @@ Db.Model.implement
this.tableInfo = {}; this.tableInfo = {};
this.tableInfo[table] = this.tableInfo[table] =
({ {
orgname: orgname, orgname: orgname,
schema: schema, schema: schema,
pks: pks, pks: pks,
ai: ai ai: ai
}); };
this._repairColumns (); this._repairColumns ();
} }
@ -1180,7 +1180,7 @@ Db.Model.implement
continue; continue;
table.orgname = tableInfo.orgname; table.orgname = tableInfo.orgname;
table.schema = tableInfo.shema; table.schema = tableInfo.schema;
if (tableInfo.pks) if (tableInfo.pks)
{ {

View File

@ -139,7 +139,7 @@ Htk.Grid = new Class
{ {
this.internalColumn = new Htk.ColumnButton this.internalColumn = new Htk.ColumnButton
({ ({
image: 'image/remove.svg' image: 'image/delete.svg'
,tip: _('Remove') ,tip: _('Remove')
}); });
this.internalColumn.on ('clicked', this.removeClicked, this); this.internalColumn.on ('clicked', this.removeClicked, this);

View File

@ -20,9 +20,8 @@ Sql.Table = new Class
,render: function (batch) ,render: function (batch)
{ {
var sql; var sql = this.schema ? '`' + this.schema + '`.' : '';
sql = this.schema ? '`' + this.schema + '`.' : ''; sql += '`' + this.name + '`';
sql = sql + '`' + this.name + '`';
return sql; return sql;
} }
}); });

View File

@ -1,5 +1,5 @@
{ {
"EditAddress": "Afegir / Modificar adreça" "AddEditAddress": "Afegir / Modificar adreça"
,"Name": "Consignatari" ,"Name": "Consignatari"
,"Address": "Direcció" ,"Address": "Direcció"

View File

@ -1,5 +1,5 @@
{ {
"EditAddress": "Añadir / Modificar dirección" "AddEditAddress": "Añadir / Modificar dirección"
,"Name": "Consignatario" ,"Name": "Consignatario"
,"Address": "Dirección" ,"Address": "Dirección"

View File

@ -1,5 +1,5 @@
{ {
"EditAddress": "Ajouter / Modifier l'adresse" "AddEditAddress": "Ajouter / Modifier l'adresse"
,"Name": "Destinataire" ,"Name": "Destinataire"
,"Address": "Adresse De La Rue" ,"Address": "Adresse De La Rue"

View File

@ -1,5 +1,5 @@
{ {
"EditAddress": "Añadir / Modificar dirección" "AddEditAddress": "Añadir / Modificar dirección"
,"Name": "Consignatario" ,"Name": "Consignatario"
,"Address": "Dirección" ,"Address": "Dirección"