{"sha":"484d2287108e3a02ec305b7a283254c1ad93b690","node_id":"C_kwDOLgQlp9oAKDQ4NGQyMjg3MTA4ZTNhMDJlYzMwNWI3YTI4MzI1NGMxYWQ5M2I2OTA","commit":{"author":{"name":"Sigurd Nes","email":"sigurdne@users.noreply.github.com","date":"2026-02-26T14:17:56Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2026-02-26T14:17:56Z"},"message":"Merge pull request #906 from PorticoEstate/master\n\nFix for export format LG04 v55","tree":{"sha":"8beaa40b8dcb88772ab1bb1c7a4a23b0b30fed04","url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/git/trees/8beaa40b8dcb88772ab1bb1c7a4a23b0b30fed04"},"url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/git/commits/484d2287108e3a02ec305b7a283254c1ad93b690","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJpoFYUCRC1aQ7uu5UhlAAA8TMQADX7v8FzTD9B9CbhTuBS/mlW\nv6OHBTLfIFwRsdcDEUG6Ximi8Ld6QfOV+O3lT2r1gSzMfyjixWn4G3TVToU9LkEc\n5PcALyU3U1zQi+YIV/HxEnpSaxau112SVG+adL8H/rXA9+x2nnDV+fiC0GOp/FzD\nGgZeRfvVQZaexG6s0Jql+5z8cxkDtUG2VrdR4R6G+X7rson/+Br3uWnfFYN47SsT\ngksq9ee/3qPG6rCaIjcC9BUS9b4PuBBInkMM7CFzGE6u61Q1GsR0jnwm0aTqD0tf\nkB9Shhp4ABCHChveM0PxwHSLeCJkRnXliJ37qR0xzLbIyiS0jtH3NlzFPteSIOAh\ncX8pYHHC+K1Ob5pnSpokKijxVDebFt/f/ftgxE3zANoSorVv+Bj+omqwIlJP97yb\n/kLMi0DA6EDmGAu1K2ZodiD950UuRDhqWTC/U07Iu5b/InfbWu6ifHbhUpj+GsV8\nRVPnP7v8aAFt+V7xVgEYErkxMa+PVGxOWF9st5eyC5b+kw5/N4/SypUtlKiStYeo\nutrRuqnvYC3wGc9vzvFDymrqBKef6CKXcR3906Vbi7y+EXc28AOmYqwsEqKsdg/q\n31lM2fOujSEnrZFbATVZgKg707/9ZApDnXqjxQpnVIfym3b22c9yuzjr0ScU8qtS\nufGWdCvFOthFYpRbiahD\n=qJ7F\n-----END PGP SIGNATURE-----\n","payload":"tree 8beaa40b8dcb88772ab1bb1c7a4a23b0b30fed04\nparent f190dbfca37130d4dd6044cc14866fa63be0f468\nparent 222982f93ee72b52124195c0b78af6b3d126b94e\nauthor Sigurd Nes <sigurdne@users.noreply.github.com> 1772115476 +0100\ncommitter GitHub <noreply@github.com> 1772115476 +0100\n\nMerge pull request #906 from PorticoEstate/master\n\nFix for export format LG04 v55","verified_at":"2026-02-26T14:17:56Z"}},"url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/commits/484d2287108e3a02ec305b7a283254c1ad93b690","html_url":"https://github.com/PorticoEstate/PorticoEstate-v2/commit/484d2287108e3a02ec305b7a283254c1ad93b690","comments_url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/commits/484d2287108e3a02ec305b7a283254c1ad93b690/comments","author":{"login":"sigurdne","id":12719970,"node_id":"MDQ6VXNlcjEyNzE5OTcw","avatar_url":"https://avatars.githubusercontent.com/u/12719970?v=4","gravatar_id":"","url":"https://api.github.com/users/sigurdne","html_url":"https://github.com/sigurdne","followers_url":"https://api.github.com/users/sigurdne/followers","following_url":"https://api.github.com/users/sigurdne/following{/other_user}","gists_url":"https://api.github.com/users/sigurdne/gists{/gist_id}","starred_url":"https://api.github.com/users/sigurdne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigurdne/subscriptions","organizations_url":"https://api.github.com/users/sigurdne/orgs","repos_url":"https://api.github.com/users/sigurdne/repos","events_url":"https://api.github.com/users/sigurdne/events{/privacy}","received_events_url":"https://api.github.com/users/sigurdne/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"f190dbfca37130d4dd6044cc14866fa63be0f468","url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/commits/f190dbfca37130d4dd6044cc14866fa63be0f468","html_url":"https://github.com/PorticoEstate/PorticoEstate-v2/commit/f190dbfca37130d4dd6044cc14866fa63be0f468"},{"sha":"222982f93ee72b52124195c0b78af6b3d126b94e","url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/commits/222982f93ee72b52124195c0b78af6b3d126b94e","html_url":"https://github.com/PorticoEstate/PorticoEstate-v2/commit/222982f93ee72b52124195c0b78af6b3d126b94e"}],"stats":{"total":212,"additions":107,"deletions":105},"files":[{"sha":"ddef42b50bbcf813f8b01f9ad37995abd231ca11","filename":"src/modules/booking/inc/class.socompleted_reservation_export.inc.php","status":"modified","additions":103,"deletions":104,"changes":207,"blob_url":"https://github.com/PorticoEstate/PorticoEstate-v2/blob/484d2287108e3a02ec305b7a283254c1ad93b690/src%2Fmodules%2Fbooking%2Finc%2Fclass.socompleted_reservation_export.inc.php","raw_url":"https://github.com/PorticoEstate/PorticoEstate-v2/raw/484d2287108e3a02ec305b7a283254c1ad93b690/src%2Fmodules%2Fbooking%2Finc%2Fclass.socompleted_reservation_export.inc.php","contents_url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/contents/src%2Fmodules%2Fbooking%2Finc%2Fclass.socompleted_reservation_export.inc.php?ref=484d2287108e3a02ec305b7a283254c1ad93b690","patch":"@@ -3002,9 +3002,8 @@ public function format_agresso_55(array &$reservations, array $account_codes, $s\n \n \t$log = array();\n \n-\t/* NOTE: Version 5.5 uses 8 character date fields (YYYYMMDD) left-padded with spaces\n-\t\t */\n-\t$date = str_pad(date('Ymd'), 8, ' ', STR_PAD_LEFT);\n+\t/* NOTE: Version 5.5 uses 8 character date fields (YYYYMMDD)*/\n+\t$date = date('Ymd');\n \n \t$batch_id = strtoupper(sprintf('BO%s%s', $account_codes['unit_prefix'], date('ymd')));\n \t$batch_id = str_pad(substr($batch_id, 0, 25), 25, ' ');\n@@ -3022,9 +3021,9 @@ public function format_agresso_55(array &$reservations, array $account_codes, $s\n \t$order_type = str_pad(substr(strtoupper('FS'), 0, 2), 2, ' ');\n \t$pay_method = str_pad(substr(strtoupper('IP'), 0, 2), 2, ' ');\n \n-\t/* NOTE: Version 5.5 uses 6 character period field (YYYYMM) left-padded with zeros\n-\t\t */\n-\t$period = str_pad(substr('00' . date('Ym'), 0, 6), 6, '0', STR_PAD_LEFT);\n+\t/* NOTE: Version 5.5 uses 6 character period field (YYYYMM)\n+\t */\n+\t$period = date('Ym');\n \n \tif (!empty($this->config_data['voucher_responsible']))\n \t{\n@@ -3912,104 +3911,104 @@ protected function get_agresso_row_template_55()\n \t\t}\n \n \t\t$row_template = array(\n-\t\t\t'account' => str_repeat(' ', 25),\n-\t\t\t'accountable' => str_repeat(' ', 25),\n-\t\t\t'address' => str_repeat(' ', 160),\n-\t\t\t'allocation_key' => str_repeat(' ', 2),\n-\t\t\t'amount' => str_repeat(' ', 20),\n-\t\t\t'amount_set' => str_repeat(' ', 1),\n-\t\t\t'apar_id' => str_repeat(' ', 25),\n-\t\t\t'apar_id_ref' => str_repeat(' ', 25),\n-\t\t\t'apar_name' => str_repeat(' ', 255),\n-\t\t\t'art_descr' => str_repeat(' ', 255),\n-\t\t\t'article' => str_repeat(' ', 25),\n-\t\t\t'att_1_id' => str_repeat(' ', 4),\n-\t\t\t'att_2_id' => str_repeat(' ', 4),\n-\t\t\t'att_3_id' => str_repeat(' ', 4),\n-\t\t\t'att_4_id' => str_repeat(' ', 4),\n-\t\t\t'att_5_id' => str_repeat(' ', 4),\n-\t\t\t'att_6_id' => str_repeat(' ', 4),\n-\t\t\t'att_7_id' => str_repeat(' ', 4),\n-\t\t\t'bank_account' => str_repeat(' ', 35),\n-\t\t\t'batch_id' => str_repeat(' ', 25),\n-\t\t\t'client' => str_repeat(' ', 25),\n-\t\t\t'client_ref' => str_repeat(' ', 25),\n-\t\t\t'confirm_date' => str_repeat(' ', 8),\n-\t\t\t'control' => str_repeat(' ', 1),\n-\t\t\t'cur_amount' => str_repeat(' ', 20),\n-\t\t\t'currency' => str_repeat(' ', 25),\n-\t\t\t'del_met_descr' => str_repeat(' ', 255),\n-\t\t\t'del_term_descr' => str_repeat(' ', 255),\n-\t\t\t'deliv_addr' => str_repeat(' ', 255),\n-\t\t\t'deliv_attention' => str_repeat(' ', 50),\n-\t\t\t'deliv_countr' => str_repeat(' ', 25),\n-\t\t\t'deliv_date' => str_repeat(' ', 8),\n-\t\t\t'deliv_method' => str_repeat(' ', 25),\n-\t\t\t'deliv_terms' => str_repeat(' ', 25),\n-\t\t\t'dim_1' => str_repeat(' ', 25),\n-\t\t\t'dim_2' => str_repeat(' ', 25),\n-\t\t\t'dim_3' => str_repeat(' ', 25),\n-\t\t\t'dim_4' => str_repeat(' ', 25),\n-\t\t\t'dim_5' => str_repeat(' ', 25),\n-\t\t\t'dim_6' => str_repeat(' ', 25),\n-\t\t\t'dim_7' => str_repeat(' ', 25),\n-\t\t\t'dim_value_1' => str_repeat(' ', 25),\n-\t\t\t'dim_value_2' => str_repeat(' ', 25),\n-\t\t\t'dim_value_3' => str_repeat(' ', 25),\n-\t\t\t'dim_value_4' => str_repeat(' ', 25),\n-\t\t\t'dim_value_5' => str_repeat(' ', 25),\n-\t\t\t'dim_value_6' => str_repeat(' ', 25),\n-\t\t\t'dim_value_7' => str_repeat(' ', 25),\n-\t\t\t'discount' => str_repeat(' ', 20),\n-\t\t\t'disc_percent' => str_repeat(' ', 20),\n-\t\t\t'ean' => str_repeat(' ', 50),\n-\t\t\t'exch_rate' => str_repeat(' ', 20),\n-\t\t\t'ext_ord_ref' => str_repeat(' ', 100),\n-\t\t\t'intrule_id' => str_repeat(' ', 25),\n-\t\t\t'line_no' => str_repeat(' ', 4),\n-\t\t\t'location' => str_repeat(' ', 12),\n-\t\t\t'long_info1' => str_repeat(' ', 120),\n-\t\t\t'long_info2' => str_repeat(' ', 120),\n-\t\t\t'lot' => str_repeat(' ', 10),\n-\t\t\t'main_apar_id' => str_repeat(' ', 25),\n-\t\t\t'mark_attention' => str_repeat(' ', 50),\n-\t\t\t'mark_ctry_cd' => str_repeat(' ', 25),\n-\t\t\t'markings' => str_repeat(' ', 255),\n-\t\t\t'obs_date' => str_repeat(' ', 8),\n-\t\t\t'order_date' => str_repeat(' ', 8),\n-\t\t\t'order_id' => str_repeat(' ', 15),\n-\t\t\t'order_type' => str_repeat(' ', 2),\n-\t\t\t'pay_method' => str_repeat(' ', 2),\n-\t\t\t'pay_temp_id' => str_repeat(' ', 4),\n-\t\t\t'period' => str_repeat(' ', 6),\n-\t\t\t'place' => str_repeat(' ', 30),\n-\t\t\t'province' => str_repeat(' ', 40),\n-\t\t\t'rel_value' => str_repeat(' ', 25),\n-\t\t\t'responsible' => str_repeat(' ', 25),\n-\t\t\t'responsible2' => str_repeat(' ', 25),\n-\t\t\t'sequence_no' => str_repeat(' ', 8),\n-\t\t\t'sequence_ref' => str_repeat(' ', 8),\n-\t\t\t'serial_no' => str_repeat(' ', 20),\n-\t\t\t'short_info' => str_repeat(' ', 60),\n-\t\t\t'status' => str_repeat(' ', 1),\n-\t\t\t'sup_article' => str_repeat(' ', 50),\n-\t\t\t'tax_code' => str_repeat(' ', 25),\n-\t\t\t'tax_system' => str_repeat(' ', 25),\n-\t\t\t'template_id' => str_repeat(' ', 8),\n-\t\t\t'terms_id' => str_repeat(' ', 25),\n-\t\t\t'tekst1' => str_repeat(' ', 100),\n-\t\t\t'tekst2' => str_repeat(' ', 100),\n-\t\t\t'tekst3' => str_repeat(' ', 100),\n-\t\t\t'tekst4' => str_repeat(' ', 100),\n-\t\t\t'trans_type' => str_repeat(' ', 2),\n-\t\t\t'unit_code' => str_repeat(' ', 3),\n-\t\t\t'unit_descr' => str_repeat(' ', 255),\n-\t\t\t'unit_price' => str_repeat(' ', 20),\n-\t\t\t'value_1' => str_repeat(' ', 20),\n-\t\t\t'voucher_ref' => str_repeat(' ', 15),\n-\t\t\t'voucher_type' => str_repeat(' ', 25),\n-\t\t\t'warehouse' => str_repeat(' ', 25),\n-\t\t\t'zip_code' => str_repeat(' ', 15)\n+\t\t\t'account' => str_repeat(' ', 25),            // pos 1-25\n+\t\t\t'accountable' => str_repeat(' ', 25),        // pos 26-50\n+\t\t\t'address' => str_repeat(' ', 160),           // pos 51-210\n+\t\t\t'allocation_key' => str_repeat(' ', 2),      // pos 211-212\n+\t\t\t'amount' => str_repeat(' ', 20),             // pos 213-232\n+\t\t\t'amount_set' => str_repeat(' ', 1),          // pos 233-233\n+\t\t\t'apar_id' => str_repeat(' ', 25),            // pos 234-258\n+\t\t\t'apar_id_ref' => str_repeat(' ', 25),        // pos 259-283\n+\t\t\t'apar_name' => str_repeat(' ', 255),         // pos 284-538\n+\t\t\t'art_descr' => str_repeat(' ', 255),         // pos 539-793\n+\t\t\t'article' => str_repeat(' ', 25),            // pos 794-818\n+\t\t\t'att_1_id' => str_repeat(' ', 4),            // pos 819-822\n+\t\t\t'att_2_id' => str_repeat(' ', 4),            // pos 823-826\n+\t\t\t'att_3_id' => str_repeat(' ', 4),            // pos 827-830\n+\t\t\t'att_4_id' => str_repeat(' ', 4),            // pos 831-834\n+\t\t\t'att_5_id' => str_repeat(' ', 4),            // pos 835-838\n+\t\t\t'att_6_id' => str_repeat(' ', 4),            // pos 839-842\n+\t\t\t'att_7_id' => str_repeat(' ', 4),            // pos 843-846\n+\t\t\t'bank_account' => str_repeat(' ', 35),       // pos 847-881\n+\t\t\t'batch_id' => str_repeat(' ', 25),           // pos 882-906\n+\t\t\t'client' => str_repeat(' ', 25),             // pos 907-931\n+\t\t\t'client_ref' => str_repeat(' ', 25),         // pos 932-956\n+\t\t\t'confirm_date' => str_repeat(' ', 8),        // pos 957-964\n+\t\t\t'control' => str_repeat(' ', 1),             // pos 965-965\n+\t\t\t'cur_amount' => str_repeat(' ', 20),         // pos 966-985\n+\t\t\t'currency' => str_repeat(' ', 25),           // pos 986-1010\n+\t\t\t'del_met_descr' => str_repeat(' ', 255),     // pos 1011-1265\n+\t\t\t'del_term_descr' => str_repeat(' ', 255),    // pos 1266-1520\n+\t\t\t'deliv_addr' => str_repeat(' ', 255),        // pos 1521-1775\n+\t\t\t'deliv_attention' => str_repeat(' ', 50),    // pos 1776-1825\n+\t\t\t'deliv_countr' => str_repeat(' ', 25),       // pos 1826-1850\n+\t\t\t'deliv_date' => str_repeat(' ', 8),          // pos 1851-1858\n+\t\t\t'deliv_method' => str_repeat(' ', 25),       // pos 1859-1883\n+\t\t\t'deliv_terms' => str_repeat(' ', 25),        // pos 1884-1908\n+\t\t\t'dim_1' => str_repeat(' ', 25),              // pos 1909-1933\n+\t\t\t'dim_2' => str_repeat(' ', 25),              // pos 1934-1958\n+\t\t\t'dim_3' => str_repeat(' ', 25),              // pos 1959-1983\n+\t\t\t'dim_4' => str_repeat(' ', 25),              // pos 1984-2008\n+\t\t\t'dim_5' => str_repeat(' ', 25),              // pos 2009-2033\n+\t\t\t'dim_6' => str_repeat(' ', 25),              // pos 2034-2058\n+\t\t\t'dim_7' => str_repeat(' ', 25),              // pos 2059-2083\n+\t\t\t'dim_value_1' => str_repeat(' ', 25),        // pos 2084-2108\n+\t\t\t'dim_value_2' => str_repeat(' ', 25),        // pos 2109-2133\n+\t\t\t'dim_value_3' => str_repeat(' ', 25),        // pos 2134-2158\n+\t\t\t'dim_value_4' => str_repeat(' ', 25),        // pos 2159-2183\n+\t\t\t'dim_value_5' => str_repeat(' ', 25),        // pos 2184-2208\n+\t\t\t'dim_value_6' => str_repeat(' ', 25),        // pos 2209-2233\n+\t\t\t'dim_value_7' => str_repeat(' ', 25),        // pos 2234-2258\n+\t\t\t'discount' => str_repeat(' ', 20),           // pos 2259-2278\n+\t\t\t'disc_percent' => str_repeat(' ', 20),       // pos 2279-2298\n+\t\t\t'ean' => str_repeat(' ', 50),                // pos 2299-2348\n+\t\t\t'exch_rate' => str_repeat(' ', 20),          // pos 2349-2368\n+\t\t\t'ext_ord_ref' => str_repeat(' ', 100),       // pos 2369-2468\n+\t\t\t'intrule_id' => str_repeat(' ', 25),         // pos 2469-2493\n+\t\t\t'line_no' => str_repeat(' ', 4),             // pos 2494-2497\n+\t\t\t'location' => str_repeat(' ', 12),           // pos 2498-2509\n+\t\t\t'long_info1' => str_repeat(' ', 120),        // pos 2510-2629\n+\t\t\t'long_info2' => str_repeat(' ', 120),        // pos 2630-2749\n+\t\t\t'lot' => str_repeat(' ', 10),                // pos 2750-2759\n+\t\t\t'main_apar_id' => str_repeat(' ', 25),       // pos 2760-2784\n+\t\t\t'mark_attention' => str_repeat(' ', 50),     // pos 2785-2834\n+\t\t\t'mark_ctry_cd' => str_repeat(' ', 25),       // pos 2835-2859\n+\t\t\t'markings' => str_repeat(' ', 255),          // pos 2860-3114\n+\t\t\t'obs_date' => str_repeat(' ', 8),            // pos 3115-3122\n+\t\t\t'order_date' => str_repeat(' ', 8),          // pos 3123-3130\n+\t\t\t'order_id' => str_repeat(' ', 15),           // pos 3131-3145\n+\t\t\t'order_type' => str_repeat(' ', 2),          // pos 3146-3147\n+\t\t\t'pay_method' => str_repeat(' ', 2),          // pos 3148-3149\n+\t\t\t'pay_temp_id' => str_repeat(' ', 4),         // pos 3150-3153\n+\t\t\t'period' => str_repeat(' ', 6),              // pos 3154-3159\n+\t\t\t'place' => str_repeat(' ', 40),              // pos 3160-3199\n+\t\t\t'province' => str_repeat(' ', 40),           // pos 3200-3239\n+\t\t\t'rel_value' => str_repeat(' ', 25),          // pos 3240-3264\n+\t\t\t'responsible' => str_repeat(' ', 25),        // pos 3265-3289\n+\t\t\t'responsible2' => str_repeat(' ', 25),       // pos 3290-3314\n+\t\t\t'sequence_no' => str_repeat(' ', 8),         // pos 3315-3322\n+\t\t\t'sequence_ref' => str_repeat(' ', 8),        // pos 3323-3330\n+\t\t\t'serial_no' => str_repeat(' ', 20),          // pos 3331-3350\n+\t\t\t'short_info' => str_repeat(' ', 60),         // pos 3351-3410\n+\t\t\t'status' => str_repeat(' ', 1),              // pos 3411-3411\n+\t\t\t'sup_article' => str_repeat(' ', 50),        // pos 3412-3461\n+\t\t\t'tax_code' => str_repeat(' ', 25),           // pos 3462-3486\n+\t\t\t'tax_system' => str_repeat(' ', 25),         // pos 3487-3511\n+\t\t\t'template_id' => str_repeat(' ', 8),         // pos 3512-3519\n+\t\t\t'terms_id' => str_repeat(' ', 25),           // pos 3520-3544\n+\t\t\t'tekst1' => str_repeat(' ', 100),            // pos 3545-3644\n+\t\t\t'tekst2' => str_repeat(' ', 100),            // pos 3645-3744\n+\t\t\t'tekst3' => str_repeat(' ', 100),            // pos 3745-3844\n+\t\t\t'tekst4' => str_repeat(' ', 100),            // pos 3845-3944\n+\t\t\t'trans_type' => str_repeat(' ', 2),          // pos 3945-3946\n+\t\t\t'unit_code' => str_repeat(' ', 3),           // pos 3947-3949\n+\t\t\t'unit_descr' => str_repeat(' ', 255),        // pos 3950-4204\n+\t\t\t'unit_price' => str_repeat(' ', 20),         // pos 4205-4224\n+\t\t\t'value_1' => str_repeat(' ', 20),            // pos 4225-4244\n+\t\t\t'voucher_ref' => str_repeat(' ', 15),        // pos 4245-4259\n+\t\t\t'voucher_type' => str_repeat(' ', 25),       // pos 4260-4284\n+\t\t\t'warehouse' => str_repeat(' ', 25),          // pos 4285-4309\n+\t\t\t'zip_code' => str_repeat(' ', 15)            // pos 4310-4324\n \t\t);\n \t\treturn $row_template;\n \t}"},{"sha":"cdc0998247c774a4ad35b93a01dd82a8241cb7c8","filename":"src/modules/booking/inc/class.uicompleted_reservation_export_file.inc.php","status":"modified","additions":4,"deletions":1,"changes":5,"blob_url":"https://github.com/PorticoEstate/PorticoEstate-v2/blob/484d2287108e3a02ec305b7a283254c1ad93b690/src%2Fmodules%2Fbooking%2Finc%2Fclass.uicompleted_reservation_export_file.inc.php","raw_url":"https://github.com/PorticoEstate/PorticoEstate-v2/raw/484d2287108e3a02ec305b7a283254c1ad93b690/src%2Fmodules%2Fbooking%2Finc%2Fclass.uicompleted_reservation_export_file.inc.php","contents_url":"https://api.github.com/repos/PorticoEstate/PorticoEstate-v2/contents/src%2Fmodules%2Fbooking%2Finc%2Fclass.uicompleted_reservation_export_file.inc.php?ref=484d2287108e3a02ec305b7a283254c1ad93b690","patch":"@@ -273,6 +273,7 @@ public function upload()\n \t\t\t$type = $file_type_arr[1];\n \n \t\t\t$config_data = CreateObject('phpgwapi.config', 'booking')->read();\n+\t\t\t$voucher_client = $config_data['voucher_client'] ?? 'BY';\n \n \t\t\tswitch ($config_data[\"{$type}_format\"])\n \t\t\t{\n@@ -283,8 +284,10 @@ public function upload()\n \t\t\t\t\t$file_name_part = 'VISMA_';\n \t\t\t\t\tbreak;\n \t\t\t\tcase 'AGRESSO':\n+\t\t\t\t\t$file_name_part = 'AktivbyLG04_';\n+\t\t\t\t\tbreak;\n \t\t\t\tcase 'AGRESSO_55':\n-\t\t\t\t$file_name_part = 'AktivbyLG04_';\n+\t\t\t\t\t$file_name_part = $voucher_client . '_AktivbyLG04_';\n \t\t\t\t\tbreak;\n \t\t\t\tcase 'CSV':\n \t\t\t\t\t$file_name_part = 'CSV_';"}]}