@extends('layouts.app') @section('title', 'Create Template') @section('content')
@csrf

Template Information

Template Content

This section appears at the top of the invoice. Typically includes company logo, name, and invoice title.

The main content of the invoice. Includes billing details, line items table, and totals.

Appears at the bottom of the invoice. Use for terms & conditions, payment details, or thank you notes.

Available Template Variables

Use these variables in your HTML template. They will be replaced with actual data when generating invoices.

@foreach(['company_name', 'company_logo', 'company_email', 'company_phone', 'company_website', 'company_address', 'gst_number', 'pan_number', 'invoice_number', 'invoice_date', 'due_date', 'customer_name', 'customer_email', 'customer_phone', 'customer_address', 'customer_gst', 'items', 'subtotal', 'discount', 'taxable_amount', 'cgst', 'sgst', 'igst', 'grand_total', 'amount_in_words', 'invoice_prefix', 'financial_year', 'tax_invoice_prefix'] as $var) @{{{{ $var }}}} @endforeach
Cancel Create Template
@endsection