diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index b215d0edd..bb3f88894 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -1244,6 +1244,15 @@ INSERT INTO `vn`.`supplierActivity`(`code`, `name`) ('flowerPlants', 'Wholesale of flowers and plants'), ('vegetablesFruits', 'Fruit and vegetable trade'); +INSERT INTO `vn`.`supplierAddress`(`id`, `supplierFk`, `nickname`, `street`, `provinceFk`, `postalCode`, `city`, `phone`, `mobile`) + VALUES + (1, 1, 'Ace Chemicals', 'The Midtown', 1, '46000', 'Valencia', '111111111', '222222222'), + (2, 1, 'Arkham Asylum', 'Grand Avenue', 1, '46000', 'Valencia', '111111111', '222222222'), + (3, 2, 'Wayne Tower', 'Grand Avenue', 1, '46000', 'Valencia', '111111111', '222222222'), + (4, 2, 'Bank of Gotham', 'Founders Island', 1, '46000', 'Valencia', '111111111', '222222222'), + (5, 3, 'GCR building', 'Bristol district', 1, '46000', 'Valencia', '111111111', '222222222'), + (6, 3, 'The Gotham Tonight building', 'Bristol district', 1, '46000', 'Valencia', '111111111', '222222222'); + INSERT INTO `vn`.`supplier`(`id`, `name`, `nickname`,`account`,`countryFk`,`nif`,`isFarmer`,`commission`, `created`, `isActive`, `street`, `city`, `provinceFk`, `postCode`, `payMethodFk`, `payDemFk`, `payDay`, `taxTypeSageFk`, `withholdingSageFk`, `transactionTypeSageFk`, `workerFk`, `supplierActivityFk`) VALUES (1, 'Plants SL', 'Plants nick', 4100000001, 1, '06089160W', 0, 0, CURDATE(), 1, 'supplier address 1', 'PONTEVEDRA', 1, 15214, 1, 1, 15, 4, 1, 1, 18, 'flowerPlants'), diff --git a/modules/supplier/front/address/index/index.html b/modules/supplier/front/address/index/index.html index ad8f6f250..cb7b3d56c 100644 --- a/modules/supplier/front/address/index/index.html +++ b/modules/supplier/front/address/index/index.html @@ -26,21 +26,6 @@ ui-sref="supplier.card.address.edit({addressId: {{::address.id}}})" class="vn-pa-sm border-solid border-radius" translate-attr="{title: 'Edit address'}"> -
{{::address.nickname}} - #{{::address.id}}