Gunawan19621
1 year ago
47 changed files with 964 additions and 77 deletions
@ -1,17 +0,0 @@
|
||||
<?php |
||||
|
||||
namespace App\Exports; |
||||
|
||||
use App\Models\m_asset; |
||||
use Maatwebsite\Excel\Concerns\FromCollection; |
||||
|
||||
class AssetExport implements FromCollection |
||||
{ |
||||
/** |
||||
* @return \Illuminate\Support\Collection |
||||
*/ |
||||
public function collection() |
||||
{ |
||||
return m_asset::all(); |
||||
} |
||||
} |
@ -0,0 +1,55 @@
|
||||
<?php |
||||
|
||||
namespace App\Exports; |
||||
|
||||
use App\Models\Customer; |
||||
use Maatwebsite\Excel\Concerns\WithHeadings; |
||||
use Maatwebsite\Excel\Concerns\FromCollection; |
||||
|
||||
class CustomerExport implements FromCollection, WithHeadings |
||||
{ |
||||
/** |
||||
* @return \Illuminate\Support\Collection |
||||
*/ |
||||
public function collection() |
||||
{ |
||||
// Ambil data dari model Peti |
||||
$customers = Customer::select( |
||||
'id', |
||||
'name', |
||||
'code_customer', |
||||
'lot_no', |
||||
'no_tlp', |
||||
'address' |
||||
)->get(); |
||||
|
||||
// Inisialisasi nomor awal |
||||
// $nomor = 1; |
||||
|
||||
// Modifikasi data dan tambahkan nomor |
||||
$data = $customers->map(function ($customer) use (&$nomor) { |
||||
return [ |
||||
'No' => $customer->id, |
||||
'Nama Customer' => $customer->name, |
||||
'Kode Customer' => $customer->code_customer, |
||||
'Lot No' => $customer->lot_no, |
||||
'No Telepon' => $customer->no_tlp, |
||||
'Alamat' => $customer->address, |
||||
]; |
||||
}); |
||||
|
||||
return $data; |
||||
} |
||||
|
||||
public function headings(): array |
||||
{ |
||||
return [ |
||||
'No', |
||||
'NAMA CUSTOMER', |
||||
'kODE CUSTOMER', |
||||
'LOT NO', |
||||
'NO TELEPONE', |
||||
'ALAMAT', |
||||
]; |
||||
} |
||||
} |
@ -0,0 +1,46 @@
|
||||
<?php |
||||
|
||||
namespace App\Exports; |
||||
|
||||
use App\Models\Kondisi_Peti; |
||||
use Maatwebsite\Excel\Concerns\WithHeadings; |
||||
use Maatwebsite\Excel\Concerns\FromCollection; |
||||
|
||||
class KondisiPetiExport implements FromCollection, WithHeadings |
||||
{ |
||||
/** |
||||
* @return \Illuminate\Support\Collection |
||||
*/ |
||||
public function collection() |
||||
{ |
||||
// Ambil data dari model Peti |
||||
$kondisipetis = Kondisi_Peti::select( |
||||
'id', |
||||
'nama_kondisi', |
||||
'deskripsi_kondisi', |
||||
)->get(); |
||||
|
||||
// Inisialisasi nomor awal |
||||
// $nomor = 1; |
||||
|
||||
// Modifikasi data dan tambahkan nomor |
||||
$data = $kondisipetis->map(function ($kondisipeti) use (&$nomor) { |
||||
return [ |
||||
'No' => $kondisipeti->id, |
||||
'Nama Kondisi' => $kondisipeti->nama_kondisi, |
||||
'Deskripsi' => $kondisipeti->deskripsi_kondisi, |
||||
]; |
||||
}); |
||||
|
||||
return $data; |
||||
} |
||||
|
||||
public function headings(): array |
||||
{ |
||||
return [ |
||||
'No', |
||||
'NAMA KONDISI', |
||||
'DESKRIPSI', |
||||
]; |
||||
} |
||||
} |
@ -0,0 +1,49 @@
|
||||
<?php |
||||
|
||||
namespace App\Exports; |
||||
|
||||
use App\Models\Type_peti; |
||||
use Maatwebsite\Excel\Concerns\WithHeadings; |
||||
use Maatwebsite\Excel\Concerns\FromCollection; |
||||
|
||||
class TipePetiExport implements FromCollection, WithHeadings |
||||
{ |
||||
/** |
||||
* @return \Illuminate\Support\Collection |
||||
*/ |
||||
public function collection() |
||||
{ |
||||
// Ambil data dari model Peti |
||||
$tipepetis = Type_peti::select( |
||||
'id', |
||||
'type', |
||||
'size_peti', |
||||
'description', |
||||
)->get(); |
||||
|
||||
// Inisialisasi nomor awal |
||||
// $nomor = 1; |
||||
|
||||
// Modifikasi data dan tambahkan nomor |
||||
$data = $tipepetis->map(function ($tipepeti) use (&$nomor) { |
||||
return [ |
||||
'No' => $tipepeti->id, |
||||
'Tipe' => $tipepeti->type, |
||||
'Ukuran Peti' => $tipepeti->size_peti, |
||||
'Deskripsi' => $tipepeti->description, |
||||
]; |
||||
}); |
||||
|
||||
return $data; |
||||
} |
||||
|
||||
public function headings(): array |
||||
{ |
||||
return [ |
||||
'No', |
||||
'TIPE', |
||||
'UKURAN PETI', |
||||
'DESKRIPSI', |
||||
]; |
||||
} |
||||
} |
@ -0,0 +1,49 @@
|
||||
<?php |
||||
|
||||
namespace App\Exports; |
||||
|
||||
use App\Models\m_warehouse; |
||||
use Maatwebsite\Excel\Concerns\WithHeadings; |
||||
use Maatwebsite\Excel\Concerns\FromCollection; |
||||
|
||||
class WarehouseExport implements FromCollection, WithHeadings |
||||
{ |
||||
/** |
||||
* @return \Illuminate\Support\Collection |
||||
*/ |
||||
public function collection() |
||||
{ |
||||
// Ambil data dari model Peti |
||||
$warehouses = m_warehouse::select( |
||||
'id', |
||||
'name', |
||||
'description', |
||||
'address', |
||||
)->get(); |
||||
|
||||
// Inisialisasi nomor awal |
||||
// $nomor = 1; |
||||
|
||||
// Modifikasi data dan tambahkan nomor |
||||
$data = $warehouses->map(function ($warehouse) use (&$nomor) { |
||||
return [ |
||||
'No' => $warehouse->id, |
||||
'Nama Gudang' => $warehouse->name, |
||||
'Deskripsi' => $warehouse->description, |
||||
'Alamat' => $warehouse->address, |
||||
]; |
||||
}); |
||||
|
||||
return $data; |
||||
} |
||||
|
||||
public function headings(): array |
||||
{ |
||||
return [ |
||||
'No', |
||||
'NAMA GUDANG', |
||||
'DESKRIPSI', |
||||
'ALAMAT', |
||||
]; |
||||
} |
||||
} |
@ -1,12 +1,13 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers; |
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Models\Peti; |
||||
use App\Models\asset_status; |
||||
use Illuminate\Http\Request; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
use App\Exports\PetternLotPetiExport; |
||||
use App\Models\asset_status; |
||||
|
||||
class PetternLotPetiController extends Controller |
||||
{ |
@ -0,0 +1,27 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Models\Customer; |
||||
use Illuminate\Http\Request; |
||||
use App\Exports\CustomerExport; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
|
||||
class ReportCustomerController extends Controller |
||||
{ |
||||
public function index() |
||||
{ |
||||
$data = [ |
||||
'customers' => Customer::get(), |
||||
'active' => 'menu-ReportCustomer' |
||||
]; |
||||
return view('dashboard.Master_Data.Report.Customer.index', $data); |
||||
} |
||||
|
||||
public function export() |
||||
{ |
||||
// dd('export'); |
||||
return Excel::download(new CustomerExport, 'Report_Customer.xlsx'); |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Exports\KondisiPetiExport; |
||||
use App\Models\Kondisi_Peti; |
||||
use Illuminate\Http\Request; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
|
||||
class ReportKondisiPetiController extends Controller |
||||
{ |
||||
public function index() |
||||
{ |
||||
// dd('Index'); |
||||
$data = [ |
||||
'kondisiPeti' => Kondisi_Peti::get(), |
||||
'active' => 'menu-ReportKondisiPeti' |
||||
]; |
||||
return view('dashboard.Master_Data.Report.Kondisi_Peti.index', $data); |
||||
} |
||||
|
||||
public function export() |
||||
{ |
||||
// dd('export'); |
||||
return Excel::download(new KondisiPetiExport, 'Report_Kondisi_Peti.xlsx'); |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Exports\TipePetiExport; |
||||
use App\Models\Type_peti; |
||||
use Illuminate\Http\Request; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
|
||||
class ReportTipePetiController extends Controller |
||||
{ |
||||
public function index() |
||||
{ |
||||
// dd('Index'); |
||||
$data = [ |
||||
'tipepeti' => Type_peti::get(), |
||||
'active' => 'menu-ReportTypePeti' |
||||
]; |
||||
return view('dashboard.Master_Data.Report.Tipe_Peti.index', $data); |
||||
} |
||||
|
||||
public function export() |
||||
{ |
||||
// dd('export'); |
||||
return Excel::download(new TipePetiExport, 'Report_Tipe_Peti.xlsx'); |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Exports\WarehouseExport; |
||||
use App\Models\m_warehouse; |
||||
use Illuminate\Http\Request; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
|
||||
class ReportWarehouseController extends Controller |
||||
{ |
||||
public function index() |
||||
{ |
||||
// dd('Index'); |
||||
$data = [ |
||||
'warehouse' => m_warehouse::get(), |
||||
'active' => 'menu-ReportWarehouse' |
||||
]; |
||||
return view('dashboard.Master_Data.Report.Warehouse.index', $data); |
||||
} |
||||
|
||||
public function export() |
||||
{ |
||||
// dd('export'); |
||||
return Excel::download(new WarehouseExport, 'Report_Warehouse.xlsx'); |
||||
} |
||||
} |
@ -1,12 +1,13 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers; |
||||
namespace App\Http\Controllers\Report; |
||||
|
||||
use App\Exports\StokOpNameExport; |
||||
use App\Models\Peti; |
||||
use App\Models\asset_status; |
||||
use Illuminate\Http\Request; |
||||
use App\Exports\StokOpNameExport; |
||||
use Illuminate\Support\Facades\DB; |
||||
use App\Http\Controllers\Controller; |
||||
use Maatwebsite\Excel\Facades\Excel; |
||||
|
||||
class StokOpNameController extends Controller |
@ -0,0 +1,30 @@
|
||||
<?php |
||||
|
||||
namespace App\Imports; |
||||
|
||||
use App\Models\Kondisi_Peti; |
||||
use Illuminate\Support\Collection; |
||||
use Illuminate\Support\Facades\Auth; |
||||
use Maatwebsite\Excel\Concerns\ToModel; |
||||
use Maatwebsite\Excel\Concerns\ToCollection; |
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow; |
||||
|
||||
class KondisiPetiImport implements ToModel, WithHeadingRow |
||||
{ |
||||
/** |
||||
* @param array $row |
||||
* |
||||
* @return \Illuminate\Database\Eloquent\Model|null |
||||
*/ |
||||
public function model(array $row) |
||||
{ |
||||
// Mendapatkan informasi pengguna yang sedang login |
||||
$user = Auth::user(); |
||||
|
||||
return new Kondisi_Peti([ |
||||
'nama_kondisi' => $row['nama_kondisi'], |
||||
'deskripsi_kondisi' => $row['deskripsi_kondisi'], |
||||
'created_by' => $user->fullname, |
||||
]); |
||||
} |
||||
} |
@ -0,0 +1,37 @@
|
||||
<?php |
||||
|
||||
namespace App\Imports; |
||||
|
||||
use App\Models\Peti; |
||||
use Illuminate\Support\Collection; |
||||
use Illuminate\Support\Facades\Auth; |
||||
use Maatwebsite\Excel\Concerns\ToModel; |
||||
use Maatwebsite\Excel\Concerns\ToCollection; |
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow; |
||||
|
||||
class PetiImport implements ToModel, WithHeadingRow |
||||
{ |
||||
/** |
||||
* @param array $row |
||||
* |
||||
* @return \Illuminate\Database\Eloquent\Model|null |
||||
*/ |
||||
public function model(array $row) |
||||
{ |
||||
// Mendapatkan informasi pengguna yang sedang login |
||||
$user = Auth::user(); |
||||
|
||||
return new Peti([ |
||||
'created_by' => $user->fullname, |
||||
'tipe_peti_id' => $row['tipe_peti_id'], |
||||
'warna' => $row['warna'], |
||||
'customer_id' => $row['customer_id'], |
||||
'warehouse_id' => $row['warehouse_id'], |
||||
'date_pembuatan' => now(), |
||||
'kondisipeti_id' => $row['kondisipeti_id'], |
||||
'packing_no' => $row['packing_no'], |
||||
'fix_lot' => $row['fix_lot'], |
||||
'status' => $row['status'], |
||||
]); |
||||
} |
||||
} |
@ -0,0 +1,32 @@
|
||||
<?php |
||||
|
||||
namespace App\Imports; |
||||
|
||||
use App\Models\Type_peti; |
||||
use Illuminate\Support\Collection; |
||||
use Illuminate\Support\Facades\Auth; |
||||
use Maatwebsite\Excel\Concerns\ToModel; |
||||
use App\Models\Type_peti as ModelsType_peti; |
||||
use Maatwebsite\Excel\Concerns\ToCollection; |
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow; |
||||
|
||||
class TipePetiImport implements ToModel, WithHeadingRow |
||||
{ |
||||
/** |
||||
* @param array $row |
||||
* |
||||
* @return \Illuminate\Database\Eloquent\Model|null |
||||
*/ |
||||
public function model(array $row) |
||||
{ |
||||
// Mendapatkan informasi pengguna yang sedang login |
||||
$user = Auth::user(); |
||||
|
||||
return new Type_peti([ |
||||
'type' => $row['type'], |
||||
'size_peti' => $row['size_peti'], |
||||
'description' => $row['description'], |
||||
'created_by' => $user->fullname, |
||||
]); |
||||
} |
||||
} |
@ -0,0 +1,31 @@
|
||||
<?php |
||||
|
||||
namespace App\Imports; |
||||
|
||||
use App\Models\m_warehouse; |
||||
use Illuminate\Support\Collection; |
||||
use Illuminate\Support\Facades\Auth; |
||||
use Maatwebsite\Excel\Concerns\ToModel; |
||||
use Maatwebsite\Excel\Concerns\ToCollection; |
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow; |
||||
|
||||
class WarehouseImport implements ToModel, WithHeadingRow |
||||
{ |
||||
/** |
||||
* @param array $row |
||||
* |
||||
* @return \Illuminate\Database\Eloquent\Model|null |
||||
*/ |
||||
public function model(array $row) |
||||
{ |
||||
// Mendapatkan informasi pengguna yang sedang login |
||||
$user = Auth::user(); |
||||
|
||||
return new m_warehouse([ |
||||
'name' => $row['name'], |
||||
'description' => $row['description'], |
||||
'address' => $row['address'], |
||||
'created_by' => $user->fullname, |
||||
]); |
||||
} |
||||
} |
|
|
|
@ -0,0 +1,59 @@
|
||||
@extends('layouts.main') |
||||
@section('content') |
||||
<style> |
||||
.table th { |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.table td { |
||||
white-space: nowrap; |
||||
} |
||||
</style> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Report Customer</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="{{ route('dashboard.ReportCustomer.export') }}" class="btn btn-info btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Export Exel</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama Customer</th> |
||||
<th>Kode Customer</th> |
||||
<th>Lot No</th> |
||||
<th>No. Telepon</th> |
||||
<th>Alamat</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
@php |
||||
$noreport = 1; |
||||
@endphp |
||||
@forelse ($customers as $data_customer) |
||||
<tr> |
||||
<td class="text-center">{{ $noreport++ }}</td> |
||||
<td>{{ $data_customer->name }}</td> |
||||
<td>{{ $data_customer->code_customer }}</td> |
||||
<td>{{ $data_customer->lot_no }}</td> |
||||
<td>{{ $data_customer->no_tlp }}</td> |
||||
<td>{{ $data_customer->address }}</td> |
||||
</tr> |
||||
@empty |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -0,0 +1,53 @@
|
||||
@extends('layouts.main') |
||||
@section('content') |
||||
<style> |
||||
.table th { |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.table td { |
||||
white-space: nowrap; |
||||
} |
||||
</style> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Report Kondisi Peti</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="{{ route('dashboard.ReportKondisiPeti.export') }}" class="btn btn-info btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Export Exel</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th class="text-center" style="width: 50px">No</th> |
||||
<th>Kondisi Peti</th> |
||||
<th>Deskripsi</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
@php |
||||
$noreport = 1; |
||||
@endphp |
||||
@forelse ($kondisiPeti as $data_kondisiPeti) |
||||
<tr> |
||||
<td class="text-center">{{ $noreport++ }}</td> |
||||
<td>{{ $data_kondisiPeti->nama_kondisi }}</td> |
||||
<td>{{ $data_kondisiPeti->deskripsi_kondisi }}</td> |
||||
</tr> |
||||
@empty |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -0,0 +1,55 @@
|
||||
@extends('layouts.main') |
||||
@section('content') |
||||
<style> |
||||
.table th { |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.table td { |
||||
white-space: nowrap; |
||||
} |
||||
</style> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Report Tipe Peti</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="{{ route('dashboard.ReportTipePeti.export') }}" class="btn btn-info btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Export Exel</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th class="text-center" style="width: 50px">No</th> |
||||
<th>Tipe Peti</th> |
||||
<th>Ukuran Peti</th> |
||||
<th>Deskripsi Peti</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
@php |
||||
$noreport = 1; |
||||
@endphp |
||||
@forelse ($tipepeti as $data_tipepeti) |
||||
<tr> |
||||
<td class="text-center">{{ $noreport++ }}</td> |
||||
<td>{{ $data_tipepeti->type }}</td> |
||||
<td>{{ $data_tipepeti->size_peti }}</td> |
||||
<td>{{ $data_tipepeti->description }}</td> |
||||
</tr> |
||||
@empty |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -0,0 +1,55 @@
|
||||
@extends('layouts.main') |
||||
@section('content') |
||||
<style> |
||||
.table th { |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.table td { |
||||
white-space: nowrap; |
||||
} |
||||
</style> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Report Warehouse</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="{{ route('dashboard.ReportWarehouse.export') }}" class="btn btn-info btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Export Exel</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama Gudang</th> |
||||
<th>Deskripsi</th> |
||||
<th>Alamat</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
@php |
||||
$noreport = 1; |
||||
@endphp |
||||
@forelse ($warehouse as $data_warehouse) |
||||
<tr> |
||||
<td class="text-center">{{ $noreport++ }}</td> |
||||
<td>{{ $data_warehouse->name }}</td> |
||||
<td>{{ $data_warehouse->description }}</td> |
||||
<td>{{ $data_warehouse->address }}</td> |
||||
</tr> |
||||
@empty |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
Loading…
Reference in new issue