This commit is contained in:
Fabian Wunsch 2026-08-02 13:28:20 +02:00 committed by GitHub
commit 1b5727dc56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 350 additions and 8 deletions

View file

@ -0,0 +1,48 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use App\Migration\AbstractMultiPlatformMigration;
use Doctrine\DBAL\Schema\Schema;
final class Version20240905085300 extends AbstractMultiPlatformMigration
{
public function getDescription(): string
{
return 'Added order fields';
}
public function mySQLUp(Schema $schema): void
{
$this->addSql('ALTER TABLE parts ADD orderamount DOUBLE PRECISION NOT NULL DEFAULT 0, ADD orderDelivery DATETIME');
}
public function mySQLDown(Schema $schema): void
{
$this->addSql('ALTER TABLE `parts` DROP orderamount, DROP orderDelivery');
}
public function postgreSQLUp(Schema $schema): void
{
$this->addSql('ALTER TABLE parts ADD orderamount DOUBLE PRECISION NOT NULL DEFAULT 0, ADD orderDelivery timestamp');
}
public function postgreSQLDown(Schema $schema): void
{
$this->addSql('ALTER TABLE parts DROP orderamount, DROP orderDelivery');
}
public function sqLiteUp(Schema $schema): void
{
$this->addSql('ALTER TABLE parts ADD COLUMN orderamount DOUBLE PRECISION NOT NULL DEFAULT 0');
$this->addSql('ALTER TABLE parts ADD COLUMN orderDelivery DATETIME');
}
public function sqLiteDown(Schema $schema): void
{
$error;
// TODO: implement backwards migration for SQlite
}
}

View file

