{"id":2863,"date":"2026-03-23T17:47:06","date_gmt":"2026-03-23T17:47:06","guid":{"rendered":"https:\/\/yoni.online\/?page_id=2863"},"modified":"2026-03-23T17:49:02","modified_gmt":"2026-03-23T17:49:02","slug":"elementor-2863","status":"publish","type":"page","link":"https:\/\/yoni.online\/index.php\/elementor-2863\/","title":{"rendered":"\u05d2\u05d2\u05d2"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2863\" class=\"elementor elementor-2863\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f5f93ce elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f5f93ce\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5cc631f\" data-id=\"5cc631f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-51c6f11 elementor-widget elementor-widget-html\" data-id=\"51c6f11\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"dalia-finance-system\" dir=\"rtl\">\r\n  <style>\r\n    #dalia-finance-system{\r\n      --bg:#f3f6fb;\r\n      --card:#ffffff;\r\n      --line:#dbe4f0;\r\n      --text:#0f172a;\r\n      --muted:#64748b;\r\n      --blue:#1d4ed8;\r\n      --green:#059669;\r\n      --red:#dc2626;\r\n      --orange:#ea580c;\r\n      --purple:#7c3aed;\r\n      --shadow:0 10px 30px rgba(15,23,42,.08);\r\n      font-family:Arial,sans-serif;\r\n      background:var(--bg);\r\n      color:var(--text);\r\n      padding:12px;\r\n    }\r\n    #dalia-finance-system *{box-sizing:border-box}\r\n    #dalia-finance-system .dfs-app{max-width:1500px;margin:0 auto}\r\n    #dalia-finance-system .dfs-header{\r\n      background:linear-gradient(135deg,#0f172a,#1d4ed8);\r\n      color:#fff;\r\n      border-radius:22px;\r\n      padding:18px;\r\n      box-shadow:var(--shadow);\r\n      margin-bottom:12px;\r\n    }\r\n    #dalia-finance-system .dfs-header h1{margin:0 0 6px;font-size:28px;line-height:1.2}\r\n    #dalia-finance-system .dfs-header p{margin:0;opacity:.95;font-size:14px}\r\n    #dalia-finance-system .dfs-top-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}\r\n    #dalia-finance-system .dfs-tabs{\r\n      display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;position:sticky;top:0;z-index:9;\r\n      background:rgba(243,246,251,.96);padding:8px 0;backdrop-filter:blur(10px)\r\n    }\r\n    #dalia-finance-system .dfs-tab{\r\n      border:none;background:#e2e8f0;color:#0f172a;padding:11px 14px;border-radius:14px;\r\n      font-weight:700;cursor:pointer;transition:.2s\r\n    }\r\n    #dalia-finance-system .dfs-tab.active{background:var(--blue);color:#fff}\r\n    #dalia-finance-system .dfs-page{display:none}\r\n    #dalia-finance-system .dfs-page.active{display:block}\r\n    #dalia-finance-system .dfs-card{\r\n      background:var(--card);border-radius:20px;box-shadow:var(--shadow);\r\n      padding:16px;margin-bottom:12px;overflow:hidden\r\n    }\r\n    #dalia-finance-system .dfs-card h2{margin:0 0 10px;font-size:22px}\r\n    #dalia-finance-system .dfs-card h3{margin:0 0 10px;font-size:18px}\r\n    #dalia-finance-system .dfs-sub{color:var(--muted);font-size:13px;margin-bottom:12px}\r\n    #dalia-finance-system .dfs-grid{display:grid;gap:10px}\r\n    #dalia-finance-system .dfs-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}\r\n    #dalia-finance-system .dfs-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}\r\n    #dalia-finance-system .dfs-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}\r\n    #dalia-finance-system .dfs-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}\r\n    #dalia-finance-system label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}\r\n    #dalia-finance-system input,\r\n    #dalia-finance-system select,\r\n    #dalia-finance-system textarea{\r\n      width:100%;border:1px solid var(--line);border-radius:14px;padding:11px 12px;\r\n      font-size:14px;background:#fff;color:var(--text)\r\n    }\r\n    #dalia-finance-system textarea{min-height:42px;resize:vertical}\r\n    #dalia-finance-system .dfs-btn{\r\n      border:none;border-radius:14px;padding:11px 14px;cursor:pointer;font-weight:700;font-size:14px\r\n    }\r\n    #dalia-finance-system .dfs-btn-primary{background:var(--blue);color:#fff}\r\n    #dalia-finance-system .dfs-btn-green{background:var(--green);color:#fff}\r\n    #dalia-finance-system .dfs-btn-red{background:var(--red);color:#fff}\r\n    #dalia-finance-system .dfs-btn-gray{background:#334155;color:#fff}\r\n    #dalia-finance-system .dfs-btn-orange{background:var(--orange);color:#fff}\r\n    #dalia-finance-system .dfs-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}\r\n    #dalia-finance-system .dfs-stat-grid{\r\n      display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px\r\n    }\r\n    #dalia-finance-system .dfs-stat{\r\n      background:#f8fbff;border:1px solid var(--line);border-radius:18px;padding:14px;text-align:center\r\n    }\r\n    #dalia-finance-system .dfs-stat .t{font-size:12px;color:var(--muted);margin-bottom:8px;min-height:32px}\r\n    #dalia-finance-system .dfs-stat .v{font-size:24px;font-weight:800;line-height:1.2}\r\n    #dalia-finance-system .dfs-green{color:var(--green)}\r\n    #dalia-finance-system .dfs-red{color:var(--red)}\r\n    #dalia-finance-system .dfs-blue{color:var(--blue)}\r\n    #dalia-finance-system .dfs-purple{color:var(--purple)}\r\n    #dalia-finance-system .dfs-table-wrap{\r\n      overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff\r\n    }\r\n    #dalia-finance-system table{width:100%;border-collapse:collapse;min-width:1100px}\r\n    #dalia-finance-system th,\r\n    #dalia-finance-system td{\r\n      padding:10px;border-bottom:1px solid #edf2f7;text-align:right;vertical-align:top;font-size:13px;white-space:nowrap\r\n    }\r\n    #dalia-finance-system th{background:#eef4ff;position:sticky;top:0;z-index:1}\r\n    #dalia-finance-system .dfs-badge{\r\n      display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#e2e8f0\r\n    }\r\n    #dalia-finance-system .dfs-badge.open{background:#fef3c7;color:#92400e}\r\n    #dalia-finance-system .dfs-badge.paid{background:#dcfce7;color:#166534}\r\n    #dalia-finance-system .dfs-badge.partial{background:#dbeafe;color:#1d4ed8}\r\n    #dalia-finance-system .dfs-badge.legal{background:#fee2e2;color:#991b1b}\r\n    #dalia-finance-system .dfs-badge.wait{background:#ede9fe;color:#6d28d9}\r\n    #dalia-finance-system .dfs-inline{display:flex;gap:8px;flex-wrap:wrap}\r\n    #dalia-finance-system .dfs-note{\r\n      background:#fff7ed;color:#9a3412;border:1px solid #fdba74;border-radius:16px;padding:12px;font-size:13px;margin-top:10px\r\n    }\r\n    #dalia-finance-system .dfs-report-box{\r\n      background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;min-height:220px\r\n    }\r\n    #dalia-finance-system .dfs-divider{height:1px;background:var(--line);margin:14px 0}\r\n    #dalia-finance-system .dfs-hide{display:none}\r\n    @media (max-width:1100px){\r\n      #dalia-finance-system .dfs-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\r\n      #dalia-finance-system .dfs-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}\r\n      #dalia-finance-system .dfs-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}\r\n      #dalia-finance-system .dfs-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}\r\n    }\r\n    @media (max-width:700px){\r\n      #dalia-finance-system{padding:8px}\r\n      #dalia-finance-system .dfs-grid-5,\r\n      #dalia-finance-system .dfs-grid-4,\r\n      #dalia-finance-system .dfs-grid-3,\r\n      #dalia-finance-system .dfs-grid-2,\r\n      #dalia-finance-system .dfs-stat-grid{grid-template-columns:1fr}\r\n      #dalia-finance-system .dfs-header h1{font-size:22px}\r\n      #dalia-finance-system .dfs-tab{padding:10px 12px;font-size:13px}\r\n    }\r\n    @media print{\r\n      body *{visibility:hidden!important}\r\n      #dalia-finance-system, #dalia-finance-system *{visibility:visible!important}\r\n      #dalia-finance-system{position:absolute;left:0;top:0;width:100%;background:#fff}\r\n      #dalia-finance-system .dfs-tabs,\r\n      #dalia-finance-system .dfs-top-actions,\r\n      #dalia-finance-system .dfs-actions,\r\n      #dalia-finance-system .dfs-no-print{display:none!important}\r\n      #dalia-finance-system .dfs-page{display:block!important}\r\n      #dalia-finance-system .dfs-card{box-shadow:none;border:1px solid #ccc}\r\n    }\r\n  <\/style>\r\n\r\n  <div class=\"dfs-app\">\r\n    <div class=\"dfs-header\">\r\n      <h1>\u05de\u05e2\u05e8\u05db\u05ea \u05de\u05e6\u05d1 \u05e2\u05e1\u05e7\u05d9 \u05d5\u05ea\u05d6\u05e8\u05d9\u05dd<\/h1>\r\n      <p>14 \u05e2\u05de\u05d5\u05d3\u05d9\u05dd, \u05e9\u05de\u05d9\u05e8\u05d4 \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9\u05ea \u05d1\u05d3\u05e4\u05d3\u05e4\u05df, \u05d3\u05d5\u05d7\u05d5\u05ea, \u05d4\u05d3\u05e4\u05e1\u05d4, \u05d9\u05d1\u05d5\u05d0 \u05d0\u05e9\u05e8\u05d0\u05d9, \u05d7\u05d5\u05d1\u05d5\u05ea, \u05de\u05e9\u05e4\u05d8\u05d9 \u05d5\u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd<\/p>\r\n      <div class=\"dfs-top-actions dfs-no-print\">\r\n        <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.exportJSON()\">\u05d2\u05d9\u05d1\u05d5\u05d9 JSON<\/button>\r\n        <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"document.getElementById('dfsImportJson').click()\">\u05d9\u05d1\u05d5\u05d0 JSON<\/button>\r\n        <button class=\"dfs-btn dfs-btn-orange\" type=\"button\" onclick=\"DFS.printCurrentReport()\">\u05d4\u05d3\u05e4\u05e1 \u05d3\u05d5\u05d7<\/button>\r\n        <button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.clearAll()\">\u05de\u05d7\u05d9\u05e7\u05ea \u05db\u05dc \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd<\/button>\r\n        <input id=\"dfsImportJson\" type=\"file\" accept=\".json\" class=\"dfs-hide\" onchange=\"DFS.importJSON(event)\">\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-tabs dfs-no-print\">\r\n      <button class=\"dfs-tab active\" data-page=\"dashboard\" type=\"button\">1 \u05d3\u05e9\u05d1\u05d5\u05e8\u05d3<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"settings\" type=\"button\">2 \u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"customers\" type=\"button\">3 \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d5\u05d4\u05db\u05e0\u05e1\u05d5\u05ea<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"jobs\" type=\"button\">4 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"insurance\" type=\"button\">5 \u05d7\u05d1\u05e8\u05d5\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"suppliers\" type=\"button\">6 \u05e1\u05e4\u05e7\u05d9\u05dd \u05d5\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"checks\" type=\"button\">7 \u05e6'\u05e7\u05d9\u05dd<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"cards\" type=\"button\">8 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05d0\u05e9\u05e8\u05d0\u05d9<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"standing\" type=\"button\">9 \u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05e7\u05d1\u05e2<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"loans\" type=\"button\">10 \u05d4\u05dc\u05d5\u05d5\u05d0\u05d5\u05ea<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"legal\" type=\"button\">11 \u05de\u05e9\u05e4\u05d8\u05d9<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"debts\" type=\"button\">12 \u05d7\u05d5\u05d1\u05d5\u05ea \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"forecast\" type=\"button\">13 \u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd<\/button>\r\n      <button class=\"dfs-tab\" data-page=\"reports\" type=\"button\">14 \u05d3\u05d5\u05d7\u05d5\u05ea<\/button>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page active\" id=\"dfs-page-dashboard\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d3\u05e9\u05d1\u05d5\u05e8\u05d3 \u05de\u05e6\u05d1 \u05e2\u05db\u05e9\u05d5\u05d5\u05d9<\/h2>\r\n        <div class=\"dfs-sub\">\u05d4\u05de\u05e1\u05da \u05d4\u05e8\u05d0\u05e9\u05d9 \u05e9\u05de\u05e6\u05d9\u05d2 \u05de\u05d4 \u05e7\u05d5\u05e8\u05d4 \u05d1\u05e2\u05e1\u05e7 \u05e2\u05db\u05e9\u05d9\u05d5 \u05d5\u05de\u05d4 \u05e4\u05ea\u05d5\u05d7 \u05dc\u05e2\u05ea\u05d9\u05d3<\/div>\r\n        <div class=\"dfs-stat-grid\">\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05d9\u05ea\u05e8\u05ea \u05e4\u05ea\u05d9\u05d7\u05d4 + \u05d1\u05e4\u05d5\u05e2\u05dc<\/div><div class=\"v dfs-blue\" id=\"dfsStatNow\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd<\/div><div class=\"v dfs-green\" id=\"dfsStatCustomerDebt\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05d7\u05d5\u05d1 \u05dc\u05e1\u05e4\u05e7\u05d9\u05dd<\/div><div class=\"v dfs-red\" id=\"dfsStatSupplierDebt\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd<\/div><div class=\"v dfs-purple\" id=\"dfsStatLegalCount\">0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/div><div class=\"v\" id=\"dfsStatOpenJobs\">0<\/div><\/div>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e1\u05d9\u05db\u05d5\u05dd \u05e0\u05d5\u05e1\u05e3<\/h3>\r\n        <div class=\"dfs-stat-grid\">\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05d4\u05db\u05e0\u05e1\u05d5\u05ea \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc<\/div><div class=\"v dfs-green\" id=\"dfsStatIncomePaid\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05e9\u05e9\u05d5\u05dc\u05de\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc<\/div><div class=\"v dfs-red\" id=\"dfsStatExpensePaid\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05e6\u05e4\u05d9 \u05db\u05e0\u05d9\u05e1\u05d5\u05ea \u05e2\u05ea\u05d9\u05d3\u05d9\u05d5\u05ea<\/div><div class=\"v dfs-green\" id=\"dfsStatFutureIn\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05e6\u05e4\u05d9 \u05d9\u05e8\u05d9\u05d3\u05d5\u05ea \u05e2\u05ea\u05d9\u05d3\u05d9\u05d5\u05ea<\/div><div class=\"v dfs-red\" id=\"dfsStatFutureOut\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05e1\u05db\u05d5\u05dd \u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/div><div class=\"v dfs-purple\" id=\"dfsStatLegalAmount\">\u20aa0<\/div><\/div>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05de\u05d4\u05d9\u05e8\u05d5\u05ea<\/h3>\r\n        <div class=\"dfs-inline\">\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.go('customers')\">\u05d4\u05d5\u05e1\u05e3 \u05dc\u05e7\u05d5\u05d7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.go('suppliers')\">\u05d4\u05d5\u05e1\u05e3 \u05e1\u05e4\u05e7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.go('jobs')\">\u05d4\u05d5\u05e1\u05e3 \u05db\u05e8\u05d8\u05d9\u05e1 \u05e2\u05d1\u05d5\u05d3\u05d4<\/button>\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.go('cards')\">\u05d4\u05d5\u05e1\u05e3 \u05e2\u05e1\u05e7\u05ea \u05d0\u05e9\u05e8\u05d0\u05d9<\/button>\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.go('reports')\">\u05d4\u05e4\u05e7 \u05d3\u05d5\u05d7<\/button>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-settings\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1<\/h2>\r\n        <div class=\"dfs-sub\">\u05db\u05d0\u05df \u05de\u05d6\u05d9\u05e0\u05d9\u05dd \u05d0\u05ea \u05e0\u05e7\u05d5\u05d3\u05ea \u05d4\u05d4\u05ea\u05d7\u05dc\u05d4 \u05e9\u05dc \u05d4\u05e2\u05e1\u05e7<\/div>\r\n        <div class=\"dfs-grid dfs-grid-4\">\r\n          <div><label>\u05d9\u05ea\u05e8\u05ea \u05e4\u05ea\u05d9\u05d7\u05d4 \u05d1\u05d1\u05e0\u05e7<\/label><input id=\"dfsSettingOpeningBank\" type=\"number\" placeholder=\"0\"><\/div>\r\n          <div><label>\u05e7\u05d5\u05e4\u05ea \u05de\u05d6\u05d5\u05de\u05df<\/label><input id=\"dfsSettingCash\" type=\"number\" placeholder=\"0\"><\/div>\r\n          <div><label>\u05de\u05e1\u05d2\u05e8\u05ea \u05d0\u05e9\u05e8\u05d0\u05d9<\/label><input id=\"dfsSettingCreditLine\" type=\"number\" placeholder=\"0\"><\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea \u05db\u05dc\u05dc\u05d9\u05d5\u05ea<\/label><input id=\"dfsSettingNotes\" type=\"text\" placeholder=\"\u05d4\u05e2\u05e8\u05d5\u05ea\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.saveSettings()\">\u05e9\u05de\u05d5\u05e8 \u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-customers\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d5\u05d4\u05db\u05e0\u05e1\u05d5\u05ea<\/h2>\r\n        <div class=\"dfs-sub\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05de\u05e1\u05e4\u05e8 \u05d1\u05dc\u05ea\u05d9 \u05de\u05d5\u05d2\u05d1\u05dc \u05e9\u05dc \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d5\u05dc\u05db\u05dc \u05dc\u05e7\u05d5\u05d7 \u05e6\u05e4\u05d9 \u05e7\u05d1\u05dc\u05ea \u05db\u05e1\u05e3<\/div>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/label><input id=\"dfsCustomerName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05d5\u05d2 \u05dc\u05e7\u05d5\u05d7<\/label>\r\n            <select id=\"dfsCustomerType\">\r\n              <option>\u05e4\u05e8\u05d8\u05d9<\/option>\r\n              <option>\u05e2\u05e1\u05e7\u05d9<\/option>\r\n              <option>\u05d3\u05e8\u05da \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/option>\r\n              <option>\u05dc\u05d0 \u05d3\u05e8\u05da \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e9\u05dd \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/label><input id=\"dfsCustomerInsurance\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e2\u05e1\u05e7\u05d4<\/label><input id=\"dfsCustomerAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc<\/label><input id=\"dfsCustomerPaid\" type=\"number\" value=\"0\"><\/div>\r\n\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e2\u05d1\u05d5\u05d3\u05d4<\/label><input id=\"dfsCustomerWorkDate\" type=\"date\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9 \u05dc\u05e7\u05d1\u05dc\u05ea \u05db\u05e1\u05e3<\/label><input id=\"dfsCustomerDueDate\" type=\"date\"><\/div>\r\n          <div><label>\u05d0\u05d5\u05e4\u05df \u05ea\u05e9\u05dc\u05d5\u05dd<\/label>\r\n            <select id=\"dfsCustomerPaymentMethod\">\r\n              <option>\u05de\u05d6\u05d5\u05de\u05df<\/option>\r\n              <option>\u05d4\u05e2\u05d1\u05e8\u05d4<\/option>\r\n              <option>\u05d0\u05e9\u05e8\u05d0\u05d9<\/option>\r\n              <option>\u05e6'\u05e7<\/option>\r\n              <option>\u05d4\u05d5\u05e8\u05d0\u05ea \u05e7\u05d1\u05e2<\/option>\r\n              <option>\u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05de\u05e1\u05e4\u05e8 \u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/label><input id=\"dfsCustomerInstallments\" type=\"number\" value=\"1\"><\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsCustomerStatus\">\r\n              <option>\u05e4\u05ea\u05d5\u05d7<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05d7\u05dc\u05e7\u05d9<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05de\u05dc\u05d0<\/option>\r\n              <option>\u05de\u05de\u05ea\u05d9\u05df \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n        <\/div>\r\n        <div style=\"margin-top:10px\">\r\n          <label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label>\r\n          <textarea id=\"dfsCustomerNotes\"><\/textarea>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addCustomer()\">\u05d4\u05d5\u05e1\u05e3 \u05dc\u05e7\u05d5\u05d7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearCustomerForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/th>\r\n                <th>\u05e1\u05d5\u05d2<\/th>\r\n                <th>\u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd \u05e2\u05e1\u05e7\u05d4<\/th>\r\n                <th>\u05d4\u05ea\u05e7\u05d1\u05dc<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9<\/th>\r\n                <th>\u05d0\u05d5\u05e4\u05df \u05ea\u05e9\u05dc\u05d5\u05dd<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsCustomersTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-jobs\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/label><input id=\"dfsJobCustomer\" type=\"text\"><\/div>\r\n          <div><label>\u05ea\u05d9\u05d0\u05d5\u05e8 \u05e2\u05d1\u05d5\u05d3\u05d4<\/label><input id=\"dfsJobTitle\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e2\u05d1\u05d5\u05d3\u05d4<\/label><input id=\"dfsJobAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea \u05d4\u05d5\u05e6\u05d0\u05d4<\/label>\r\n            <select id=\"dfsJobInvoice\">\r\n              <option>\u05dc\u05d0<\/option>\r\n              <option>\u05db\u05df<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d3\u05e8\u05da \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/label>\r\n            <select id=\"dfsJobViaInsurance\">\r\n              <option>\u05dc\u05d0<\/option>\r\n              <option>\u05db\u05df<\/option>\r\n            <\/select>\r\n          <\/div>\r\n\r\n          <div><label>\u05e9\u05dd \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/label><input id=\"dfsJobInsuranceName\" type=\"text\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e4\u05ea\u05d9\u05d7\u05ea \u05db\u05e8\u05d8\u05d9\u05e1<\/label><input id=\"dfsJobOpenDate\" type=\"date\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e1\u05d9\u05d5\u05dd \u05e2\u05d1\u05d5\u05d3\u05d4<\/label><input id=\"dfsJobCloseDate\" type=\"date\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05d2\u05d1\u05d9\u05d9\u05d4 \u05e6\u05e4\u05d5\u05d9<\/label><input id=\"dfsJobDueDate\" type=\"date\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc<\/label><input id=\"dfsJobPaid\" type=\"number\" value=\"0\"><\/div>\r\n\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsJobStatus\">\r\n              <option>\u05e4\u05ea\u05d5\u05d7<\/option>\r\n              <option>\u05dc\u05dc\u05d0 \u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc<\/option>\r\n              <option>\u05de\u05de\u05ea\u05d9\u05df \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05d7\u05dc\u05e7\u05d9<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05de\u05dc\u05d0<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsJobNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addJob()\">\u05d4\u05d5\u05e1\u05e3 \u05db\u05e8\u05d8\u05d9\u05e1 \u05e2\u05d1\u05d5\u05d3\u05d4<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearJobForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/th>\r\n                <th>\u05e2\u05d1\u05d5\u05d3\u05d4<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd<\/th>\r\n                <th>\u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea<\/th>\r\n                <th>\u05d1\u05d9\u05d8\u05d5\u05d7<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05d2\u05d1\u05d9\u05d9\u05d4<\/th>\r\n                <th>\u05d4\u05ea\u05e7\u05d1\u05dc<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsJobsTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-insurance\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d7\u05d1\u05e8\u05d5\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/label><input id=\"dfsInsCustomer\" type=\"text\"><\/div>\r\n          <div><label>\u05e9\u05dd \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/label><input id=\"dfsInsCompany\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05d5\u05d2 \u05ea\u05d9\u05e7<\/label><input id=\"dfsInsCaseType\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05ea\u05d1\u05d9\u05e2\u05d4<\/label><input id=\"dfsInsClaimAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05de\u05d0\u05d5\u05e9\u05e8<\/label><input id=\"dfsInsApprovedAmount\" type=\"number\" value=\"0\"><\/div>\r\n\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc<\/label><input id=\"dfsInsPaidAmount\" type=\"number\" value=\"0\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e4\u05ea\u05d9\u05d7\u05ea \u05ea\u05d9\u05e7<\/label><input id=\"dfsInsOpenDate\" type=\"date\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9<\/label><input id=\"dfsInsDueDate\" type=\"date\"><\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsInsStatus\">\r\n              <option>\u05de\u05de\u05ea\u05d9\u05df<\/option>\r\n              <option>\u05d0\u05d5\u05e9\u05e8<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05d7\u05dc\u05e7\u05d9<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05de\u05dc\u05d0<\/option>\r\n              <option>\u05e0\u05d3\u05d7\u05d4<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsInsNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addInsurance()\">\u05d4\u05d5\u05e1\u05e3 \u05ea\u05d9\u05e7 \u05d1\u05d9\u05d8\u05d5\u05d7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearInsuranceForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d9\u05e7\u05d9\u05dd \u05d1\u05d9\u05d8\u05d5\u05d7\u05d9\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05dc\u05e7\u05d5\u05d7<\/th>\r\n                <th>\u05d7\u05d1\u05e8\u05d4<\/th>\r\n                <th>\u05ea\u05d1\u05d9\u05e2\u05d4<\/th>\r\n                <th>\u05de\u05d0\u05d5\u05e9\u05e8<\/th>\r\n                <th>\u05d4\u05ea\u05e7\u05d1\u05dc<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsInsuranceTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-suppliers\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05e1\u05e4\u05e7\u05d9\u05dd \u05d5\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05e1\u05e4\u05e7<\/label><input id=\"dfsSupplierName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05d5\u05d2 \u05d4\u05d5\u05e6\u05d0\u05d4<\/label>\r\n            <select id=\"dfsSupplierExpenseType\">\r\n              <option>\u05d7\u05dc\u05e4\u05d9\u05dd<\/option>\r\n              <option>\u05e6\u05d1\u05e2<\/option>\r\n              <option>\u05d7\u05d5\u05de\u05e8\u05d9\u05dd<\/option>\r\n              <option>\u05e9\u05d9\u05e8\u05d5\u05ea<\/option>\r\n              <option>\u05e2\u05d1\u05d5\u05d3\u05d4 \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9\u05ea<\/option>\r\n              <option>\u05d4\u05d5\u05d1\u05dc\u05d4<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05db\u05d5\u05dc\u05dc<\/label><input id=\"dfsSupplierAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e9\u05e9\u05d5\u05dc\u05dd<\/label><input id=\"dfsSupplierPaid\" type=\"number\" value=\"0\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9<\/label><input id=\"dfsSupplierDueDate\" type=\"date\"><\/div>\r\n\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05d1\u05e4\u05d5\u05e2\u05dc<\/label><input id=\"dfsSupplierPaidDate\" type=\"date\"><\/div>\r\n          <div><label>\u05d3\u05e8\u05da \u05ea\u05e9\u05dc\u05d5\u05dd<\/label>\r\n            <select id=\"dfsSupplierPaymentMethod\">\r\n              <option>\u05de\u05d6\u05d5\u05de\u05df<\/option>\r\n              <option>\u05d4\u05e2\u05d1\u05e8\u05d4<\/option>\r\n              <option>\u05d0\u05e9\u05e8\u05d0\u05d9<\/option>\r\n              <option>\u05e6'\u05e7<\/option>\r\n              <option>\u05d4\u05d5\u05e8\u05d0\u05ea \u05e7\u05d1\u05e2<\/option>\r\n              <option>\u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsSupplierStatus\">\r\n              <option>\u05e4\u05ea\u05d5\u05d7<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05d7\u05dc\u05e7\u05d9<\/option>\r\n              <option>\u05e9\u05d5\u05dc\u05dd \u05de\u05dc\u05d0<\/option>\r\n              <option>\u05de\u05de\u05ea\u05d9\u05df \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/option>\r\n              <option>\u05e6'\u05e7 \u05de\u05d5\u05db\u05df<\/option>\r\n              <option>\u05e6'\u05e7 \u05e0\u05de\u05e1\u05e8<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsSupplierNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addSupplier()\">\u05d4\u05d5\u05e1\u05e3 \u05e1\u05e4\u05e7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearSupplierForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05e1\u05e4\u05e7\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd \u05e1\u05e4\u05e7<\/th>\r\n                <th>\u05e1\u05d5\u05d2 \u05d4\u05d5\u05e6\u05d0\u05d4<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd<\/th>\r\n                <th>\u05e9\u05d5\u05dc\u05dd<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9<\/th>\r\n                <th>\u05d3\u05e8\u05da \u05ea\u05e9\u05dc\u05d5\u05dd<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsSuppliersTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-checks\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05e6'\u05e7\u05d9\u05dd<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05db\u05d9\u05d5\u05d5\u05df<\/label>\r\n            <select id=\"dfsCheckDirection\">\r\n              <option value=\"in\">\u05e6'\u05e7 \u05de\u05dc\u05e7\u05d5\u05d7<\/option>\r\n              <option value=\"out\">\u05e6'\u05e7 \u05dc\u05e1\u05e4\u05e7<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e9\u05dd<\/label><input id=\"dfsCheckName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd<\/label><input id=\"dfsCheckAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e4\u05d9\u05e8\u05e2\u05d5\u05df<\/label><input id=\"dfsCheckDueDate\" type=\"date\"><\/div>\r\n          <div><label>\u05de\u05e1\u05e4\u05e8 \u05e6'\u05e7<\/label><input id=\"dfsCheckNumber\" type=\"text\"><\/div>\r\n\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsCheckStatus\">\r\n              <option>\u05d0\u05e6\u05dc\u05e0\u05d5<\/option>\r\n              <option>\u05d4\u05d5\u05db\u05df<\/option>\r\n              <option>\u05e0\u05de\u05e1\u05e8<\/option>\r\n              <option>\u05d4\u05d5\u05e4\u05e7\u05d3<\/option>\r\n              <option>\u05e0\u05e4\u05e8\u05e2<\/option>\r\n              <option>\u05d7\u05d6\u05e8<\/option>\r\n              <option>\u05d1\u05d5\u05d8\u05dc<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsCheckNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addCheck()\">\u05d4\u05d5\u05e1\u05e3 \u05e6'\u05e7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearCheckForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05e6'\u05e7\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05db\u05d9\u05d5\u05d5\u05df<\/th>\r\n                <th>\u05e9\u05dd<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd<\/th>\r\n                <th>\u05e4\u05d9\u05e8\u05e2\u05d5\u05df<\/th>\r\n                <th>\u05de\u05e1\u05e4\u05e8 \u05e6'\u05e7<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsChecksTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-cards\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05d0\u05e9\u05e8\u05d0\u05d9<\/h2>\r\n        <div class=\"dfs-sub\">\u05d2\u05dd \u05d4\u05d6\u05e0\u05d4 \u05d9\u05d3\u05e0\u05d9\u05ea \u05d5\u05d2\u05dd \u05d9\u05d1\u05d5\u05d0 \u05d1\u05d4\u05e2\u05ea\u05e7 \u05d4\u05d3\u05d1\u05e7 \u05d0\u05d5 \u05d1\u05e7\u05d5\u05d1\u05e5 CSV<\/div>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05db\u05e8\u05d8\u05d9\u05e1<\/label><input id=\"dfsCardName\" type=\"text\"><\/div>\r\n          <div><label>\u05d7\u05d1\u05e8\u05ea \u05d0\u05e9\u05e8\u05d0\u05d9<\/label><input id=\"dfsCardCompany\" type=\"text\"><\/div>\r\n          <div><label>4 \u05e1\u05e4\u05e8\u05d5\u05ea \u05d0\u05d7\u05e8\u05d5\u05e0\u05d5\u05ea<\/label><input id=\"dfsCardLast4\" type=\"text\"><\/div>\r\n          <div><label>\u05d9\u05d5\u05dd \u05d7\u05d9\u05d5\u05d1<\/label><input id=\"dfsCardChargeDay\" type=\"number\" min=\"1\" max=\"31\"><\/div>\r\n          <div><label>\u05de\u05e1\u05d2\u05e8\u05ea<\/label><input id=\"dfsCardLimit\" type=\"number\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addCardAccount()\">\u05d4\u05d5\u05e1\u05e3 \u05db\u05e8\u05d8\u05d9\u05e1<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearCardAccountForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n\r\n        <div class=\"dfs-divider\"><\/div>\r\n\r\n        <h3>\u05e2\u05e1\u05e7\u05ea \u05d0\u05e9\u05e8\u05d0\u05d9 \u05d9\u05d3\u05e0\u05d9\u05ea<\/h3>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05e1\u05e4\u05e7 \/ \u05ea\u05d9\u05d0\u05d5\u05e8<\/label><input id=\"dfsCardTxnSupplier\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05e2\u05e1\u05e7\u05d4<\/label><input id=\"dfsCardTxnAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05de\u05e1\u05e4\u05e8 \u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/label><input id=\"dfsCardTxnInstallments\" type=\"number\" value=\"1\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e2\u05e1\u05e7\u05d4<\/label><input id=\"dfsCardTxnDate\" type=\"date\"><\/div>\r\n          <div><label>\u05db\u05e8\u05d8\u05d9\u05e1 \u05de\u05e9\u05d5\u05d9\u05da<\/label><select id=\"dfsCardTxnCardId\"><\/select><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addCardTransaction()\">\u05d4\u05d5\u05e1\u05e3 \u05e2\u05e1\u05e7\u05d4<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearCardTransactionForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n\r\n        <div class=\"dfs-divider\"><\/div>\r\n\r\n        <h3>\u05d9\u05d1\u05d5\u05d0 \u05d0\u05e9\u05e8\u05d0\u05d9 \u05d1\u05d4\u05e2\u05ea\u05e7 \u05d4\u05d3\u05d1\u05e7<\/h3>\r\n        <div class=\"dfs-sub\">\u05e4\u05d5\u05e8\u05de\u05d8 \u05de\u05d5\u05de\u05dc\u05e5: \u05ea\u05d0\u05e8\u05d9\u05da, \u05e1\u05e4\u05e7, \u05e1\u05db\u05d5\u05dd, \u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd. \u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd \u05e2\u05dd \u05d8\u05d0\u05d1\u05d9\u05dd \u05d0\u05d5 \u05e4\u05e1\u05d9\u05e7\u05d9\u05dd<\/div>\r\n        <textarea id=\"dfsCardPaste\" placeholder=\"2026-03-01, \u05e1\u05e4\u05e7 \u05d0, 1200, 3&#10;2026-03-05, \u05e1\u05e4\u05e7 \u05d1, 600, 1\"><\/textarea>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.importCardPaste()\">\u05d9\u05d1\u05d5\u05d0 \u05de\u05d4\u05d3\u05d1\u05e7\u05d4<\/button>\r\n        <\/div>\r\n\r\n        <div class=\"dfs-divider\"><\/div>\r\n\r\n        <h3>\u05d9\u05d1\u05d5\u05d0 \u05e7\u05d5\u05d1\u05e5 CSV<\/h3>\r\n        <input id=\"dfsCardCsvFile\" type=\"file\" accept=\".csv,text\/csv\" onchange=\"DFS.importCardCSV(event)\">\r\n        <div class=\"dfs-note\">\u05d4\u05de\u05e2\u05e8\u05db\u05ea \u05ea\u05e0\u05e1\u05d4 \u05dc\u05d6\u05d4\u05d5\u05ea \u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05ea\u05d0\u05e8\u05d9\u05da, \u05e1\u05e4\u05e7, \u05e1\u05db\u05d5\u05dd, \u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd \u05db\u05e8\u05d8\u05d9\u05e1<\/th>\r\n                <th>\u05d7\u05d1\u05e8\u05d4<\/th>\r\n                <th>4 \u05e1\u05e4\u05e8\u05d5\u05ea<\/th>\r\n                <th>\u05d9\u05d5\u05dd \u05d7\u05d9\u05d5\u05d1<\/th>\r\n                <th>\u05de\u05e1\u05d2\u05e8\u05ea<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsCardsAccountsTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e2\u05e1\u05e7\u05d0\u05d5\u05ea \u05d0\u05e9\u05e8\u05d0\u05d9<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e1\u05e4\u05e7 \/ \u05ea\u05d9\u05d0\u05d5\u05e8<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd<\/th>\r\n                <th>\u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd<\/th>\r\n                <th>\u05db\u05dc \u05ea\u05e9\u05dc\u05d5\u05dd<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05e2\u05e1\u05e7\u05d4<\/th>\r\n                <th>\u05db\u05e8\u05d8\u05d9\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsCardsTransactionsTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-standing\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05e7\u05d1\u05e2 \u05d5\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05e7\u05d1\u05d5\u05e2\u05d5\u05ea \/ \u05de\u05e9\u05ea\u05e0\u05d5\u05ea<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05d2\u05d5\u05e8\u05dd<\/label><input id=\"dfsStandingName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05d5\u05d2<\/label>\r\n            <select id=\"dfsStandingKind\">\r\n              <option>\u05d4\u05d5\u05e6\u05d0\u05d4 \u05e7\u05d1\u05d5\u05e2\u05d4<\/option>\r\n              <option>\u05d4\u05d5\u05e6\u05d0\u05d4 \u05de\u05e9\u05ea\u05e0\u05d4<\/option>\r\n              <option>\u05d4\u05db\u05e0\u05e1\u05d4 \u05e7\u05d1\u05d5\u05e2\u05d4<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd<\/label><input id=\"dfsStandingAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05d9\u05d5\u05dd \u05d9\u05e8\u05d9\u05d3\u05d4 \/ \u05db\u05e0\u05d9\u05e1\u05d4 \u05d1\u05d7\u05d5\u05d3\u05e9<\/label><input id=\"dfsStandingDay\" type=\"number\" min=\"1\" max=\"31\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05ea\u05d7\u05dc\u05d4<\/label><input id=\"dfsStandingStartDate\" type=\"date\"><\/div>\r\n\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e1\u05d9\u05d5\u05dd<\/label><input id=\"dfsStandingEndDate\" type=\"date\"><\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsStandingStatus\">\r\n              <option>\u05e4\u05e2\u05d9\u05dc<\/option>\r\n              <option>\u05de\u05d5\u05e7\u05e4\u05d0<\/option>\r\n              <option>\u05d4\u05d5\u05e4\u05e1\u05e7<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsStandingNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addStanding()\">\u05d4\u05d5\u05e1\u05e3 \u05d4\u05d5\u05e8\u05d0\u05ea \u05e7\u05d1\u05e2<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearStandingForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05e7\u05d1\u05e2 \u05d5\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05e7\u05d1\u05d5\u05e2\u05d5\u05ea<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd \u05d2\u05d5\u05e8\u05dd<\/th>\r\n                <th>\u05e1\u05d5\u05d2<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd<\/th>\r\n                <th>\u05d9\u05d5\u05dd<\/th>\r\n                <th>\u05de\u05ea\u05d0\u05e8\u05d9\u05da<\/th>\r\n                <th>\u05e2\u05d3 \u05ea\u05d0\u05e8\u05d9\u05da<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsStandingTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-loans\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d4\u05dc\u05d5\u05d5\u05d0\u05d5\u05ea \u05d5\u05d4\u05ea\u05d7\u05d9\u05d9\u05d1\u05d5\u05d9\u05d5\u05ea<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05d2\u05d5\u05e3 \u05de\u05de\u05de\u05df<\/label><input id=\"dfsLoanName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05d4\u05dc\u05d5\u05d5\u05d0\u05d4 \u05de\u05e7\u05d5\u05e8\u05d9<\/label><input id=\"dfsLoanOriginal\" type=\"number\"><\/div>\r\n          <div><label>\u05d9\u05ea\u05e8\u05d4 \u05e0\u05d5\u05db\u05d7\u05d9\u05ea<\/label><input id=\"dfsLoanBalance\" type=\"number\"><\/div>\r\n          <div><label>\u05ea\u05e9\u05dc\u05d5\u05dd \u05d7\u05d5\u05d3\u05e9\u05d9<\/label><input id=\"dfsLoanMonthly\" type=\"number\"><\/div>\r\n          <div><label>\u05d9\u05d5\u05dd \u05d7\u05d9\u05d5\u05d1<\/label><input id=\"dfsLoanDay\" type=\"number\" min=\"1\" max=\"31\"><\/div>\r\n\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05ea\u05d7\u05dc\u05d4<\/label><input id=\"dfsLoanStartDate\" type=\"date\"><\/div>\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e1\u05d9\u05d5\u05dd<\/label><input id=\"dfsLoanEndDate\" type=\"date\"><\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1<\/label>\r\n            <select id=\"dfsLoanStatus\">\r\n              <option>\u05e4\u05e2\u05d9\u05dc<\/option>\r\n              <option>\u05e0\u05e1\u05d2\u05e8<\/option>\r\n              <option>\u05de\u05d5\u05e7\u05e4\u05d0<\/option>\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsLoanNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addLoan()\">\u05d4\u05d5\u05e1\u05e3 \u05d4\u05dc\u05d5\u05d5\u05d0\u05d4<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearLoanForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05d4\u05dc\u05d5\u05d5\u05d0\u05d5\u05ea<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05d2\u05d5\u05e3 \u05de\u05de\u05de\u05df<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd \u05de\u05e7\u05d5\u05e8\u05d9<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4<\/th>\r\n                <th>\u05d7\u05d5\u05d3\u05e9\u05d9<\/th>\r\n                <th>\u05d9\u05d5\u05dd \u05d7\u05d9\u05d5\u05d1<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsLoansTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-legal\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05de\u05e6\u05d1 \u05de\u05e9\u05e4\u05d8\u05d9<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-5\">\r\n          <div><label>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7 \/ \u05e1\u05e4\u05e7 \/ \u05d2\u05d5\u05e3<\/label><input id=\"dfsLegalName\" type=\"text\"><\/div>\r\n          <div><label>\u05e1\u05d5\u05d2 \u05ea\u05d9\u05e7<\/label>\r\n            <select id=\"dfsLegalType\">\r\n              <option>\u05dc\u05e7\u05d5\u05d7<\/option>\r\n              <option>\u05e1\u05e4\u05e7<\/option>\r\n              <option>\u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7<\/option>\r\n              <option>\u05e6'\u05e7<\/option>\r\n              <option>\u05d4\u05dc\u05d5\u05d5\u05d0\u05d4<\/option>\r\n              <option>\u05d0\u05d7\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05d1\u05ea\u05d1\u05d9\u05e2\u05d4<\/label><input id=\"dfsLegalAmount\" type=\"number\"><\/div>\r\n          <div><label>\u05e1\u05db\u05d5\u05dd \u05d2\u05d1\u05d9\u05d9\u05d4 \u05e6\u05e4\u05d5\u05d9<\/label><input id=\"dfsLegalExpected\" type=\"number\" value=\"0\"><\/div>\r\n          <div><label>\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05de\u05e9\u05e4\u05d8\u05d9\u05d5\u05ea \u05e6\u05e4\u05d5\u05d9\u05d5\u05ea<\/label><input id=\"dfsLegalCosts\" type=\"number\" value=\"0\"><\/div>\r\n\r\n          <div><label>\u05ea\u05d0\u05e8\u05d9\u05da \u05e4\u05ea\u05d9\u05d7\u05ea \u05ea\u05d9\u05e7<\/label><input id=\"dfsLegalOpenDate\" type=\"date\"><\/div>\r\n          <div><label>\u05e1\u05d8\u05d8\u05d5\u05e1 \u05de\u05e9\u05e4\u05d8\u05d9<\/label>\r\n            <select id=\"dfsLegalStatus\">\r\n              <option>\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc<\/option>\r\n              <option>\u05d3\u05d9\u05d5\u05df<\/option>\r\n              <option>\u05e4\u05e9\u05e8\u05d4<\/option>\r\n              <option>\u05e1\u05d2\u05d9\u05e8\u05d4<\/option>\r\n              <option>\u05d4\u05de\u05ea\u05e0\u05d4<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div><label>\u05d4\u05e2\u05e8\u05d5\u05ea<\/label><input id=\"dfsLegalNotes\" type=\"text\"><\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions\">\r\n          <button class=\"dfs-btn dfs-btn-green\" type=\"button\" onclick=\"DFS.addLegal()\">\u05d4\u05d5\u05e1\u05e3 \u05ea\u05d9\u05e7 \u05de\u05e9\u05e4\u05d8\u05d9<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.clearLegalForm()\">\u05e0\u05e7\u05d4 \u05d8\u05d5\u05e4\u05e1<\/button>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05e9\u05dd<\/th>\r\n                <th>\u05e1\u05d5\u05d2 \u05ea\u05d9\u05e7<\/th>\r\n                <th>\u05e1\u05db\u05d5\u05dd \u05d1\u05ea\u05d1\u05d9\u05e2\u05d4<\/th>\r\n                <th>\u05d2\u05d1\u05d9\u05d9\u05d4 \u05e6\u05e4\u05d5\u05d9\u05d4<\/th>\r\n                <th>\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea<\/th>\r\n                <th>\u05ea\u05d0\u05e8\u05d9\u05da \u05e4\u05ea\u05d9\u05d7\u05d4<\/th>\r\n                <th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th>\r\n                <th>\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsLegalTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-debts\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d7\u05d5\u05d1\u05d5\u05ea \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/h2>\r\n        <div class=\"dfs-sub\">\u05d4\u05de\u05e1\u05da \u05de\u05e6\u05d9\u05d2 \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd, \u05e1\u05e4\u05e7\u05d9\u05dd \u05e9\u05dc\u05d0 \u05e9\u05d5\u05dc\u05de\u05d5, \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd \u05d5\u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd<\/div>\r\n        <div class=\"dfs-stat-grid\">\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd<\/div><div class=\"v dfs-green\" id=\"dfsDebtsCustomerAmount\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05e1\u05e4\u05e7\u05d9\u05dd \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/div><div class=\"v dfs-red\" id=\"dfsDebtsSupplierAmount\">\u20aa0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/div><div class=\"v\" id=\"dfsDebtsOpenJobsCount\">0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05dc\u05dc\u05d0 \u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea<\/div><div class=\"v\" id=\"dfsDebtsNoInvoiceCount\">0<\/div><\/div>\r\n          <div class=\"dfs-stat\"><div class=\"t\">\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9<\/div><div class=\"v dfs-purple\" id=\"dfsDebtsLegalCount\">0<\/div><\/div>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead><tr><th>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/th><th>\u05d9\u05ea\u05e8\u05d4<\/th><th>\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9<\/th><th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n            <tbody id=\"dfsDebtsCustomersTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05e1\u05e4\u05e7\u05d9\u05dd \u05e9\u05e2\u05d3\u05d9\u05d9\u05df \u05dc\u05d0 \u05e9\u05d5\u05dc\u05de\u05d5<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead><tr><th>\u05e9\u05dd \u05e1\u05e4\u05e7<\/th><th>\u05d9\u05ea\u05e8\u05d4<\/th><th>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9<\/th><th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n            <tbody id=\"dfsDebtsSuppliersTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"dfs-card\">\r\n        <h3>\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/h3>\r\n        <div class=\"dfs-table-wrap\">\r\n          <table>\r\n            <thead><tr><th>\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/th><th>\u05e2\u05d1\u05d5\u05d3\u05d4<\/th><th>\u05d9\u05ea\u05e8\u05d4<\/th><th>\u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea<\/th><th>\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n            <tbody id=\"dfsDebtsJobsTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-forecast\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd \u05e2\u05ea\u05d9\u05d3\u05d9<\/h2>\r\n        <div class=\"dfs-sub\">\u05d4\u05de\u05e2\u05e8\u05db\u05ea \u05de\u05d7\u05e9\u05d1\u05ea 12 \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd \u05e7\u05d3\u05d9\u05de\u05d4 \u05dc\u05e4\u05d9 \u05db\u05dc \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05e9\u05d4\u05d5\u05d6\u05e0\u05d5<\/div>\r\n        <div class=\"dfs-actions dfs-no-print\">\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.renderForecast()\">\u05e8\u05e2\u05e0\u05df \u05ea\u05d7\u05d6\u05d9\u05ea<\/button>\r\n        <\/div>\r\n        <div class=\"dfs-table-wrap\" style=\"margin-top:10px\">\r\n          <table>\r\n            <thead>\r\n              <tr>\r\n                <th>\u05d7\u05d5\u05d3\u05e9<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05ea \u05e4\u05ea\u05d9\u05d7\u05d4<\/th>\r\n                <th>\u05db\u05e0\u05d9\u05e1\u05d5\u05ea \u05e6\u05e4\u05d5\u05d9\u05d5\u05ea<\/th>\r\n                <th>\u05d9\u05e8\u05d9\u05d3\u05d5\u05ea \u05e6\u05e4\u05d5\u05d9\u05d5\u05ea<\/th>\r\n                <th>\u05d9\u05ea\u05e8\u05d4 \u05e6\u05e4\u05d5\u05d9\u05d4 \u05e1\u05d5\u05e3 \u05d7\u05d5\u05d3\u05e9<\/th>\r\n              <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"dfsForecastTable\"><\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"dfs-page\" id=\"dfs-page-reports\">\r\n      <div class=\"dfs-card\">\r\n        <h2>\u05d3\u05d5\u05d7\u05d5\u05ea<\/h2>\r\n        <div class=\"dfs-grid dfs-grid-3 dfs-no-print\">\r\n          <div>\r\n            <label>\u05e1\u05d5\u05d2 \u05d3\u05d5\u05d7<\/label>\r\n            <select id=\"dfsReportType\">\r\n              <option value=\"summary\">\u05d3\u05d5\u05d7 \u05de\u05e6\u05d1 \u05e2\u05db\u05e9\u05d5\u05d5\u05d9<\/option>\r\n              <option value=\"customers\">\u05d3\u05d5\u05d7 \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd<\/option>\r\n              <option value=\"suppliers\">\u05d3\u05d5\u05d7 \u05e1\u05e4\u05e7\u05d9\u05dd \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/option>\r\n              <option value=\"jobs\">\u05d3\u05d5\u05d7 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/option>\r\n              <option value=\"legal\">\u05d3\u05d5\u05d7 \u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd<\/option>\r\n              <option value=\"forecast\">\u05d3\u05d5\u05d7 \u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div>\r\n            <label>\u05d7\u05d5\u05d3\u05e9 \u05dc\u05e1\u05d9\u05e0\u05d5\u05df<\/label>\r\n            <select id=\"dfsReportMonth\">\r\n              <option value=\"\">\u05db\u05dc \u05d4\u05d7\u05d5\u05d3\u05e9\u05d9\u05dd<\/option>\r\n              <option value=\"01\">\u05d9\u05e0\u05d5\u05d0\u05e8<\/option>\r\n              <option value=\"02\">\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8<\/option>\r\n              <option value=\"03\">\u05de\u05e8\u05e5<\/option>\r\n              <option value=\"04\">\u05d0\u05e4\u05e8\u05d9\u05dc<\/option>\r\n              <option value=\"05\">\u05de\u05d0\u05d9<\/option>\r\n              <option value=\"06\">\u05d9\u05d5\u05e0\u05d9<\/option>\r\n              <option value=\"07\">\u05d9\u05d5\u05dc\u05d9<\/option>\r\n              <option value=\"08\">\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8<\/option>\r\n              <option value=\"09\">\u05e1\u05e4\u05d8\u05de\u05d1\u05e8<\/option>\r\n              <option value=\"10\">\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8<\/option>\r\n              <option value=\"11\">\u05e0\u05d5\u05d1\u05de\u05d1\u05e8<\/option>\r\n              <option value=\"12\">\u05d3\u05e6\u05de\u05d1\u05e8<\/option>\r\n            <\/select>\r\n          <\/div>\r\n          <div>\r\n            <label>\u05e9\u05e0\u05d4 \u05dc\u05e1\u05d9\u05e0\u05d5\u05df<\/label>\r\n            <input id=\"dfsReportYear\" type=\"number\" placeholder=\"\u05dc\u05d3\u05d5\u05d2\u05de\u05d4 2026\">\r\n          <\/div>\r\n        <\/div>\r\n        <div class=\"dfs-actions dfs-no-print\">\r\n          <button class=\"dfs-btn dfs-btn-primary\" type=\"button\" onclick=\"DFS.buildReport()\">\u05d1\u05e0\u05d4 \u05d3\u05d5\u05d7<\/button>\r\n          <button class=\"dfs-btn dfs-btn-orange\" type=\"button\" onclick=\"window.print()\">\u05d4\u05d3\u05e4\u05e1<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.emailReport()\">\u05e9\u05dc\u05d7 \u05d1\u05de\u05d9\u05d9\u05dc<\/button>\r\n          <button class=\"dfs-btn dfs-btn-gray\" type=\"button\" onclick=\"DFS.exportReportCSV()\">\u05d9\u05d9\u05e6\u05d5\u05d0 CSV<\/button>\r\n        <\/div>\r\n        <div class=\"dfs-report-box\" id=\"dfsReportOutput\"><\/div>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <script>\r\n    (function(){\r\n      const ROOT = document.getElementById('dalia-finance-system');\r\n      const KEY = 'dalia_finance_system_v14_fixed_paste';\r\n\r\n      const defaultState = {\r\n        settings:{openingBank:0,cash:0,creditLine:0,notes:''},\r\n        customers:[],\r\n        jobs:[],\r\n        insurance:[],\r\n        suppliers:[],\r\n        checks:[],\r\n        cardAccounts:[],\r\n        cardTransactions:[],\r\n        standing:[],\r\n        loans:[],\r\n        legal:[]\r\n      };\r\n\r\n      const state = loadState();\r\n\r\n      function loadState(){\r\n        try{\r\n          const raw = localStorage.getItem(KEY);\r\n          if(!raw) return JSON.parse(JSON.stringify(defaultState));\r\n          const parsed = JSON.parse(raw);\r\n          return Object.assign(JSON.parse(JSON.stringify(defaultState)), parsed);\r\n        }catch(e){\r\n          return JSON.parse(JSON.stringify(defaultState));\r\n        }\r\n      }\r\n\r\n      function saveState(){\r\n        localStorage.setItem(KEY, JSON.stringify(state));\r\n      }\r\n\r\n      function uid(){\r\n        return Date.now().toString(36)+Math.random().toString(36).slice(2,8);\r\n      }\r\n\r\n      function q(id){ return ROOT.querySelector('#'+id); }\r\n      function qq(sel){ return Array.from(ROOT.querySelectorAll(sel)); }\r\n\r\n      function num(v){\r\n        if(typeof v === 'number') return isNaN(v) ? 0 : v;\r\n        const n = parseFloat(String(v || '').replace(\/,\/g,''));\r\n        return isNaN(n) ? 0 : n;\r\n      }\r\n\r\n      function money(v){\r\n        return '\u20aa' + num(v).toLocaleString('he-IL', {maximumFractionDigits:2});\r\n      }\r\n\r\n      function monthName(m){\r\n        const map = {'01':'\u05d9\u05e0\u05d5\u05d0\u05e8','02':'\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8','03':'\u05de\u05e8\u05e5','04':'\u05d0\u05e4\u05e8\u05d9\u05dc','05':'\u05de\u05d0\u05d9','06':'\u05d9\u05d5\u05e0\u05d9','07':'\u05d9\u05d5\u05dc\u05d9','08':'\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8','09':'\u05e1\u05e4\u05d8\u05de\u05d1\u05e8','10':'\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8','11':'\u05e0\u05d5\u05d1\u05de\u05d1\u05e8','12':'\u05d3\u05e6\u05de\u05d1\u05e8'};\r\n        return map[m] || m;\r\n      }\r\n\r\n      function ymd(d){\r\n        if(!d) return '';\r\n        const date = new Date(d);\r\n        if(isNaN(date)) return '';\r\n        const y = date.getFullYear();\r\n        const m = String(date.getMonth()+1).padStart(2,'0');\r\n        const day = String(date.getDate()).padStart(2,'0');\r\n        return `${y}-${m}-${day}`;\r\n      }\r\n\r\n      function ym(d){\r\n        if(!d) return '';\r\n        const x = ymd(d);\r\n        return x ? x.slice(0,7) : '';\r\n      }\r\n\r\n      function monthKeyFromParts(y,m){\r\n        return `${y}-${String(m).padStart(2,'0')}`;\r\n      }\r\n\r\n      function addMonths(dateStr, months){\r\n        const d = new Date(dateStr || new Date());\r\n        d.setMonth(d.getMonth() + months);\r\n        return ymd(d);\r\n      }\r\n\r\n      function installmentAmount(total, count){\r\n        count = Math.max(1, parseInt(count || 1,10));\r\n        return num(total) \/ count;\r\n      }\r\n\r\n      function badgeClass(status=''){\r\n        if(\/\u05de\u05dc\u05d0|\u05e0\u05e4\u05e8\u05e2|\u05e0\u05e1\u05d2\u05e8|\u05d0\u05d5\u05e9\u05e8\/.test(status)) return 'paid';\r\n        if(\/\u05d7\u05dc\u05e7\u05d9\/.test(status)) return 'partial';\r\n        if(\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(status)) return 'legal';\r\n        if(\/\u05de\u05de\u05ea\u05d9\u05df|\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc|\u05d3\u05d9\u05d5\u05df|\u05d4\u05de\u05ea\u05e0\u05d4\/.test(status)) return 'wait';\r\n        return 'open';\r\n      }\r\n\r\n      function openPage(page){\r\n        qq('.dfs-page').forEach(el=>el.classList.remove('active'));\r\n        qq('.dfs-tab').forEach(el=>el.classList.remove('active'));\r\n        const p = q('dfs-page-'+page);\r\n        if(p) p.classList.add('active');\r\n        const tab = qq('.dfs-tab').find(t=>t.dataset.page===page);\r\n        if(tab) tab.classList.add('active');\r\n        if(page==='forecast') renderForecast();\r\n        if(page==='debts') renderDebts();\r\n        if(page==='reports') buildReport();\r\n      }\r\n\r\n      qq('.dfs-tab').forEach(btn=>{\r\n        btn.addEventListener('click', ()=>openPage(btn.dataset.page));\r\n      });\r\n\r\n      function fillSettings(){\r\n        q('dfsSettingOpeningBank').value = state.settings.openingBank || 0;\r\n        q('dfsSettingCash').value = state.settings.cash || 0;\r\n        q('dfsSettingCreditLine').value = state.settings.creditLine || 0;\r\n        q('dfsSettingNotes').value = state.settings.notes || '';\r\n      }\r\n\r\n      function saveSettings(){\r\n        state.settings.openingBank = num(q('dfsSettingOpeningBank').value);\r\n        state.settings.cash = num(q('dfsSettingCash').value);\r\n        state.settings.creditLine = num(q('dfsSettingCreditLine').value);\r\n        state.settings.notes = q('dfsSettingNotes').value.trim();\r\n        saveState();\r\n        renderAll();\r\n        alert('\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1 \u05e0\u05e9\u05de\u05e8\u05d5');\r\n      }\r\n\r\n      function clearInputs(ids){\r\n        ids.forEach(id=>{\r\n          const el = q(id);\r\n          if(!el) return;\r\n          if(el.tagName==='SELECT'){\r\n            el.selectedIndex = 0;\r\n          }else{\r\n            el.value = '';\r\n          }\r\n        });\r\n      }\r\n\r\n      function addCustomer(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsCustomerName').value.trim(),\r\n          type:q('dfsCustomerType').value,\r\n          insurance:q('dfsCustomerInsurance').value.trim(),\r\n          amount:num(q('dfsCustomerAmount').value),\r\n          paid:num(q('dfsCustomerPaid').value),\r\n          workDate:q('dfsCustomerWorkDate').value,\r\n          dueDate:q('dfsCustomerDueDate').value,\r\n          paymentMethod:q('dfsCustomerPaymentMethod').value,\r\n          installments:num(q('dfsCustomerInstallments').value || 1),\r\n          status:q('dfsCustomerStatus').value,\r\n          notes:q('dfsCustomerNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05dc\u05e7\u05d5\u05d7 \u05d5\u05e1\u05db\u05d5\u05dd'); return; }\r\n        state.customers.push(item);\r\n        saveState(); clearCustomerForm(); renderAll();\r\n      }\r\n\r\n      function clearCustomerForm(){\r\n        clearInputs(['dfsCustomerName','dfsCustomerInsurance','dfsCustomerAmount','dfsCustomerPaid','dfsCustomerWorkDate','dfsCustomerDueDate','dfsCustomerInstallments','dfsCustomerNotes']);\r\n        q('dfsCustomerType').selectedIndex = 0;\r\n        q('dfsCustomerPaymentMethod').selectedIndex = 0;\r\n        q('dfsCustomerStatus').selectedIndex = 0;\r\n        q('dfsCustomerPaid').value = 0;\r\n        q('dfsCustomerInstallments').value = 1;\r\n      }\r\n\r\n      function addJob(){\r\n        const item = {\r\n          id:uid(),\r\n          customer:q('dfsJobCustomer').value.trim(),\r\n          title:q('dfsJobTitle').value.trim(),\r\n          amount:num(q('dfsJobAmount').value),\r\n          invoice:q('dfsJobInvoice').value,\r\n          viaInsurance:q('dfsJobViaInsurance').value,\r\n          insuranceName:q('dfsJobInsuranceName').value.trim(),\r\n          openDate:q('dfsJobOpenDate').value,\r\n          closeDate:q('dfsJobCloseDate').value,\r\n          dueDate:q('dfsJobDueDate').value,\r\n          paid:num(q('dfsJobPaid').value),\r\n          status:q('dfsJobStatus').value,\r\n          notes:q('dfsJobNotes').value.trim()\r\n        };\r\n        if(!item.customer || !item.title || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05dc\u05e7\u05d5\u05d7, \u05ea\u05d9\u05d0\u05d5\u05e8 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05d5\u05e1\u05db\u05d5\u05dd'); return; }\r\n        state.jobs.push(item);\r\n        saveState(); clearJobForm(); renderAll();\r\n      }\r\n\r\n      function clearJobForm(){\r\n        clearInputs(['dfsJobCustomer','dfsJobTitle','dfsJobAmount','dfsJobInsuranceName','dfsJobOpenDate','dfsJobCloseDate','dfsJobDueDate','dfsJobPaid','dfsJobNotes']);\r\n        q('dfsJobInvoice').selectedIndex = 0;\r\n        q('dfsJobViaInsurance').selectedIndex = 0;\r\n        q('dfsJobStatus').selectedIndex = 0;\r\n        q('dfsJobPaid').value = 0;\r\n      }\r\n\r\n      function addInsurance(){\r\n        const item = {\r\n          id:uid(),\r\n          customer:q('dfsInsCustomer').value.trim(),\r\n          company:q('dfsInsCompany').value.trim(),\r\n          caseType:q('dfsInsCaseType').value.trim(),\r\n          claimAmount:num(q('dfsInsClaimAmount').value),\r\n          approvedAmount:num(q('dfsInsApprovedAmount').value),\r\n          paidAmount:num(q('dfsInsPaidAmount').value),\r\n          openDate:q('dfsInsOpenDate').value,\r\n          dueDate:q('dfsInsDueDate').value,\r\n          status:q('dfsInsStatus').value,\r\n          notes:q('dfsInsNotes').value.trim()\r\n        };\r\n        if(!item.customer || !item.company || !item.claimAmount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05dc\u05e7\u05d5\u05d7, \u05d7\u05d1\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7 \u05d5\u05e1\u05db\u05d5\u05dd \u05ea\u05d1\u05d9\u05e2\u05d4'); return; }\r\n        state.insurance.push(item);\r\n        saveState(); clearInsuranceForm(); renderAll();\r\n      }\r\n\r\n      function clearInsuranceForm(){\r\n        clearInputs(['dfsInsCustomer','dfsInsCompany','dfsInsCaseType','dfsInsClaimAmount','dfsInsApprovedAmount','dfsInsPaidAmount','dfsInsOpenDate','dfsInsDueDate','dfsInsNotes']);\r\n        q('dfsInsApprovedAmount').value = 0;\r\n        q('dfsInsPaidAmount').value = 0;\r\n        q('dfsInsStatus').selectedIndex = 0;\r\n      }\r\n\r\n      function addSupplier(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsSupplierName').value.trim(),\r\n          expenseType:q('dfsSupplierExpenseType').value,\r\n          amount:num(q('dfsSupplierAmount').value),\r\n          paid:num(q('dfsSupplierPaid').value),\r\n          dueDate:q('dfsSupplierDueDate').value,\r\n          paidDate:q('dfsSupplierPaidDate').value,\r\n          paymentMethod:q('dfsSupplierPaymentMethod').value,\r\n          status:q('dfsSupplierStatus').value,\r\n          notes:q('dfsSupplierNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05e1\u05e4\u05e7 \u05d5\u05e1\u05db\u05d5\u05dd'); return; }\r\n        state.suppliers.push(item);\r\n        saveState(); clearSupplierForm(); renderAll();\r\n      }\r\n\r\n      function clearSupplierForm(){\r\n        clearInputs(['dfsSupplierName','dfsSupplierAmount','dfsSupplierPaid','dfsSupplierDueDate','dfsSupplierPaidDate','dfsSupplierNotes']);\r\n        q('dfsSupplierExpenseType').selectedIndex = 0;\r\n        q('dfsSupplierPaymentMethod').selectedIndex = 0;\r\n        q('dfsSupplierStatus').selectedIndex = 0;\r\n        q('dfsSupplierPaid').value = 0;\r\n      }\r\n\r\n      function addCheck(){\r\n        const item = {\r\n          id:uid(),\r\n          direction:q('dfsCheckDirection').value,\r\n          name:q('dfsCheckName').value.trim(),\r\n          amount:num(q('dfsCheckAmount').value),\r\n          dueDate:q('dfsCheckDueDate').value,\r\n          number:q('dfsCheckNumber').value.trim(),\r\n          status:q('dfsCheckStatus').value,\r\n          notes:q('dfsCheckNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05d5\u05e1\u05db\u05d5\u05dd'); return; }\r\n        state.checks.push(item);\r\n        saveState(); clearCheckForm(); renderAll();\r\n      }\r\n\r\n      function clearCheckForm(){\r\n        clearInputs(['dfsCheckName','dfsCheckAmount','dfsCheckDueDate','dfsCheckNumber','dfsCheckNotes']);\r\n        q('dfsCheckDirection').selectedIndex = 0;\r\n        q('dfsCheckStatus').selectedIndex = 0;\r\n      }\r\n\r\n      function addCardAccount(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsCardName').value.trim(),\r\n          company:q('dfsCardCompany').value.trim(),\r\n          last4:q('dfsCardLast4').value.trim(),\r\n          chargeDay:num(q('dfsCardChargeDay').value),\r\n          limit:num(q('dfsCardLimit').value)\r\n        };\r\n        if(!item.name){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05db\u05e8\u05d8\u05d9\u05e1'); return; }\r\n        state.cardAccounts.push(item);\r\n        saveState(); clearCardAccountForm(); renderAll();\r\n      }\r\n\r\n      function clearCardAccountForm(){\r\n        clearInputs(['dfsCardName','dfsCardCompany','dfsCardLast4','dfsCardChargeDay','dfsCardLimit']);\r\n      }\r\n\r\n      function fillCardSelect(){\r\n        const sel = q('dfsCardTxnCardId');\r\n        if(!sel) return;\r\n        const current = sel.value;\r\n        sel.innerHTML = '';\r\n        if(state.cardAccounts.length===0){\r\n          const op = document.createElement('option');\r\n          op.value = '';\r\n          op.textContent = '\u05d0\u05d9\u05df \u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05dd';\r\n          sel.appendChild(op);\r\n        }else{\r\n          state.cardAccounts.forEach(c=>{\r\n            const op = document.createElement('option');\r\n            op.value = c.id;\r\n            op.textContent = `${c.name} ${c.last4 ? '('+c.last4+')' : ''}`;\r\n            sel.appendChild(op);\r\n          });\r\n          sel.value = current || state.cardAccounts[0].id;\r\n        }\r\n      }\r\n\r\n      function addCardTransaction(){\r\n        const item = {\r\n          id:uid(),\r\n          supplier:q('dfsCardTxnSupplier').value.trim(),\r\n          amount:num(q('dfsCardTxnAmount').value),\r\n          installments:Math.max(1, num(q('dfsCardTxnInstallments').value || 1)),\r\n          date:q('dfsCardTxnDate').value,\r\n          cardId:q('dfsCardTxnCardId').value\r\n        };\r\n        if(!item.supplier || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e1\u05e4\u05e7 \/ \u05ea\u05d9\u05d0\u05d5\u05e8 \u05d5\u05e1\u05db\u05d5\u05dd'); return; }\r\n        state.cardTransactions.push(item);\r\n        saveState(); clearCardTransactionForm(); renderAll();\r\n      }\r\n\r\n      function clearCardTransactionForm(){\r\n        clearInputs(['dfsCardTxnSupplier','dfsCardTxnAmount','dfsCardTxnDate']);\r\n        q('dfsCardTxnInstallments').value = 1;\r\n      }\r\n\r\n      function normalizeAmountText(txt){\r\n        return String(txt || '')\r\n          .replace(\/[\u20aa\\s]\/g,'')\r\n          .replace(\/,\/g,'')\r\n          .replace(\/[^\\d.\\-]\/g,'');\r\n      }\r\n\r\n      function looksLikeHeader(text){\r\n        return \/\u05ea\u05d0\u05e8\u05d9\u05da|\u05e2\u05e1\u05e7\u05d4|\u05d1\u05d9\u05ea \u05e2\u05e1\u05e7|\u05e9\u05dd|\u05e1\u05db\u05d5\u05dd|\u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd|\u05d7\u05d9\u05d5\u05d1|card|amount|date|merchant|business\/i.test(text);\r\n      }\r\n\r\n      function importCardPaste(){\r\n        const txt = q('dfsCardPaste').value.trim();\r\n        if(!txt){\r\n          alert('\u05d0\u05d9\u05df \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05dc\u05d4\u05d3\u05d1\u05e7\u05d4');\r\n          return;\r\n        }\r\n\r\n        const lines = txt\r\n          .split(\/\\r?\\n\/)\r\n          .map(x => x.trim())\r\n          .filter(x => x.length > 0);\r\n\r\n        let added = 0;\r\n        let skipped = 0;\r\n\r\n        lines.forEach(line => {\r\n          if (!line) return;\r\n\r\n          let parts = [];\r\n\r\n          if (line.includes('\\t')) {\r\n            parts = line.split('\\t').map(x => x.trim());\r\n          } else if (line.includes(',')) {\r\n            parts = line.split(',').map(x => x.trim());\r\n          } else {\r\n            parts = line.split(\/\\s{2,}\/).map(x => x.trim());\r\n          }\r\n\r\n          parts = parts.filter(x => x !== '');\r\n\r\n          if (parts.length < 3) {\r\n            skipped++;\r\n            return;\r\n          }\r\n\r\n          const joinedStart = parts.slice(0, 4).join(' ');\r\n          if (looksLikeHeader(joinedStart)) {\r\n            skipped++;\r\n            return;\r\n          }\r\n\r\n          let date = '';\r\n          let supplier = '';\r\n          let amount = 0;\r\n          let installments = 1;\r\n\r\n          const amountIndex = parts.findIndex(p => {\r\n            const cleaned = normalizeAmountText(p);\r\n            return cleaned !== '' && !isNaN(parseFloat(cleaned));\r\n          });\r\n\r\n          if (amountIndex === -1) {\r\n            skipped++;\r\n            return;\r\n          }\r\n\r\n          amount = num(normalizeAmountText(parts[amountIndex]));\r\n\r\n          if (!amount) {\r\n            skipped++;\r\n            return;\r\n          }\r\n\r\n          date = (parts[0] || '').trim();\r\n\r\n          if (amountIndex >= 2) {\r\n            supplier = parts.slice(1, amountIndex).join(' ').trim();\r\n          } else {\r\n            supplier = (parts[1] || '').trim();\r\n          }\r\n\r\n          if (!supplier) {\r\n            supplier = '\u05e2\u05e1\u05e7\u05d4 \u05dc\u05dc\u05d0 \u05e9\u05dd';\r\n          }\r\n\r\n          if (parts[amountIndex + 1]) {\r\n            const instText = String(parts[amountIndex + 1]).replace(\/[^\\d]\/g, '');\r\n            installments = Math.max(1, parseInt(instText || '1', 10));\r\n          }\r\n\r\n          state.cardTransactions.push({\r\n            id:uid(),\r\n            supplier,\r\n            amount,\r\n            installments,\r\n            date,\r\n            cardId: state.cardAccounts[0] ? state.cardAccounts[0].id : ''\r\n          });\r\n\r\n          added++;\r\n        });\r\n\r\n        saveState();\r\n        q('dfsCardPaste').value = '';\r\n        renderAll();\r\n        alert('\u05d9\u05d5\u05d1\u05d0\u05d5 ' + added + ' \u05e2\u05e1\u05e7\u05d0\u05d5\u05ea. \u05d3\u05d5\u05dc\u05d2\u05d5 ' + skipped + ' \u05e9\u05d5\u05e8\u05d5\u05ea \u05e9\u05dc\u05d0 \u05d6\u05d5\u05d4\u05d5.');\r\n      }\r\n\r\n      function importCardCSV(event){\r\n        const file = event.target.files[0];\r\n        if(!file) return;\r\n        const reader = new FileReader();\r\n        reader.onload = function(e){\r\n          const text = e.target.result || '';\r\n          const lines = text.split(\/\\r?\\n\/).filter(Boolean);\r\n          if(lines.length < 2){ alert('\u05e7\u05d5\u05d1\u05e5 \u05dc\u05d0 \u05ea\u05e7\u05d9\u05df'); return; }\r\n\r\n          const header = lines[0].split(',').map(x=>x.trim().toLowerCase());\r\n          const idxDate = header.findIndex(x=>\/date|\u05ea\u05d0\u05e8\u05d9\u05da\/.test(x));\r\n          const idxSupplier = header.findIndex(x=>\/supplier|name|business|merchant|\u05e1\u05e4\u05e7|\u05e9\u05dd|\u05d1\u05d9\u05ea \u05e2\u05e1\u05e7\/.test(x));\r\n          const idxAmount = header.findIndex(x=>\/amount|sum|\u05e1\u05db\u05d5\u05dd\/.test(x));\r\n          const idxInstall = header.findIndex(x=>\/install|\u05ea\u05e9\u05dc\u05d5\u05de\u05d9\u05dd\/.test(x));\r\n\r\n          let added = 0;\r\n          for(let i=1;i<lines.length;i++){\r\n            const row = lines[i].split(',');\r\n            const supplier = (row[idxSupplier]||'').trim();\r\n            const amount = num(normalizeAmountText(row[idxAmount]||''));\r\n            if(supplier && amount){\r\n              state.cardTransactions.push({\r\n                id:uid(),\r\n                supplier,\r\n                amount,\r\n                installments: Math.max(1, num((row[idxInstall]||'1').toString().replace(\/[^\\d]\/g,'')) || 1),\r\n                date: (row[idxDate]||'').trim(),\r\n                cardId: state.cardAccounts[0] ? state.cardAccounts[0].id : ''\r\n              });\r\n              added++;\r\n            }\r\n          }\r\n          saveState();\r\n          renderAll();\r\n          alert('\u05d9\u05d5\u05d1\u05d0\u05d5 ' + added + ' \u05e2\u05e1\u05e7\u05d0\u05d5\u05ea \u05de\u05e7\u05d5\u05d1\u05e5');\r\n          event.target.value = '';\r\n        };\r\n        reader.readAsText(file, 'UTF-8');\r\n      }\r\n\r\n      function addStanding(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsStandingName').value.trim(),\r\n          kind:q('dfsStandingKind').value,\r\n          amount:num(q('dfsStandingAmount').value),\r\n          day:num(q('dfsStandingDay').value),\r\n          startDate:q('dfsStandingStartDate').value,\r\n          endDate:q('dfsStandingEndDate').value,\r\n          status:q('dfsStandingStatus').value,\r\n          notes:q('dfsStandingNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.amount || !item.day){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd, \u05e1\u05db\u05d5\u05dd \u05d5\u05d9\u05d5\u05dd'); return; }\r\n        state.standing.push(item);\r\n        saveState(); clearStandingForm(); renderAll();\r\n      }\r\n\r\n      function clearStandingForm(){\r\n        clearInputs(['dfsStandingName','dfsStandingAmount','dfsStandingDay','dfsStandingStartDate','dfsStandingEndDate','dfsStandingNotes']);\r\n        q('dfsStandingKind').selectedIndex = 0;\r\n        q('dfsStandingStatus').selectedIndex = 0;\r\n      }\r\n\r\n      function addLoan(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsLoanName').value.trim(),\r\n          original:num(q('dfsLoanOriginal').value),\r\n          balance:num(q('dfsLoanBalance').value),\r\n          monthly:num(q('dfsLoanMonthly').value),\r\n          day:num(q('dfsLoanDay').value),\r\n          startDate:q('dfsLoanStartDate').value,\r\n          endDate:q('dfsLoanEndDate').value,\r\n          status:q('dfsLoanStatus').value,\r\n          notes:q('dfsLoanNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.monthly || !item.day){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05d2\u05d5\u05e3 \u05de\u05de\u05de\u05df, \u05ea\u05e9\u05dc\u05d5\u05dd \u05d7\u05d5\u05d3\u05e9\u05d9 \u05d5\u05d9\u05d5\u05dd \u05d7\u05d9\u05d5\u05d1'); return; }\r\n        state.loans.push(item);\r\n        saveState(); clearLoanForm(); renderAll();\r\n      }\r\n\r\n      function clearLoanForm(){\r\n        clearInputs(['dfsLoanName','dfsLoanOriginal','dfsLoanBalance','dfsLoanMonthly','dfsLoanDay','dfsLoanStartDate','dfsLoanEndDate','dfsLoanNotes']);\r\n        q('dfsLoanStatus').selectedIndex = 0;\r\n      }\r\n\r\n      function addLegal(){\r\n        const item = {\r\n          id:uid(),\r\n          name:q('dfsLegalName').value.trim(),\r\n          type:q('dfsLegalType').value,\r\n          amount:num(q('dfsLegalAmount').value),\r\n          expected:num(q('dfsLegalExpected').value),\r\n          costs:num(q('dfsLegalCosts').value),\r\n          openDate:q('dfsLegalOpenDate').value,\r\n          status:q('dfsLegalStatus').value,\r\n          notes:q('dfsLegalNotes').value.trim()\r\n        };\r\n        if(!item.name || !item.amount){ alert('\u05d9\u05e9 \u05dc\u05de\u05dc\u05d0 \u05e9\u05dd \u05d5\u05e1\u05db\u05d5\u05dd \u05d1\u05ea\u05d1\u05d9\u05e2\u05d4'); return; }\r\n        state.legal.push(item);\r\n        saveState(); clearLegalForm(); renderAll();\r\n      }\r\n\r\n      function clearLegalForm(){\r\n        clearInputs(['dfsLegalName','dfsLegalAmount','dfsLegalExpected','dfsLegalCosts','dfsLegalOpenDate','dfsLegalNotes']);\r\n        q('dfsLegalType').selectedIndex = 0;\r\n        q('dfsLegalStatus').selectedIndex = 0;\r\n        q('dfsLegalExpected').value = 0;\r\n        q('dfsLegalCosts').value = 0;\r\n      }\r\n\r\n      function removeFrom(arrName,id){\r\n        if(!confirm('\u05dc\u05de\u05d7\u05d5\u05e7 \u05e8\u05e9\u05d5\u05de\u05d4?')) return;\r\n        state[arrName] = state[arrName].filter(x => x.id !== id);\r\n        saveState();\r\n        renderAll();\r\n      }\r\n\r\n      function getCustomerBalance(x){ return Math.max(0, num(x.amount) - num(x.paid)); }\r\n      function getSupplierBalance(x){ return Math.max(0, num(x.amount) - num(x.paid)); }\r\n      function getJobBalance(x){ return Math.max(0, num(x.amount) - num(x.paid)); }\r\n      function getInsuranceBalance(x){\r\n        const base = num(x.approvedAmount) || num(x.claimAmount);\r\n        return Math.max(0, base - num(x.paidAmount));\r\n      }\r\n\r\n      function computeDashboard(){\r\n        const opening = num(state.settings.openingBank) + num(state.settings.cash);\r\n        const incomePaidCustomers = state.customers.reduce((s,x)=>s+num(x.paid),0);\r\n        const incomePaidInsurance = state.insurance.reduce((s,x)=>s+num(x.paidAmount),0);\r\n        const incomePaid = incomePaidCustomers + incomePaidInsurance;\r\n        const expensePaidSuppliers = state.suppliers.reduce((s,x)=>s+num(x.paid),0);\r\n        const expensePaid = expensePaidSuppliers;\r\n        const customerDebt = state.customers.reduce((s,x)=>s+getCustomerBalance(x),0) + state.insurance.reduce((s,x)=>s+getInsuranceBalance(x),0);\r\n        const supplierDebt = state.suppliers.reduce((s,x)=>s+getSupplierBalance(x),0);\r\n\r\n        const legalCount = state.legal.filter(x=>x.status !== '\u05e1\u05d2\u05d9\u05e8\u05d4').length\r\n          + state.customers.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.jobs.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.insurance.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.suppliers.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.checks.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.loans.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length;\r\n\r\n        const legalAmount = state.legal.reduce((s,x)=>s+num(x.amount),0);\r\n        const openJobs = state.jobs.filter(x=>!['\u05e9\u05d5\u05dc\u05dd \u05de\u05dc\u05d0'].includes(x.status)).length;\r\n        const nowBalance = opening + incomePaid - expensePaid;\r\n        const future = computeForecastRows();\r\n        const futureIn = future.reduce((s,x)=>s+x.in,0);\r\n        const futureOut = future.reduce((s,x)=>s+x.out,0);\r\n\r\n        return {opening,incomePaid,expensePaid,customerDebt,supplierDebt,legalCount,legalAmount,openJobs,nowBalance,futureIn,futureOut};\r\n      }\r\n\r\n      function renderDashboard(){\r\n        const d = computeDashboard();\r\n        q('dfsStatNow').textContent = money(d.nowBalance);\r\n        q('dfsStatCustomerDebt').textContent = money(d.customerDebt);\r\n        q('dfsStatSupplierDebt').textContent = money(d.supplierDebt);\r\n        q('dfsStatLegalCount').textContent = d.legalCount;\r\n        q('dfsStatOpenJobs').textContent = d.openJobs;\r\n        q('dfsStatIncomePaid').textContent = money(d.incomePaid);\r\n        q('dfsStatExpensePaid').textContent = money(d.expensePaid);\r\n        q('dfsStatFutureIn').textContent = money(d.futureIn);\r\n        q('dfsStatFutureOut').textContent = money(d.futureOut);\r\n        q('dfsStatLegalAmount').textContent = money(d.legalAmount);\r\n      }\r\n\r\n      function renderCustomers(){\r\n        const tbody = q('dfsCustomersTable');\r\n        tbody.innerHTML = '';\r\n        state.customers.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${escapeHtml(x.type)}<\/td>\r\n            <td>${escapeHtml(x.insurance || '')}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${money(x.paid)}<\/td>\r\n            <td>${money(getCustomerBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.paymentMethod || '')}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('customers','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderJobs(){\r\n        const tbody = q('dfsJobsTable');\r\n        tbody.innerHTML = '';\r\n        state.jobs.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.customer)}<\/td>\r\n            <td>${escapeHtml(x.title)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${escapeHtml(x.invoice)}<\/td>\r\n            <td>${x.viaInsurance==='\u05db\u05df' ? escapeHtml(x.insuranceName || '\u05db\u05df') : '\u05dc\u05d0'}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${money(x.paid)}<\/td>\r\n            <td>${money(getJobBalance(x))}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('jobs','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderInsurance(){\r\n        const tbody = q('dfsInsuranceTable');\r\n        tbody.innerHTML = '';\r\n        state.insurance.forEach(x=>{\r\n          const base = num(x.approvedAmount) || num(x.claimAmount);\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.customer)}<\/td>\r\n            <td>${escapeHtml(x.company)}<\/td>\r\n            <td>${money(x.claimAmount)}<\/td>\r\n            <td>${money(x.approvedAmount)}<\/td>\r\n            <td>${money(x.paidAmount)}<\/td>\r\n            <td>${money(Math.max(0, base - num(x.paidAmount)))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('insurance','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderSuppliers(){\r\n        const tbody = q('dfsSuppliersTable');\r\n        tbody.innerHTML = '';\r\n        state.suppliers.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${escapeHtml(x.expenseType)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${money(x.paid)}<\/td>\r\n            <td>${money(getSupplierBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.paymentMethod)}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('suppliers','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderChecks(){\r\n        const tbody = q('dfsChecksTable');\r\n        tbody.innerHTML = '';\r\n        state.checks.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${x.direction === 'in' ? '\u05e0\u05db\u05e0\u05e1' : '\u05d9\u05d5\u05e6\u05d0'}<\/td>\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.number || '')}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('checks','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderCardAccounts(){\r\n        const tbody = q('dfsCardsAccountsTable');\r\n        tbody.innerHTML = '';\r\n        state.cardAccounts.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${escapeHtml(x.company)}<\/td>\r\n            <td>${escapeHtml(x.last4)}<\/td>\r\n            <td>${escapeHtml(String(x.chargeDay||''))}<\/td>\r\n            <td>${money(x.limit)}<\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('cardAccounts','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function cardNameById(id){\r\n        const x = state.cardAccounts.find(a=>a.id===id);\r\n        return x ? `${x.name}${x.last4 ? ' ('+x.last4+')' : ''}` : '';\r\n      }\r\n\r\n      function renderCardTransactions(){\r\n        const tbody = q('dfsCardsTransactionsTable');\r\n        tbody.innerHTML = '';\r\n        state.cardTransactions.forEach(x=>{\r\n          const per = installmentAmount(x.amount, x.installments);\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.supplier)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${escapeHtml(String(x.installments))}<\/td>\r\n            <td>${money(per)}<\/td>\r\n            <td>${escapeHtml(x.date || '')}<\/td>\r\n            <td>${escapeHtml(cardNameById(x.cardId))}<\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('cardTransactions','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderStanding(){\r\n        const tbody = q('dfsStandingTable');\r\n        tbody.innerHTML = '';\r\n        state.standing.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${escapeHtml(x.kind)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${escapeHtml(String(x.day||''))}<\/td>\r\n            <td>${escapeHtml(x.startDate || '')}<\/td>\r\n            <td>${escapeHtml(x.endDate || '')}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('standing','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderLoans(){\r\n        const tbody = q('dfsLoansTable');\r\n        tbody.innerHTML = '';\r\n        state.loans.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${money(x.original)}<\/td>\r\n            <td>${money(x.balance)}<\/td>\r\n            <td>${money(x.monthly)}<\/td>\r\n            <td>${escapeHtml(String(x.day||''))}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('loans','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderLegal(){\r\n        const tbody = q('dfsLegalTable');\r\n        tbody.innerHTML = '';\r\n        state.legal.forEach(x=>{\r\n          const tr = document.createElement('tr');\r\n          tr.innerHTML = `\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${escapeHtml(x.type)}<\/td>\r\n            <td>${money(x.amount)}<\/td>\r\n            <td>${money(x.expected)}<\/td>\r\n            <td>${money(x.costs)}<\/td>\r\n            <td>${escapeHtml(x.openDate || '')}<\/td>\r\n            <td><span class=\"dfs-badge ${badgeClass(x.status)}\">${escapeHtml(x.status)}<\/span><\/td>\r\n            <td><button class=\"dfs-btn dfs-btn-red\" type=\"button\" onclick=\"DFS.remove('legal','${x.id}')\">\u05de\u05d7\u05e7<\/button><\/td>\r\n          `;\r\n          tbody.appendChild(tr);\r\n        });\r\n      }\r\n\r\n      function renderDebts(){\r\n        const cust = state.customers.filter(x=>getCustomerBalance(x)>0);\r\n        const ins = state.insurance.filter(x=>getInsuranceBalance(x)>0);\r\n        const sup = state.suppliers.filter(x=>getSupplierBalance(x)>0);\r\n        const jobs = state.jobs.filter(x=>getJobBalance(x)>0 || x.invoice==='\u05dc\u05d0' || \/\u05e4\u05ea\u05d5\u05d7|\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc|\u05de\u05e9\u05e4\u05d8\u05d9|\u05dc\u05dc\u05d0 \u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea\/.test(x.status));\r\n        const legalCount = state.legal.length\r\n          + state.customers.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.jobs.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.insurance.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length\r\n          + state.suppliers.filter(x=>\/\u05de\u05e9\u05e4\u05d8\u05d9\/.test(x.status)).length;\r\n\r\n        q('dfsDebtsCustomerAmount').textContent = money(\r\n          cust.reduce((s,x)=>s+getCustomerBalance(x),0) + ins.reduce((s,x)=>s+getInsuranceBalance(x),0)\r\n        );\r\n        q('dfsDebtsSupplierAmount').textContent = money(sup.reduce((s,x)=>s+getSupplierBalance(x),0));\r\n        q('dfsDebtsOpenJobsCount').textContent = jobs.length;\r\n        q('dfsDebtsNoInvoiceCount').textContent = state.jobs.filter(x=>x.invoice==='\u05dc\u05d0').length;\r\n        q('dfsDebtsLegalCount').textContent = legalCount;\r\n\r\n        q('dfsDebtsCustomersTable').innerHTML = cust.map(x=>`\r\n          <tr>\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${money(getCustomerBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.status)}<\/td>\r\n          <\/tr>\r\n        `).join('') + ins.map(x=>`\r\n          <tr>\r\n            <td>${escapeHtml(x.customer)} \/ ${escapeHtml(x.company)}<\/td>\r\n            <td>${money(getInsuranceBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.status)}<\/td>\r\n          <\/tr>\r\n        `).join('');\r\n\r\n        q('dfsDebtsSuppliersTable').innerHTML = sup.map(x=>`\r\n          <tr>\r\n            <td>${escapeHtml(x.name)}<\/td>\r\n            <td>${money(getSupplierBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.dueDate || '')}<\/td>\r\n            <td>${escapeHtml(x.status)}<\/td>\r\n          <\/tr>\r\n        `).join('');\r\n\r\n        q('dfsDebtsJobsTable').innerHTML = jobs.map(x=>`\r\n          <tr>\r\n            <td>${escapeHtml(x.customer)}<\/td>\r\n            <td>${escapeHtml(x.title)}<\/td>\r\n            <td>${money(getJobBalance(x))}<\/td>\r\n            <td>${escapeHtml(x.invoice)}<\/td>\r\n            <td>${escapeHtml(x.status)}<\/td>\r\n          <\/tr>\r\n        `).join('');\r\n      }\r\n\r\n      function computeForecastRows(){\r\n        const rows = [];\r\n        const opening = num(state.settings.openingBank) + num(state.settings.cash) + state.customers.reduce((s,x)=>s+num(x.paid),0) + state.insurance.reduce((s,x)=>s+num(x.paidAmount),0) - state.suppliers.reduce((s,x)=>s+num(x.paid),0);\r\n\r\n        let running = opening;\r\n        const today = new Date();\r\n        const startYear = today.getFullYear();\r\n        const startMonth = today.getMonth()+1;\r\n\r\n        for(let i=0;i<12;i++){\r\n          const dt = new Date(startYear, startMonth-1+i, 1);\r\n          const key = monthKeyFromParts(dt.getFullYear(), dt.getMonth()+1);\r\n          let incoming = 0;\r\n          let outgoing = 0;\r\n\r\n          state.customers.forEach(x=>{\r\n            if(ym(x.dueDate)===key) incoming += getCustomerBalance(x);\r\n          });\r\n\r\n          state.insurance.forEach(x=>{\r\n            if(ym(x.dueDate)===key) incoming += getInsuranceBalance(x);\r\n          });\r\n\r\n          state.jobs.forEach(x=>{\r\n            if(ym(x.dueDate)===key && getJobBalance(x)>0 && x.invoice!=='\u05dc\u05d0') incoming += getJobBalance(x);\r\n          });\r\n\r\n          state.suppliers.forEach(x=>{\r\n            if(ym(x.dueDate)===key) outgoing += getSupplierBalance(x);\r\n          });\r\n\r\n          state.checks.forEach(x=>{\r\n            if(ym(x.dueDate)===key){\r\n              if(x.direction==='in') incoming += num(x.amount);\r\n              else outgoing += num(x.amount);\r\n            }\r\n          });\r\n\r\n          state.cardTransactions.forEach(x=>{\r\n            const per = installmentAmount(x.amount, x.installments);\r\n            for(let n=0;n<Math.max(1,num(x.installments));n++){\r\n              if(ym(addMonths(x.date || ymd(new Date()), n))===key){\r\n                outgoing += per;\r\n              }\r\n            }\r\n          });\r\n\r\n          state.standing.forEach(x=>{\r\n            if(x.status !== '\u05e4\u05e2\u05d9\u05dc') return;\r\n            const start = x.startDate ? ym(x.startDate) : key;\r\n            const end = x.endDate ? ym(x.endDate) : '9999-12';\r\n            if(key >= start && key <= end){\r\n              if(x.kind === '\u05d4\u05db\u05e0\u05e1\u05d4 \u05e7\u05d1\u05d5\u05e2\u05d4') incoming += num(x.amount);\r\n              else outgoing += num(x.amount);\r\n            }\r\n          });\r\n\r\n          state.loans.forEach(x=>{\r\n            if(x.status === '\u05e4\u05e2\u05d9\u05dc' || x.status === '\u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9'){\r\n              const start = x.startDate ? ym(x.startDate) : key;\r\n              const end = x.endDate ? ym(x.endDate) : '9999-12';\r\n              if(key >= start && key <= end) outgoing += num(x.monthly);\r\n            }\r\n          });\r\n\r\n          const openBal = running;\r\n          const closeBal = openBal + incoming - outgoing;\r\n          rows.push({key, open:openBal, in:incoming, out:outgoing, close:closeBal});\r\n          running = closeBal;\r\n        }\r\n        return rows;\r\n      }\r\n\r\n      function renderForecast(){\r\n        const tbody = q('dfsForecastTable');\r\n        const rows = computeForecastRows();\r\n        tbody.innerHTML = rows.map(r=>{\r\n          const m = r.key.split('-')[1];\r\n          const y = r.key.split('-')[0];\r\n          return `\r\n            <tr>\r\n              <td>${monthName(m)} ${y}<\/td>\r\n              <td>${money(r.open)}<\/td>\r\n              <td>${money(r.in)}<\/td>\r\n              <td>${money(r.out)}<\/td>\r\n              <td>${money(r.close)}<\/td>\r\n            <\/tr>\r\n          `;\r\n        }).join('');\r\n      }\r\n\r\n      function reportFilterByMonthYear(dateStr){\r\n        const month = q('dfsReportMonth').value;\r\n        const year = q('dfsReportYear').value;\r\n        if(!month && !year) return true;\r\n        const d = ymd(dateStr);\r\n        if(!d) return false;\r\n        const okMonth = !month || d.slice(5,7)===month;\r\n        const okYear = !year || d.slice(0,4)===String(year);\r\n        return okMonth && okYear;\r\n      }\r\n\r\n      function buildReport(){\r\n        const type = q('dfsReportType').value;\r\n        const out = q('dfsReportOutput');\r\n        const d = computeDashboard();\r\n\r\n        if(type==='summary'){\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05de\u05e6\u05d1 \u05e2\u05db\u05e9\u05d5\u05d5\u05d9<\/h3>\r\n            <p>\u05d9\u05ea\u05e8\u05d4 \u05e2\u05db\u05e9\u05d5\u05d5\u05d9\u05ea: <strong>${money(d.nowBalance)}<\/strong><\/p>\r\n            <p>\u05d4\u05db\u05e0\u05e1\u05d5\u05ea \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc: <strong>${money(d.incomePaid)}<\/strong><\/p>\r\n            <p>\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05e9\u05e9\u05d5\u05dc\u05de\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc: <strong>${money(d.expensePaid)}<\/strong><\/p>\r\n            <p>\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd: <strong>${money(d.customerDebt)}<\/strong><\/p>\r\n            <p>\u05d7\u05d5\u05d1 \u05dc\u05e1\u05e4\u05e7\u05d9\u05dd: <strong>${money(d.supplierDebt)}<\/strong><\/p>\r\n            <p>\u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd: <strong>${d.legalCount}<\/strong><\/p>\r\n            <p>\u05e1\u05db\u05d5\u05dd \u05d1\u05d8\u05d9\u05e4\u05d5\u05dc \u05de\u05e9\u05e4\u05d8\u05d9: <strong>${money(d.legalAmount)}<\/strong><\/p>\r\n            <p>\u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd: <strong>${d.openJobs}<\/strong><\/p>\r\n          `;\r\n        }\r\n\r\n        if(type==='customers'){\r\n          const rows = state.customers.filter(x=>getCustomerBalance(x)>0 && reportFilterByMonthYear(x.dueDate));\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd<\/h3>\r\n            <table style=\"width:100%;border-collapse:collapse\">\r\n              <thead><tr><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05ea\u05e8\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n              <tbody>\r\n                ${rows.map(x=>`<tr><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.name)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(getCustomerBalance(x))}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.dueDate || '')}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.status)}<\/td><\/tr>`).join('')}\r\n              <\/tbody>\r\n            <\/table>\r\n          `;\r\n        }\r\n\r\n        if(type==='suppliers'){\r\n          const rows = state.suppliers.filter(x=>getSupplierBalance(x)>0 && reportFilterByMonthYear(x.dueDate));\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05e1\u05e4\u05e7\u05d9\u05dd \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd<\/h3>\r\n            <table style=\"width:100%;border-collapse:collapse\">\r\n              <thead><tr><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e9\u05dd \u05e1\u05e4\u05e7<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05ea\u05e8\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n              <tbody>\r\n                ${rows.map(x=>`<tr><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.name)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(getSupplierBalance(x))}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.dueDate || '')}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.status)}<\/td><\/tr>`).join('')}\r\n              <\/tbody>\r\n            <\/table>\r\n          `;\r\n        }\r\n\r\n        if(type==='jobs'){\r\n          const rows = state.jobs.filter(x=>(getJobBalance(x)>0 || x.invoice==='\u05dc\u05d0') && reportFilterByMonthYear(x.dueDate || x.openDate));\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e4\u05ea\u05d5\u05d7\u05d9\u05dd<\/h3>\r\n            <table style=\"width:100%;border-collapse:collapse\">\r\n              <thead><tr><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05dc\u05e7\u05d5\u05d7<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e2\u05d1\u05d5\u05d3\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05ea\u05e8\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n              <tbody>\r\n                ${rows.map(x=>`<tr><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.customer)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.title)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(getJobBalance(x))}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.invoice)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.status)}<\/td><\/tr>`).join('')}\r\n              <\/tbody>\r\n            <\/table>\r\n          `;\r\n        }\r\n\r\n        if(type==='legal'){\r\n          const rows = state.legal.filter(x=>reportFilterByMonthYear(x.openDate));\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd<\/h3>\r\n            <p>\u05de\u05e1\u05e4\u05e8 \u05ea\u05d9\u05e7\u05d9\u05dd: <strong>${rows.length}<\/strong><\/p>\r\n            <p>\u05e1\u05db\u05d5\u05dd \u05d1\u05ea\u05d1\u05d9\u05e2\u05d5\u05ea: <strong>${money(rows.reduce((s,x)=>s+num(x.amount),0))}<\/strong><\/p>\r\n            <table style=\"width:100%;border-collapse:collapse\">\r\n              <thead><tr><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e9\u05dd<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05d5\u05d2<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05db\u05d5\u05dd<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d2\u05d1\u05d9\u05d9\u05d4 \u05e6\u05e4\u05d5\u05d9\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05e1\u05d8\u05d8\u05d5\u05e1<\/th><\/tr><\/thead>\r\n              <tbody>\r\n                ${rows.map(x=>`<tr><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.name)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.type)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(x.amount)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(x.expected)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${escapeHtml(x.status)}<\/td><\/tr>`).join('')}\r\n              <\/tbody>\r\n            <\/table>\r\n          `;\r\n        }\r\n\r\n        if(type==='forecast'){\r\n          const rows = computeForecastRows();\r\n          out.innerHTML = `\r\n            <h3>\u05d3\u05d5\u05d7 \u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd<\/h3>\r\n            <table style=\"width:100%;border-collapse:collapse\">\r\n              <thead><tr><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d7\u05d5\u05d3\u05e9<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05ea\u05e8\u05ea \u05e4\u05ea\u05d9\u05d7\u05d4<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05db\u05e0\u05d9\u05e1\u05d5\u05ea<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05e8\u05d9\u05d3\u05d5\u05ea<\/th><th style=\"text-align:right;border-bottom:1px solid #ccc;padding:8px\">\u05d9\u05ea\u05e8\u05d4 \u05e1\u05d5\u05e3 \u05d7\u05d5\u05d3\u05e9<\/th><\/tr><\/thead>\r\n              <tbody>\r\n                ${rows.map(r=>`<tr><td style=\"padding:8px;border-bottom:1px solid #eee\">${monthName(r.key.slice(5,7))} ${r.key.slice(0,4)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(r.open)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(r.in)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(r.out)}<\/td><td style=\"padding:8px;border-bottom:1px solid #eee\">${money(r.close)}<\/td><\/tr>`).join('')}\r\n              <\/tbody>\r\n            <\/table>\r\n          `;\r\n        }\r\n      }\r\n\r\n      function emailReport(){\r\n        const html = q('dfsReportOutput').innerText || '\u05d3\u05d5\u05d7 \u05de\u05e2\u05e8\u05db\u05ea \u05de\u05e6\u05d1 \u05e2\u05e1\u05e7\u05d9 \u05d5\u05ea\u05d6\u05e8\u05d9\u05dd';\r\n        const subject = encodeURIComponent('\u05d3\u05d5\u05d7 \u05de\u05e2\u05e8\u05db\u05ea \u05de\u05e6\u05d1 \u05e2\u05e1\u05e7\u05d9 \u05d5\u05ea\u05d6\u05e8\u05d9\u05dd');\r\n        const body = encodeURIComponent(html);\r\n        window.location.href = `mailto:?subject=${subject}&body=${body}`;\r\n      }\r\n\r\n      function exportReportCSV(){\r\n        const type = q('dfsReportType').value;\r\n        let headers = [], rows = [];\r\n\r\n        if(type==='customers'){\r\n          headers = ['\u05e9\u05dd \u05dc\u05e7\u05d5\u05d7','\u05d9\u05ea\u05e8\u05d4','\u05ea\u05d0\u05e8\u05d9\u05da \u05e6\u05e4\u05d5\u05d9','\u05e1\u05d8\u05d8\u05d5\u05e1'];\r\n          rows = state.customers.filter(x=>getCustomerBalance(x)>0).map(x=>[x.name,getCustomerBalance(x),x.dueDate,x.status]);\r\n        }else if(type==='suppliers'){\r\n          headers = ['\u05e9\u05dd \u05e1\u05e4\u05e7','\u05d9\u05ea\u05e8\u05d4','\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e9\u05dc\u05d5\u05dd \u05e6\u05e4\u05d5\u05d9','\u05e1\u05d8\u05d8\u05d5\u05e1'];\r\n          rows = state.suppliers.filter(x=>getSupplierBalance(x)>0).map(x=>[x.name,getSupplierBalance(x),x.dueDate,x.status]);\r\n        }else if(type==='jobs'){\r\n          headers = ['\u05dc\u05e7\u05d5\u05d7','\u05e2\u05d1\u05d5\u05d3\u05d4','\u05d9\u05ea\u05e8\u05d4','\u05d7\u05e9\u05d1\u05d5\u05e0\u05d9\u05ea','\u05e1\u05d8\u05d8\u05d5\u05e1'];\r\n          rows = state.jobs.filter(x=>getJobBalance(x)>0 || x.invoice==='\u05dc\u05d0').map(x=>[x.customer,x.title,getJobBalance(x),x.invoice,x.status]);\r\n        }else if(type==='legal'){\r\n          headers = ['\u05e9\u05dd','\u05e1\u05d5\u05d2 \u05ea\u05d9\u05e7','\u05e1\u05db\u05d5\u05dd','\u05d2\u05d1\u05d9\u05d9\u05d4 \u05e6\u05e4\u05d5\u05d9\u05d4','\u05e1\u05d8\u05d8\u05d5\u05e1'];\r\n          rows = state.legal.map(x=>[x.name,x.type,x.amount,x.expected,x.status]);\r\n        }else if(type==='forecast'){\r\n          headers = ['\u05d7\u05d5\u05d3\u05e9','\u05d9\u05ea\u05e8\u05ea \u05e4\u05ea\u05d9\u05d7\u05d4','\u05db\u05e0\u05d9\u05e1\u05d5\u05ea','\u05d9\u05e8\u05d9\u05d3\u05d5\u05ea','\u05d9\u05ea\u05e8\u05d4 \u05e1\u05d5\u05e3 \u05d7\u05d5\u05d3\u05e9'];\r\n          rows = computeForecastRows().map(r=>[r.key,r.open,r.in,r.out,r.close]);\r\n        }else{\r\n          headers = ['\u05de\u05d3\u05d3','\u05e2\u05e8\u05da'];\r\n          const d = computeDashboard();\r\n          rows = [\r\n            ['\u05d9\u05ea\u05e8\u05d4 \u05e2\u05db\u05e9\u05d5\u05d5\u05d9\u05ea', d.nowBalance],\r\n            ['\u05d4\u05db\u05e0\u05e1\u05d5\u05ea \u05e9\u05d4\u05ea\u05e7\u05d1\u05dc\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc', d.incomePaid],\r\n            ['\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea \u05e9\u05e9\u05d5\u05dc\u05de\u05d5 \u05d1\u05e4\u05d5\u05e2\u05dc', d.expensePaid],\r\n            ['\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d7\u05d9\u05d9\u05d1\u05d9\u05dd', d.customerDebt],\r\n            ['\u05d7\u05d5\u05d1 \u05dc\u05e1\u05e4\u05e7\u05d9\u05dd', d.supplierDebt],\r\n            ['\u05ea\u05d9\u05e7\u05d9\u05dd \u05de\u05e9\u05e4\u05d8\u05d9\u05d9\u05dd', d.legalCount]\r\n          ];\r\n        }\r\n\r\n        const csv = [headers, ...rows]\r\n          .map(r=>r.map(v=>`\"${String(v ?? '').replace(\/\"\/g,'\"\"')}\"`).join(','))\r\n          .join('\\n');\r\n\r\n        const blob = new Blob([\"\\uFEFF\"+csv], {type:'text\/csv;charset=utf-8;'});\r\n        const a = document.createElement('a');\r\n        a.href = URL.createObjectURL(blob);\r\n        a.download = 'report.csv';\r\n        a.click();\r\n      }\r\n\r\n      function printCurrentReport(){\r\n        openPage('reports');\r\n        buildReport();\r\n        setTimeout(()=>window.print(),100);\r\n      }\r\n\r\n      function exportJSON(){\r\n        const blob = new Blob([JSON.stringify(state,null,2)], {type:'application\/json'});\r\n        const a = document.createElement('a');\r\n        a.href = URL.createObjectURL(blob);\r\n        a.download = 'dalia-finance-backup.json';\r\n        a.click();\r\n      }\r\n\r\n      function importJSON(event){\r\n        const file = event.target.files[0];\r\n        if(!file) return;\r\n        const reader = new FileReader();\r\n        reader.onload = function(e){\r\n          try{\r\n            const data = JSON.parse(e.target.result);\r\n            Object.keys(defaultState).forEach(k=>{\r\n              state[k] = data[k] !== undefined ? data[k] : JSON.parse(JSON.stringify(defaultState[k]));\r\n            });\r\n            saveState();\r\n            renderAll();\r\n            alert('\u05d4\u05e7\u05d5\u05d1\u05e5 \u05d9\u05d5\u05d1\u05d0 \u05d1\u05d4\u05e6\u05dc\u05d7\u05d4');\r\n          }catch(err){\r\n            alert('\u05d4\u05e7\u05d5\u05d1\u05e5 \u05dc\u05d0 \u05ea\u05e7\u05d9\u05df');\r\n          }\r\n          event.target.value = '';\r\n        };\r\n        reader.readAsText(file);\r\n      }\r\n\r\n      function clearAll(){\r\n        if(!confirm('\u05dc\u05de\u05d7\u05d5\u05e7 \u05d0\u05ea \u05db\u05dc \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05d1\u05de\u05e2\u05e8\u05db\u05ea?')) return;\r\n        Object.keys(defaultState).forEach(k=>{\r\n          state[k] = JSON.parse(JSON.stringify(defaultState[k]));\r\n        });\r\n        saveState();\r\n        renderAll();\r\n      }\r\n\r\n      function escapeHtml(str=''){\r\n        return String(str)\r\n          .replace(\/&\/g,'&amp;')\r\n          .replace(\/<\/g,'&lt;')\r\n          .replace(\/>\/g,'&gt;')\r\n          .replace(\/\"\/g,'&quot;')\r\n          .replace(\/'\/g,'&#039;');\r\n      }\r\n\r\n      function renderAll(){\r\n        fillSettings();\r\n        fillCardSelect();\r\n        renderDashboard();\r\n        renderCustomers();\r\n        renderJobs();\r\n        renderInsurance();\r\n        renderSuppliers();\r\n        renderChecks();\r\n        renderCardAccounts();\r\n        renderCardTransactions();\r\n        renderStanding();\r\n        renderLoans();\r\n        renderLegal();\r\n        renderDebts();\r\n        renderForecast();\r\n        buildReport();\r\n      }\r\n\r\n      window.DFS = {\r\n        go: openPage,\r\n        saveSettings,\r\n        addCustomer,\r\n        clearCustomerForm,\r\n        addJob,\r\n        clearJobForm,\r\n        addInsurance,\r\n        clearInsuranceForm,\r\n        addSupplier,\r\n        clearSupplierForm,\r\n        addCheck,\r\n        clearCheckForm,\r\n        addCardAccount,\r\n        clearCardAccountForm,\r\n        addCardTransaction,\r\n        clearCardTransactionForm,\r\n        importCardPaste,\r\n        importCardCSV,\r\n        addStanding,\r\n        clearStandingForm,\r\n        addLoan,\r\n        clearLoanForm,\r\n        addLegal,\r\n        clearLegalForm,\r\n        remove: removeFrom,\r\n        renderForecast,\r\n        buildReport,\r\n        emailReport,\r\n        exportReportCSV,\r\n        exportJSON,\r\n        importJSON,\r\n        printCurrentReport,\r\n        clearAll\r\n      };\r\n\r\n      renderAll();\r\n    })();\r\n  <\/script>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u05de\u05e2\u05e8\u05db\u05ea \u05de\u05e6\u05d1 \u05e2\u05e1\u05e7\u05d9 \u05d5\u05ea\u05d6\u05e8\u05d9\u05dd 14 \u05e2\u05de\u05d5\u05d3\u05d9\u05dd, \u05e9\u05de\u05d9\u05e8\u05d4 \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9\u05ea \u05d1\u05d3\u05e4\u05d3\u05e4\u05df, \u05d3\u05d5\u05d7\u05d5\u05ea, \u05d4\u05d3\u05e4\u05e1\u05d4, \u05d9\u05d1\u05d5\u05d0 \u05d0\u05e9\u05e8\u05d0\u05d9, \u05d7\u05d5\u05d1\u05d5\u05ea, \u05de\u05e9\u05e4\u05d8\u05d9 \u05d5\u05ea\u05d7\u05d6\u05d9\u05ea \u05ea\u05d6\u05e8\u05d9\u05dd \u05d2\u05d9\u05d1\u05d5\u05d9 JSON \u05d9\u05d1\u05d5\u05d0 JSON \u05d4\u05d3\u05e4\u05e1 \u05d3\u05d5\u05d7 \u05de\u05d7\u05d9\u05e7\u05ea \u05db\u05dc \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd 1 \u05d3\u05e9\u05d1\u05d5\u05e8\u05d3 2 \u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1 3 \u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d5\u05d4\u05db\u05e0\u05e1\u05d5\u05ea 4 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05e2\u05d1\u05d5\u05d3\u05d4 5 \u05d7\u05d1\u05e8\u05d5\u05ea \u05d1\u05d9\u05d8\u05d5\u05d7 6 \u05e1\u05e4\u05e7\u05d9\u05dd \u05d5\u05d4\u05d5\u05e6\u05d0\u05d5\u05ea 7 \u05e6'\u05e7\u05d9\u05dd 8 \u05db\u05e8\u05d8\u05d9\u05e1\u05d9 \u05d0\u05e9\u05e8\u05d0\u05d9 9 \u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05e7\u05d1\u05e2 10 \u05d4\u05dc\u05d5\u05d5\u05d0\u05d5\u05ea 11 \u05de\u05e9\u05e4\u05d8\u05d9 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/yoni.online\/index.php\/elementor-2863\/\"> <span class=\"screen-reader-text\">\u05d2\u05d2\u05d2<\/span> \u05dc\u05e7\u05e8\u05d9\u05d0\u05d4 \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"_links":{"self":[{"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/pages\/2863"}],"collection":[{"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/comments?post=2863"}],"version-history":[{"count":5,"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/pages\/2863\/revisions"}],"predecessor-version":[{"id":2868,"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/pages\/2863\/revisions\/2868"}],"wp:attachment":[{"href":"https:\/\/yoni.online\/index.php\/wp-json\/wp\/v2\/media?parent=2863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}