Compare commits
500 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04178c5af4 | |||
| 718b9ba591 | |||
| 12f7304b12 | |||
| a967d1b6ab | |||
| f60bf6019e | |||
| 9a1582dd7c | |||
| d1ab599390 | |||
| f6c845e627 | |||
| 501de26774 | |||
| 7be93fb699 | |||
| d3d3e1bb82 | |||
| 72ea83fbca | |||
| 83362fe3c1 | |||
| 1aabf6eea6 | |||
| f23634ee61 | |||
| 089bb01e12 | |||
| 7ba772f2cc | |||
| 3ab26a5235 | |||
| ca27df06d9 | |||
| a7f2faa53b | |||
| 6dbca2f584 | |||
| fe505aea1e | |||
| 159284f5ee | |||
| 9ca71c91bf | |||
| d3f03949a1 | |||
| 7c25f2a8fe | |||
| 8a03ad6240 | |||
| 212d383ac1 | |||
| bf26581339 | |||
| 49f7ac30ca | |||
| 7d195793a3 | |||
| 2d1b28bb3b | |||
| 8508bde4eb | |||
| e41a1bc410 | |||
| b4e38002fe | |||
| b398004040 | |||
| 49f48340ac | |||
| 1877aeecb0 | |||
| 48f71dfafe | |||
| 669b237893 | |||
| c22390ffc7 | |||
| 10dd636646 | |||
| 82c7c697e6 | |||
| 8c6eb518d8 | |||
| e94a7953be | |||
| 8561b1af65 | |||
| 9e2029dc0a | |||
| fc616f4fea | |||
| d6f97636de | |||
| 1f47c5b80f | |||
| 6cfa26ee10 | |||
| ecd95d16f2 | |||
| 0c1e4bf9d8 | |||
| 61677e34e0 | |||
| ca136225cb | |||
| 5462854f53 | |||
| 6902ae0e04 | |||
| 4a60d17936 | |||
| 0fbfe21258 | |||
| 6fa1ff811b | |||
| a0e709dd86 | |||
| 841c66926f | |||
| a3c1002845 | |||
| 50c63fa986 | |||
| 409cb3fa19 | |||
| 5766355661 | |||
| 04280e68c6 | |||
| 3375ca3181 | |||
| 04794bb2aa | |||
| f6a6aefd5e | |||
| 7296fcfc77 | |||
| 19d3789c24 | |||
| f298d6ff5a | |||
| 8206738c56 | |||
| 6fbd21822e | |||
| 1c270a9d2e | |||
| c52846f480 | |||
| d2f51066c0 | |||
| 7537fd25fd | |||
| 10ccbe4709 | |||
| 3a161ef0e7 | |||
| a778611edf | |||
| cb291c2e5e | |||
| 2cb70969bf | |||
| 3a2eb429f1 | |||
| f7c2611200 | |||
| 9b8e5ef016 | |||
| beef740114 | |||
| 35d96b36ab | |||
| 74a3e9f6bd | |||
| 38ab9de081 | |||
| 669e78e072 | |||
| 9166277a01 | |||
| dcd3ce66ce | |||
| feac638722 | |||
| 29a5d39768 | |||
| 0368d0569c | |||
| 1ba438fa9f | |||
| 198b9c78fc | |||
| 145e521bd5 | |||
| 69b626b4da | |||
| 482e6cc308 | |||
| d678307d2d | |||
| 74b1c2ba98 | |||
| a8398965b8 | |||
| 1c550da572 | |||
| b48b033be8 | |||
| c392fabc14 | |||
| 1de9046b3d | |||
| b007bef366 | |||
| 33c8e202bc | |||
| bbf77b16bd | |||
| 4da48a15a9 | |||
| db504a3ee7 | |||
| 5e2155d7e2 | |||
| ee34bf8cba | |||
| 563843cac8 | |||
| 9463c9ea55 | |||
| 39b461a618 | |||
| 65d2c1de07 | |||
| adccaa7951 | |||
| f9d0f3bcaf | |||
| 3321bf1020 | |||
| d3da6fc8cc | |||
| 6c0e3c67a8 | |||
| 2cd9b532f0 | |||
| ce1e664d63 | |||
| a79771aedd | |||
| 2f97cf36ea | |||
| c1eb14726e | |||
| d7764af73d | |||
| d74acd7776 | |||
| 299709f3ee | |||
| 970c37d921 | |||
| 9536146226 | |||
| 5d68e153c3 | |||
| dc738fdbfe | |||
| dadb4078cb | |||
| d77d99c68b | |||
| a682394e53 | |||
| 44c20522a0 | |||
| 3161d0c436 | |||
| 6930658c27 | |||
| 9e1e3396d0 | |||
| fbab0a9803 | |||
| 72f0f8e0a7 | |||
| 5ca1cce14a | |||
| ba8c402813 | |||
| b86aca9bff | |||
| cc8fa5a6b6 | |||
| 95700564bb | |||
| e20c89d4ce | |||
| d0d7c8b36e | |||
| 19e5c483fa | |||
| 7728f4765b | |||
| 3f846e861f | |||
| 616ee67622 | |||
| 23592e9b66 | |||
| efb2ce9ba3 | |||
| 418770bce5 | |||
| 767a77a66c | |||
| 2ef02e8144 | |||
| 22cbfb669c | |||
| 61e427d621 | |||
| ecad172891 | |||
| a694db623c | |||
| ed7677a4d7 | |||
| 229e8f2ae0 | |||
| f04d178a3c | |||
| b3543dc8da | |||
| b7b1562111 | |||
| bd9bacb210 | |||
| 9d7d9ac29c | |||
| d69db3689f | |||
| 50ea605c06 | |||
| 43e016eff8 | |||
| 21ca37f41c | |||
| 3f108cc0f5 | |||
| 5bf7774679 | |||
| fd12203e1c | |||
| d25a693dc6 | |||
| 076483e4f2 | |||
| 900c731b04 | |||
| a84c42f7a7 | |||
| 8b6f7d4aec | |||
| e706b7b892 | |||
| e45e2fe6eb | |||
| e3c576b38f | |||
| cf2a80ffec | |||
| ab639c2913 | |||
| ab89d8caef | |||
| 9ac836dc3e | |||
| ca1020403d | |||
| 6094875ed0 | |||
| 2befaa41b6 | |||
| 336a64efe6 | |||
| 6e18a78eb0 | |||
| e18bad3e60 | |||
| f9d3254e84 | |||
| 87b440e86a | |||
| 643d04589c | |||
| 91cff9585f | |||
| 8e14a719e0 | |||
| 2c51a84422 | |||
| 6593aef458 | |||
| 9097246082 | |||
| c7af50f802 | |||
| 0c18064d98 | |||
| 8d60761cc0 | |||
| 14c1ccd86e | |||
| cc2096b4cf | |||
| 32252589a3 | |||
| 752890d4b3 | |||
| bff43d6b5d | |||
| f12162ad72 | |||
| 9a3ef004d3 | |||
| ae853a7848 | |||
| f5d8f515d5 | |||
| 63e931fab1 | |||
| c05614d22e | |||
| 2f9215ba52 | |||
| 9620c4a7ce | |||
| 594f1e7252 | |||
| edb3f7a35b | |||
| af8f8a6adb | |||
| f7f4a7fdcb | |||
| 1f38d04e86 | |||
| bca2b63b03 | |||
| 14f46f26f9 | |||
| bf250069f4 | |||
| f23d0ee911 | |||
| 89cf4f6165 | |||
| 173f9d6150 | |||
| ff8e8d23a8 | |||
| e46b954b71 | |||
| ddb636239b | |||
| 8fcee30912 | |||
| 7c3a0964d5 | |||
| e002846138 | |||
| 917dbdd3fe | |||
| f645af4347 | |||
| be228fa48a | |||
| 7760b01a50 | |||
| 33f3e8b6b2 | |||
| 89db06f319 | |||
| 6aecc8ea6b | |||
| 5fefed5933 | |||
| 9f87a53f38 | |||
| 049be51f9c | |||
| 1b469c0cfa | |||
| 81844358c6 | |||
| 3fe7e12c62 | |||
| f482222c5d | |||
| 29a9a3a9ba | |||
| c6037ce0cd | |||
| 268ba27cf8 | |||
| 0b0a31821f | |||
| 79d5cd60c9 | |||
| 309ec572c4 | |||
| 7b35a69106 | |||
| a52b383ff4 | |||
| f5938ebbdc | |||
| 0ad7a9b99c | |||
| 0156fba5c5 | |||
| 5d443dda10 | |||
| 4708567bcc | |||
| e52f886e3f | |||
| 926e951dfc | |||
| 48efb09003 | |||
| 66feaae474 | |||
| 683c570eea | |||
| e1be537667 | |||
| 7a444a6663 | |||
| 2efff1c310 | |||
| 25fbf66a70 | |||
| b26c0368d9 | |||
| 31e8b84989 | |||
| d7438f02bf | |||
| 20a0ed4133 | |||
| 4212934fd2 | |||
| 711c1f7592 | |||
| 69cb68cd27 | |||
| b97a612867 | |||
| e8629384f7 | |||
| ebbeea54e9 | |||
| 5ca6f1ac42 | |||
| 6d3c1b8bb7 | |||
| 7165355ff4 | |||
| 40c0a74279 | |||
| 2063e2cd1d | |||
| 891a0028af | |||
| 51c4850310 | |||
| 6ed69f4892 | |||
| 5d40cbf8f6 | |||
| a5327f3a3e | |||
| 1ef21112a9 | |||
| da5bf2c7eb | |||
| 1ef4875927 | |||
| ca29e47ab1 | |||
| 74db03090b | |||
| 942a8f07c0 | |||
| a0c2b19271 | |||
| 63dd5462ef | |||
| 03ac0a57c8 | |||
| 19c998d343 | |||
| cd02641a6d | |||
| 3173150d19 | |||
| b4bd66c363 | |||
| 3b169fe5a0 | |||
| 41db22a88d | |||
| b745adaaa4 | |||
| bd785b2cb1 | |||
| 1573ec059c | |||
| bb90be7cf3 | |||
| a75c4bdf42 | |||
| efdeca1190 | |||
| f16ddf0941 | |||
| 0d17d12293 | |||
| 7f9457e8d7 | |||
| 0ee8d1dc91 | |||
| f46d9c8e4e | |||
| 228a7ad8e4 | |||
| 3fe0ba41d7 | |||
| 900e34ded2 | |||
| fef6527bdb | |||
| e4bce0ab2c | |||
| ed9d9b3620 | |||
| 96b261b349 | |||
| d4fda8f741 | |||
| 4159faceb4 | |||
| 627cdaf58d | |||
| c095ec9334 | |||
| 7083fb2c5c | |||
| 641e158529 | |||
| 8736fcba21 | |||
| 771bedd25d | |||
| 1f251eecb3 | |||
| 6dd898eb6e | |||
| 1600c1eb13 | |||
| 469d3a4113 | |||
| 2e578b3941 | |||
| 7364945ec0 | |||
| a2cd2531d0 | |||
| 914cecca10 | |||
| 5cbeea8119 | |||
| 6d6512a05e | |||
| 889059c8d9 | |||
| 52f17733f2 | |||
| 0bf94aecb4 | |||
| 8129495e4b | |||
| 64c2979a59 | |||
| d73a97373d | |||
| 0a4ee2f949 | |||
| 5ded6b1bcf | |||
| 2c5edc3c96 | |||
| 64ce48de32 | |||
| 347e5349e0 | |||
| 62964fa1cb | |||
| 7c03c9953f | |||
| 3ac9e78fa8 | |||
| 8b8a3d0aa7 | |||
| df6f0edf5d | |||
| db896ad467 | |||
| 88c9a02136 | |||
| d2d3628c2b | |||
| 6014ef92e9 | |||
| d01c1c8469 | |||
| 1e3e35334c | |||
| 2d1226016a | |||
| 6f2e81357b | |||
| f492bfc374 | |||
| b2c7eef31a | |||
| c14d801224 | |||
| 6f35b7fe36 | |||
| c8276dfe42 | |||
| 2b6196c57f | |||
| 876df81526 | |||
| ddbfa80f82 | |||
| da564bc43c | |||
| e4e3a4dc17 | |||
| c1f3d2fae8 | |||
| 203e8de34b | |||
| 5f701104dd | |||
| 3d1befc9b8 | |||
| d179b4b792 | |||
| 5efcd6bd8a | |||
| 3ac3f04e3d | |||
| b7a079b9d3 | |||
| 3581736bd5 | |||
| baeac78c5f | |||
| dab2981c3c | |||
| 1d1e012991 | |||
| 5b87d12449 | |||
| 00db2ab1c3 | |||
| c8fae4fe71 | |||
| 6967498530 | |||
| f0da407398 | |||
| 83439e5384 | |||
| 1df75fcece | |||
| 19fe3d68a0 | |||
| 974ea5f353 | |||
| 804c9622a6 | |||
| 5ce2e0b6dc | |||
| 445ea1f240 | |||
| 94d2f6aabb | |||
| c426a637fe | |||
| 9e78d4cad3 | |||
| 08fecd2dc0 | |||
| 6dfbb08ce6 | |||
| 610c1004aa | |||
| 26ee35cb7d | |||
| 50eecc891f | |||
| 0a69f46e14 | |||
| e66d7fc367 | |||
| e311ac6dbb | |||
| 9901070fb1 | |||
| 379a2d22f3 | |||
| fc7c949cf3 | |||
| f1f0f3ea9a | |||
| f1c2e3049f | |||
| d036df059e | |||
| 748392ab7f | |||
| 683f86806f | |||
| 7de690c425 | |||
| 9a6e3e5ebd | |||
| 65d3c96387 | |||
| 865ac27cd9 | |||
| f08fb723d6 | |||
| c1c4a2bedc | |||
| 876b74aefc | |||
| be9e88aa2d | |||
| 15ff1dc6eb | |||
| 63e31d33bb | |||
| ee2a0e888c | |||
| 4d830e76b0 | |||
| 6e2416dc56 | |||
| 3e23994991 | |||
| 65d487d72e | |||
| badb2c28cc | |||
| e58a2abd2b | |||
| bec5dc841a | |||
| 33451a1118 | |||
| b98f535634 | |||
| b57969b017 | |||
| 252240f11b | |||
| 20391bee3e | |||
| 3a22e517b5 | |||
| 4a71972d60 | |||
| 90d7b99936 | |||
| fb6fc00347 | |||
| d8fa506599 | |||
| 301944f52d | |||
| e1a5ed86e7 | |||
| 86215d0094 | |||
| 5d3201260a | |||
| f75ed7e279 | |||
| 94d433d698 | |||
| 7838d2e480 | |||
| f04738c963 | |||
| 1521168cf3 | |||
| 36f03f0a76 | |||
| a141a664c6 | |||
| fc221f8964 | |||
| 0a1b7a9817 | |||
| 47b9d35153 | |||
| 169e6b53be | |||
| 9935a6cd11 | |||
| 86a43a703c | |||
| 419481b8a1 | |||
| 018da93de3 | |||
| 3052d548f5 | |||
| 02f1e94c86 | |||
| 0d4d4dc9ed | |||
| d69cfd8b31 | |||
| 599646c397 | |||
| 5d90911e26 | |||
| 4e0d5a2267 | |||
| 58a30fe56b | |||
| be6661454b | |||
| 889a19b9bd | |||
| 5e2544a192 | |||
| ec242152e7 | |||
| e0ae3beef9 | |||
| 4c6dd88a2d | |||
| fadaf5891e | |||
| d75bd20ffc | |||
| 2e59cd4653 | |||
| 70c28d9a78 | |||
| e4157e5ce9 | |||
| 1a90cf149f | |||
| e6611e1658 | |||
| 9361046216 | |||
| 6fe977b2db | |||
| 11da4d0d81 | |||
| 9790a7ee6f | |||
| 20474a9d3e | |||
| 258e827db3 | |||
| 3c81bf93e3 | |||
| 575a63b22c | |||
| ec5bc2f6f2 |
@@ -3,8 +3,9 @@
|
|||||||
#### Guidelines
|
#### Guidelines
|
||||||
|
|
||||||
When reporting a possible bug, provide detail steps so that we will be able
|
When reporting a possible bug, provide detail steps so that we will be able
|
||||||
to reproduce the issue. Steps to reproduce should be clear and unambiguous. Try not to use phrases like "very big bug",
|
to reproduce the issue. Steps to reproduce should be clear and unambiguous.
|
||||||
"huge issue", "useless feature", etc. No need to use exclamation marks as well.
|
|
||||||
|
Try not to use phrases like "very big bug", "huge issue", "useless feature", etc. No need to use exclamation marks as well.
|
||||||
|
|
||||||
#### No support
|
#### No support
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.3']
|
php-versions: ['8.4']
|
||||||
branches: ['master']
|
branches: ['master']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.2', '8.4']
|
php-versions: ['8.3', '8.5']
|
||||||
branches: ['master']
|
branches: ['master']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.2', '8.3', '8.4']
|
php-versions: ['8.3', '8.4', '8.5']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|||||||
Generated
+3
@@ -7,6 +7,7 @@
|
|||||||
<option name="GROUP_USE_WRAP" value="2" />
|
<option name="GROUP_USE_WRAP" value="2" />
|
||||||
<option name="VARIABLE_NAMING_STYLE" value="CAMEL_CASE" />
|
<option name="VARIABLE_NAMING_STYLE" value="CAMEL_CASE" />
|
||||||
<option name="KEEP_RPAREN_AND_LBRACE_ON_ONE_LINE" value="true" />
|
<option name="KEEP_RPAREN_AND_LBRACE_ON_ONE_LINE" value="true" />
|
||||||
|
<option name="SPACE_BEFORE_SHORT_CLOSURE_LEFT_PARENTHESIS" value="true" />
|
||||||
<option name="FORCE_EMPTY_METHODS_IN_ONE_LINE" value="true" />
|
<option name="FORCE_EMPTY_METHODS_IN_ONE_LINE" value="true" />
|
||||||
</PHPCodeStyleSettings>
|
</PHPCodeStyleSettings>
|
||||||
<codeStyleSettings language="JSON">
|
<codeStyleSettings language="JSON">
|
||||||
@@ -19,6 +20,8 @@
|
|||||||
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
|
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
|
||||||
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
||||||
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
||||||
|
<option name="SPACE_AROUND_UNARY_OPERATOR" value="true" />
|
||||||
|
<option name="SPACE_AFTER_TYPE_CAST" value="true" />
|
||||||
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
|
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
|
||||||
<option name="METHOD_CALL_CHAIN_WRAP" value="5" />
|
<option name="METHOD_CALL_CHAIN_WRAP" value="5" />
|
||||||
</codeStyleSettings>
|
</codeStyleSettings>
|
||||||
|
|||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
###############################################################################
|
||||||
|
# EspoCRM - Development Server for Extensions
|
||||||
|
# Based on official image, overlays custom code on each deploy
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
FROM espocrm/espocrm:latest
|
||||||
|
|
||||||
|
# Fix redirect loop: tell Apache it's behind HTTPS proxy (Traefik)
|
||||||
|
RUN echo 'SetEnv HTTPS on' > /etc/apache2/conf-available/force-https.conf && \
|
||||||
|
a2enconf force-https
|
||||||
|
|
||||||
|
# Copy custom extensions and modifications
|
||||||
|
COPY custom/ /var/www/html/custom/
|
||||||
|
|
||||||
|
# Ensure correct permissions
|
||||||
|
RUN chown -R www-data:www-data /var/www/html/custom
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -19,12 +19,24 @@ You can try the CRM on an online [demo](https://www.espocrm.com/demo/).
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
* PHP 8.2 - 8.4;
|
* PHP 8.3 - 8.5;
|
||||||
* MySQL 8.0 (and later), or MariaDB 10.3 (and later);
|
* MySQL 8.0 (and later), or MariaDB 10.3 (and later);
|
||||||
* PostgreSQL 15 (and later).
|
* PostgreSQL 15 (and later).
|
||||||
|
|
||||||
For more information about server configuration, see [this article](https://docs.espocrm.com/administration/server-configuration/).
|
For more information about server configuration, see [this article](https://docs.espocrm.com/administration/server-configuration/).
|
||||||
|
|
||||||
|
### Download
|
||||||
|
|
||||||
|
[Download](https://www.espocrm.com/download/) the latest release from our website or from GitHub [releases](https://github.com/espocrm/espocrm/releases).
|
||||||
|
|
||||||
|
### Release notes
|
||||||
|
|
||||||
|
Release notes are available at GitHub [releases](https://github.com/espocrm/espocrm/releases).
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
See the [documentation](https://docs.espocrm.com) for administrators, users and developers.
|
||||||
|
|
||||||
### Why EspoCRM?
|
### Why EspoCRM?
|
||||||
|
|
||||||
* Open-source transparency. EspoCRM's source code is open and accessible, so anyone can inspect it and see how data is being managed within the CRM.
|
* Open-source transparency. EspoCRM's source code is open and accessible, so anyone can inspect it and see how data is being managed within the CRM.
|
||||||
@@ -47,18 +59,6 @@ See installation instructions:
|
|||||||
* [Installation with Docker](https://docs.espocrm.com/administration/docker/installation/)
|
* [Installation with Docker](https://docs.espocrm.com/administration/docker/installation/)
|
||||||
* [Installation with Traefik](https://docs.espocrm.com/administration/docker/traefik/)
|
* [Installation with Traefik](https://docs.espocrm.com/administration/docker/traefik/)
|
||||||
|
|
||||||
### Download
|
|
||||||
|
|
||||||
[Download](https://www.espocrm.com/download/) the latest release from our website. You can also download the latest and previous release packages from GitHub [releases](https://github.com/espocrm/espocrm/releases).
|
|
||||||
|
|
||||||
### Release notes
|
|
||||||
|
|
||||||
Release notes are available at GitHub [releases](https://github.com/espocrm/espocrm/releases).
|
|
||||||
|
|
||||||
### Documentation
|
|
||||||
|
|
||||||
See the [documentation](https://docs.espocrm.com) for administrators, users and developers.
|
|
||||||
|
|
||||||
### Bug reporting
|
### Bug reporting
|
||||||
|
|
||||||
Create a [GitHub issue](https://github.com/espocrm/espocrm/issues/new/choose) or post on our [forum](https://forum.espocrm.com/forum/bug-reports).
|
Create a [GitHub issue](https://github.com/espocrm/espocrm/issues/new/choose) or post on our [forum](https://forum.espocrm.com/forum/bug-reports).
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@@ -242,6 +242,11 @@ class Binding implements BindingProcessor
|
|||||||
'Espo\\Core\\Utils\\Config\\ApplicationConfig',
|
'Espo\\Core\\Utils\\Config\\ApplicationConfig',
|
||||||
'applicationConfig'
|
'applicationConfig'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$binder->bindService(
|
||||||
|
'Espo\\Core\\Session\\Session',
|
||||||
|
'session'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function bindCore(Binder $binder): void
|
private function bindCore(Binder $binder): void
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\Acl\CurrencyRecordRate;
|
||||||
|
|
||||||
|
use Espo\Core\Acl\AccessEntityCREDChecker;
|
||||||
|
use Espo\Core\Acl\DefaultAccessChecker;
|
||||||
|
use Espo\Core\Acl\ScopeData;
|
||||||
|
use Espo\Core\Acl\Table;
|
||||||
|
use Espo\Core\Acl\Traits\DefaultAccessCheckerDependency;
|
||||||
|
use Espo\Entities\CurrencyRecordRate;
|
||||||
|
use Espo\Entities\User;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements AccessEntityCREDChecker<CurrencyRecordRate>
|
||||||
|
*/
|
||||||
|
class AccessChecker implements AccessEntityCREDChecker
|
||||||
|
{
|
||||||
|
use DefaultAccessCheckerDependency;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private DefaultAccessChecker $defaultAccessChecker,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function checkCreate(User $user, ScopeData $data): bool
|
||||||
|
{
|
||||||
|
if ($data->getEdit() === Table::LEVEL_YES) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkDelete(User $user, ScopeData $data): bool
|
||||||
|
{
|
||||||
|
if ($data->getEdit() === Table::LEVEL_YES) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkEntityCreate(User $user, Entity $entity, ScopeData $data): bool
|
||||||
|
{
|
||||||
|
return $this->checkCreate($user, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkEntityDelete(User $user, Entity $entity, ScopeData $data): bool
|
||||||
|
{
|
||||||
|
return $this->checkDelete($user, $data);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\AppParams;
|
||||||
|
|
||||||
|
use Espo\Core\Currency\ConfigDataProvider;
|
||||||
|
use Espo\Core\Utils\NumberUtil;
|
||||||
|
use Espo\Tools\App\AppParam;
|
||||||
|
use stdClass;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @noinspection PhpUnused
|
||||||
|
*/
|
||||||
|
class CurrencyRates implements AppParam
|
||||||
|
{
|
||||||
|
private const int PRECISION = 6;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private ConfigDataProvider $configDataProvider,
|
||||||
|
private NumberUtil $numberUtil,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function get(): stdClass
|
||||||
|
{
|
||||||
|
$rates = $this->configDataProvider->getCurrencyRates()->toAssoc();
|
||||||
|
|
||||||
|
foreach ($rates as $code => $value) {
|
||||||
|
$rates[$code] = $this->numberUtil->format($value, self::PRECISION, '.', '');
|
||||||
|
}
|
||||||
|
|
||||||
|
return (object) $rates;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@@ -280,7 +280,7 @@ class Email implements AssignmentNotificator
|
|||||||
->setType(Notification::TYPE_EMAIL_RECEIVED)
|
->setType(Notification::TYPE_EMAIL_RECEIVED)
|
||||||
->setUserId($userId)
|
->setUserId($userId)
|
||||||
->setData($data)
|
->setData($data)
|
||||||
->setRelated(LinkParent::createFromEntity($entity))
|
->setRelated(LinkParent::fromEntity($entity))
|
||||||
->setActionId($params->getActionId());
|
->setActionId($params->getActionId());
|
||||||
|
|
||||||
$this->entityManager->saveEntity($notification);
|
$this->entityManager->saveEntity($notification);
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@@ -35,7 +35,7 @@ use Espo\Core\Console\Exceptions\ArgumentNotSpecified;
|
|||||||
use Espo\Core\Console\Exceptions\InvalidArgument;
|
use Espo\Core\Console\Exceptions\InvalidArgument;
|
||||||
use Espo\Core\Console\IO;
|
use Espo\Core\Console\IO;
|
||||||
use Espo\Core\Exceptions\Error;
|
use Espo\Core\Exceptions\Error;
|
||||||
use Espo\Core\FieldProcessing\NextNumber\BeforeSaveProcessor;
|
use Espo\Core\FieldProcessing\NextNumber\Processor;
|
||||||
use Espo\Core\Name\Field;
|
use Espo\Core\Name\Field;
|
||||||
use Espo\Core\ORM\Entity as CoreEntity;
|
use Espo\Core\ORM\Entity as CoreEntity;
|
||||||
use Espo\Core\ORM\Repository\Option\SaveOption;
|
use Espo\Core\ORM\Repository\Option\SaveOption;
|
||||||
@@ -44,11 +44,11 @@ use Espo\ORM\Query\Part\Order;
|
|||||||
|
|
||||||
class PopulateNumbers implements Command
|
class PopulateNumbers implements Command
|
||||||
{
|
{
|
||||||
private BeforeSaveProcessor $beforeSaveProcessor;
|
private Processor $beforeSaveProcessor;
|
||||||
private EntityManager $entityManager;
|
private EntityManager $entityManager;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
BeforeSaveProcessor $beforeSaveProcessor,
|
Processor $beforeSaveProcessor,
|
||||||
EntityManager $entityManager
|
EntityManager $entityManager
|
||||||
) {
|
) {
|
||||||
$this->beforeSaveProcessor = $beforeSaveProcessor;
|
$this->beforeSaveProcessor = $beforeSaveProcessor;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -0,0 +1,63 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\FieldProcessing\CurrencyRecord;
|
||||||
|
|
||||||
|
use Espo\Core\Currency\ConfigDataProvider;
|
||||||
|
use Espo\Core\FieldProcessing\Loader;
|
||||||
|
use Espo\Core\FieldProcessing\Loader\Params;
|
||||||
|
use Espo\Entities\CurrencyRecord;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
use ValueError;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements Loader<CurrencyRecord>
|
||||||
|
*/
|
||||||
|
class IsBase implements Loader
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private ConfigDataProvider $configDataProvider,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
|
||||||
|
public function process(Entity $entity, Params $params): void
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$code = $entity->getCode();
|
||||||
|
} catch (ValueError) {
|
||||||
|
$entity->setIsBase(false);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$isBase = $code === $this->configDataProvider->getBaseCurrency();
|
||||||
|
|
||||||
|
$entity->setIsBase($isBase);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\FieldProcessing\CurrencyRecord;
|
||||||
|
|
||||||
|
use Espo\Core\FieldProcessing\Loader;
|
||||||
|
use Espo\Core\FieldProcessing\Loader\Params;
|
||||||
|
use Espo\Core\Utils\Language;
|
||||||
|
use Espo\Entities\CurrencyRecord;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
use ValueError;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements Loader<CurrencyRecord>
|
||||||
|
*/
|
||||||
|
class Label implements Loader
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private Language $defaultLanguage
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function process(Entity $entity, Params $params): void
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$code = $entity->getCode();
|
||||||
|
} catch (ValueError) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$name = $this->defaultLanguage->translateLabel($code, 'names', 'Currency');
|
||||||
|
|
||||||
|
$entity->setLabel($name);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\FieldProcessing\CurrencyRecord;
|
||||||
|
|
||||||
|
use Espo\Core\Currency\ConfigDataProvider;
|
||||||
|
use Espo\Core\FieldProcessing\Loader;
|
||||||
|
use Espo\Core\FieldProcessing\Loader\Params;
|
||||||
|
use Espo\Entities\CurrencyRecord;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
use Espo\Tools\Currency\RateEntryProvider;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements Loader<CurrencyRecord>
|
||||||
|
*/
|
||||||
|
class Rate implements Loader
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private RateEntryProvider $rateEntryProvider,
|
||||||
|
private ConfigDataProvider $configDataProvider,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function process(Entity $entity, Params $params): void
|
||||||
|
{
|
||||||
|
$rate = $entity->getCode() !== $this->configDataProvider->getBaseCurrency() ?
|
||||||
|
$this->rateEntryProvider->getCurrentRateEntry($entity)?->getRate() :
|
||||||
|
'1';
|
||||||
|
|
||||||
|
$entity->setRate($rate);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\FieldProcessing\CurrencyRecord;
|
||||||
|
|
||||||
|
use Espo\Core\Currency\ConfigDataProvider;
|
||||||
|
use Espo\Core\FieldProcessing\Loader;
|
||||||
|
use Espo\Core\FieldProcessing\Loader\Params;
|
||||||
|
use Espo\Entities\CurrencyRecord;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
use Espo\Tools\Currency\RateEntryProvider;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements Loader<CurrencyRecord>
|
||||||
|
*/
|
||||||
|
class RateDate implements Loader
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private RateEntryProvider $rateEntryProvider,
|
||||||
|
private ConfigDataProvider $configDataProvider,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function process(Entity $entity, Params $params): void
|
||||||
|
{
|
||||||
|
$date = $entity->getCode() !== $this->configDataProvider->getBaseCurrency() ?
|
||||||
|
$this->rateEntryProvider->getCurrentRateEntry($entity)?->getDate() :
|
||||||
|
null;
|
||||||
|
|
||||||
|
$entity->setRateDate($date);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
<?php
|
||||||
|
/************************************************************************
|
||||||
|
* This file is part of EspoCRM.
|
||||||
|
*
|
||||||
|
* EspoCRM – Open Source CRM application.
|
||||||
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
|
* Website: https://www.espocrm.com
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* The interactive user interfaces in modified source and object code versions
|
||||||
|
* of this program must display Appropriate Legal Notices, as required under
|
||||||
|
* Section 5 of the GNU Affero General Public License version 3.
|
||||||
|
*
|
||||||
|
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||||
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||||
|
************************************************************************/
|
||||||
|
|
||||||
|
namespace Espo\Classes\FieldProcessing\CurrencyRecord;
|
||||||
|
|
||||||
|
use Espo\Core\FieldProcessing\Loader;
|
||||||
|
use Espo\Core\FieldProcessing\Loader\Params;
|
||||||
|
use Espo\Core\Utils\Metadata;
|
||||||
|
use Espo\Entities\CurrencyRecord;
|
||||||
|
use Espo\ORM\Entity;
|
||||||
|
use ValueError;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @implements Loader<CurrencyRecord>
|
||||||
|
*/
|
||||||
|
class Symbol implements Loader
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private Metadata $metadata,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function process(Entity $entity, Params $params): void
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$code = $entity->getCode();
|
||||||
|
} catch (ValueError) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$symbol = $this->metadata->get("app.currency.symbolMap.$code");
|
||||||
|
|
||||||
|
$entity->setSymbol($symbol);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* This file is part of EspoCRM.
|
* This file is part of EspoCRM.
|
||||||
*
|
*
|
||||||
* EspoCRM – Open Source CRM application.
|
* EspoCRM – Open Source CRM application.
|
||||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||||
* Website: https://www.espocrm.com
|
* Website: https://www.espocrm.com
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user