@ -229,6 +229,27 @@ final class PartController extends AbstractController
return $this->redirectToRoute('bulk_info_provider_step2', ['jobId' => $jobId]);
}
#[Route(path: '/{id}/delivered', name: 'part_delivered')]
public function delivered(Part $part, Request $request): Response
{
$this->denyAccessUnlessGranted('edit', $part);
$partLot = $part->getPartLots()[0] ?? null;
if (!$partLot instanceof PartLot) {
$this->addFlash('error', 'part.delivered.error.no_lot');
return $this->redirectToRoute('part_info', ['id' => $part->getID()]);
}
$partLot->setAmount($partLot->getAmount() + $part->getOrderAmount());
$part->setOrderAmount(0);
$part->setOrderDelivery(null);
$this->em->persist($part);
$this->em->flush();
return $this->redirectToRoute('part_info', ['id' => $part->getID()]);
}
#[Route(path: '/{id}/delete', name: 'part_delete', methods: ['DELETE'])]
public function delete(Request $request, Part $part): RedirectResponse
{

View file

@ -31,7 +31,7 @@ class LessThanDesiredConstraint extends BooleanConstraint
public function __construct(?string $property = null, ?string $identifier = null, ?bool $default_value = null)
{
parent::__construct($property ?? '(
SELECT COALESCE(SUM(ld_partLot.amount), 0.0)
SELECT COALESCE(SUM(ld_partLot.amount) + part.orderamount, 0.0)
FROM '.PartLot::class.' ld_partLot
WHERE ld_partLot.part = part.id
AND ld_partLot.instock_unknown = false
@ -48,7 +48,7 @@ class LessThanDesiredConstraint extends BooleanConstraint
//If value is true, we want to filter for parts with stock < desired stock
if ($this->value) {
$queryBuilder->andHaving( $this->property . ' < part.minamount');
$queryBuilder->andHaving($this->property . ' < part.minamount');
} else {
$queryBuilder->andHaving($this->property . ' >= part.minamount');
}

View file

@ -63,6 +63,8 @@ class PartFilter implements FilterInterface
public readonly TextConstraint $comment;
public readonly TagsConstraint $tags;
public readonly NumberConstraint $minAmount;
public readonly NumberConstraint $orderAmount;
public readonly DateTimeConstraint $orderDelivery;
public readonly BooleanConstraint $favorite;
public readonly BooleanConstraint $needsReview;
public readonly NumberConstraint $mass;
@ -140,6 +142,8 @@ class PartFilter implements FilterInterface
$this->lastModified = new DateTimeConstraint('part.lastModified');
$this->minAmount = new NumberConstraint('part.minamount');
$this->orderAmount = new NumberConstraint('part.orderamount');
$this->orderDelivery = new DateTimeConstraint('part.orderDelivery');
/* We have to use an IntConstraint here because otherwise we get just an empty result list when applying the filter
This seems to be related to the fact, that PDO does not have an float parameter type and using string type does not work in this situation (at least in SQLite)
TODO: Find a better solution here

View file

@ -181,6 +181,15 @@ final readonly class PartsDataTable implements DataTableTypeInterface
$context->getPartUnit()
),
])
->add('orderamount', TextColumn::class, [
'label' => $this->translator->trans('part.table.orderamount'),
'render' => fn($value, Part $context): string => htmlspecialchars($this->amountFormatter->format($value,
$context->getPartUnit())),
])
->add('orderDelivery', LocaleDateTimeColumn::class, [
'label' => $this->translator->trans('part.table.orderDelivery'),
'timeFormat' => 'none',
])
->add('partUnit', TextColumn::class, [
'label' => $this->translator->trans('part.table.partUnit'),
'orderField' => 'NATSORT(_partUnit.name)',

View file

@ -28,6 +28,7 @@ use App\DataTables\Column\EnumColumn;
use App\DataTables\Column\HTMLColumn;
use App\DataTables\Column\LocaleDateTimeColumn;
use App\DataTables\Column\MarkdownColumn;
use App\DataTables\Column\TagsColumn;
use App\DataTables\Helpers\PartDataTableHelper;
use App\Doctrine\Helpers\FieldHelper;
use App\Entity\Parts\ManufacturingStatus;
@ -102,7 +103,7 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
])
->add('partId', TextColumn::class, [
'label' => $this->translator->trans('project.bom.part_id'),
'visible' => true,
'visible' => false,
'orderField' => 'part.id',
'data' => function (ProjectBOMEntry $context) {
return $context->getPart() instanceof Part ? (string) $context->getPart()->getId() : '';
@ -150,6 +151,7 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
])
->add('footprint', EntityColumn::class, [
'property' => 'part.footprint',
'visible' => false,
'label' => $this->translator->trans('part.table.footprint'),
'orderField' => 'NATSORT(footprint.name)'
])
@ -159,6 +161,39 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
'label' => $this->translator->trans('part.table.manufacturer'),
'orderField' => 'NATSORT(manufacturer.name)'
])
->add('supplier', HTMLColumn::class, [
'label' => $this->translator->trans('supplier.label'),
'visible' => true,
// Use an aggregate because a part can have multiple supplier orderdetails.
'orderField' => 'NATSORT(MIN(_suppliers.name))',
'data' => function (ProjectBOMEntry $context): string {
if (!$context->getPart() instanceof Part) {
return '';
}
$supplierLinks = [];
foreach ($context->getPart()->getOrderdetails(true) as $orderdetail) {
$supplier = $orderdetail->getSupplier();
$supplierName = trim((string) $supplier->getName());
if ($supplierName === '') {
continue;
}
$supplierId = $supplier->getId();
if (isset($supplierLinks[$supplierId])) {
continue;
}
$supplierLinks[$supplierId] = sprintf(
'<a href="%s">%s</a>',
htmlspecialchars($this->entityURLGenerator->listPartsURL($supplier)),
htmlspecialchars($supplierName)
);
}
return implode(', ', $supplierLinks);
},
])
->add('manufacturing_status', EnumColumn::class, [
'label' => $this->translator->trans('part.table.manufacturingStatus'),
@ -173,9 +208,14 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
return $this->translator->trans($status->toTranslationKey());
},
])
->add('tags', TagsColumn::class, [
'label' => $this->translator->trans('part.table.tags'),
'data' => static fn (ProjectBOMEntry $context): string => $context->getPart()?->getTags() ?? '',
])
->add('mountnames', HTMLColumn::class, [
'label' => 'project.bom.mountnames',
'visible' => false,
'data' => function (ProjectBOMEntry $context) {
$html = '';
@ -188,7 +228,7 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
->add('instockAmount', HTMLColumn::class, [
'label' => 'project.bom.instockAmount',
'visible' => false,
'visible' => true,
'data' => function (ProjectBOMEntry $context) {
if ($context->getPart() !== null) {
return $this->partDataTableHelper->renderAmount($context->getPart());
@ -197,6 +237,30 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
return '';
},
])
->add('minAmount', HTMLColumn::class, [
'label' => $this->translator->trans('part.table.minamount'),
'visible' => true,
'orderField' => 'part.minamount',
'data' => function (ProjectBOMEntry $context): string {
if (!$context->getPart() instanceof Part) {
return '';
}
return $this->amountFormatter->format($context->getPart()->getMinAmount(), $context->getPart()->getPartUnit());
},
])
->add('orderAmount', HTMLColumn::class, [
'label' => $this->translator->trans('part.table.orderamount'),
'visible' => true,
'orderField' => 'part.orderamount',
'data' => function (ProjectBOMEntry $context): string {
if (!$context->getPart() instanceof Part) {
return '';
}
return $this->amountFormatter->format($context->getPart()->getOrderAmount(), $context->getPart()->getPartUnit());
},
])
->add('storelocation', HTMLColumn::class, [
'label' => $this->translator->trans('part.table.storeLocations'),
//We need to use a aggregate function to get the first store location, as we have a one-to-many relation
@ -272,6 +336,8 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
->leftJoin('_partLots.storage_location', '_storelocations')
->leftJoin('part.footprint', 'footprint')
->leftJoin('part.manufacturer', 'manufacturer')
->leftJoin('part.orderdetails', '_orderdetails')
->leftJoin('_orderdetails.supplier', '_suppliers')
->leftJoin('part.partCustomState', 'partCustomState')
->where('bom_entry.project = :project')
->setParameter('project', $options['project'])
@ -299,6 +365,8 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
->addSelect('storelocations')
->addSelect('footprint')
->addSelect('manufacturer')
->addSelect('orderdetails')
->addSelect('suppliers')
->addSelect('partCustomState')
->from(ProjectBOMEntry::class, 'bom_entry')
->leftJoin('bom_entry.part', 'part')
@ -307,6 +375,8 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
->leftJoin('partLots.storage_location', 'storelocations')
->leftJoin('part.footprint', 'footprint')
->leftJoin('part.manufacturer', 'manufacturer')
->leftJoin('part.orderdetails', 'orderdetails')
->leftJoin('orderdetails.supplier', 'suppliers')
->leftJoin('part.partCustomState', 'partCustomState')
->where('bom_entry.id IN (:ids)')
->setParameter('ids', $ids)
@ -317,6 +387,8 @@ final readonly class ProjectBomEntriesDataTable implements DataTableTypeInterfac
->addGroupBy('storelocations')
->addGroupBy('footprint')
->addGroupBy('manufacturer')
->addGroupBy('orderdetails')
->addGroupBy('suppliers')
->addGroupBy('partCustomState')
->setHint(Query::HINT_READ_ONLY, true)

View file

@ -67,6 +67,7 @@ use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\Criteria;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\DBAL\Types\Types;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\Context\ExecutionContextInterface;
@ -140,9 +141,9 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
#[ApiFilter(LikeFilter::class, properties: ["name", "comment", "description", "ipn", "manufacturer_product_number"])]
#[ApiFilter(TagFilter::class, properties: ["tags"])]
#[ApiFilter(BooleanFilter::class, properties: ["favorite", "needs_review"])]
#[ApiFilter(RangeFilter::class, properties: ["mass", "minamount"])]
#[ApiFilter(RangeFilter::class, properties: ["mass", "minamount", "orderamount"])]
#[ApiFilter(DateFilter::class, strategy: DateFilterInterface::EXCLUDE_NULL)]
#[ApiFilter(OrderFilter::class, properties: ['name', 'id', 'addedDate', 'lastModified'])]
#[ApiFilter(OrderFilter::class, properties: ['name', 'id', 'orderDelivery', 'addedDate', 'lastModified'])]
class Part extends AttachmentContainingDBElement
{
use AdvancedPropertyTrait;

View file

@ -23,6 +23,7 @@ declare(strict_types=1);
namespace App\Entity\Parts\PartTraits;
use App\Entity\Parts\InfoProviderReference;
use App\Validator\Constraints\Year2038BugWorkaround;
use App\Entity\Parts\PartCustomState;
use App\Validator\Constraints\ValidGTIN;
use Doctrine\DBAL\Types\Types;
@ -60,6 +61,15 @@ trait AdvancedPropertyTrait
#[ORM\Column(type: Types::FLOAT, nullable: true)]
protected ?float $mass = null;
/**
* @var \DateTimeInterface|null Set a time when the new order will arive.
* Set to null, if there is no known date or no order.
*/
#[Groups(['extended', 'full', 'import', 'part_lot:read', 'part_lot:write'])]
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
#[Year2038BugWorkaround]
protected ?\DateTimeInterface $orderDelivery = null;
/**
* @var string|null The internal part number of the part
*/
@ -162,6 +172,27 @@ trait AdvancedPropertyTrait
return $this;
}
/**
* Gets the expected delivery date of the part. Returns null, if no delivery is due.
*/
public function getOrderDelivery(): ?\DateTimeInterface
{
return $this->orderDelivery;
}
/**
* Sets the expected delivery date of the part. Set to null, if no delivery is due.
*
* @param \DateTimeInterface|null $orderDelivery The new delivery date
*
* @return $this
*/
public function setOrderDelivery(?\DateTimeInterface $orderDelivery): self
{
$this->orderDelivery = $orderDelivery;
return $this;
}
/**
* Returns the internal part number of the part.
* @return string

View file

@ -55,6 +55,14 @@ trait InstockTrait
#[ORM\Column(type: Types::FLOAT)]
protected float $minamount = 0;
/**
* @var float The number of already ordered units
*/
#[Assert\PositiveOrZero]
#[Groups(['extended', 'full', 'import', 'part:read', 'part:write'])]
#[ORM\Column(type: Types::FLOAT)]
protected float $orderamount = 0;
/**
* @var ?MeasurementUnit the unit in which the part's amount is measured
*/
@ -137,6 +145,21 @@ trait InstockTrait
return round($this->minamount);
}
/**
* Get the count of parts which are already ordered.
* If an integer-based part unit is selected, the value will be rounded to integers.
*
* @return float count of parts which are already ordered
*/
public function getOrderAmount(): float
{
if ($this->useFloatAmount()) {
return $this->orderamount;
}
return round($this->orderamount);
}
/**
* Checks if this part uses the float amount .
* This setting is based on the part unit (see MeasurementUnit->isInteger()).
@ -158,7 +181,7 @@ trait InstockTrait
*/
public function isNotEnoughInstock(): bool
{
return $this->getAmountSum() < $this->getMinAmount();
return ($this->getAmountSum() + $this->getOrderAmount()) < $this->getMinAmount();
}
/**
@ -238,4 +261,19 @@ trait InstockTrait
return $this;
}
/**
* Set the amount of already ordered parts.
* See getPartUnit() for the associated unit.
*
* @param float $new_orderamount the new count of parts are already ordered
*
* @return $this
*/
public function setOrderAmount(float $new_orderamount): self
{
$this->orderamount = $new_orderamount;
return $this;
}
}

