[{"Connection":{"id":7,"title":"View Payments","alias":"View_Payments","published":1,"description":"","apptype":"connectivity","settings":"{\"form\":{\"uid\":\"form\",\"type\":\"connectivity\",\"utype\":\"settings\",\"behaviors\":{\"data\":[\"check_security_fields\",\"upload_files\",\"validate_fields\",\"log_data\",\"acl\"]},\"upload\":{\"path\":\"\"},\"acl\":{\"profile\":\"registered\",\"owner_id\":\"\"}},\"__lastsave\":1731470984}","pgroups":"{\"2\":{\"type\":\"standalone\",\"site\":\"\",\"name\":\"connection\"},\"-connectivity-repo-pgroup-\":{\"name\":\"-connectivity-repo-pgroup-\"}}","pages":"{\"3\":{\"pgroup\":\"2\",\"minimized\":\"0\",\"content\":\"{view:search_payment_form}\\r\\n\\r\\n\",\"name\":\"payment_form_page\",\"desc\":\"\",\"behaviors\":{\"html\":[\"next_pages\"]},\"next_pages\":[\"2\"]},\"2\":{\"pgroup\":\"2\",\"minimized\":\"0\",\"content\":\"{view:search_payment_form}\\r\\n{fn:Payments}\\r\\n{view:PaymentsPaginator}\\r\\n{view:listPayments}\\r\\n{view:PaymentsPaginator}\\r\\n\",\"name\":\"payment_list_page\",\"desc\":\"\",\"behaviors\":{\"html\":[\"next_pages\"]},\"next_pages\":[\"2\",\"4\"]},\"6\":{\"pgroup\":\"2\",\"minimized\":\"0\",\"content\":\"{view:TodaysPaymentSearchForm}\\r\\n{fn:TodaysPayments}\\r\\n{view:TodaysPaymentsPaginator}\\r\\n{view:TodaysPaymentsList}\\r\\n{view:TodaysPaymentsPaginator}\\r\\n\",\"name\":\"TodaysPayments\",\"desc\":\"\"},\"4\":{\"pgroup\":\"2\",\"minimized\":\"0\",\"content\":\"{fn:singlePayment}\\r\\n{fn:EftCc}\\r\\n{fn:VP}\\r\\n{fn:CC}\\r\\n{fn:Bank}\\r\\n{view:paymentDetailsForm}\",\"name\":\"payment_details_page\",\"desc\":\"\"},\"5\":{\"pgroup\":\"2\",\"minimized\":\"0\",\"content\":\"{fn:submit_payment_uploads}\\r\\n{fn:submit_payment}\\r\\n\",\"name\":\"submit_payment_page\",\"desc\":\"\"},\"-connectivity-repo-page-\":{\"pgroup\":\"-connectivity-repo-pgroup-\",\"name\":\"-connectivity-repo-page-\",\"desc\":\"The repository page\"}}","views":"{\"210\":{\"uid\":\"210\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"PaymentsPaginator\",\"wtitle\":\"PaymentsPaginator\",\"utype\":\"views\",\"type\":\"paginator\",\"items\":[\"navigation\",\"limiter\",\"info\"],\"data_source\":\"5\"},\"211\":{\"uid\":\"211\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"TodaysPaymentsPaginator\",\"wtitle\":\"TodaysPaymentsPaginator\",\"utype\":\"views\",\"type\":\"paginator\",\"items\":[\"navigation\",\"limiter\",\"info\"],\"data_source\":\"159\"},\"167\":{\"uid\":\"167\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"TodaysPaymentsList\",\"wtitle\":\"TodaysPaymentsList\",\"utype\":\"views\",\"type\":\"list_table\",\"data_source\":{\"1\":\"159\"},\"areas\":{\"1\":{\"name\":\"Payments.PaymentId\"},\"14\":{\"name\":\"Debtor.Dnum\"},\"13\":{\"name\":\"Debtor.BccName\"},\"12\":{\"name\":\"Payments.PaymentDate\"},\"11\":{\"name\":\"Payments.Amount\"},\"10\":{\"name\":\"Payments.PaymentForm\"},\"9\":{\"name\":\"Payments.CollectorId\"},\"8\":{\"name\":\"Payments.SecurityNum\"},\"7\":{\"name\":\"View\"},\"6\":{\"name\":\"Add Payments\"},\"5\":{\"name\":\"Edit\"},\"4\":{\"name\":\"Delete\\\/Void\"},\"3\":{\"name\":\"Run Payment\"}},\"columns\":{\"1\":{\"title\":\"Pay Id\",\"width\":\"\",\"class\":\"\"},\"14\":{\"title\":\"Ref#\",\"width\":\"\",\"class\":\"\"},\"13\":{\"title\":\"BccName\",\"width\":\"\",\"class\":\"\"},\"12\":{\"title\":\"Pay Date\",\"width\":\"\",\"class\":\"\"},\"11\":{\"title\":\"Amount\",\"width\":\"\",\"class\":\"\"},\"10\":{\"title\":\"Pay Form\",\"width\":\"\",\"class\":\"\"},\"9\":{\"title\":\"Collector\",\"width\":\"\",\"class\":\"\"},\"8\":{\"title\":\"Security#\",\"width\":\"\",\"class\":\"\"},\"7\":{\"title\":\"View\",\"width\":\"\",\"class\":\"\"},\"6\":{\"title\":\"Add Pay\",\"width\":\"\",\"class\":\"\"},\"5\":{\"title\":\"Edit\",\"width\":\"\",\"class\":\"\"},\"4\":{\"title\":\"Delete\\\/Void\",\"width\":\"\",\"class\":\"\"},\"3\":{\"title\":\"Run Pay\",\"width\":\"\",\"class\":\"\"}},\"behaviors\":{\"list_table\":[\"list_table_sortables\"]},\"sortables\":{\"1\":\"Payments.PaymentId\",\"2\":\"Debtor.Dnum\",\"3\":\"Debtor.BccName\",\"4\":\"Payments.PaymentDate\",\"5\":\"Payments.Amount\",\"6\":\"Payments.PaymentForm\",\"7\":\"Payments.CollectorId\",\"8\":\"Payments.SecurityNum\"}},\"169\":{\"uid\":\"169\",\"_parent\":\"167\",\"_area\":\"Payments.Amount\",\"name\":\"html_code_169\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php \\r\\n$amount = $this->get(\\\"Payments.Amount\\\");\\r\\n$nsf =  $this->get(\\\"Payments.NsfAmount\\\");\\r\\necho '$' . $amount + $nsf;\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"171\":{\"uid\":\"171\",\"_parent\":\"167\",\"_area\":\"View\",\"name\":\"field_button_171\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\",\"class\":{\"color\":\"blue\"},\"target\":\"\"},\"content\":\"View\"}},\"behaviors\":{\"html\":[\"view_circular\",\"view_color\",\"view_link\"]},\"link_settings\":{\"page\":\"4\",\"params\":{\"1\":{\"name\":\"PaymentId\",\"value\":\"{var:Payments.PaymentId}\"},\"2\":{\"name\":\"Act\",\"value\":\"View\"}}}},\"172\":{\"uid\":\"172\",\"_parent\":\"167\",\"_area\":\"Add Payments\",\"name\":\"html_code_172\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\n if(in_array($this->get(\\\"Payments.PaymentForm\\\"),array('CC','EFT'))){\\r\\n    echo \\\"<a type=\\\\\\\"button\\\\\\\" class=\\\\\\\"green circular ui button\\\\\\\" href=\\\\\\\"\\\/jdocs\\\/index.php\\\/component\\\/chronoforms7\\\/? \\r\\n       chronoform=View_Payments&gpage=payment_details_page&PaymentId=\\\" . $this->get(\\\"Payments.PaymentId\\\") . \\\"&Act=AddPayment\\\\\\\">Add<\\\/a>\\\";\\r\\n}\\r\\n?>\\r\\n\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"173\":{\"uid\":\"173\",\"_parent\":\"167\",\"_area\":\"Edit\",\"name\":\"field_button_173\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\",\"class\":{\"color\":\"teal\"},\"target\":\"\"},\"content\":\"Edit\"}},\"behaviors\":{\"html\":[\"view_circular\",\"view_color\",\"view_link\"]},\"link_settings\":{\"page\":\"4\",\"params\":{\"1\":{\"name\":\"PaymentId\",\"value\":\"{var:Payments.PaymentId}\"},\"2\":{\"name\":\"Act\",\"value\":\"Edit\"}}}},\"174\":{\"uid\":\"174\",\"_parent\":\"167\",\"_area\":\"Delete\\\/Void\",\"name\":\"html_code_174\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nchdir(\\\"\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\");\\r\\nrequire 'displayDeleteVoidButtons.php';\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"175\":{\"uid\":\"175\",\"_parent\":\"167\",\"_area\":\"Run Payment\",\"name\":\"html_code_175\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nchdir(\\\"\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\");\\r\\nrequire 'displayRunPaymentButton.php';\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"1\":{\"uid\":\"1\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"listPayments\",\"wtitle\":\"listPayments\",\"utype\":\"views\",\"type\":\"list_table\",\"data_source\":{\"1\":\"5\"},\"areas\":{\"1\":{\"name\":\"Payments.PaymentId\"},\"8\":{\"name\":\"Debtor.Dnum\"},\"7\":{\"name\":\"Debtor.BccName\"},\"6\":{\"name\":\"Payments.PaymentDate\"},\"5\":{\"name\":\"Payments.Amount\"},\"4\":{\"name\":\"Payments.PaymentForm\"},\"3\":{\"name\":\"Payments.CollectorId\"},\"2\":{\"name\":\"Payments.SecurityNum\"},\"9\":{\"name\":\"View\"},\"12\":{\"name\":\"Add Payments\"},\"10\":{\"name\":\"Edit\"},\"11\":{\"name\":\"Delete\\\/Void\"},\"13\":{\"name\":\"Run Payment\"}},\"columns\":{\"1\":{\"title\":\"Pay Id\",\"width\":\"\",\"class\":\"\"},\"8\":{\"title\":\"Ref#\",\"width\":\"\",\"class\":\"\"},\"7\":{\"title\":\"BccName\",\"width\":\"\",\"class\":\"\"},\"6\":{\"title\":\"Pay Date\",\"width\":\"\",\"class\":\"\"},\"5\":{\"title\":\"Amount\",\"width\":\"\",\"class\":\"\"},\"4\":{\"title\":\"Pay Form\",\"width\":\"\",\"class\":\"\"},\"3\":{\"title\":\"Collector\",\"width\":\"\",\"class\":\"\"},\"2\":{\"title\":\"Security#\",\"width\":\"\",\"class\":\"\"},\"9\":{\"title\":\"View\",\"width\":\"\",\"class\":\"\"},\"12\":{\"title\":\"Add Pay\",\"width\":\"\",\"class\":\"\"},\"10\":{\"title\":\"Edit\",\"width\":\"\",\"class\":\"\"},\"11\":{\"title\":\"Delete\\\/Void\",\"width\":\"\",\"class\":\"\"},\"13\":{\"title\":\"Run Pay\",\"width\":\"\",\"class\":\"\"}},\"behaviors\":{\"list_table\":[\"list_table_sortables\"],\"html\":[\"view_size\"]},\"sortables\":{\"1\":\"Payments.PaymentId\",\"8\":\"Debtor.Dnum\",\"7\":\"Debtor.BccName\",\"6\":\"Payments.Amount\",\"5\":\"Payments.PaymentForm\",\"4\":\"Payments.CollectorId\",\"3\":\"Payments.SecurityNum\",\"9\":\"Payments.PaymentDate\"},\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"size\":\"mini\"}}}}},\"124\":{\"uid\":\"124\",\"_parent\":\"1\",\"_area\":\"Payments.Amount\",\"name\":\"html_code_124\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php \\r\\n$amount = $this->get(\\\"Payments.Amount\\\");\\r\\n$nsf =  $this->get(\\\"Payments.NsfAmount\\\");\\r\\necho '$' . $amount + $nsf;\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\"]}},\"14\":{\"uid\":\"14\",\"_parent\":\"1\",\"_area\":\"View\",\"name\":\"field_button_14\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\",\"class\":{\"color\":\"blue\"},\"target\":\"\"},\"content\":\"View\"}},\"behaviors\":{\"html\":[\"view_circular\",\"view_compact\",\"view_color\",\"view_link\"]},\"link_settings\":{\"page\":\"4\",\"params\":{\"1\":{\"name\":\"PaymentId\",\"value\":\"{var:Payments.PaymentId}\"},\"3\":{\"name\":\"Act\",\"value\":\"View\"}}}},\"121\":{\"uid\":\"121\",\"_parent\":\"1\",\"_area\":\"Add Payments\",\"name\":\"html_code_121\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\n if(in_array($this->get(\\\"Payments.PaymentForm\\\"),array('CC','EFT'))){\\r\\n    echo \\\"<a type=\\\\\\\"button\\\\\\\" class=\\\\\\\"green circular compact ui button\\\\\\\" href=\\\\\\\"\\\/jdocs\\\/index.php\\\/component\\\/chronoforms7\\\/? \\r\\n       chronoform=View_Payments&gpage=payment_details_page&PaymentId=\\\" . $this->get(\\\"Payments.PaymentId\\\") . \\\"&Act=AddPayment\\\\\\\">Add<\\\/a>\\\";\\r\\n}\\r\\n?>\\r\\n\"}},\"behaviors\":{\"html_code\":[\"html_code_php\"]}},\"116\":{\"uid\":\"116\",\"_parent\":\"1\",\"_area\":\"Edit\",\"name\":\"field_button116\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\",\"class\":{\"color\":\"teal\"},\"target\":\"\"},\"content\":\"Edit\"}},\"behaviors\":{\"html\":[\"view_circular\",\"view_compact\",\"view_color\",\"view_link\"]},\"link_settings\":{\"page\":\"4\",\"params\":{\"1\":{\"name\":\"PaymentId\",\"value\":\"{var:Payments.PaymentId}\"},\"3\":{\"name\":\"Act\",\"value\":\"Edit\"}}}},\"125\":{\"uid\":\"125\",\"_parent\":\"1\",\"_area\":\"Delete\\\/Void\",\"name\":\"html_code_125\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nchdir(\\\"\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\");\\r\\nrequire 'displayDeleteVoidButtons.php';\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"126\":{\"uid\":\"126\",\"_parent\":\"1\",\"_area\":\"Run Payment\",\"name\":\"html_code_126\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nchdir(\\\"\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\");\\r\\nrequire 'displayRunPaymentButton.php';\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"160\":{\"uid\":\"160\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"TodaysPaymentSearchForm\",\"wtitle\":\"TodaysPaymentSearchForm\",\"utype\":\"views\",\"type\":\"area_form\",\"absolute_url\":\"\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"ajax\":\"\"}}}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"form_custom_width\",\"override\":\"\"}}},\"161\":{\"uid\":\"161\",\"_parent\":\"160\",\"_area\":\"body\",\"name\":\"area_container_161\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"\"}}}}},\"190\":{\"uid\":\"190\",\"_parent\":\"161\",\"_area\":\"body\",\"name\":\"javascript190\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"javascript\",\"domready\":\"0\",\"content\":\"\\\/\\\/i'm not sure how this works, but it seems to remove the 'Confirm form resubmission' message\\r\\n\\r\\nif ( window.history.replaceState ) {\\r\\n  window.history.replaceState( null, null, window.location.href );\\r\\n}\"},\"163\":{\"uid\":\"163\",\"_parent\":\"161\",\"_area\":\"body\",\"name\":\"field_text_163\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by Reference Number\"},\"main\":{\"attrs\":{\"name\":\"reference_number\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"164\":{\"uid\":\"164\",\"_parent\":\"161\",\"_area\":\"body\",\"name\":\"field_text164\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by security number\"},\"main\":{\"attrs\":{\"name\":\"security_number\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"186\":{\"uid\":\"186\",\"_parent\":\"161\",\"_area\":\"body\",\"name\":\"field_text_186\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by amount\"},\"main\":{\"attrs\":{\"name\":\"search_by_amount\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"166\":{\"uid\":\"166\",\"_parent\":\"161\",\"_area\":\"body\",\"name\":\"field_button_166\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\"},\"content\":\"Submit\"}},\"behaviors\":{\"field_button\":[\"field_button_page\"]},\"next_page\":\"6\"},\"6\":{\"uid\":\"6\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"search_payment_form\",\"wtitle\":\"search_payment_form\",\"utype\":\"views\",\"type\":\"area_form\",\"absolute_url\":\"\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"ajax\":\"\"}}}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"form_custom_width\",\"override\":\"\"},\"2\":{\"name\":\"autocomplete\",\"value\":\"off\",\"override\":\"\"}}},\"158\":{\"uid\":\"158\",\"_parent\":\"6\",\"_area\":\"body\",\"name\":\"area_container_158\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"\"}}}}},\"189\":{\"uid\":\"189\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"javascript_189\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"javascript\",\"domready\":\"0\",\"content\":\"\\\/\\\/i'm not sure how this works, but it seems to remove the 'Confirm form resubmission' message\\r\\n\\r\\nif ( window.history.replaceState ) {\\r\\n  window.history.replaceState( null, null, window.location.href );\\r\\n}\"},\"7\":{\"uid\":\"7\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"field_text_7\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by Reference Number\"},\"main\":{\"attrs\":{\"name\":\"reference_number\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"8\":{\"uid\":\"8\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"field_text_8\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by security number\"},\"main\":{\"attrs\":{\"name\":\"security_number\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"187\":{\"uid\":\"187\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"field_text_187\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by amount\"},\"main\":{\"attrs\":{\"name\":\"search_by_amount\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"10\":{\"uid\":\"10\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"field_text_10\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Search by date\"},\"main\":{\"attrs\":{\"name\":\"date\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"attrs\":{\"1\":{\"name\":\"type\",\"value\":\"date\",\"override\":\"1\"}}},\"11\":{\"uid\":\"11\",\"_parent\":\"158\",\"_area\":\"body\",\"name\":\"field_button_11\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\"},\"content\":\"Submit\"}},\"behaviors\":{\"field_button\":[\"field_button_page\"],\"html\":[\"field_attributes\"]},\"next_page\":\"2\"},\"212\":{\"uid\":\"212\",\"_parent\":\"6\",\"_area\":\"body\",\"name\":\"javascript_212\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"javascript\",\"domready\":\"1\",\"content\":\"document.getElementById(\\\"reference_number\\\").value = sessionStorage.getItem(\\\"reference_number\\\") || \\\"\\\";\\r\\ndocument.getElementById(\\\"security_number\\\").value = sessionStorage.getItem(\\\"security_number\\\") || \\\"\\\";\\r\\ndocument.getElementById(\\\"date\\\").value = sessionStorage.getItem(\\\"date\\\") || \\\"\\\";\\r\\nif(!document.querySelector(\\\"#listPayments\\\"))\\r\\n    document.querySelector(\\\"#gpage\\\").click();\\r\\n\\r\\n\\\/\\\/ Save input values to local storage whenever they change\\r\\ndocument.getElementById(\\\"form_custom_width\\\").addEventListener(\\\"input\\\", function() {\\r\\n    sessionStorage.setItem(\\\"reference_number\\\", document.getElementById(\\\"reference_number\\\").value);\\r\\n    sessionStorage.setItem(\\\"security_number\\\", document.getElementById(\\\"security_number\\\").value);\\r\\n    sessionStorage.setItem(\\\"date\\\", document.getElementById(\\\"date\\\").value);\\r\\n});\"},\"17\":{\"uid\":\"17\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"paymentDetailsForm\",\"wtitle\":\"paymentDetailsForm\",\"utype\":\"views\",\"type\":\"area_form\",\"absolute_url\":\"\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"ajax\":\"\"},\"action\":\"5\"}}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"style\",\"value\":\"background:#dae4f5;line-height:1.2;\",\"override\":\"\"},\"2\":{\"name\":\"autocomplete\",\"value\":\"off\",\"override\":\"\"}}},\"135\":{\"uid\":\"135\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"Details_Format_Data\",\"wtitle\":\"Details Format Data\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nrequire '\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\/paymentDetailsFormatData.php';\\r\\n?>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"87\":{\"uid\":\"87\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"PaymentFormPicker\",\"wtitle\":\"PaymentFormPicker\",\"utype\":\"views\",\"type\":\"area_fields\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"number\":\"equal width fields\"}}}},\"behaviors\":{\"html\":[\"field_attributes\",\"field_hidden\"]},\"attrs\":{\"1\":{\"name\":\"sstyle\",\"value\":\"max-width:55% just so you know it used to be like this\",\"override\":\"\"}}},\"88\":{\"uid\":\"88\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button_88\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Credit Card\"},\"container\":{\"attrs\":{\"class\":{\"width\":\"two wide\"}}}},\"behaviors\":{\"html\":[\"field_width\",\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"ccPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('CC')\",\"override\":\"\"}}},\"90\":{\"uid\":\"90\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button90\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Electronic Fund Transfer\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"eftPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('EFT')\",\"override\":\"\"}}},\"98\":{\"uid\":\"98\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button98\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Canadian Dollar Check\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"cdnPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('CDN')\",\"override\":\"\"}}},\"97\":{\"uid\":\"97\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button97\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Check\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"ckPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('CK')\",\"override\":\"\"}}},\"96\":{\"uid\":\"96\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button96\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Invoice Payment Check\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"invPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('INV')\",\"override\":\"\"}}},\"95\":{\"uid\":\"95\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button95\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Money Order\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"moPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('MO')\",\"override\":\"\"}}},\"94\":{\"uid\":\"94\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button94\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Wire Transfer\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"wtPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('WT')\",\"override\":\"\"}}},\"93\":{\"uid\":\"93\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button93\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Incoming Inv Funds Transfer\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"iftPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('IFT')\",\"override\":\"\"}}},\"92\":{\"uid\":\"92\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button92\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Paid For Collection\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"pdfcPaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('PDFC')\",\"override\":\"\"}}},\"91\":{\"uid\":\"91\",\"_parent\":\"87\",\"_area\":\"body\",\"name\":\"field_button91\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Book Entry General\"}},\"behaviors\":{\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"bePaymentFormButton\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickPaymentFormTypeAction('BE')\",\"override\":\"\"}}},\"32\":{\"uid\":\"32\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"area_grid_32\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"area_grid\",\"rows\":{\"1\":{\"column_count\":\"\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"centered\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"3\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"4\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"2\":{\"column_count\":\"3\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"5\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"5\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"3\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"3\":{\"column_count\":\"3\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"3\":{\"width\":\"\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"4\":{\"column_count\":\"\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"5\":{\"column_count\":\"\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"14\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"6\":{\"column_count\":\"\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}},\"7\":{\"column_count\":\"3\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"6\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}}},\"areas\":{\"1_1\":{\"name\":\"row1_column1\"},\"1_2\":{\"name\":\"row1_column2\"},\"1_3\":{\"name\":\"row1_column3\"},\"1_4\":{\"name\":\"row1_column4\"},\"2_1\":{\"name\":\"row2_column1\"},\"2_2\":{\"name\":\"row2_column2\"},\"2_3\":{\"name\":\"row2_column3\"},\"3_1\":{\"name\":\"row3_column1\"},\"3_2\":{\"name\":\"row3_column2\"},\"3_3\":{\"name\":\"row3_column3\"},\"4_1\":{\"name\":\"row4_column1\"},\"4_2\":{\"name\":\"row4_column2\"},\"5_1\":{\"name\":\"row5_column1\"},\"6_1\":{\"name\":\"row6_column1\"},\"6_2\":{\"name\":\"row6_column2\"},\"7_1\":{\"name\":\"row7_column1\"},\"7_2\":{\"name\":\"row7_column2\"},\"7_6\":{\"name\":\"row7_column3\"}},\"behaviors\":{\"area_grid\":[\"area_grid_settings\"],\"html\":[\"field_attributes\"]},\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"stackable\":\"stackable\",\"divided\":\"vertically divided\",\"celled\":\"celled\",\"padded\":\"\"}}}},\"attrs\":{\"2\":{\"name\":\"id\",\"value\":\"paymentFormGrid\",\"override\":\"1\"}}},\"128\":{\"uid\":\"128\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_hidden_128\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Payment Id\"},\"main\":{\"attrs\":{\"name\":\"Payments.PaymentId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"129\":{\"uid\":\"129\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_hidden129\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Transaction Key\"},\"main\":{\"attrs\":{\"name\":\"Payments.TransactionKey\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"141\":{\"uid\":\"141\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"datesDiv\",\"wtitle\":\"datesDiv\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"fluid\"}}}},\"behaviors\":{\"html\":[\"field_hidden\"]}},\"19\":{\"uid\":\"19\",\"_parent\":\"141\",\"_area\":\"body\",\"name\":\"field_text_19\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Created\"},\"main\":{\"attrs\":{\"name\":\"Payments.Created\"}}},\"behaviors\":{\"field_text\":[\"field_readonly\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"31\":{\"uid\":\"31\",\"_parent\":\"141\",\"_area\":\"body\",\"name\":\"field_text_31\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Last Modified\"},\"main\":{\"attrs\":{\"name\":\"Payments.Modified\"}}},\"behaviors\":{\"field_text\":[\"field_readonly\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"127\":{\"uid\":\"127\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"html_code_127\",\"wtitle\":\"UserName\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nfunction endsWith($haystack, $needle) {\\r\\n    return substr_compare($haystack, $needle, -strlen($needle)) === 0;\\r\\n}\\r\\n$userName = null;\\r\\nif (endsWith($_SERVER['PATH_INFO'],'enter-payments')){\\r\\n    $user = JFactory::getUser();\\r\\n    $userName = $user->username;\\r\\n}\\r\\nelse \\r\\n    $userName = $this->get(\\\"Payments.UserName\\\");\\r\\n?>\\r\\n<div class=\\\"mainfield field\\\" data-vtype=\\\"text\\\" data-uid=\\\"127\\\" data-isinput=\\\"1\\\">\\r\\n\\t<label for=\\\"Payments_UserName\\\">User Name<\\\/label>\\r\\n\\t<input disabled name=\\\"Payments[UserName]\\\" id=\\\"Payments_UserName\\\"  type=\\\"text\\\" value=<?php echo $userName ?> >\\r\\n <\\\/div>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"23\":{\"uid\":\"23\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_text23\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Payment Date\"},\"main\":{\"attrs\":{\"name\":\"Payments.PaymentDate\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]},\"attrs\":{\"1\":{\"name\":\"type\",\"value\":\"date\",\"override\":\"1\"}}},\"149\":{\"uid\":\"149\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_hidden_149\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"DebtorId\"},\"main\":{\"attrs\":{\"name\":\"Debtor.DebtorId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"178\":{\"uid\":\"178\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_select_178\",\"wtitle\":\"Person Type\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Person Type\"},\"main\":{\"attrs\":{\"name\":\"Debtor.PersonType\"}}},\"options\":{\"1\":{\"value\":\"DEBTOR\",\"content\":\"DEBTOR\"},\"2\":{\"value\":\"CLIENT\",\"content\":\"CLIENT\"},\"3\":{\"value\":\"ATTORNEY\",\"content\":\"ATTORNEY\"},\"4\":{\"value\":\"OTHER\",\"content\":\"OTHER\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"27\":{\"uid\":\"27\",\"_parent\":\"32\",\"_area\":\"row1_column1\",\"name\":\"field_text27\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Reference Number\"},\"main\":{\"attrs\":{\"name\":\"Debtor.Dnum\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\",\"field_validation_numbers\"]},\"fns\":{\"validation\":{\"fields\":{\"27\":{\"rules\":{\"integer\":\"true\",\"decimal\":\"\",\"number\":\"\"}}}}}},\"26\":{\"uid\":\"26\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text26\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Debtor BccName\"},\"main\":{\"attrs\":{\"name\":\"Debtor.BccName\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"25\":{\"uid\":\"25\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text25\",\"wtitle\":\"Collector Id\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Collector Id\"},\"main\":{\"attrs\":{\"name\":\"Payments.CollectorId\",\"value\":\"0\",\"placeholder\":\"\"}}},\"behaviors\":{\"field_text\":[\"field_value_placeholder\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_numbers\",\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"25\":{\"crules\":{\"1\":{\"name\":\"requireCollectorId\",\"error\":\"Collector Id is required when Person Type = DEBTOR and Payment Form = CC or EFT. Required means it also can't be 0.\",\"jsdef\":\"function (collectorId){\\r\\n    return Validation.requireCollectorId(collectorId); \\r\\n}\",\"phpdef\":\"\"}},\"rules\":{\"integer\":\"true\",\"decimal\":\"\",\"number\":\"\"}}}}}},\"33\":{\"uid\":\"33\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text_33\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Amount\"},\"main\":{\"attrs\":{\"name\":\"Payments.Amount\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\",\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"33\":{\"crules\":{\"1\":{\"name\":\"testAmount\",\"error\":\"Cant be 0. Must pass regex\",\"jsdef\":\"function (amount){\\r\\n    return Validation.testAmount(amount);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"157\":{\"uid\":\"157\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text_157\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Nsf Amount\"},\"main\":{\"attrs\":{\"name\":\"Payments.NsfAmount\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"157\":{\"crules\":{\"1\":{\"name\":\"testNsf\",\"error\":\"Must pass money regex.\",\"jsdef\":\"function (nsf){\\r\\n    return Test.passesMoneyRegex(nsf);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"39\":{\"uid\":\"39\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text39\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Total\"},\"main\":{\"attrs\":{\"name\":\"Total\"}}},\"behaviors\":{\"field_text\":[\"field_readonly\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"40\":{\"uid\":\"40\",\"_parent\":\"32\",\"_area\":\"row1_column2\",\"name\":\"field_text40\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Total In US$\"},\"main\":{\"attrs\":{\"name\":\"TotalInUsd.TotalInUsd\",\"value\":\"\",\"placeholder\":\"\"}}},\"behaviors\":{\"field_text\":[\"field_value_placeholder\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"40\":{\"crules\":{\"1\":{\"name\":\"requireUsd\",\"error\":\"\",\"jsdef\":\"function (usd){\\r\\n    return Validation.requireUsd(usd); \\r\\n}\",\"phpdef\":\"\"}}}}}}},\"42\":{\"uid\":\"42\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_select_42\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Currency Type\"},\"main\":{\"attrs\":{\"name\":\"Payments.CurrencyType\"}}},\"behaviors\":{\"field_select\":[\"field_multiline_options\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]},\"multiline_options\":\"US=US\\r\\nCA=CA\\r\\nAD=AD\\r\\nAE=AE\\r\\nAF=AF\\r\\nAG=AG\\r\\nAI=AI\\r\\nAL=AL\\r\\nAM=AM\\r\\nAO=AO\\r\\nAQ=AQ\\r\\nAR=AR\\r\\nAS=AS\\r\\nAT=AT\\r\\nAU=AU\\r\\nAW=AW\\r\\nAX=AX\\r\\nAZ=AZ\\r\\nBA=BA\\r\\nBB=BB\\r\\nBD=BD\\r\\nBE=BE\\r\\nBF=BF\\r\\nBG=BG\\r\\nBH=BH\\r\\nBI=BI\\r\\nBJ=BJ\\r\\nBL=BL\\r\\nBM=BM\\r\\nBN=BN\\r\\nBO=BO\\r\\nBQ=BQ\\r\\nBR=BR\\r\\nBS=BS\\r\\nBT=BT\\r\\nBV=BV\\r\\nBW=BW\\r\\nBY=BY\\r\\nBZ=BZ\\r\\nCC=CC\\r\\nCD=CD\\r\\nCF=CF\\r\\nCG=CG\\r\\nCH=CH\\r\\nCI=CI\\r\\nCK=CK\\r\\nCL=CL\\r\\nCM=CM\\r\\nCN=CN\\r\\nCO=CO\\r\\nCR=CR\\r\\nCU=CU\\r\\nCV=CV\\r\\nCW=CW\\r\\nCX=CX\\r\\nCY=CY\\r\\nCZ=CZ\\r\\nDE=DE\\r\\nDJ=DJ\\r\\nDK=DK\\r\\nDO=DO\\r\\nDZ=DZ\\r\\nEC=EC\\r\\nEE=EE\\r\\nEG=EG\\r\\nEH=EH\\r\\nER=ER\\r\\nES=ES\\r\\nET=ET\\r\\nFI=FI\\r\\nFJ=FJ\\r\\nFK=FK\\r\\nFM=FM\\r\\nFO=FO\\r\\nFR=FR\\r\\nGA=GA\\r\\nGB=GB\\r\\nGD=GD\\r\\nGE=GE\\r\\nGF=GF\\r\\nGG=GG\\r\\nGH=GH\\r\\nGI=GI\\r\\nGL=GL\\r\\nGM=GM\\r\\nGN=GN\\r\\nGP=GP\\r\\nGQ=GQ\\r\\nGR=GR\\r\\nGS=GS\\r\\nGT=GT\\r\\nGU=GU\\r\\nGW=GW\\r\\nGY=GY\\r\\nHK=HK\\r\\nHM=HM\\r\\nHN=HN\\r\\nHR=HR\\r\\nHT=HT\\r\\nHU=HU\\r\\nID=ID\\r\\nIE=IE\\r\\nIL=IL\\r\\nIM=IM\\r\\nIN=IN\\r\\nIO=IO\\r\\nIR=IR\\r\\nIS=IS\\r\\nIT=IT\\r\\nJE=JE\\r\\nJM=JM\\r\\nJO=JO\\r\\nJP=JP\\r\\nKE=KE\\r\\nKG=KG\\r\\nKH=KH\\r\\nKI=KI\\r\\nKM=KM\\r\\nKN=KN\\r\\nKP=KP\\r\\nKR=KR\\r\\nKW=KW\\r\\nKY=KY\\r\\nKZ=KZ\\r\\nLA=LA\\r\\nLB=LB\\r\\nLC=LC\\r\\nLI=LI\\r\\nLK=LK\\r\\nLR=LR\\r\\nLS=LS\\r\\nLT=LT\\r\\nLU=LU\\r\\nLV=LV\\r\\nLY=LY\\r\\nMA=MA\\r\\nMC=MC\\r\\nMD=MD\\r\\nME=ME\\r\\nMF=MF\\r\\nMG=MG\\r\\nMH=MH\\r\\nMK=MK\\r\\nML=ML\\r\\nMM=MM\\r\\nMN=MN\\r\\nMO=MO\\r\\nMP=MP\\r\\nMQ=MQ\\r\\nMR=MR\\r\\nMS=MS\\r\\nMT=MT\\r\\nMU=MU\\r\\nMV=MV\\r\\nMW=MW\\r\\nMX=MX\\r\\nMX=MX\\r\\nMY=MY\\r\\nMZ=MZ\\r\\nNA=NA\\r\\nNC=NC\\r\\nNE=NE\\r\\nNF=NF\\r\\nNG=NG\\r\\nNI=NI\\r\\nNL=NL\\r\\nNO=NO\\r\\nNP=NP\\r\\nNR=NR\\r\\nNU=NU\\r\\nNZ=NZ\\r\\nOM=OM\\r\\nPA=PA\\r\\nPE=PE\\r\\nPF=PF\\r\\nPG=PG\\r\\nPH=PH\\r\\nPK=PK\\r\\nPL=PL\\r\\nPM=PM\\r\\nPN=PN\\r\\nPR=PR\\r\\nPS=PS\\r\\nPT=PT\\r\\nPW=PW\\r\\nPY=PY\\r\\nQA=QA\\r\\nRE=RE\\r\\nRO=RO\\r\\nRS=RS\\r\\nRU=RU\\r\\nRW=RW\\r\\nSA=SA\\r\\nSB=SB\\r\\nSC=SC\\r\\nSD=SD\\r\\nSE=SE\\r\\nSG=SG\\r\\nSH=SH\\r\\nSI=SI\\r\\nSJ=SJ\\r\\nSK=SK\\r\\nSL=SL\\r\\nSM=SM\\r\\nSN=SN\\r\\nSO=SO\\r\\nSR=SR\\r\\nSS=SS\\r\\nST=ST\\r\\nSV=SV\\r\\nSX=SX\\r\\nSY=SY\\r\\nSZ=SZ\\r\\nTC=TC\\r\\nTD=TD\\r\\nTF=TF\\r\\nTG=TG\\r\\nTH=TH\\r\\nTJ=TJ\\r\\nTK=TK\\r\\nTL=TL\\r\\nTM=TM\\r\\nTN=TN\\r\\nTO=TO\\r\\nTR=TR\\r\\nTT=TT\\r\\nTW=TW\\r\\nTZ=TZ\\r\\nUA=UA\\r\\nUG=UG\\r\\nUM=UM\\r\\nUY=UY\\r\\nUZ=UZ\\r\\nVA=VA\\r\\nVC=VC\\r\\nVE=VE\\r\\nVG=VG\\r\\nVI=VI\\r\\nVN=VN\\r\\nVU=VU\\r\\nWF=WF\\r\\nWS=WS\\r\\nYE=YE\\r\\nYT=YT\\r\\nZA=ZA\\r\\nZM=ZM\\r\\nZW=ZW\",\"multiline_selected\":\"\"},\"43\":{\"uid\":\"43\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_select_43\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Payment Form\"},\"main\":{\"attrs\":{\"name\":\"Payments.PaymentForm\"}}},\"behaviors\":{\"field_select\":[\"field_multiline_options\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]},\"multiline_options\":\"CC=CC\\r\\nEFT=EFT\\r\\nCDN=CDN\\r\\nCK=CK\\r\\nINV=INV\\r\\nMO=MO\\r\\nWT=WT\\r\\nIFT=IFT\\r\\nPDFC=PDFC\\r\\nBE=BE\",\"multiline_selected\":\"\"},\"44\":{\"uid\":\"44\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_select_44\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Void Status\"},\"main\":{\"attrs\":{\"name\":\"Payments.Void\"}}},\"options\":{\"1\":{\"value\":\"0\",\"content\":\"Not Void\"},\"2\":{\"value\":\"1\",\"content\":\"Void\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"45\":{\"uid\":\"45\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_select_45\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Payment Type\"},\"main\":{\"attrs\":{\"name\":\"Payments.PaymentType\"}}},\"behaviors\":{\"field_select\":[\"field_multiline_options\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]},\"multiline_options\":\"ON ACCOUNT=ON ACCOUNT\\r\\nPIF=PIF\\r\\nSETTLEMENT=SETTLEMENT\\r\\n\",\"multiline_selected\":\"\"},\"46\":{\"uid\":\"46\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"Next_Payment_Date\",\"wtitle\":\"Next Payment Date\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\nrequire 'php\\\/DatabaseConnection.php';\\r\\n$link = Db::getLink();\\r\\n$isViewOrEditPage = array_key_exists('Act',$_GET) && (Page::isViewPage($_GET['Act']) || Page::isEditPage($_GET['Act']));\\r\\n\\r\\nif($isViewOrEditPage){\\r\\n    $PaymentDate = mysqli_real_escape_string($link,$this->get(\\\"Payments.PaymentDate\\\"));\\r\\n    $listOfPaymentDates = getLaterPaymentDatesPerDebtorId($link,$this->get(\\\"Debtor.DebtorId\\\"),$PaymentDate);\\r\\n    sort($listOfPaymentDates);\\r\\n    \\\/\\\/the earliest PaymentDate which is after the current payment's PaymentDate is the first one in the array\\r\\n    if(array_key_exists(0,$listOfPaymentDates))\\r\\n        $NextPaymentDate = $listOfPaymentDates[0];\\r\\n    else\\r\\n        $NextPaymentDate = 'None';\\r\\n}\\r\\nelse\\r\\n    $NextPaymentDate = 'None';\\r\\n\\r\\nfunction getLaterPaymentDatesPerDebtorId($link,$debtorId,$PaymentDate){\\r\\n    $listOfPaymentDates = array();\\r\\n    $sql = 'SELECT PaymentDate FROM Payments WHERE DebtorId = ' . $debtorId . ' AND Void = 0;';\\r\\n    $result = mysqli_query($link, $sql);\\r\\n    if(!$result)\\r\\n        return $listOfPaymentDates;\\r\\n    if (mysqli_num_rows($result) > 0)\\r\\n        while ($row = mysqli_fetch_assoc($result))\\r\\n            if(strcmp($PaymentDate,$row['PaymentDate']) < 0)\\r\\n                array_push($listOfPaymentDates,$row['PaymentDate']);\\r\\n    return $listOfPaymentDates;\\r\\n}\\r\\nclass Page{\\r\\n    public static function isViewPage($Act){\\r\\n        return $Act == 'View';\\r\\n    }\\r\\n    public static function isEditPage($Act){\\r\\n        return $Act == 'Edit';\\r\\n    }\\r\\n}\\r\\n?>\\r\\n<div id=\\\"fin-Payments[NextPaymentDate]\\\" class=\\\"gcore-input gcore-display-table\\\">\\r\\n\\r\\n<input\\r\\n id=\\\"Payments[NextPaymentDate]\\\"\\r\\n class=\\\"form-control A\\\" \\r\\ndisabled=\\\"disabled\\\" \\r\\nname=\\\"Payments[NextPaymentDate]\\\"\\r\\n type=\\\"text\\\" \\r\\nvalue=\\\"<?= $NextPaymentDate ?>\\\" \\r\\ndata-load-state=\\\"disabled\\\"\\r\\n \\\/>\\r\\n\\r\\n<\\\/div>\"},\"label\":{\"content\":\"Next Payment Date\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"view_label\"],\"html\":[\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"class\",\"value\":\"mainfield field\",\"override\":\"\"}}},\"150\":{\"uid\":\"150\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_hidden_150\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Client Id\"},\"main\":{\"attrs\":{\"name\":\"EftAndCcInfo.ClientId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"52\":{\"uid\":\"52\",\"_parent\":\"32\",\"_area\":\"row1_column3\",\"name\":\"field_text52\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Client Name\"},\"main\":{\"attrs\":{\"name\":\"Client.Name\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"55\":{\"uid\":\"55\",\"_parent\":\"32\",\"_area\":\"row1_column4\",\"name\":\"field_textarea_55\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_textarea\",\"nodes\":{\"label\":{\"content\":\"Notes\"},\"main\":{\"attrs\":{\"name\":\"Payments.Notes\",\"rows\":\"3\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"50\":{\"uid\":\"50\",\"_parent\":\"32\",\"_area\":\"row1_column4\",\"name\":\"field_text50\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Name On Bank Account\"},\"main\":{\"attrs\":{\"name\":\"EftAndCcInfo.NameOnAccount\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"49\":{\"uid\":\"49\",\"_parent\":\"32\",\"_area\":\"row1_column4\",\"name\":\"field_text49\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Security Number\"},\"main\":{\"attrs\":{\"name\":\"Payments.SecurityNum\"}}},\"behaviors\":{\"field_text\":[\"field_readonly\"],\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"54\":{\"uid\":\"54\",\"_parent\":\"32\",\"_area\":\"row1_column4\",\"name\":\"field_textarea_54\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_textarea\",\"nodes\":{\"label\":{\"content\":\"Void Reason\"},\"main\":{\"attrs\":{\"name\":\"VoidPayments.Reason\",\"rows\":\"5\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"53\":{\"uid\":\"53\",\"_parent\":\"32\",\"_area\":\"row1_column4\",\"name\":\"field_text53\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Void Date\"},\"main\":{\"attrs\":{\"name\":\"VoidPayments.Created\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"59\":{\"uid\":\"59\",\"_parent\":\"32\",\"_area\":\"row2_column1\",\"name\":\"field_text_59\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Address\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Address\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"61\":{\"uid\":\"61\",\"_parent\":\"32\",\"_area\":\"row2_column1\",\"name\":\"field_text61\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"City\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.City\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"62\":{\"uid\":\"62\",\"_parent\":\"32\",\"_area\":\"row2_column1\",\"name\":\"field_select_62\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"State\\\/Canadian Province\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.State\"}}},\"behaviors\":{\"field_select\":[\"field_multiline_options\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"multiline_options\":\" = \\r\\nAL=AL\\r\\nAK=AK\\r\\nAZ=AZ\\r\\nAR=AR\\r\\nCA=CA\\r\\nCO=CO\\r\\nCT=CT\\r\\nDE=DE\\r\\nDC=DC\\r\\nFL=FL\\r\\nGA=GA\\r\\nHI=HI\\r\\nID=ID\\r\\nIL=IL\\r\\nIN=IN\\r\\nIA=IA\\r\\nKS=KS\\r\\nKY=KY\\r\\nLA=LA\\r\\nME=ME\\r\\nMD=MD\\r\\nMA=MA\\r\\nMI=MI\\r\\nMN=MN\\r\\nMS=MS\\r\\nMO=MO\\r\\nMT=MT\\r\\nNE=NE\\r\\nNV=NV\\r\\nNH=NH\\r\\nNJ=NJ\\r\\nNM=NM\\r\\nNY=NY\\r\\nNC=NC\\r\\nND=ND\\r\\nOH=OH\\r\\nOK=OK\\r\\nOR=OR\\r\\nPA=PA\\r\\nRI=RI\\r\\nSC=SC\\r\\nSD=SD\\r\\nTN=TN\\r\\nTX=TX\\r\\nUT=UT\\r\\nVT=VT\\r\\nVA=VA\\r\\nWA=WA\\r\\nWV=WV\\r\\nWI=WI\\r\\nWY=WY\\r\\nPuerto Rico=Puerto Rico\\r\\nAlberta=Alberta\\r\\nBritish Columbia=British Columbia\\r\\nManitoba=Manitoba\\r\\nNew Brunswick=New Brunswick\\r\\nNewfoundland and Labrador=Newfoundland and Labrador\\r\\nNorthwest Territories=Northwest Territories\\r\\nNova Scotia=Nova Scotia\\r\\nNunavut=Nunavut\\r\\nOntario=Ontario\\r\\nPrince Edward Island=Prince Edward Island\\r\\nQuebec=Quebec\\r\\nSaskatchewan=Saskatchewan\\r\\nYukon=Yukon\",\"multiline_selected\":\"\"},\"60\":{\"uid\":\"60\",\"_parent\":\"32\",\"_area\":\"row2_column2\",\"name\":\"field_text60\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Zip\\\/Postal Code\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Zip\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"63\":{\"uid\":\"63\",\"_parent\":\"32\",\"_area\":\"row2_column2\",\"name\":\"field_hidden_63\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Credit Card Id\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.CreditCardId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"65\":{\"uid\":\"65\",\"_parent\":\"32\",\"_area\":\"row2_column2\",\"name\":\"field_text65\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Credit Card Number\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.CreditCardNumber\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\",\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"65\":{\"crules\":{\"1\":{\"name\":\"testCcNum\",\"error\":\"If you changed the expiration date, you must re-enter the full credit card number. The card number must also be right format.\",\"jsdef\":\"function (ccNum){\\r\\n    return Validation.testCcNum(ccNum);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"140\":{\"uid\":\"140\",\"_parent\":\"32\",\"_area\":\"row2_column2\",\"name\":\"CcBrandDiv\",\"wtitle\":\"CcBrandDiv\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"fluid\"}}}}},\"64\":{\"uid\":\"64\",\"_parent\":\"140\",\"_area\":\"body\",\"name\":\"field_text_64\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Credit Card Brand\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Brand\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"CcBrand\",\"override\":\"1\"}}},\"67\":{\"uid\":\"67\",\"_parent\":\"32\",\"_area\":\"row2_column3\",\"name\":\"field_text67\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Expiration Date\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.ExpirationDate\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\",\"field_validation_length\",\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"67\":{\"rules\":{\"minLength\":\"5\",\"maxLength\":\"5\"},\"crules\":{\"1\":{\"name\":\"testExpirationDate\",\"error\":\"Format must be ##\\\/##. First 2 digits must be between 01 and 12\",\"jsdef\":\"function (expirationDate) {\\r\\n    return Validation.testExpirationDate(expirationDate);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"66\":{\"uid\":\"66\",\"_parent\":\"32\",\"_area\":\"row2_column3\",\"name\":\"field_text66\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Cvv\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Cvv\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"66\":{\"crules\":{\"1\":{\"name\":\"requireCvv\",\"error\":\"Cvv is not required. But must be 3 or 4 digits if present.\",\"jsdef\":\"function (cvv){\\r\\n    return Validation.requireCvv(cvv);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"181\":{\"uid\":\"181\",\"_parent\":\"32\",\"_area\":\"row2_column3\",\"name\":\"field_radios_181\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_radios\",\"nodes\":{\"label\":{\"content\":\"Prepaid\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Prepaid\"}}},\"options\":{\"1\":{\"value\":\"1\",\"content\":\"Yes\"},\"2\":{\"value\":\"0\",\"content\":\"No\",\"checked\":\"checked\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"69\":{\"uid\":\"69\",\"_parent\":\"32\",\"_area\":\"row2_column3\",\"name\":\"field_select_69\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Credit Card Type\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.CCType\"}}},\"options\":{\"1\":{\"value\":\"CREDIT\",\"content\":\"CREDIT\"},\"2\":{\"value\":\"DEBIT\",\"content\":\"DEBIT\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"70\":{\"uid\":\"70\",\"_parent\":\"32\",\"_area\":\"row2_column3\",\"name\":\"field_hidden_70\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Token\"},\"main\":{\"attrs\":{\"name\":\"CreditCard.Token\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"71\":{\"uid\":\"71\",\"_parent\":\"32\",\"_area\":\"row3_column1\",\"name\":\"field_hidden_71\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Bank Account Id\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.BankAccountId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"72\":{\"uid\":\"72\",\"_parent\":\"32\",\"_area\":\"row3_column1\",\"name\":\"field_text_72\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Routing Number\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.RoutingNum\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"72\":{\"crules\":{\"1\":{\"name\":\"testRoutingNumber\",\"error\":\"Routing number is not required for PDFC or CDN. Otherwise it must be 9 digits.\",\"jsdef\":\"function (rn){\\r\\n    return Validation.testRoutingNumber(rn);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"81\":{\"uid\":\"81\",\"_parent\":\"32\",\"_area\":\"row3_column1\",\"name\":\"field_text81\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Check Number\"},\"main\":{\"attrs\":{\"name\":\"CheckPayment.CheckNum\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"74\":{\"uid\":\"74\",\"_parent\":\"32\",\"_area\":\"row3_column1\",\"name\":\"field_text74\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Bank Account Number\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.AccountNum\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_custom\"]},\"fns\":{\"validation\":{\"fields\":{\"74\":{\"crules\":{\"1\":{\"name\":\"testBankAccountNumber\",\"error\":\"PDFC and CDN always passes. Must be between 1 and 17 digits. Or many X's and then 4 digits.\",\"jsdef\":\"function (bankAccountNumber){\\r\\n    return Validation.testBankAccountNumber(bankAccountNumber);\\r\\n}\",\"phpdef\":\"\"}}}}}}},\"73\":{\"uid\":\"73\",\"_parent\":\"32\",\"_area\":\"row3_column2\",\"name\":\"field_text73\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Bank Name\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.BankName\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"75\":{\"uid\":\"75\",\"_parent\":\"32\",\"_area\":\"row3_column2\",\"name\":\"field_select_75\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Business Or Personal Account\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.BusOrPers\"}}},\"options\":{\"1\":{\"value\":\"BUSINESS\",\"content\":\"BUSINESS\"},\"2\":{\"value\":\"PERSONAL\",\"content\":\"PERSONAL\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"76\":{\"uid\":\"76\",\"_parent\":\"32\",\"_area\":\"row3_column2\",\"name\":\"field_select76\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Saving Or Checking\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.SavOrCheck\"}}},\"options\":{\"1\":{\"value\":\"CHECKING\",\"content\":\"CHECKING\"},\"2\":{\"value\":\"SAVINGS\",\"content\":\"SAVINGS\"}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"79\":{\"uid\":\"79\",\"_parent\":\"32\",\"_area\":\"row3_column3\",\"name\":\"field_text_79\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Actual Payment Date\"},\"main\":{\"attrs\":{\"name\":\"PDFCPayment.ActualPaymentDate\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"attrs\":{\"1\":{\"name\":\"type\",\"value\":\"date\",\"override\":\"1\"}}},\"80\":{\"uid\":\"80\",\"_parent\":\"32\",\"_area\":\"row3_column3\",\"name\":\"field_hidden_80\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"TokenId\"},\"main\":{\"attrs\":{\"name\":\"BankAccount.TokenId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"77\":{\"uid\":\"77\",\"_parent\":\"32\",\"_area\":\"row3_column3\",\"name\":\"field_select_77\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_select\",\"nodes\":{\"label\":{\"content\":\"Origin Country\"},\"main\":{\"attrs\":{\"name\":\"PDFCPayment.OriginCountry\"}}},\"behaviors\":{\"field_select\":[\"field_multiline_options\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"multiline_options\":\" = \\r\\nAfghanistan=Afghanistan\\r\\nAlbania=Albania\\r\\nAlgeria=Algeria\\r\\nAndorra=Andorra\\r\\nAngola=Angola\\r\\nAntigua and Barbuda=Antigua and Barbuda\\r\\nArgentina=Argentina\\r\\nArmenia=Armenia\\r\\nAustralia=Australia\\r\\nAustria=Austria\\r\\nAzerbaijan=Azerbaijan\\r\\nBahamas=Bahamas\\r\\nBahrain=Bahrain\\r\\nBangladesh=Bangladesh\\r\\nBarbados=Barbados\\r\\nBelarus=Belarus\\r\\nBelgium=Belgium\\r\\nBelize=Belize\\r\\nBenin=Benin\\r\\nBhutan=Bhutan\\r\\nBolivia=Bolivia\\r\\nBosnia and Herzegovina=Bosnia and Herzegovina\\r\\nBotswana=Botswana\\r\\nBrazil=Brazil\\r\\nBrunei=Brunei\\r\\nBulgaria=Bulgaria\\r\\nBurkina Faso=Burkina Faso\\r\\nBurundi=Burundi\\r\\nC\u00f4te d'Ivoire=C\u00f4te d'Ivoire\\r\\nCabo Verde=Cabo Verde\\r\\nCambodia=Cambodia\\r\\nCameroon=Cameroon\\r\\nCanada=Canada\\r\\nCentral African Republic=Central African Republic\\r\\nChad=Chad\\r\\nChile=Chile\\r\\nChina=China\\r\\nColombia=Colombia\\r\\nComoros=Comoros\\r\\nCongo (Congo-Brazzaville)=Congo (Congo-Brazzaville)\\r\\nCosta Rica=Costa Rica\\r\\nCroatia=Croatia\\r\\nCuba=Cuba\\r\\nCyprus=Cyprus\\r\\nCzechia (Czech Republic)=Czechia (Czech Republic)\\r\\nDemocratic Republic of the Congo=Democratic Republic of the Congo\\r\\nDenmark=Denmark\\r\\nDjibouti=Djibouti\\r\\nDominica=Dominica\\r\\nDominican Republic=Dominican Republic\\r\\nEcuador=Ecuador\\r\\nEgypt=Egypt\\r\\nEl Salvador=El Salvador\\r\\nEquatorial Guinea=Equatorial Guinea\\r\\nEritrea=Eritrea\\r\\nEstonia=Estonia\\r\\nEswatini (fmr. \\\"Swaziland\\\")=Eswatini (fmr. \\\"Swaziland\\\")\\r\\nEthiopia=Ethiopia\\r\\nFiji=Fiji\\r\\nFinland=Finland\\r\\nFrance=France\\r\\nGabon=Gabon\\r\\nGambia=Gambia\\r\\nGeorgia=Georgia\\r\\nGermany=Germany\\r\\nGhana=Ghana\\r\\nGreece=Greece\\r\\nGrenada=Grenada\\r\\nGuatemala=Guatemala\\r\\nGuinea=Guinea\\r\\nGuinea-Bissau=Guinea-Bissau\\r\\nGuyana=Guyana\\r\\nHaiti=Haiti\\r\\nHoly See=Holy See\\r\\nHonduras=Honduras\\r\\nHungary=Hungary\\r\\nIceland=Iceland\\r\\nIndia=India\\r\\nIndonesia=Indonesia\\r\\nIran=Iran\\r\\nIraq=Iraq\\r\\nIreland=Ireland\\r\\nIsrael=Israel\\r\\nItaly=Italy\\r\\nJamaica=Jamaica\\r\\nJapan=Japan\\r\\nJordan=Jordan\\r\\nKazakhstan=Kazakhstan\\r\\nKenya=Kenya\\r\\nKiribati=Kiribati\\r\\nKuwait=Kuwait\\r\\nKyrgyzstan=Kyrgyzstan\\r\\nLaos=Laos\\r\\nLatvia=Latvia\\r\\nLebanon=Lebanon\\r\\nLesotho=Lesotho\\r\\nLiberia=Liberia\\r\\nLibya=Libya\\r\\nLiechtenstein=Liechtenstein\\r\\nLithuania=Lithuania\\r\\nLuxembourg=Luxembourg\\r\\nMadagascar=Madagascar\\r\\nMalawi=Malawi\\r\\nMalaysia=Malaysia\\r\\nMaldives=Maldives\\r\\nMali=Mali\\r\\nMalta=Malta\\r\\nMarshall Islands=Marshall Islands\\r\\nMauritania=Mauritania\\r\\nMauritius=Mauritius\\r\\nMexico=Mexico\\r\\nMicronesia=Micronesia\\r\\nMoldova=Moldova\\r\\nMonaco=Monaco\\r\\nMongolia=Mongolia\\r\\nMontenegro=Montenegro\\r\\nMorocco=Morocco\\r\\nMozambique=Mozambique\\r\\nMyanmar (formerly Burma)=Myanmar (formerly Burma)\\r\\nNamibia=Namibia\\r\\nNauru=Nauru\\r\\nNepal=Nepal\\r\\nNetherlands=Netherlands\\r\\nNew Zealand=New Zealand\\r\\nNicaragua=Nicaragua\\r\\nNiger=Niger\\r\\nNigeria=Nigeria\\r\\nNorth Korea=North Korea\\r\\nNorth Macedonia=North Macedonia\\r\\nNorway=Norway\\r\\nOman=Oman\\r\\nPakistan=Pakistan\\r\\nPalau=Palau\\r\\nPalestine State=Palestine State\\r\\nPanama=Panama\\r\\nPapua New Guinea=Papua New Guinea\\r\\nParaguay=Paraguay\\r\\nPeru=Peru\\r\\nPhilippines=Philippines\\r\\nPoland=Poland\\r\\nPortugal=Portugal\\r\\nQatar=Qatar\\r\\nRomania=Romania\\r\\nRussia=Russia\\r\\nRwanda=Rwanda\\r\\nSaint Kitts and Nevis=Saint Kitts and Nevis\\r\\nSaint Lucia=Saint Lucia\\r\\nSaint Vincent and the Grenadines=Saint Vincent and the Grenadines\\r\\nSamoa=Samoa\\r\\nSan Marino=San Marino\\r\\nSao Tome and Principe=Sao Tome and Principe\\r\\nSaudi Arabia=Saudi Arabia\\r\\nSenegal=Senegal\\r\\nSerbia=Serbia\\r\\nSeychelles=Seychelles\\r\\nSierra Leone=Sierra Leone\\r\\nSingapore=Singapore\\r\\nSlovakia=Slovakia\\r\\nSlovenia=Slovenia\\r\\nSolomon Islands=Solomon Islands\\r\\nSomalia=Somalia\\r\\nSouth Africa=South Africa\\r\\nSouth Korea=South Korea\\r\\nSouth Sudan=South Sudan\\r\\nSpain=Spain\\r\\nSri Lanka=Sri Lanka\\r\\nSudan=Sudan\\r\\nSuriname=Suriname\\r\\nSweden=Sweden\\r\\nSwitzerland=Switzerland\\r\\nSyria=Syria\\r\\nTajikistan=Tajikistan\\r\\nTanzania=Tanzania\\r\\nThailand=Thailand\\r\\nTimor-Leste=Timor-Leste\\r\\nTogo=Togo\\r\\nTonga=Tonga\\r\\nTrinidad and Tobago=Trinidad and Tobago\\r\\nTunisia=Tunisia\\r\\nTurkey=Turkey\\r\\nTurkmenistan=Turkmenistan\\r\\nTuvalu=Tuvalu\\r\\nUganda=Uganda\\r\\nUkraine=Ukraine\\r\\nUnited Arab Emirates=United Arab Emirates\\r\\nUnited Kingdom=United Kingdom\\r\\nUnited States of America=United States of America\\r\\nUruguay=Uruguay\\r\\nUzbekistan=Uzbekistan\\r\\nVanuatu=Vanuatu\\r\\nVenezuela=Venezuela\\r\\nVietnam=Vietnam\\r\\nYemen=Yemen\\r\\nZambia=Zambia\\r\\nZimbabwe=Zimbabwe\",\"multiline_selected\":\"\"},\"82\":{\"uid\":\"82\",\"_parent\":\"32\",\"_area\":\"row4_column1\",\"name\":\"field_hidden_82\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"Image Id\"},\"main\":{\"attrs\":{\"name\":\"PaymentImages.ImageId\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"83\":{\"uid\":\"83\",\"_parent\":\"32\",\"_area\":\"row4_column1\",\"name\":\"field_file_83\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_file\",\"nodes\":{\"label\":{\"content\":\"Image\"},\"main\":{\"attrs\":{\"name\":\"PaymentImages.Image\"}}},\"behaviors\":{\"field_file\":[\"field_file_placeholder\",\"field_upload_extensions\"],\"data\":[\"field_email\",\"field_dblog\",\"field_upload\",\"field_attach\",\"field_validate\"]},\"altfile\":{\"text\":\"No file(s) selected\"},\"fns\":{\"upload\":{\"fields\":{\"83\":{\"extensions\":[\"jpg\",\"jpeg\",\"png\",\"gif\",\"pdf\",\"txt\"],\"size\":\"100000\"}}}}},\"138\":{\"uid\":\"138\",\"_parent\":\"32\",\"_area\":\"row4_column1\",\"name\":\"thumbCreateDiv\",\"wtitle\":\"thumbCreateDiv\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"fluid\"}}}},\"behaviors\":{\"html\":[\"field_attributes\",\"field_hidden\"]},\"attrs\":{\"1\":{\"name\":\"style\",\"value\":\"display:flex\",\"override\":\"\"}}},\"84\":{\"uid\":\"84\",\"_parent\":\"138\",\"_area\":\"body\",\"name\":\"html_code_84\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<a \\r\\nhref=\\\"\\\/jdocs\\\/php\\\/Payments\\\/Image\\\/getImage.php?imageId=<?= $this->get('PaymentImages.ImageId'); ?>\\\" \\r\\ntarget=\\\"_blank\\\" >\\r\\n<img \\r\\nstyle=\\\"border: #000000 6px outset;margin-right: 100px;\\\" \\r\\nonerror=\\\"Visibility.hidethumbCreateDiv()\\\"\\r\\nid=\\\"PaymentImages[Thumbnail]\\\" \\r\\nname=\\\"PaymentImages[Thumbnail]\\\"\\r\\nsrc=\\\"\\\/jdocs\\\/php\\\/Payments\\\/Image\\\/getThumbnail.php?imageId=<?= $this->get('PaymentImages.ImageId'); ?>\\\">\\r\\n<\\\/a>\"}},\"behaviors\":{\"html_code\":[\"html_code_php\"]}},\"85\":{\"uid\":\"85\",\"_parent\":\"138\",\"_area\":\"body\",\"name\":\"field_text_85\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Image Creation Time\"},\"main\":{\"attrs\":{\"name\":\"PaymentImages.Created\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"86\":{\"uid\":\"86\",\"_parent\":\"32\",\"_area\":\"row4_column2\",\"name\":\"field_text86\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Description\"},\"main\":{\"attrs\":{\"name\":\"PaymentImages.Description\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"99\":{\"uid\":\"99\",\"_parent\":\"32\",\"_area\":\"row5_column1\",\"name\":\"multiPay_Repeater\",\"wtitle\":\"multPay_Repeater\",\"utype\":\"views\",\"type\":\"area_repeater\",\"behaviors\":{\"area_repeater\":[\"area_repeater_cloner\"],\"data\":[\"field_email\"]},\"nodes\":{\"main\":{\"attrs\":{\"data-mincount\":\"0\",\"data-maxcount\":\"99\",\"data-sortable\":\"1\"}}},\"clonable\":\"192\"},\"192\":{\"uid\":\"192\",\"_parent\":\"99\",\"_area\":\"loop\",\"name\":\"area_grid_192\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"area_grid\",\"rows\":{\"1\":{\"column_count\":\"\",\"class\":\"\",\"valign\":\"top\",\"centered\":\"\",\"stretched\":\"\",\"columns\":{\"1\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"2\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"3\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"},\"4\":{\"width\":\"4\",\"class\":\"\",\"halign\":\"\",\"floating\":\"\"}}}},\"areas\":{\"1_1\":{\"name\":\"row1_column1\"},\"1_2\":{\"name\":\"row1_column2\"},\"1_3\":{\"name\":\"row1_column3\"},\"1_4\":{\"name\":\"row1_column4\"}}},\"193\":{\"uid\":\"193\",\"_parent\":\"192\",\"_area\":\"row1_column1\",\"name\":\"field_text_193\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Amount #multiPay_Repeater\"},\"main\":{\"attrs\":{\"name\":\"MultipliedPayments.#multiPay_Repeater.Amount\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"194\":{\"uid\":\"194\",\"_parent\":\"192\",\"_area\":\"row1_column2\",\"name\":\"field_text_194\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"PaymentDate #multiPay_Repeater\"},\"main\":{\"attrs\":{\"name\":\"MultipliedPayments.#multiPay_Repeater.PaymentDate\"}}},\"behaviors\":{\"html\":[\"field_attributes\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]},\"attrs\":{\"1\":{\"name\":\"type\",\"value\":\"date\",\"override\":\"1\"}}},\"195\":{\"uid\":\"195\",\"_parent\":\"192\",\"_area\":\"row1_column3\",\"name\":\"field_text_195\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Total In Usd #multiPay_Repeater\"},\"main\":{\"attrs\":{\"name\":\"MultipliedPayments.#multiPay_Repeater.TotalInUsd\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"197\":{\"uid\":\"197\",\"_parent\":\"192\",\"_area\":\"row1_column4\",\"name\":\"field_button_197\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\",\"class\":{\"color\":\"red\"}},\"content\":\"Delete #multiPay_Repeater\"}},\"behaviors\":{\"field_button\":[\"field_button_cloner\"],\"html\":[\"view_circular\",\"view_color\"]},\"repeater\":{\"action\":\"remove\",\"uid\":\"99\"}},\"196\":{\"uid\":\"196\",\"_parent\":\"32\",\"_area\":\"row5_column1\",\"name\":\"field_button_196\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\",\"class\":{\"color\":\"blue\"}},\"content\":\"Add Payment\"},\"container\":{\"attrs\":{\"class\":{\"width\":\"four wide\"}}}},\"behaviors\":{\"field_button\":[\"field_button_cloner\"],\"html\":[\"view_circular\",\"view_compact\",\"field_width\",\"view_color\",\"field_attributes\"]},\"repeater\":{\"action\":\"add\",\"uid\":\"99\"},\"attrs\":{\"1\":{\"name\":\"style\",\"value\":\"margin-top: 15px;\",\"override\":\"\"},\"2\":{\"name\":\"onclick\",\"value\":\"ClickFunctions.clickAddPayAction()\",\"override\":\"\"},\"3\":{\"name\":\"id\",\"value\":\"theAddPaymentsButton\",\"override\":\"\"}}},\"203\":{\"uid\":\"203\",\"_parent\":\"32\",\"_area\":\"row5_column1\",\"name\":\"fillButton\",\"wtitle\":\"fillButton\",\"utype\":\"views\",\"type\":\"html_code\",\"nodes\":{\"main\":{\"content\":\"<?php\\r\\n$user = JFactory::getUser();\\r\\n$userName = $user->username;\\r\\nif (endsWith($_SERVER['PATH_INFO'],'enter-payments'))\\r\\n  if($userName == 'mayer')\\r\\n    ;\\\/\\\/echo \\\"<button onclick=\\\\\\\"fill()\\\\\\\" type=\\\\\\\"button\\\\\\\" class=\\\\\\\"green circular compact ui button\\\\\\\" style=\\\\\\\"margin-top: 15px;\\\\\\\" >Fill<\\\/button>\\\";\\r\\n\\r\\n?>\\r\\n\"}},\"behaviors\":{\"html_code\":[\"html_code_php\",\"html_code_pure_code\"]}},\"198\":{\"uid\":\"198\",\"_parent\":\"32\",\"_area\":\"row6_column1\",\"name\":\"authorizationDiv\",\"wtitle\":\"authorizationDiv\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"fluid\"}}}},\"behaviors\":{\"html\":[\"field_hidden\"]}},\"200\":{\"uid\":\"200\",\"_parent\":\"198\",\"_area\":\"body\",\"name\":\"field_checkbox_200\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_checkbox\",\"nodes\":{\"label\":{\"content\":\"Did the account holder confirm their authorization for this charge?\"},\"main\":{\"attrs\":{\"name\":\"authorization\",\"value\":\"1\",\"checked\":\"\"}},\"checkbox\":{\"attrs\":{\"class\":{\"style\":\"\",\"filledcolor\":\"\"}}}},\"behaviors\":{\"field_checkbox\":[\"field_choices_style\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"],\"validation\":[\"field_validation_required\"]}},\"199\":{\"uid\":\"199\",\"_parent\":\"32\",\"_area\":\"row6_column2\",\"name\":\"DontRunPaymentImmediatelyDiv\",\"wtitle\":\"DontRunPaymentImmediatelyDiv\",\"utype\":\"views\",\"type\":\"area_container\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"fluid\":\"fluid\"}}}},\"behaviors\":{\"html\":[\"field_hidden\"]}},\"201\":{\"uid\":\"201\",\"_parent\":\"199\",\"_area\":\"body\",\"name\":\"field_checkbox_201\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_checkbox\",\"nodes\":{\"label\":{\"content\":\"Click to not run payment immediately\"},\"main\":{\"attrs\":{\"name\":\"DontRunPaymentImmediately\",\"value\":\"1\",\"checked\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\",\"field_ghost\"]},\"ghost\":{\"value\":\"0\"}},\"204\":{\"uid\":\"204\",\"_parent\":\"32\",\"_area\":\"row7_column1\",\"name\":\"field_text_204\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Address\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.Address\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"205\":{\"uid\":\"205\",\"_parent\":\"32\",\"_area\":\"row7_column1\",\"name\":\"field_text205\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"City\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.City\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"208\":{\"uid\":\"208\",\"_parent\":\"32\",\"_area\":\"row7_column2\",\"name\":\"field_text208\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"State\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.State\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"207\":{\"uid\":\"207\",\"_parent\":\"32\",\"_area\":\"row7_column2\",\"name\":\"field_text207\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Zip\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.Zip\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"206\":{\"uid\":\"206\",\"_parent\":\"32\",\"_area\":\"row7_column3\",\"name\":\"field_text206\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_text\",\"nodes\":{\"label\":{\"content\":\"Phone\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.Phone\"}}},\"behaviors\":{\"html\":[\"field_hidden\"],\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"209\":{\"uid\":\"209\",\"_parent\":\"32\",\"_area\":\"row7_column3\",\"name\":\"field_hidden_209\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_hidden\",\"nodes\":{\"label\":{\"content\":\"FileName\"},\"main\":{\"attrs\":{\"name\":\"DebtorInfo.FileName\",\"value\":\"\"}}},\"behaviors\":{\"data\":[\"field_email\",\"field_dblog\",\"field_validate\"]}},\"111\":{\"uid\":\"111\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"area_fields_111\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"area_fields\",\"nodes\":{\"main\":{\"attrs\":{\"class\":{\"number\":\"equal width fields\"}}}}},\"213\":{\"uid\":\"213\",\"_parent\":\"111\",\"_area\":\"body\",\"name\":\"field_button_213\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\"},\"content\":\"Real Submit Button\"}},\"behaviors\":{\"html\":[\"field_attributes\",\"field_hidden\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"Real_Submit_Button\",\"override\":\"1\"}}},\"112\":{\"uid\":\"112\",\"_parent\":\"111\",\"_area\":\"body\",\"name\":\"Submit\",\"wtitle\":\"Submit\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\",\"class\":{\"color\":\"green\"}},\"content\":\"Submit\"}},\"behaviors\":{\"html\":[\"view_color\",\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"id\",\"value\":\"Submit\",\"override\":\"1\"},\"3\":{\"name\":\"info\",\"value\":\"Remove width 100% and flex 1 1 auto, then the buttons will be compact\",\"override\":\"\"},\"5\":{\"name\":\"oonclick\",\"value\":\"return Test.submitCheck();\",\"override\":\"\"},\"6\":{\"name\":\"form\",\"value\":\"View_Payments-payment_details_page\",\"override\":\"\"}}},\"133\":{\"uid\":\"133\",\"_parent\":\"111\",\"_area\":\"body\",\"name\":\"theCancelButton\",\"wtitle\":\"theCancelButton\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"button\",\"class\":{\"color\":\"red\"},\"target\":\"\"},\"content\":\"Cancel\"}},\"behaviors\":{\"html\":[\"view_color\",\"view_link\",\"field_attributes\",\"field_hidden\"]},\"link_settings\":{\"page\":\"\\\/jdocs\\\/\"},\"attrs\":{\"3\":{\"name\":\"id\",\"value\":\"theCancelButton\",\"override\":\"1\"}}},\"134\":{\"uid\":\"134\",\"_parent\":\"111\",\"_area\":\"body\",\"name\":\"viewAddPayButton\",\"wtitle\":\"viewAddPayButton\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\",\"class\":{\"color\":\"blue\"}},\"content\":\"Add A Payment\"}},\"behaviors\":{\"field_button\":[\"field_button_page\"],\"html\":[\"view_color\",\"field_attributes\",\"field_hidden\"]},\"next_page\":\"4\",\"attrs\":{\"4\":{\"name\":\"href\",\"value\":\"\\\/jdocs\\\/index.php\\\/component\\\/chronoforms7\\\/?chronoform=View_Payments&gpage=payment_details_page&PaymentId=2&Act=AddPayment\",\"override\":\"\"},\"5\":{\"name\":\"id\",\"value\":\"viewAddPayButton\",\"override\":\"1\"}}},\"214\":{\"uid\":\"214\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"field_button_214\",\"wtitle\":\"\",\"utype\":\"views\",\"type\":\"field_button\",\"nodes\":{\"main\":{\"attrs\":{\"type\":\"submit\",\"class\":{\"color\":\"red\"}},\"content\":\"Force Submit\"}},\"behaviors\":{\"html\":[\"view_color\",\"field_attributes\"]},\"attrs\":{\"1\":{\"name\":\"onclick\",\"value\":\"document.forms[1].submit().submit();\",\"override\":\"\"},\"2\":{\"name\":\"id\",\"value\":\"forceSub\",\"override\":\"1\"}}},\"137\":{\"uid\":\"137\",\"_parent\":\"17\",\"_area\":\"body\",\"name\":\"Payment_Details_Js\",\"wtitle\":\"Payment_Details_Js\",\"utype\":\"views\",\"type\":\"javascript\",\"domready\":\"0\",\"content\":\"\",\"behaviors\":{\"javascript\":[\"view_files_list\"]},\"files\":{\"1\":{\"url\":\"\\\/jdocs\\\/js\\\/Payment_Details_Js.js\"}}}}","functions":"{\"5\":{\"uid\":\"5\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"Payments\",\"wtitle\":\"Payments\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"Payments\",\"vname\":\"Payments\",\"select\":\"all\",\"limit\":\"30\",\"offset\":\"0\",\"paging_reset\":{\"1\":{\"field\":\"PaymentsPaginator\"}},\"relations\":{\"1\":{\"model\":\"Debtor\",\"table\":\"Debtor\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.DebtorId\",\"op\":\"=\",\"value\":\"Debtor.DebtorId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}}}},\"behaviors\":{\"read_data\":[\"read_data_limit_offset\",\"read_data_paging\",\"data_relations\",\"php_conditions\"]},\"php_where\":\"$conditionsArray = [];\\r\\n$dnum = $this->data(\\\"reference_number\\\");\\r\\nif(!empty($dnum)){\\r\\n    $dnumCondition = [\\\"Debtor.Dnum\\\", $dnum, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $dnumCondition);\\r\\n}\\r\\n$amount= $this->data(\\\"search_by_amount\\\");\\r\\nif(!empty($amount)){\\r\\n    $amountCondition = [\\\"CONCAT(Payments.Amount, Payments.NsfAmount)\\\", $amount, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $amountCondition);\\r\\n}\\r\\n$security_number= $this->data(\\\"security_number\\\");\\r\\nif(!empty($security_number)){\\r\\n    $security_numberCondition = [\\\"Payments.SecurityNum\\\", $security_number, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $security_numberCondition );\\r\\n}\\r\\n$date= $this->data(\\\"date\\\");\\r\\nif(!empty($date)){\\r\\n    $dateCondition = [\\\"Payments.PaymentDate\\\", $date, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $dateCondition );\\r\\n}\\r\\n\\\/\\\/echo '<pre>'; var_dump(get_defined_vars()); echo '<\\\/pre>';\\r\\nreturn $conditionsArray;\"},\"159\":{\"uid\":\"159\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"TodaysPayments\",\"wtitle\":\"TodaysPayments\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"Payments\",\"vname\":\"Payments\",\"select\":\"all\",\"relations\":{\"1\":{\"model\":\"Debtor\",\"table\":\"Debtor\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.DebtorId\",\"op\":\"=\",\"value\":\"Debtor.DebtorId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}},\"limit\":\"30\",\"offset\":\"0\"}},\"behaviors\":{\"read_data\":[\"read_data_limit_offset\",\"read_data_paging\",\"data_relations\",\"php_conditions\"]},\"php_where\":\"$conditionsArray = [];\\r\\n\\r\\n$dnum = $this->data(\\\"reference_number\\\");\\r\\nif(!empty($dnum)){\\r\\n    $dnumCondition = [\\\"Debtor.Dnum\\\", $dnum, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $dnumCondition);\\r\\n}\\r\\n$amount= $this->data(\\\"search_by_amount\\\");\\r\\nif(!empty($amount)){\\r\\n    $amountCondition = [\\\"CONCAT(Payments.Amount, Payments.NsfAmount)\\\", $amount, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $amountCondition);\\r\\n}\\r\\n$security_number= $this->data(\\\"security_number\\\");\\r\\nif(!empty($security_number)){\\r\\n    $security_numberCondition = [\\\"Payments.SecurityNum\\\", $security_number, \\\"=\\\"];\\r\\n    array_push($conditionsArray, $security_numberCondition );\\r\\n}\\r\\n\\r\\n$today = new DateTime();\\r\\n$todayString = $today->format('Y-m-d');\\r\\n$dateCondition = [\\\"Payments.PaymentDate\\\", $todayString , \\\"=\\\"];\\r\\narray_push($conditionsArray, $dateCondition );\\r\\n\\r\\n$voidCondition = [\\\"Payments.Void\\\", 0, \\\"=\\\"];\\r\\narray_push($conditionsArray, $voidCondition );\\r\\n\\r\\n$user = JFactory::getUser();\\r\\n$exists = array_key_exists('2', $user->groups) || array_key_exists('3', $user->groups) || array_key_exists('4', $user->groups) || array_key_exists('5', $user->groups);\\r\\nif ($exists){\\r\\n    $userCondition = [\\\"Payments.UserName\\\", $user->username , \\\"=\\\"];\\r\\n \\\/\\\/$userCondition = [\\\"Payments.UserName\\\", \\\"(A,B)\\\" , \\\"IN\\\"];\\r\\n    array_push($conditionsArray, $userCondition );\\r\\n}\\r\\n\\r\\n\\\/\\\/echo '<pre>'; var_dump($user); echo '<\\\/pre>';\\r\\nreturn $conditionsArray;\"},\"15\":{\"uid\":\"15\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"singlePayment\",\"wtitle\":\"singlePayment\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"Payments\",\"vname\":\"Payments\",\"select\":\"first\",\"conditions\":{\"1\":{\"start\":\"\",\"field\":\"PaymentId\",\"op\":\"=\",\"value\":\"{data:PaymentId}\",\"end\":\"\",\"logic\":\"\"}},\"relations\":{\"1\":{\"model\":\"Debtor\",\"table\":\"Debtor\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.DebtorId\",\"op\":\"=\",\"value\":\"Debtor.DebtorId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}},\"3\":{\"model\":\"TotalInUsd\",\"table\":\"TotalInUsd\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.PaymentId\",\"op\":\"=\",\"value\":\"TotalInUsd.PaymentId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}},\"4\":{\"model\":\"PaymentImages\",\"table\":\"PaymentImages\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.PaymentId\",\"op\":\"=\",\"value\":\"PaymentImages.PaymentId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}},\"5\":{\"model\":\"CheckPayment\",\"table\":\"CheckPayment\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.PaymentId\",\"op\":\"=\",\"value\":\"CheckPayment.PaymentId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}},\"6\":{\"model\":\"PDFCPayment\",\"table\":\"PDFCPayment\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.PaymentId\",\"op\":\"=\",\"value\":\"PDFCPayment.PaymentId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}},\"7\":{\"model\":\"DebtorInfo\",\"table\":\"DebtorInfo\",\"related_to\":\"Payments\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"Payments.PaymentId\",\"op\":\"=\",\"value\":\"DebtorInfo.PaymentId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}}}},\"behaviors\":{\"read_data\":[\"data_conditions\",\"data_relations\"],\"data\":[\"populate_fields\",\"set_models_vars\"]}},\"47\":{\"uid\":\"47\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"EftCc\",\"wtitle\":\"EftCc\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"EftAndCcInfo\",\"vname\":\"EftAndCcInfo\",\"select\":\"first\",\"conditions\":{\"1\":{\"start\":\"\",\"field\":\"PaymentId\",\"op\":\"=\",\"value\":\"{data:PaymentId}\",\"end\":\"\",\"logic\":\"\"}},\"relations\":{\"1\":{\"model\":\"Client\",\"table\":\"Client\",\"related_to\":\"EftAndCcInfo\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"EftAndCcInfo.ClientId\",\"op\":\"=\",\"value\":\"Client.ClientId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}}}},\"behaviors\":{\"read_data\":[\"data_conditions\",\"data_relations\"],\"data\":[\"populate_fields\",\"set_models_vars\"]}},\"56\":{\"uid\":\"56\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"VP\",\"wtitle\":\"VP\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"VoidPayments\",\"vname\":\"VoidPayments\",\"select\":\"first\",\"order\":{\"1\":{\"field\":\"Created\",\"direction\":\"DESC\"}},\"conditions\":{\"1\":{\"start\":\"\",\"field\":\"PaymentId\",\"op\":\"=\",\"value\":\"{data:PaymentId}\",\"end\":\"\",\"logic\":\"\"}}}},\"behaviors\":{\"read_data\":[\"read_data_order\",\"data_conditions\"],\"data\":[\"populate_fields\",\"set_models_vars\"]}},\"57\":{\"uid\":\"57\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"CC\",\"wtitle\":\"CC\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"CreditCardPayment\",\"vname\":\"CreditCardPayment\",\"select\":\"first\",\"conditions\":{\"1\":{\"start\":\"\",\"field\":\"PaymentId\",\"op\":\"=\",\"value\":\"{data:PaymentId}\",\"end\":\"\",\"logic\":\"\"}},\"relations\":{\"1\":{\"model\":\"CreditCard\",\"table\":\"CreditCard\",\"related_to\":\"CreditCardPayment\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"CreditCardPayment.CreditCardId\",\"op\":\"=\",\"value\":\"CreditCard.CreditCardId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}}}},\"behaviors\":{\"read_data\":[\"data_conditions\",\"data_relations\"],\"data\":[\"populate_fields\",\"set_models_vars\"]}},\"58\":{\"uid\":\"58\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"Bank\",\"wtitle\":\"Bank\",\"utype\":\"functions\",\"type\":\"read_data\",\"models\":{\"data\":{\"name\":\"BankAccountPayment\",\"vname\":\"BankAccountPayment\",\"select\":\"first\",\"conditions\":{\"1\":{\"start\":\"\",\"field\":\"PaymentId\",\"op\":\"=\",\"value\":\"{data:PaymentId}\",\"end\":\"\",\"logic\":\"\"}},\"relations\":{\"1\":{\"model\":\"BankAccount\",\"table\":\"BankAccount\",\"related_to\":\"BankAccountPayment\",\"relation\":\"hasOne\",\"rconditions\":{\"1\":{\"start\":\"\",\"field\":\"BankAccountPayment.BankAccountId\",\"op\":\"=\",\"value\":\"BankAccount.BankAccountId\",\"value_type\":\"field\",\"end\":\"\",\"logic\":\"\"}}}}}},\"behaviors\":{\"read_data\":[\"data_conditions\",\"data_relations\"],\"data\":[\"populate_fields\",\"set_models_vars\"]}},\"183\":{\"uid\":\"183\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"submit_payment_uploads\",\"wtitle\":\"submit_payment_uploads\",\"utype\":\"functions\",\"type\":\"upload\",\"path\":\"{path:front}\\\/uploads\\\/\",\"extensions\":[\"jpg\",\"jpeg\",\"png\",\"gif\",\"pdf\",\"txt\"],\"filename_provider\":\"\",\"size\":\"100000\"},\"156\":{\"uid\":\"156\",\"_parent\":\"\",\"_area\":\"-connectivity-repo-page-\",\"name\":\"submit_payment\",\"wtitle\":\"submit_payment\",\"utype\":\"functions\",\"type\":\"php\",\"code\":\"chdir(\\\"\\\/var\\\/www\\\/html\\\/jdocs\\\/php\\\/Payments\\\");\\r\\n\\\/\\\/echo getcwd();\\r\\nrequire 'paymentSubmitSwitcher.php';\\r\\n\\\/\\\/echo __FILE__;\"}}"}}]