Files
docker-invoiceninja/docker/app/public/bundle.196f374d.js
2024-10-19 18:17:42 +00:00

2 lines
1.5 KiB
JavaScript

import{u as n,al as _,cQ as p,j as b,C as m,c as u,az as v,bt as $,by as f}from"./bundle.0b839d67.js";import{S as g}from"./bundle.ede3b020.js";import{u as h}from"./bundle.db2fffdc.js";function V(){var o,s,a,c;const[l]=n(),t=_(),r=h(),e=p(),d=[{value:"$product.item",label:l("item")},{value:"$product.description",label:l("description")},{value:"$product.quantity",label:l("quantity")},{value:"$product.unit_cost",label:l("unit_cost")},{value:"$product.tax",label:l("tax")},{value:"$product.discount",label:l("discount")},{value:"$product.line_total",label:l("line_total")},{value:"$product.product1",label:(o=t==null?void 0:t.custom_fields)!=null&&o.product1?e("product1").label():l("custom1")},{value:"$product.product2",label:(s=t==null?void 0:t.custom_fields)!=null&&s.product2?e("product2").label():l("custom2")},{value:"$product.product3",label:(a=t==null?void 0:t.custom_fields)!=null&&a.product3?e("product3").label():l("custom3")},{value:"$product.product4",label:(c=t==null?void 0:t.custom_fields)!=null&&c.product4?e("product4").label():l("custom4")},{value:"$product.gross_line_total",label:l("gross_line_total")},{value:"$product.tax_amount",label:l("tax_amount")}];return b(m,{title:t!=null&&t.settings.sync_invoice_quote_columns?l("product_columns"):l("invoice_product_columns"),padding:"small",children:[u(g,{for:"product_columns",defaultVariables:d}),u(v,{}),u($,{leftSide:l("share_invoice_quote_columns"),children:u(f,{checked:!!(t!=null&&t.settings.sync_invoice_quote_columns),onValueChange:i=>r("sync_invoice_quote_columns",i)})})]})}export{V as default};