diff --git a/backend/app/src/main/resources/database/changelog/changelog-2024-11.yaml b/backend/app/src/main/resources/database/changelog/changelog-2024-11.yaml
new file mode 100644
index 0000000..0c6afae
--- /dev/null
+++ b/backend/app/src/main/resources/database/changelog/changelog-2024-11.yaml
@@ -0,0 +1,31 @@
+databaseChangeLog:
+ - changeSet:
+ id: viandeendirect-2024-11-28
+ author: benjamin
+ changes:
+ - dropColumn:
+ tableName: package_templates
+ columns:
+ - column:
+ name: photo
+ - dropColumn:
+ tableName: package_lots
+ columns:
+ - column:
+ name: photo
+ - changeSet:
+ id: viandeendirect-2024-11-29
+ author: benjamin
+ changes:
+ - addColumn:
+ tableName: package_templates
+ columns:
+ - column:
+ name: photo
+ type: TEXT
+ - addColumn:
+ tableName: package_lots
+ columns:
+ - column:
+ name: photo
+ type: TEXT
\ No newline at end of file
diff --git a/backend/app/src/main/resources/database/changelog/changelog-master.yaml b/backend/app/src/main/resources/database/changelog/changelog-master.yaml
index d3ed711..0b34408 100644
--- a/backend/app/src/main/resources/database/changelog/changelog-master.yaml
+++ b/backend/app/src/main/resources/database/changelog/changelog-master.yaml
@@ -14,3 +14,6 @@ databaseChangeLog:
- include:
relativeToChangelogFile: true
file: changelog-2024-10.yaml
+ - include:
+ relativeToChangelogFile: true
+ file: changelog-2024-11.yaml
diff --git a/frontend/app/src/domains/production/components/PackageLotDescription.css b/frontend/app/src/domains/production/components/PackageLotDescription.css
index e0bd967..04def5b 100644
--- a/frontend/app/src/domains/production/components/PackageLotDescription.css
+++ b/frontend/app/src/domains/production/components/PackageLotDescription.css
@@ -27,3 +27,8 @@
.package-lot__unit_price {
font-size: smaller;
}
+
+.package-lot__image {
+ max-width: 15rem;
+ grid-column: 1/-1;
+}
diff --git a/frontend/app/src/domains/production/components/PackageLotDescription.tsx b/frontend/app/src/domains/production/components/PackageLotDescription.tsx
index 88c8778..de96b2f 100644
--- a/frontend/app/src/domains/production/components/PackageLotDescription.tsx
+++ b/frontend/app/src/domains/production/components/PackageLotDescription.tsx
@@ -16,7 +16,7 @@ export default function PackageLotDescription({ lot: lot }) {
function getImage() {
if (lot.photo) {
- return
+ return
} else {
return <>>
}
diff --git a/frontend/app/src/domains/sale/components/SaleCustomerCard.css b/frontend/app/src/domains/sale/components/SaleCustomerCard.css
index 0508db8..a369d05 100644
--- a/frontend/app/src/domains/sale/components/SaleCustomerCard.css
+++ b/frontend/app/src/domains/sale/components/SaleCustomerCard.css
@@ -24,6 +24,7 @@
display: flex;
flex-flow: wrap;
justify-content: left;
+ align-items: flex-start;
}
.sale-customer-card__product-information {