View file

@ -221,6 +221,16 @@ class PartFilterType extends AbstractType
'min' => 0,
]);
$builder->add('orderAmount', NumberConstraintType::class, [
'label' => 'part.edit.orderstock',
'min' => 0,
]);
$builder->add('orderDelivery', DateTimeConstraintType::class, [
'label' => 'part.edit.orderDelivery',
'input_type' => DateType::class,
]);
$builder->add('lotCount', NumberConstraintType::class, [
'label' => 'part.filter.lot_count',
'min' => 0,

View file

@ -49,6 +49,7 @@ use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\EnumType;
use Symfony\Component\Form\Extension\Core\Type\ResetType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
@ -136,6 +137,21 @@ class PartBaseType extends AbstractType
'label' => 'part.edit.mininstock',
'measurement_unit' => $part->getPartUnit(),
])
->add('orderAmount', SIUnitType::class, [
'attr' => [
'min' => 0,
'placeholder' => 'part.editmininstock.placeholder',
],
'label' => 'part.edit.orderstock',
'measurement_unit' => $part->getPartUnit(),
])
->add('orderDelivery', DateType::class, [
'label' => 'part.edit.orderDelivery',
'attr' => [],
'widget' => 'single_text',
'model_timezone' => 'UTC',
'required' => false,
])
->add('category', StructuralEntityType::class, [
'class' => Category::class,
'allow_add' => $this->security->isGranted('@categories.create'),

View file

@ -147,6 +147,9 @@ class PartNormalizer implements NormalizerInterface, DenormalizerInterface, Norm
if (empty($data['minamount'])) {
$data['minamount'] = 0.0;
}
if (empty($data['orderamount'])) {
$data['orderamount'] = 0.0;
}
$context[self::ALREADY_CALLED] = true;

View file

@ -84,6 +84,7 @@ class EntityURLGenerator
'delete' => $this->deleteURL($entity),
'file_download' => $this->downloadURL($entity),
'file_view' => $this->viewURL($entity),
'delivered' => $this->deliveredURL($entity),
default => throw new InvalidArgumentException('Method is not supported!'),
};
}
@ -171,6 +172,11 @@ class EntityURLGenerator
throw new \RuntimeException('Attachment has no internal nor external path!');
}
public function deliveredURL(Part $entity): string
{
return $this->urlGenerator->generate('part_delivered', ['id' => $entity->getID()]);
}
public function downloadURL($entity): string
{
if (!($entity instanceof Attachment)) {

View file

@ -136,7 +136,7 @@ final class SandboxedTwigFactory
Supplier::class => ['getShippingCosts', 'getDefaultCurrency'],
Part::class => ['isNeedsReview', 'getTags', 'getMass', 'getIpn', 'getProviderReference',
'getDescription', 'getComment', 'isFavorite', 'getCategory', 'getFootprint',
'getPartLots', 'getPartUnit', 'getPartCustomState', 'useFloatAmount', 'getMinAmount', 'getAmountSum', 'isNotEnoughInstock', 'isAmountUnknown', 'getExpiredAmountSum',
'getPartLots', 'getPartUnit', 'getPartCustomState', 'useFloatAmount', 'getMinAmount', 'getOrderAmount', 'getOrderDelivery', 'getAmountSum', 'isNotEnoughInstock', 'isAmountUnknown', 'getExpiredAmountSum',
'getManufacturerProductUrl', 'getCustomProductURL', 'getManufacturingStatus', 'getManufacturer',
'getManufacturerProductNumber', 'getOrderdetails', 'isObsolete',
'getParameters', 'getGroupedParameters',

View file

@ -10,6 +10,8 @@
{{ form_row(form.category) }}
{{ form_row(form.tags) }}
{{ form_row(form.minAmount) }}
{{ form_row(form.orderAmount) }}
{{ form_row(form.orderDelivery) }}
{{ form_row(form.footprint) }}

View file

@ -76,6 +76,17 @@
{% if part.expiredAmountSum > 0 %}
<span title="{% trans %}part_lots.is_expired{% endtrans %}" class="text-muted">(+{{ part.expiredAmountSum }})</span>
{% endif %}
{% if part.orderAmount > 0 %}
(+
<span title="{% trans %}orderstock.label{% endtrans %}">{{ part.orderAmount | format_amount(part.partUnit) }}</span>
{% if part.orderDelivery %}
@
<span class="badge bg-info mb-1" title="{% trans %}part.filter.orderDelivery{% endtrans %}">
<i class="fas fa-calendar-alt fa-fw"></i> {{ part.orderDelivery | format_date() }}<br>
</span>
{% endif %}
)
{% endif %}
/
<span title="{% trans %}mininstock.label{% endtrans %}">{{ part.minAmount | format_amount(part.partUnit) }}</span>
</span>

View file

@ -39,6 +39,14 @@
</a>
{% endif %}
{% if is_granted('edit', part) %}
<br>
<a class="btn btn-info mt-2" href="{{ entity_url(part, 'delivered') }}">
<i class="fas fa-cloud-arrow-down"></i>
{% trans %}part.delivered.btn{% endtrans %}
</a>
{% endif %}
<form method="post" class="mt-2" action="{{ entity_url(part, 'delete') }}"
{{ stimulus_controller('elements/delete_btn') }} {{ stimulus_action('elements/delete_btn', "submit", "submit") }}

View file

@ -73,6 +73,8 @@
<div class="tab-pane pt-3" id="filter-stocks" role="tabpanel" aria-labelledby="filter-stocks-tab" tabindex="0">
{{ form_row(filterForm.storelocation) }}
{{ form_row(filterForm.minAmount) }}
{{ form_row(filterForm.orderAmount) }}
{{ form_row(filterForm.orderDelivery) }}
{{ form_row(filterForm.amountSum) }}
{{ form_row(filterForm.lessThanDesired) }}
{{ form_row(filterForm.lotCount) }}

View file

@ -2851,6 +2851,18 @@ Wenn Sie dies fehlerhafterweise gemacht haben oder ein Computer nicht mehr vertr
<target>Min. Menge</target>
</segment>
</unit>
<unit id="paZGdmg" name="part.table.orderamount">
<segment state="translated">
<source>part.table.orderamount</source>
<target>Bestellte Menge</target>
</segment>
</unit>
<unit id="paZGdmh" name="part.table.orderDelivery">
<segment state="translated">
<source>part.table.orderDelivery</source>
<target>Lieferdatum</target>
</segment>
</unit>
<unit id="F6gnPca" name="part.table.partUnit">
<segment state="translated">
<source>part.table.partUnit</source>
@ -3361,6 +3373,18 @@ Wenn Sie dies fehlerhafterweise gemacht haben oder ein Computer nicht mehr vertr
<target>Mindestbestand</target>
</segment>
</unit>
<unit id="AVZaczj" name="part.edit.orderstock">
<segment state="translated">
<source>part.edit.orderstock</source>
<target>Bestellte Menge</target>
</segment>
</unit>
<unit id="AVZaczk" name="part.edit.orderDelivery">
<segment state="translated">
<source>part.edit.orderDelivery</source>
<target>Lieferdatum</target>
</segment>
</unit>
<unit id="EpsnDlo" name="part.edit.category">
<segment state="translated">
<source>part.edit.category</source>
@ -9337,6 +9361,12 @@ Bitte beachten Sie, dass Sie sich nicht als deaktivierter Benutzer ausgeben kön
<target>Bauteil aus Informationsquelle aktualisieren</target>
</segment>
</unit>
<unit id="Bxk6TEx" name="part.delivered.btn">
<segment state="translated">
<source>part.delivered.btn</source>
<target>Bestellte Menge wurde geliefert</target>
</segment>
</unit>
<unit id="7pDRUQB" name="info_providers.update_part.title">
<segment state="translated">
<source>info_providers.update_part.title</source>

View file

@ -1407,6 +1407,18 @@ Sub elements will be moved upwards.</target>
<target>Minimum amount</target>
</segment>
</unit>
<unit id="paZGdmg" name="part.table.orderamount">
<segment state="translated">
<source>part.table.orderamount</source>
<target>Ordered amount</target>
</segment>
</unit>
<unit id="paZGdmh" name="part.table.orderDelivery">
<segment state="translated">
<source>part.table.orderDelivery</source>
<target>Delivery date</target>
</segment>
</unit>
<unit id="oO3jvSb" name="part.order.price">
<segment state="translated">
<source>part.order.price</source>
@ -3362,6 +3374,18 @@ If you have done this incorrectly or if a computer is no longer trusted, you can
<target>Minimum stock</target>
</segment>
</unit>
<unit id="AVZaczj" name="part.edit.orderstock">
<segment state="translated">
<source>part.edit.orderstock</source>
<target>Ordered amount</target>
</segment>
</unit>
<unit id="AVZaczk" name="part.edit.orderDelivery">
<segment state="translated">
<source>part.edit.orderDelivery</source>
<target>Delivery date</target>
</segment>
</unit>
<unit id="EpsnDlo" name="part.edit.category">
<segment state="translated">
<source>part.edit.category</source>
@ -9338,6 +9362,12 @@ Please note, that you can not impersonate a disabled user. If you try you will g
<target>Update part from info providers</target>
</segment>
</unit>
<unit id="Bxk6TEx" name="part.delivered.btn">
<segment state="translated">
<source>part.delivered.btn</source>
<target>Ordered amount has been delivered</target>
</segment>
</unit>
<unit id="7pDRUQB" name="info_providers.update_part.title">
<segment state="translated">
<source>info_providers.update_part.title</source>