42 lines
1.5 KiB
PHP
42 lines
1.5 KiB
PHP
@extends('layouts.app')
|
|
@section('title', __('industrialengineering::lang.production_lines'))
|
|
@section('content')
|
|
@include('industrialengineering::layouts.nav')
|
|
<section class="content-header">
|
|
<h1>@lang('industrialengineering::lang.production_lines')</h1>
|
|
</section>
|
|
<section class="content">
|
|
<div class="box box-primary">
|
|
<div class="box-body">
|
|
<table class="table table-bordered table-striped" id="ie_prod_lines_table" style="width:100%">
|
|
<thead>
|
|
<tr>
|
|
<th>@lang('industrialengineering::lang.code')</th>
|
|
<th>@lang('industrialengineering::lang.line_name')</th>
|
|
<th>@lang('industrialengineering::lang.products')</th>
|
|
<th>@lang('industrialengineering::lang.revision')</th>
|
|
<th>@lang('industrialengineering::lang.status')</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@endsection
|
|
@section('javascript')
|
|
<script>
|
|
$(function(){
|
|
$('#ie_prod_lines_table').DataTable({
|
|
processing: true, serverSide: true,
|
|
ajax: '{{ action([\Modules\IndustrialEngineering\Http\Controllers\ProductionLineController::class, 'index']) }}',
|
|
columns: [
|
|
{data:'template_code'},{data:'name'},{data:'product_name'},
|
|
{data:'revision_code'},{data:'status'},
|
|
{data:'action', orderable:false, searchable:false}
|
|
]
|
|
});
|
|
});
|
|
</script>
|
|
@endsection
|