35 lines
1,015 B
Dart
35 lines
1,015 B
Dart
import 'package:flutter/material.dart';
|
||
|
||
import '../../models/invoice_models.dart';
|
||
|
||
class InvoiceFormVariant {
|
||
const InvoiceFormVariant({
|
||
required this.id,
|
||
required this.title,
|
||
required this.defaultDocumentType,
|
||
this.heroDescription,
|
||
this.heroIcon,
|
||
});
|
||
|
||
final String id;
|
||
final String title;
|
||
final DocumentType defaultDocumentType;
|
||
final String? heroDescription;
|
||
final IconData? heroIcon;
|
||
|
||
static const InvoiceFormVariant billingDocs = InvoiceFormVariant(
|
||
id: 'billing_docs',
|
||
title: 'A1:伝票入力',
|
||
defaultDocumentType: DocumentType.invoice,
|
||
heroDescription: '既存のA1伝票(見積/納品/請求/領収)を作成できます',
|
||
heroIcon: Icons.receipt_long,
|
||
);
|
||
|
||
static const InvoiceFormVariant salesSlip = InvoiceFormVariant(
|
||
id: 'sales_slip',
|
||
title: '売上伝票入力',
|
||
defaultDocumentType: DocumentType.invoice,
|
||
heroDescription: '売上伝票として販売実績を登録します',
|
||
heroIcon: Icons.point_of_sale,
|
||
);
|
||
}
|