@extends('layouts.app') @section('title', 'Invoice '.$invoice->id.' — EasyHR Billing') @section('content')

Invoice #{{ $invoice->id }}

@csrf
Download PDF @if ($invoice->status === 'unpaid')
@csrf
@csrf @method('DELETE')
@endif
@if ($invoice->sync_error)
Not synced to the company site: {{ $invoice->sync_error }}
@endif
@include('invoices.sheet')
@if ($invoice->status === 'unpaid')
@csrf

Mark Paid

@error('paid_at')
{{ $message }}
@enderror
@endif
@if ($invoice->carriedTo)
Carried To Invoice #{{ $invoice->carried_to_invoice_id }}
@endif @endsection