<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class AutocountSalesInvoiceBookingDetailsResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'DocNo' => $this['DocNo'],
            'DocDate' => $this['DocDate'],
            'DebtorCode' => $this['DebtorCode'],
            'Ref' => $this['Ref'],
            'ShipInfo' => $this['ShipInfo'],
            'AccNo' => $this['AccNo'],
            'DetailDescription' => $this['DetailDescription'],
            'FurtherDescription' => $this['FurtherDescription'],
            'Classification' => $this['Classification'],
            'DeptNo' => $this['DeptNo'],
            'Qty' => $this['Qty'],
            'UnitPrice' => $this['UnitPrice'],
            'SubmitEinvoice' => $this['SubmitEinvoice'],
            'ConsolidatedEinvoice' => $this['ConsolidatedEinvoice'],
            'InvoiceStatus' => $this['InvoiceStatus'],
        ];
    }

}
