@extends('layouts.app') @section('title', 'Nowa faktura – podsumowanie') @section('content')
FA #{{ $proforma->id }}
@if($proforma->numer)
— numer: {{ $proforma->numer }}
@endif
| Numer faktury (P_2) | {{ $proforma->numer }} |
|---|---|
| Data wystawienia (P_1) | {{ $proforma->data_wystawienia }} |
| Miejsce wystawienia (P_1M) | {{ $proforma->miejsce_wystawienia }} |
| Waluta (KodWaluty) | {{ $proforma->kod_waluty }} |
| Data / okres sprzedaży (P_6 / OkresFa) | @if($proforma->data_sprzedazy) {{ $proforma->data_sprzedazy }} @elseif($proforma->okres_sprzedazy_od || $proforma->okres_sprzedazy_do) {{ $proforma->okres_sprzedazy_od }} – {{ $proforma->okres_sprzedazy_do }} @else nie określono @endif |
| Rodzaj faktury (RodzajFaktury) | {{ $rodzajMap[$proforma->rodzaj_faktury] ?? $proforma->rodzaj_faktury }} |
{{ $proforma->podmiot1->nazwa }}
NIP: {{ $proforma->podmiot1->nip }}
{{ $proforma->podmiot1->adres_l1 }}
{{ $proforma->podmiot1->adres_l2 }}
@if($proforma->podmiot1->kontakt1_email)
E-mail: {{ $proforma->podmiot1->kontakt1_email }}
@endif
@if($proforma->podmiot1->kontakt1_telefon)
Tel: {{ $proforma->podmiot1->kontakt1_telefon }}
@endif
Brak powiązanego sprzedawcy.
@endif@if($proforma->podmiot2->nazwa) {{ $proforma->podmiot2->nazwa }} @else {{ trim($proforma->podmiot2->imie.' '.$proforma->podmiot2->nazwisko) }} @endif
@if($proforma->podmiot2->nip)NIP: {{ $proforma->podmiot2->nip }}
{{ $proforma->podmiot2->adres_l1 }}
{{ $proforma->podmiot2->adres_l2 }}
@if($proforma->podmiot2->email)
E-mail: {{ $proforma->podmiot2->email }}
@endif
@if($proforma->podmiot2->telefon)
Tel: {{ $proforma->podmiot2->telefon }}
@endif
Brak powiązanego nabywcy.
@endif@if($proforma->podmiot3->nazwa) {{ $proforma->podmiot3->nazwa }} @else {{ trim($proforma->podmiot3->imie.' '.$proforma->podmiot3->nazwisko) }} @endif
{{ $proforma->podmiot3->adres_l1 }}
{{ $proforma->podmiot3->adres_l2 }}
@if($proforma->podmiot3->email)
E-mail: {{ $proforma->podmiot3->email }}
@endif
@if($proforma->podmiot3->telefon)
Tel: {{ $proforma->podmiot3->telefon }}
@endif
Nie wskazano odrębnego odbiorcy.
@endif| LP | Nazwa (P_7) | Ilość (P_8A) | JM (P_8B) | Cena netto | Cena brutto | Stawka VAT | Netto | VAT | Brutto |
|---|---|---|---|---|---|---|---|---|---|
| {{ $poz->lp }} | {{ $poz->nazwa }} | {{ number_format($poz->ilosc, 3, ',', ' ') }} | {{ $poz->jm }} | {{ $poz->cena_netto !== null ? number_format($poz->cena_netto, 4, ',', ' ') : '' }} | {{ $poz->cena_brutto !== null ? number_format($poz->cena_brutto, 4, ',', ' ') : '' }} | {{ $poz->stawka_vat }} | {{ number_format($poz->wartosc_netto, 2, ',', ' ') }} | {{ number_format($poz->wartosc_vat, 2, ',', ' ') }} | {{ number_format($poz->wartosc_brutto, 2, ',', ' ') }} |
| Stawka VAT | Netto razem | VAT razem | Brutto razem |
|---|---|---|---|
| {{ $stawka }} | {{ number_format($gNetto, 2, ',', ' ') }} | {{ number_format($gVat, 2, ',', ' ') }} | {{ number_format($gBrutto, 2, ',', ' ') }} |
| RAZEM | {{ number_format($sumNetto, 2, ',', ' ') }} | {{ number_format($sumVat, 2, ',', ' ') }} | {{ number_format($sumBrutto, 2, ',', ' ') }} |
| Zaplacono (Zaplacono) | @if($proforma->platnosc->zaplacono === null) brak informacji @else {{ $proforma->platnosc->zaplacono ? 'Tak' : 'Nie' }} @endif |
|---|---|
| Data zapłaty (DataZaplaty) | {{ $proforma->platnosc->data_zaplaty ?? '—' }} |
| Forma płatności (FormaPlatnosci / PlatnoscInna) | @php $forma = $proforma->platnosc->forma_platnosci; @endphp @if($proforma->platnosc->platnosc_inna) Inna forma płatności @if($forma) (kod: {{ $forma }}) @endif @elseif($forma) {{ $formaMap[$forma] ?? $forma }} @else nie określono @endif |
| Opis płatności (OpisPlatnosci) | {{ $proforma->platnosc->opis_platnosci ?? '—' }} |
| Nr rachunku sprzedawcy (NrRB) | {{ $proforma->platnosc->rb_nrrb ?? '—' }} |
| Link do płatności (LinkDoPlatnosci) | {{ $proforma->platnosc->link_do_platnosci ?? '—' }} |
| Identyfikator IPKSeF | {{ $proforma->platnosc->ipksef ?? '—' }} |
Brak zdefiniowanych danych płatności.
@endif