@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
| ID | Report Type | Tahun | Status | Progress | Total Records | Requested By | Waktu |
|---|---|---|---|---|---|---|---|
| {{ $sync->id }} | @php $reportTypeLabels = [ 'ZVBILLING' => 'Billing', 'ZFFINANCE_YIELD' => 'Finance Yield', 'Z_GET_NEW_CUST' => 'Customer Master', 'Z_GET_PAYMENT' => 'Payment', 'Z_GET_ONHAND' => 'Sales On Hand' ]; @endphp {{ $reportTypeLabels[$sync->report_type] ?? $sync->report_type }} | {{ $sync->sync_year }} | @php $statusClass = match($sync->status) { 'completed' => 'success', 'failed' => 'danger', 'processing' => 'primary', default => 'warning' }; @endphp {{ strtoupper($sync->status) }} |
@if($sync->total_records > 0)
@php
$percent = round(($sync->processed_records / $sync->total_records) * 100, 1);
@endphp
|
{{ number_format($sync->total_records) }} | {{ $sync->requested_by ?? '-' }} |
Created: {{ date('d-m-Y H:i', strtotime($sync->created_at)) }} @if($sync->completed_at) Completed: {{ date('d-m-Y H:i', strtotime($sync->completed_at)) }} @endif |
Belum ada history sync.
Mulai Sync