{% extends '/layout/admin_layout.html.twig' %} {% import "macro/listing.html.twig" as listingMacro %} {% set labels = class_constants('App\\Label\\InventoryLabel') %} {% block title %}Inventory {% endblock %} {% block content %}
Add Inventory {{ listingMacro.bulkDeleteButton( path('app_inventory_bulk_delete'), csrf_token('delete') ) }}
{{ listingMacro.filtersBtn( path('app_inventory_filters', app.request.query|merge({'target': target.value})) ) }} {{ listingMacro.exportBtn( exportTypes, 'app_inventory_bulk_export', app.request.query|merge({'target': target.value}) ) }}
{% include('components/page_size_choice.html.twig') %}
{% for inventory in inventories %} {% else %} {% endfor %}
{{ listingMacro.listingHeaderCheckbox() }} # {{ listingMacro.sortItem(sort, 'serial_number', labels.SERIAL_NUMBER) }} {{ listingMacro.sortItem(sort, 'customer.username', labels.CUSTOMER) }} {{ listingMacro.sortItem(sort, 'po_number', labels.PO_NUMBER) }} {{ listingMacro.sortItem(sort, 'stock_entrance_date', labels.STOCK_ENTRANCE_DATE) }} {{ listingMacro.sortItem(sort, 'so_number', labels.SO_NUMBER) }} {{ listingMacro.sortItem(sort, 'dispatch_date', labels.DISPATCH_DATE) }} {{ listingMacro.sortItem(sort, 'created_at', 'Created at') }} {{ listingMacro.sortItem(sort, 'partNumber.value', labels.PART_NUMBER) }} {{ listingMacro.sortItem(sort, 'iit_type.value', labels.IIT_TYPE) }} {{ listingMacro.sortItem(sort, 'fom', labels.FOM) }} {{ listingMacro.sortItem(sort, 'phosphor_type.value', labels.PHOSPHOR_TYPE) }} {{ listingMacro.sortItem(sort, 'auto_gating', labels.AUTO_GATING) }} {{ listingMacro.sortItem(sort, 'emi', labels.EMI) }} {{ listingMacro.sortItem(sort, 'cathode_sensitivity_2856k', labels.CATHODE_SENSITIVITY_2856K) }} {{ listingMacro.sortItem(sort, 'radiant_sensitivity_800_nm', labels.RADIANT_SENSITIVITY_800_NM) }} {{ listingMacro.sortItem(sort, 'radiant_sensitivity_850_nm', labels.RADIANT_SENSITIVITY_850_NM) }} {{ listingMacro.sortItem(sort, 'maxOutputBrightness', labels.MAX_OUTPUT_BRIGHTNESS) }} {{ listingMacro.sortItem(sort, 'luminanceGain', labels.LUMINANCE_GAIN) }} {{ listingMacro.sortItem(sort, 'centerResolution', labels.CENTER_RESOLUTION) }} {{ listingMacro.sortItem(sort, 'peripheral_resolution', labels.PERIPHERAL_RESOLUTION) }} {{ listingMacro.sortItem(sort, 'mtf_2p5lp', labels.MTF_2P5LP) }} {{ listingMacro.sortItem(sort, 'mtf_7p5lp', labels.MTF_7P5LP) }} {{ listingMacro.sortItem(sort, 'mtf_15lp', labels.MTF_15LP) }} {{ listingMacro.sortItem(sort, 'mtf_25lp', labels.MTF_25LP) }} {{ listingMacro.sortItem(sort, 'ebi', labels.EBI) }} {{ listingMacro.sortItem(sort, 'image_alignment', labels.IMAGE_ALIGNMENT) }} {{ listingMacro.sortItem(sort, 'mechanical_inspection', labels.MECHANICAL_INSPECTION) }} {{ listingMacro.sortItem(sort, 'snr', labels.SNR) }} {{ listingMacro.sortItem(sort, 'operational_life', labels.OPERATIONAL_LIFE) }} Actions
{{ listingMacro.listingCheckbox(inventory.id) }} {{ pagination.rowIndex(loop.index) }} {{ inventory.serialNumber }} {{ inventory.poNumber|default('-') }} {{ inventory.stockEntranceDate ? inventory.stockEntranceDate|date('d.m.Y') : '-' }} {{ inventory.soNumber|default('-') }} {{ inventory.dispatchDate ? inventory.dispatchDate|date('d.m.Y') : '-' }} {{ inventory.createdAt ? inventory.createdAt|date('d.m.Y') : '-' }} {{ inventory.partNumber|default('-') }} {{ inventory.iitType|default('-') }} {{ inventory.fom|default('-') }} {{ inventory.phosphorType|default('-') }} {{ inventory.autoGating ? 'YES' : 'NO' }} {{ inventory.emi ? 'YES' : 'NO' }} {{ inventory.cathodeSensitivity2856k is not null ? inventory.cathodeSensitivity2856k ~ labels.CATHODE_SENSITIVITY_UNIT|raw : '-' }} {{ inventory.radiantSensitivity800Nm is not null ? inventory.radiantSensitivity800Nm ~ labels.RADIANT_SENSITIVITY_UNIT|raw : '-' }} {{ inventory.radiantSensitivity850Nm is not null ? inventory.radiantSensitivity850Nm ~ labels.RADIANT_SENSITIVITY_UNIT|raw : '-' }} {{ inventory.maxOutputBrightness is not null ? inventory.maxOutputBrightness ~ labels.MAX_OUTPUT_BRIGHTNESS_UNIT|raw : '-' }} {{ inventory.luminanceGain is not null ? inventory.luminanceGain ~ labels.LUMINANCE_GAIN_UNIT|raw : '-' }} {{ inventory.centerResolution is not null ? inventory.centerResolution ~ labels.CENTER_RESOLUTION_UNIT|raw : '-' }} {{ inventory.peripheralResolution is not null ? inventory.peripheralResolution ~ labels.PERIPHERAL_RESOLUTION_UNIT|raw : '-' }} {{ inventory.mtf2p5lp is not null ? inventory.mtf2p5lp ~ labels.MTF_UNIT : '-' }} {{ inventory.mtf7p5lp is not null ? inventory.mtf7p5lp ~ labels.MTF_UNIT : '-' }} {{ inventory.mtf15lp is not null ? inventory.mtf15lp ~ labels.MTF_UNIT : '-' }} {{ inventory.mtf25lp is not null ? inventory.mtf25lp ~ labels.MTF_UNIT : '-' }} {{ inventory.ebi is not null ? inventory.ebi ~ labels.EBI_UNIT : '-' }} {{ inventory.imageAlignment ? inventory.imageAlignment.label : '-' }} {{ inventory.mechanicalInspection ? inventory.mechanicalInspection.label : '-' }} {{ inventory.snr|default('-') }} {{ operationalLife }}
no records found
{{ listingMacro.filtersModal( path('app_inventory_index', {'target': target.value}) ) }} {% endblock %}