@extends('admin.layouts.app') @section('title', '핀(PIN) 재고 관리') @section('page_title', '핀(PIN) 재고 관리') @push('head') @endpush @section('content')
상품명: {{ $product->name }} 권종명: {{ $sku->name }}
← 상품 수정으로 돌아가기
총 누적 핀
{{ number_format($stats['total']) }}
판매 대기 (AVAILABLE)
{{ number_format($stats['AVAILABLE']) }}
판매 완료 (SOLD)
{{ number_format($stats['SOLD']) }}
회수됨 (RECALLED)
{{ number_format($stats['RECALLED']) }}
기타 (결제중/만료)
{{ number_format($stats['HOLD'] + $stats['EXPIRED']) }}

➕ 핀 대량 등록 (붙여넣기)

@csrf

📤 최신 핀 회수 및 추출 (ZIP)

※ 등록된 역순(가장 최신 핀)으로 '판매 대기'인 핀만 회수합니다.
@csrf

📋 핀 재고 목록 검색

@if(request('q') || request('status')) 초기화 @endif
@forelse($pins as $pin) @empty @endforelse
ID 핀(PIN) 번호 (마스킹) 정액 금액 매입 원가 마진율 상태 등록일시
{{ $pin->id }} {{ $pin->decrypted_code }} {{ number_format($pin->face_value) }}원 {{ number_format($pin->buy_price) }}원 {{ $pin->margin_rate }}% @if($pin->status === 'AVAILABLE') 판매대기 @elseif($pin->status === 'SOLD') 판매완료 @elseif($pin->status === 'RECALLED') 회수됨 @else {{ $pin->status }} @endif {{ \Carbon\Carbon::parse($pin->created_at)->format('Y-m-d H:i') }}
등록된 핀 번호가 없습니다.
{{ $pins->onEachSide(1)->links('vendor.pagination.admin') }}
@endsection @push('scripts') @endpush