1import{n as s}from"./DBiBkISY.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"835e187a3c1d607b337ae213ae6c693fe0fb243d"};var t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="3e7c4cd3-5c6d-4480-91af-6d588693ae75",i._sentryDebugIdIdentifier="sentry-dbid-3e7c4cd3-5c6d-4480-91af-6d588693ae75")}catch{}})();const n={name:"SoftCreditCardDialog",props:{softCredit:{type:Object,required:!0},isTableView:{type:Boolean,default:!1},currentPage:{type:Number,default:1},currentTab:{type:Number,default:0},selectedHousehold:{type:Object,default:null}},data(){return{}},methods:{goToSoftCreditsTable(){this.$store.dispatch("dialog/showDialog",{component:"SoftCreditHistoryDialog",solo:!0,persistent:!0,closeInside:!0,tab:this.currentTab,currentPage:this.currentPage,selectedHousehold:this.selectedHousehold,width:"900px"})}}};var o=function(){var a;var t=this,e=t._self._c;return e("div",[e("div",{staticStyle:{width:"100%",display:"flex",height:"48px","align-items":"center","justify-content":"space-between"}},[e("v-avatar",{staticStyle:{"border-radius":"16px"},attrs:{color:"#e3eef6"}},[t.isTableView?e("v-btn",{attrs:{icon:""},on:{click:t.goToSoftCreditsTable}},[e("v-icon",[t._v(" $chevronLeft ")])],1):e("v-btn",{attrs:{icon:"","data-cy":"close-btn"},on:{click:function(r){return t.$store.dispatch("dialog/closeDialog")}}},[e("v-icon",[t._v(" mdi-close ")])],1)],1)],1),t._m(0),e("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[e("div",{staticStyle:{"font-family":"Inconsolata, monospace","font-size":"24px","font-weight":"700"}},[t._v(" "+t._s(t._f("currency")(t.softCredit.amount))+" ")]),e("div",{staticStyle:{"font-family":"Inconsolata, monospace"}},[t._v(" "+t._s(t._f("parsedDateTime")(t.softCredit.transaction_date||t.softCredit.created_at))+" ")])]),e("v-divider",{staticClass:"my-4"}),e("div",[t._m(1),e("div",{staticStyle:{display:"flex","justify-content":"space-between","margin-top":"5px"}},[e("div",{staticStyle:{width:"50%","font-family":"Inconsolata, monospace"}},[t._v(" "+t._s(t.softCredit.transaction_id)+" ")]),e("div",{staticStyle:{width:"50%",display:"flex","justify-content":"flex-end"}},[t._v(" "+t._s((a=t.softCredit.from_donor)==null?void 0:a.name)+" ")])])])],1)},d=[function(){var i=this,t=i._self._c;return t("div",{staticStyle:{display:"flex","justify-content":"space-between","margin-top":"16px"}},[t("div",{staticClass:"item-label"},[i._v("Soft Credit Amount")]),t("div",{staticClass:"item-label"},[i._v("Soft Credit Date")])])},function(){var i=this,t=i._self._c;return t("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[t("div",{staticClass:"item-label",staticStyle:{width:"45%"}},[i._v("Transaction ID")]),t("div",{staticClass:"item-label",staticStyle:{width:"30%",display:"flex","justify-content":"flex-end"}},[i._v(" Credited From ")])])}],l=s(n,o,d,!1,null,null);const f=l.exports;export{f as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.