{{-- Sweet Works ERP | app/Modules/Manufacturing/Resources/Views/resources/index.blade.php | v1.1 | 30/08/2026 --}} {{-- v1.1 — i18n sweep: replace all hardcoded text with __() calls. --}} {{-- v1.0 — Índice de Recursos (Máquinas, Líneas, Equipos). --}} @extends('layouts.vertical') @section('content')

{{ __('manufacturing.resources.title') }}

@can('manufacturing.resource.create') {{ __('manufacturing.resources.new_btn') }} @endcan
@if(session('success'))
{{ session('success') }}
@endif
{{ __('manufacturing.common.clear') }}
@forelse($resources as $res) @empty @endforelse
{{ __('manufacturing.work_centers.code') }} {{ __('manufacturing.work_centers.name') }} {{ __('manufacturing.work_centers.type') }} {{ __('manufacturing.resources.plant') }} {{ __('manufacturing.resources.cap_hour_col') }} {{ __('manufacturing.work_centers.efficiency') }} {{ __('manufacturing.resources.eff_shift_col') }} {{ __('manufacturing.common.status') }} {{ __('manufacturing.common.actions') }}
{{ $res->code }} {{ $res->name }} {{ \App\Modules\Manufacturing\Models\MfgResource::types()[$res->type] ?? $res->type }} {{ $res->workCenter->code }} {{ number_format($res->capacity_per_hour, 0) }} {{ $res->efficiency_percent }}% {{ number_format($res->effectiveCapacityPerShift, 0) }} @if($res->is_active) {{ __('manufacturing.common.active') }} @else {{ __('manufacturing.common.inactive') }} @endif @can('manufacturing.resource.edit')
@csrf
@endcan
{{ __('manufacturing.common.no_records') }}
@if($resources->hasPages()) @endif
@endsection