157 lines
4.6 KiB
Dart
157 lines
4.6 KiB
Dart
const dynamic kMockInvoices = '''
|
|
{
|
|
"data": [
|
|
{
|
|
"id": "gl9av2maG1",
|
|
"user_id": "MVyb8mdvAZ",
|
|
"assigned_user_id": "",
|
|
"amount": 50,
|
|
"balance": 50,
|
|
"client_id": "JAPdRqbGyO",
|
|
"status_id": "2",
|
|
"design_id": "1",
|
|
"updated_at": 1573652956,
|
|
"archived_at": null,
|
|
"invoice_number": "0001",
|
|
"discount": 0,
|
|
"po_number": "",
|
|
"invoice_date": "2019-11-01",
|
|
"due_date": "",
|
|
"terms": "",
|
|
"public_notes": "",
|
|
"private_notes": "",
|
|
"is_deleted": false,
|
|
"uses_inclusive_taxes": false,
|
|
"invoice_type_id": "",
|
|
"tax_name1": "",
|
|
"tax_rate1": 0,
|
|
"tax_name2": "",
|
|
"tax_rate2": 0,
|
|
"tax_name3": "",
|
|
"tax_rate3": 0,
|
|
"is_amount_discount": true,
|
|
"footer": "",
|
|
"partial": 0,
|
|
"partial_due_date": "",
|
|
"custom_value1": "",
|
|
"custom_value2": "",
|
|
"custom_value3": "",
|
|
"custom_value4": "",
|
|
"has_tasks": false,
|
|
"has_expenses": false,
|
|
"custom_surcharge1": 0,
|
|
"custom_surcharge2": 0,
|
|
"custom_surcharge3": 0,
|
|
"custom_surcharge4": 0,
|
|
"custom_surcharge_taxes": false,
|
|
"line_items": [
|
|
{
|
|
"product_key": "Guitar",
|
|
"quantity": 1,
|
|
"cost": 50,
|
|
"notes": "Gibson Les Paul",
|
|
"discount": 0,
|
|
"is_amount_discount": true,
|
|
"tax_name1": "",
|
|
"tax_rate1": 0,
|
|
"tax_name2": "",
|
|
"tax_rate2": 0,
|
|
"tax_name3": "",
|
|
"tax_rate3": 0,
|
|
"sort_id": "0",
|
|
"line_total": 0,
|
|
"date": "",
|
|
"custom_value1": "",
|
|
"custom_value2": "",
|
|
"custom_value3": "",
|
|
"custom_value4": "",
|
|
"invoice_item_type_id": "1"
|
|
}
|
|
],
|
|
"backup": "[]",
|
|
"settings": ""
|
|
},
|
|
{
|
|
"id": "gl9av2maG2",
|
|
"user_id": "MVyb8mdvAZ",
|
|
"assigned_user_id": "",
|
|
"amount": 20,
|
|
"balance": 20,
|
|
"client_id": "JAPdRqbGy2",
|
|
"status_id": "1",
|
|
"design_id": "1",
|
|
"updated_at": 1573652956,
|
|
"archived_at": null,
|
|
"invoice_number": "0002",
|
|
"discount": 0,
|
|
"po_number": "",
|
|
"invoice_date": "2019-11-01",
|
|
"due_date": "",
|
|
"terms": "",
|
|
"public_notes": "",
|
|
"private_notes": "",
|
|
"is_deleted": false,
|
|
"uses_inclusive_taxes": false,
|
|
"invoice_type_id": "",
|
|
"tax_name1": "",
|
|
"tax_rate1": 0,
|
|
"tax_name2": "",
|
|
"tax_rate2": 0,
|
|
"tax_name3": "",
|
|
"tax_rate3": 0,
|
|
"is_amount_discount": true,
|
|
"footer": "",
|
|
"partial": 0,
|
|
"partial_due_date": "",
|
|
"custom_value1": "",
|
|
"custom_value2": "",
|
|
"custom_value3": "",
|
|
"custom_value4": "",
|
|
"has_tasks": false,
|
|
"has_expenses": false,
|
|
"custom_surcharge1": 0,
|
|
"custom_surcharge2": 0,
|
|
"custom_surcharge3": 0,
|
|
"custom_surcharge4": 0,
|
|
"custom_surcharge_taxes": false,
|
|
"line_items": [
|
|
{
|
|
"product_key": "Bass",
|
|
"quantity": 1,
|
|
"cost": 20,
|
|
"notes": "Rickenbacker 4001S",
|
|
"discount": 0,
|
|
"is_amount_discount": true,
|
|
"tax_name1": "",
|
|
"tax_rate1": 0,
|
|
"tax_name2": "",
|
|
"tax_rate2": 0,
|
|
"tax_name3": "",
|
|
"tax_rate3": 0,
|
|
"sort_id": "0",
|
|
"line_total": 0,
|
|
"date": "",
|
|
"custom_value1": "",
|
|
"custom_value2": "",
|
|
"custom_value3": "",
|
|
"custom_value4": "",
|
|
"invoice_item_type_id": "1"
|
|
}
|
|
],
|
|
"backup": "[]",
|
|
"settings": ""
|
|
}
|
|
],
|
|
"meta": {
|
|
"pagination": {
|
|
"total": 0,
|
|
"count": 0,
|
|
"per_page": 5000,
|
|
"current_page": 1,
|
|
"total_pages": 1,
|
|
"links": []
|
|
}
|
|
}
|
|
}
|
|
''';
|