Skip to content

Commit 2f7fb39

Browse files
author
Fabian Wunsch
committed
fixed typos
1 parent 62754bd commit 2f7fb39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

migrations/Version20240905085300.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ public function getDescription(): string
1616

1717
public function mySQLUp(Schema $schema): void
1818
{
19-
$this->addSql('ALTER TABLE parts ADD orderamount DOUBLE PRECISION NOT NULL DEFAULT 0, ADD orderDate DATETIME');
19+
$this->addSql('ALTER TABLE parts ADD orderamount DOUBLE PRECISION NOT NULL DEFAULT 0, ADD orderDelivery DATETIME');
2020
}
2121

2222
public function mySQLDown(Schema $schema): void
2323
{
24-
$this->addSql('ALTER TABLE `parts` DROP orderamount, DROP orderDate');
24+
$this->addSql('ALTER TABLE `parts` DROP orderamount, DROP orderDelivery');
2525
}
2626

2727
public function sqLiteUp(Schema $schema): void
2828
{
2929
$this->addSql('ALTER TABLE parts ADD COLUMN orderamount DOUBLE PRECISION NOT NULL DEFAULT 0');
30-
$this->addSql('ALTER TABLE parts ADD COLUMN orderDate DATETIME');
30+
$this->addSql('ALTER TABLE parts ADD COLUMN orderDelivery DATETIME');
3131
}
3232

3333
public function sqLiteDown(Schema $schema): void

src/Services/LabelSystem/SandboxedTwigFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ final class SandboxedTwigFactory
133133
Supplier::class => ['getShippingCosts', 'getDefaultCurrency'],
134134
Part::class => ['isNeedsReview', 'getTags', 'getMass', 'getIpn', 'getProviderReference',
135135
'getDescription', 'getComment', 'isFavorite', 'getCategory', 'getFootprint',
136-
'getPartLots', 'getPartUnit', 'useFloatAmount', 'getMinAmount', 'getOrderAmount', 'getOrderDate', 'getAmountSum', 'isNotEnoughInstock', 'isAmountUnknown', 'getExpiredAmountSum',
136+
'getPartLots', 'getPartUnit', 'useFloatAmount', 'getMinAmount', 'getOrderAmount', 'getOrderDelivery', 'getAmountSum', 'isNotEnoughInstock', 'isAmountUnknown', 'getExpiredAmountSum',
137137
'getManufacturerProductUrl', 'getCustomProductURL', 'getManufacturingStatus', 'getManufacturer',
138138
'getManufacturerProductNumber', 'getOrderdetails', 'isObsolete',
139139
'getParameters', 'getGroupedParameters',

0 commit comments

Comments
 (0)