|
|
@@ -13,7 +13,10 @@
|
|
|
:show-expand-button="false"
|
|
|
:show-reload-button="false">
|
|
|
<template #entity-index-table-cell="{inputData}">
|
|
|
- <template v-if="inputData.col.name === 'action'">
|
|
|
+ <template v-if="inputData.col.name === 'number'">
|
|
|
+ {{ inputData.rowNumber }}
|
|
|
+ </template>
|
|
|
+ <template v-else-if="inputData.col.name === 'action'">
|
|
|
<q-btn color="primary"
|
|
|
:to="{name: 'Admin.Invoice.Show', params: {id: inputData.props.row.id}}">
|
|
|
جزییات جزییات
|
|
|
@@ -68,11 +71,19 @@ export default {
|
|
|
col: 'col-md-3 col-12'
|
|
|
},
|
|
|
{ type: 'select', name: 'category', options: [], label: 'وضعیت تراکنش', placeholder: ' ', col: 'col-md-2 col-12' },
|
|
|
+ { type: 'hidden', name: 'per_page', value: 5 },
|
|
|
{ type: 'input', name: 'category', label: 'نوع صورتحساب', placeholder: ' ', col: 'col-md-2 col-12' },
|
|
|
{ type: BtnControlComp, name: 'btn', responseKey: 'btn', label: 'جستجو', placeholder: ' ', atClick: () => {}, col: 'col-md-2 col-12' }
|
|
|
],
|
|
|
table: {
|
|
|
columns: [
|
|
|
+ {
|
|
|
+ name: 'number',
|
|
|
+ required: true,
|
|
|
+ label: 'شماره',
|
|
|
+ align: 'left',
|
|
|
+ field: () => ''
|
|
|
+ },
|
|
|
{
|
|
|
name: 'id',
|
|
|
required: true,
|