diff --git a/.travis.yml b/.travis.yml index 75819820b4960..7129c93d9f128 100644 --- a/.travis.yml +++ b/.travis.yml @@ -499,6 +499,7 @@ script: echo Show some debug info like table content or log #echo '\d llx_adherent' | psql 'postgresql://postgres:postgres@127.0.0.1:5432/travis' cat $TRAVIS_BUILD_DIR/upgrade18001900.log + cat $TRAVIS_BUILD_DIR/upgrade19002000.log echo - | diff --git a/ChangeLog b/ChangeLog index b4056f0740a03..5a318f78619b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,11 +10,263 @@ For users: NEW: Compatibility with PHP 8.2 (with no need to disable warnings) NEW: Font param Look and Feel THEME_FONT_FAMILY (#29302) NEW: Param to show main menu logo in color (#29305) -... +NEW: #27048 add form to globally set "VARIANT_ALLOW_STOCK_MOVEMENT_ON_VARIANT_PARENT" variable (#27049) +NEW: #29274 Add possibility to have different mail for autocopy for holiday (#29275) +NEW: WebPortal module +NEW: Module Bookcal is now experimental (TimeZone not yet supported) +NEW: #24031 add option MAIN_GRANDTOTAL_LIST_SHOW to always show grand total to lists (#27247) +NEW: #28070 Adding mobile phone to thirdparty +NEW: Accept the __NOW__ and __USER_ID__key into filters +NEW: Accountancy - Add possibility for specific format FEC to sort with the FEC name (#29722) +NEW: Accountancy - Expense report - Add an option to use end period for transfer (#26706) +NEW: Accountancy - Show accounting result on balance +NEW: Accountancy - Show import key if exist (#29265) +NEW: Add option to change all service dates at once +NEW: Add a default limit in nb to agenda export +NEW: Add a Feedback-ID into email headers +NEW: Add a link "Fill with layout" +NEW: Add a link to add a website category in edit page properties +NEW: Add ALT+s to save a website page in edit mode +NEW: Add a protection in inventory when a product has stock of lot and is +NEW: Add a warning if invoice payment is Credit Transfer on newpayment.php (#29685) +NEW: Add Categorie filter for ActionComm (#28041) +NEW: Add code+label of payment mode and term in purchase invoice export +NEW: Add column data payment on VAT list +NEW: add column for barcode in ticket +NEW: add column to store a label for a supplier price (#27238) +NEW: add constant TAKEPOS_ALTERNATIVE_PAYMENT_SCREEN +NEW: add constant TICKETS_NO_COMPANY_ON_FORM +NEW: add constant VATUPDATE_NO_TRANSACTION +NEW: add const PROJECT_HIDE_OPEN_PROJECTS_LIST_ON_PROJECT_AREA to have the ability to hide the potentially very long list of open projects in any case +NEW: add data type 'project' to blockedlog +NEW: Add default User roles for Thirdparties (#29242) +NEW: Added a configuration in workflows (#26959) +NEW: added address, zip & town to resource object +NEW: add field Reply to in emailing +NEW: Add Filter on product referring object status(Order and Order Supplier) (#28275) +NEW: add geometrics extrafield (#28239) +NEW: Add global PRODUCT_STOCK_LIST_SHOW_WITH_COMPILED_PHYSICAL_STOCK for this is based on compiled physical stock, not the sum of product stocks on existing links. (#28171) +NEW: Add id of last page accessed in website +NEW: Add import ID in list of products +NEW: Adding a recipient on emails sent, change status to sent partially. +NEW: Add invoice subtype (some countries need this like greece) +NEW: Add link to export ICS file of an event. +NEW: Add maintenance tool to switch utf8 -> utf8mb4 +NEW: Add option MAIN_USE_FULL_TEXT_INDEXATION +NEW: Add option PDF_ADD_POSITION +NEW: Add option position['find'] to DolEditor (#29546) +NEW: Add option THIRDPARTY_MIN_NB_PROF_ID and THIRDPARTY_MAX_NB_PROF_ID +NEW: Add option TICKET_INCLUDE_SUSPENDED_STATUS (Suspended status no more +NEW: Add option to open files in new tab (#29604) +NEW: Add picto favicon +NEW: add position column in category table (#27425) +NEW: add position field into category add view +NEW: add relation type on element_element (#29329) +NEW: Add shipments and reception stats on product stat tab (#29395) +NEW: Add SMTP AUTH method PLAIN +NEW: add some bank info on odt +NEW: Adds payment terms and percent discount to the creation of an invoice from time entries in projects (#29694) +NEW: add state province filter field +NEW: Add support of [IF] tag other than in the core content (ex: headers who is in stylesXml) (#29357) +NEW: add table to store product relation with thirdparty +NEW: Allow smileys into emailing html content +NEW: Allow to set a default project for POS sales (#27042) +NEW: animation for display spinner when waiting response +NEW: Asset Module - make asset model creation in a single step (#26982) +NEW: auto-determine piece number in FEC import (#29672) +NEW: auto fill infos in template email +NEW: Automatically fill matching extra fields of object on line creation. (#27240) +NEW: Can add documents on a payment (#29660) +NEW: Can create new membership type from the create member form +NEW: Can export security events. +NEW: Can force language of a page in website module with xx/pagename +NEW: Can force position of signature on PDF using a setup constant (#29676) +NEW: Can generate the email selector file +NEW: Can setup phone mobile for the main company (#28410) +NEW: Can show legal form of company into the list +NEW: Can show the legal form in address of recipient in PDF +NEW: Can show the list of projects having at least one contact that is a contact of the third party +NEW: Complete the thirdparty index page with last modified contacts +NEW: constant MAIN_DISCARD_NEWD_PROJECTS_IN_SELECT +NEW: Constant to select if typent helps define whether the thirdparty is a company +NEW: contact type on auto add contributor (#26077) +NEW: contenteditable is supported on table,header,footer and menu tags +NEW: cronjob: deny to launch a method from a deactivated module +NEW: determine multi-currency price on object line create tpl (#28021) +NEW: dev: Add tool to update license with developer info +NEW: Dev documentation about setting up pre-commit locally +NEW: Develop new quick edit opportunity status (#27892) +NEW: display product and qty in stock_movement table in project overview (#29296) +NEW: dol_copy added to forbidden functions +NEW: Dolibarr can now re-open ticket upon customer reply on the same ticket via email#28303 (#28451) +NEW: Edit ticket (#29497) +NEW: Expense Report: Add conf to block line creation if line date is out of range (#29427) +NEW: Expense Report: new line add conf to Block if line date out of range +NEW: export invoice source id (backport v17) +NEW: export order client code +NEW: Export RSS of event can be filter on action type and code (useful for smartphone notification with feeder) +NEW: feature to merge 2 tasks (#29214) +NEW: fetch object by element for website account card +NEW: filter on sale representative in contact list +NEW: Filter shipments by selecting multiple shipping methods (#28376) +NEW: Font param Look and Feel (#29302) +NEW: fuctionnality for stock configuration prompt in AI module (#28030) +NEW: functionality to delete contact of company list +NEW: functionality to display codebar on pdf files (#29623) +NEW: functionality to list event for user +NEW: functionality for salaries massaction (bank-transfer) +NEW: function for removing company contacts +NEW: get html template example for each model +NEW: hide external and non employee users in combobox +NEW: hide external user in combobox +NEW: Implement EPC QR Code on Invoices (#29445) +NEW: in project overview, stock movement section, we only stock movement ref, but not the product and not the quantity +NEW: input in emailForm to put AI instructions +NEW: input reason label in customer proposal and order export (#29540) +NEW: intervention list date filter +NEW: Invoice Creditor Reference and banking barcode (FI) (#29328) +NEW: Invoice PDF If bank account is empty, not print "Bank" and "Account" +NEW: Label on Price fix:#28544 +NEW: layout and prompt AI on create emailing +NEW: Look and feel v20 - add picto to full list on summaries tables. +NEW: Look and field: The operator 'or' on category filter visible only +NEW: make "sell" or "eat by" mandatory in product lot +NEW: Management of the In-Reply-To and References for ticket answers. +NEW: module user rights enhancement (#29150) +NEW: Module Website: Can link/unlink translation between web pages +NEW: Move dir of cache for widgets +NEW: multiselect with checkbox in categories/tags search for thirdparty list (#28335) +NEW: new consts to redirect from massaction createbills (#29436) +NEW: new global string to preselect yes for one bill per thirparty in orderlist massaction (#29359) +NEW: notification action triggers for cancelling orders and invoices +NEW: now button when editing an event +NEW: online signature of shipments (#29559) +NEW: On OAuth Google login, no prompt at all if already logged in Google +NEW: Option to transfer only reconciliated lines from bank (#29408) +NEW: Param to show main menu logo in color look and feel (#29305) +NEW: Payment page received from donations +NEW: possibility to define a completely inactive module (#29289) +NEW: preview example page in website when create page +NEW: propal canceled status +NEW: receptions in dolibarr search box (#29700) +NEW: redirect link in the config module in the event of an error client +NEW: remove auto selected user for taxes-charges by default +NEW: resource address, phone, email & maxusers (#28185) +NEW: Script for fast identification of missing/unused/duplicate translations +NEW: search member by date +NEW: See the documents of my subordinates (#28318) +NEW: separation of expense report from salary accounting code +NEW: Show error on ical parse +NEW: Show the profit per attendee on events +NEW: signed status CRUD to contract and fichinter +NEW: Simplify the verification of context in hook (#27105) +NEW: Sort variants list by product ref on combinations page (#27969) +NEW: Statistic page donation (#28463) +NEW: Supplier Invoice - List - Selector with choice on ECC country +NEW: supplier order submit method message (#27855) +NEW: Supplier Proposal API extended with DELETE, POST and PUT possibilities +NEW: Support $moreinheader with SwiftMailer +NEW: Support a date selector with type 'html' +NEW: Support Reply-To tracking in emails sending (tickets only for the +NEW: Take image from content for RSS +NEW: TakePOS - add buttons to allow keyboard usage for discounts (#24819) +NEW: TakePOS - add constant to show line subprices +NEW: TAKEPOS - Clear search results +NEW: TAkePOS - don't allow payment if no thirdparty selected +NEW: TakePOS - Option TAKEPOS_NO_GENERIC_THIRDPARTY to disallow payment if no specific thirdparty selected (generic not allowed) +NEW: Test send triggercode to url (#29675) +NEW: Trigger for Knowledge (#29645) +NEW: Add branches into apstats security report (cti.dolibarr.org) +NEW: updated resource list for new fields (#28705) +NEW: Update expense report card.php to allow pdf preview even without thumbnail (#29491) +NEW: update price with auto to use const for rounding prices (#29350) +NEW: Use a nicer combo list to select the export accounting format +NEW: users can set their own length for short lists +NEW: Various payment - Use list of account when edit (#27992) +NEW: warning message when cloning a product whose status is not to sell (#28374) +PERF: Performance enhancement on Invoice/Paiement area page +PERF: Use cache for loaded users/contact on project list +SEC: add some dolibarr functions to dol_eval forbidden functions (#29459) +SEC: #28168 Correct protocol limitations (PHP7.4/Win) (#28172) +SEC: Add a protection against installation of external module bypassing +SEC: A user with export permission can export module data without +SEC: Reduce nb of var without WAF used when using the website module + For developers or integrators: ------------------------------ -... +NEW: $noescapetags param of dol_escape_html works if attributes +NEW: Add createInvoiceFromContract to API invoice (#27277) +NEW: add debugging info to api/status if non-production +NEW: Add functions to manipulate emojisNEW: add hook addMoreCategoryList to list category from external module +NEW: add hook AFTER_VAT_UPDATE +NEW: Add hook on printsheet barcode page +NEW: adding online_payment_url to invoices API (#28107) +NEW: Add method getPublicImageOfObject() for website module +NEW: Add sql stddev_pop db function. +NEW: Show the process ID and user ID into log files +NEW: Add trigger on modify of user bank account +NEW: Add Windows ci workflow +NEW: All apis has a hook context of "api" initialized +NEW: All fetchAll() method now support the USF syntax. +NEW: allow [] in dol_eval (#27290) +NEW: API Add some api endpoints (#25126) +NEW: API can create, get and update extrafields #29249 (#29270) +NEW: Api can force invoice ref (#28547) +NEW: API can Post extrafields #29249 v2 +NEW: API delete extrafields from name and elementtype +NEW: API GET projects by REF and by email_msgid +NEW: Api parameters are sanitized by the WAF, same code than GET/POST +NEW: API setup delete extrafields from name and elementtype v2 (#29269) +NEW: API setup update extrafields from name, elementtype and json +NEW: API setup update extrafields from name, elementtype and json (#29273) +NEW: api_thirdparties add and delete representatives (#27943) +NEW: Extend of module options Setup +NEW: Factoring and Fix external module elementType (#28666) +NEW: class ai for generate content with api +NEW: consider document lines in element properties +NEW: DolDeprecationHandler for deprecations +NEW: Execute the doAction hook on other ticket pages (#29701) +NEW: FormSetupItem: show picto in front of confs applied across all entities (#28024) +NEW: Global constant for deprecated module mapping (#28348) +NEW: Hook after total Table on PDF (#28092) +NEW: Hooks tab in debugbar (#24992) +NEW: Init of a module with a website template copy also the preview +NEW: llxHeader body css for asset, for command see #26856, for donation +NEW: ModuleBuilder : add type genericpassword entry types +NEW: Makes it possible to update html text fields besides integer and alpha fields for a custom build module. +NEW: method to help declare dictionaries more easily +NEW: Upgrade jsChantImproved to 2.8.10 +NEW: Upgrade Sabre lib to 4.6.0 +QUAL: Add sqlfluff (SQL code and style check) (#29097) +QUAL: Check lang files does not contains 'notranslate' +QUAL: Clean code around dol_eval use +QUAL: clean deprecated code +QUAL: Deprecated "domiciliation". Replaced with "address" +QUAL: DiscountAbsolute: inherit CommonObject to implement errorsToString +QUAL: Enhance API description - BOM, Documents (#27492), Setup +QUAL: extend api/status +QUAL: feature parity between vendor and customer template invoice (#26588) +QUAL: FichinterTest: add errorsToString() +QUAL: Force subclass MINVERSION (#26314) +QUAL: Make the same condition only once. +QUAL: phpstan github action +QUAL: professional identifiers - remove TODO by adding profid.lib.php +QUAL: Properties ->date_update and ->date_modification were merged +QUAL: removed duplicate language file +QUAL: Remove the external js library jstimezonedetect +QUAL: Remove use of customurl filter. Must use the USF syntax. +QUAL: Rename all input fields "tel" into "phone" +QUAL: Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989) +QUAL: replace $conf->global with getDolGlobalString() +QUAL: Send API response data before completing post-processing tasks +QUAL: Sending API response data to clients before completing post-processing tasks. +QUAL: Start to rewrite the export of accountancy. Misconception generates +QUAL: the config_extended of phpstan will be kept on apstats only for the +QUAL: The signature for all ->delete() method has been modified to match +QUAL: Use phan to help detect new issues (#27706) +QUAL: use real time when creating action from list +QUAL: replace hard-coded dictionary IDs with constants (#29501) WARNING: -------- @@ -9775,7 +10027,7 @@ For developers: - New: Can add a link on title field of added dictionary. - New: Uniformize code. - New: Add option WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER and - WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER. + ORDER_DISABLE_CLASSIFY_BILLED_FROM_ORDER. - New: A module can add several css and js. - New: removed deprecated methods ldap::connect, formadmin::select_lang, diff --git a/dev/setup/bruno/README.md b/dev/setup/bruno/README.md index 91af1946be91c..47f4dacdbb6d0 100644 --- a/dev/setup/bruno/README.md +++ b/dev/setup/bruno/README.md @@ -1,2 +1,6 @@ = To install Bruno on Ubuntu = sudo snap install bruno + +Then create a project. + +Then you can import the definition of all API from Bruno by using the URL provided in Dolibarr API module. diff --git a/dev/setup/bruno/accountancy/Accountancy export data --.bru b/dev/setup/bruno/accountancy/Accountancy export data --.bru deleted file mode 100644 index 2547f451e6114..0000000000000 --- a/dev/setup/bruno/accountancy/Accountancy export data --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Accountancy export data -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/accountancy/exportdata - body: none - auth: none -} - -query { - ~date_min: - ~date_max: - ~format: - ~lettering: - ~alreadyexport: - ~notnotifiedasexport: -} diff --git a/dev/setup/bruno/agendaevents/Create Agenda Event object --.bru b/dev/setup/bruno/agendaevents/Create Agenda Event object --.bru deleted file mode 100644 index 40622f93d2208..0000000000000 --- a/dev/setup/bruno/agendaevents/Create Agenda Event object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create Agenda Event object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/agendaevents - body: none - auth: none -} diff --git a/dev/setup/bruno/agendaevents/Delete Agenda Event --.bru b/dev/setup/bruno/agendaevents/Delete Agenda Event --.bru deleted file mode 100644 index be14529203f4c..0000000000000 --- a/dev/setup/bruno/agendaevents/Delete Agenda Event --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete Agenda Event -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/agendaevents/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/agendaevents/Get properties of a Agenda Events object --.bru b/dev/setup/bruno/agendaevents/Get properties of a Agenda Events object --.bru deleted file mode 100644 index 76a71e6ea6227..0000000000000 --- a/dev/setup/bruno/agendaevents/Get properties of a Agenda Events object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a Agenda Events object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/agendaevents/1 - body: none - auth: none -} diff --git a/dev/setup/bruno/agendaevents/List Agenda Events --.bru b/dev/setup/bruno/agendaevents/List Agenda Events --.bru deleted file mode 100644 index e31e9a9f49c24..0000000000000 --- a/dev/setup/bruno/agendaevents/List Agenda Events --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List Agenda Events -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/agendaevents - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~user_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/agendaevents/Update Agenda Event general fields --.bru b/dev/setup/bruno/agendaevents/Update Agenda Event general fields --.bru deleted file mode 100644 index 3a8da305a035d..0000000000000 --- a/dev/setup/bruno/agendaevents/Update Agenda Event general fields --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update Agenda Event general fields -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/agendaevents/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Add a line to an account --.bru b/dev/setup/bruno/bankaccounts/Add a line to an account --.bru deleted file mode 100644 index f59f69f7999cc..0000000000000 --- a/dev/setup/bruno/bankaccounts/Add a line to an account --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to an account -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/bankaccounts/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Add a link to an account line --.bru b/dev/setup/bruno/bankaccounts/Add a link to an account line --.bru deleted file mode 100644 index 758cd1643ca77..0000000000000 --- a/dev/setup/bruno/bankaccounts/Add a link to an account line --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a link to an account line -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/bankaccounts/{id}/lines/{line_id}/links - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Create account object --.bru b/dev/setup/bruno/bankaccounts/Create account object --.bru deleted file mode 100644 index 5a327181c13d5..0000000000000 --- a/dev/setup/bruno/bankaccounts/Create account object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create account object -- - type: http - seq: 2 -} - -post { - url: {{base_url}}/bankaccounts - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Create an internal wire transfer between two bank accounts --.bru b/dev/setup/bruno/bankaccounts/Create an internal wire transfer between two bank accounts --.bru deleted file mode 100644 index 6a5fc34ec0e31..0000000000000 --- a/dev/setup/bruno/bankaccounts/Create an internal wire transfer between two bank accounts --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create an internal wire transfer between two bank accounts -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/bankaccounts/transfer - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Delete account --.bru b/dev/setup/bruno/bankaccounts/Delete account --.bru deleted file mode 100644 index 27d47ff687cbc..0000000000000 --- a/dev/setup/bruno/bankaccounts/Delete account --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete account -- - type: http - seq: 5 -} - -delete { - url: {{base_url}}/bankaccounts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Delete an account line --.bru b/dev/setup/bruno/bankaccounts/Delete an account line --.bru deleted file mode 100644 index 603ba0390ffce..0000000000000 --- a/dev/setup/bruno/bankaccounts/Delete an account line --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete an account line -- - type: http - seq: 12 -} - -delete { - url: {{base_url}}/bankaccounts/{id}/lines/{line_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Get account by ID- --.bru b/dev/setup/bruno/bankaccounts/Get account by ID- --.bru deleted file mode 100644 index 3182c29ac3497..0000000000000 --- a/dev/setup/bruno/bankaccounts/Get account by ID- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get account by ID- -- - type: http - seq: 3 -} - -get { - url: {{base_url}}/bankaccounts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Get the list of accounts- --.bru b/dev/setup/bruno/bankaccounts/Get the list of accounts- --.bru deleted file mode 100644 index 7a679f6c8a67f..0000000000000 --- a/dev/setup/bruno/bankaccounts/Get the list of accounts- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of accounts- -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/bankaccounts - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/bankaccounts/Get the list of lines of the account- --.bru b/dev/setup/bruno/bankaccounts/Get the list of lines of the account- --.bru deleted file mode 100644 index b68af7c925edc..0000000000000 --- a/dev/setup/bruno/bankaccounts/Get the list of lines of the account- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get the list of lines of the account- -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/bankaccounts/{id}/lines - body: none - auth: none -} - -query { - ~sqlfilters: -} diff --git a/dev/setup/bruno/bankaccounts/Get the list of links for a line of the account- --.bru b/dev/setup/bruno/bankaccounts/Get the list of links for a line of the account- --.bru deleted file mode 100644 index 8b3dcbcd6eb2e..0000000000000 --- a/dev/setup/bruno/bankaccounts/Get the list of links for a line of the account- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get the list of links for a line of the account- -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/bankaccounts/{id}/lines/{line_id}/links - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Update account --.bru b/dev/setup/bruno/bankaccounts/Update account --.bru deleted file mode 100644 index c52318583174f..0000000000000 --- a/dev/setup/bruno/bankaccounts/Update account --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update account -- - type: http - seq: 4 -} - -put { - url: {{base_url}}/bankaccounts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/bankaccounts/Update an account line --.bru b/dev/setup/bruno/bankaccounts/Update an account line --.bru deleted file mode 100644 index f9e40aca0320e..0000000000000 --- a/dev/setup/bruno/bankaccounts/Update an account line --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update an account line -- - type: http - seq: 11 -} - -put { - url: {{base_url}}/bankaccounts/{id}/lines/{line_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Add a line to given BOM --.bru b/dev/setup/bruno/boms/Add a line to given BOM --.bru deleted file mode 100644 index b9594dd0a1cc2..0000000000000 --- a/dev/setup/bruno/boms/Add a line to given BOM --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to given BOM -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/boms/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Create bom object --.bru b/dev/setup/bruno/boms/Create bom object --.bru deleted file mode 100644 index f9002bd7fd9ec..0000000000000 --- a/dev/setup/bruno/boms/Create bom object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create bom object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/boms - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Delete a line to given BOM --.bru b/dev/setup/bruno/boms/Delete a line to given BOM --.bru deleted file mode 100644 index 129c44681e917..0000000000000 --- a/dev/setup/bruno/boms/Delete a line to given BOM --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line to given BOM -- - type: http - seq: 9 -} - -delete { - url: {{base_url}}/boms/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Delete bom --.bru b/dev/setup/bruno/boms/Delete bom --.bru deleted file mode 100644 index 0a1c393a7a78c..0000000000000 --- a/dev/setup/bruno/boms/Delete bom --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete bom -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/boms/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Get lines of an BOM --.bru b/dev/setup/bruno/boms/Get lines of an BOM --.bru deleted file mode 100644 index 4c99bb731a91c..0000000000000 --- a/dev/setup/bruno/boms/Get lines of an BOM --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get lines of an BOM -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/boms/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Get properties of a bom object --.bru b/dev/setup/bruno/boms/Get properties of a bom object --.bru deleted file mode 100644 index c6f6d3b1ec8dc..0000000000000 --- a/dev/setup/bruno/boms/Get properties of a bom object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a bom object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/boms/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/List boms --.bru b/dev/setup/bruno/boms/List boms --.bru deleted file mode 100644 index 8d4a7717feee6..0000000000000 --- a/dev/setup/bruno/boms/List boms --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List boms -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/boms - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/boms/Update a line to given BOM --.bru b/dev/setup/bruno/boms/Update a line to given BOM --.bru deleted file mode 100644 index 1f5657b640674..0000000000000 --- a/dev/setup/bruno/boms/Update a line to given BOM --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line to given BOM -- - type: http - seq: 8 -} - -put { - url: {{base_url}}/boms/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/boms/Update bom --.bru b/dev/setup/bruno/boms/Update bom --.bru deleted file mode 100644 index 39c8776c1616b..0000000000000 --- a/dev/setup/bruno/boms/Update bom --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update bom -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/boms/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Create category object --.bru b/dev/setup/bruno/categories/Create category object --.bru deleted file mode 100644 index aa007394c8a8b..0000000000000 --- a/dev/setup/bruno/categories/Create category object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create category object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/categories - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Delete category --.bru b/dev/setup/bruno/categories/Delete category --.bru deleted file mode 100644 index ecb4c2fc34c3c..0000000000000 --- a/dev/setup/bruno/categories/Delete category --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete category -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/categories/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Get properties of a category object --.bru b/dev/setup/bruno/categories/Get properties of a category object --.bru deleted file mode 100644 index 7e6c350af9659..0000000000000 --- a/dev/setup/bruno/categories/Get properties of a category object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of a category object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/categories/{id} - body: none - auth: none -} - -query { - ~include_childs: -} diff --git a/dev/setup/bruno/categories/Get the list of objects in a category- --.bru b/dev/setup/bruno/categories/Get the list of objects in a category- --.bru deleted file mode 100644 index 5bd92bd56f850..0000000000000 --- a/dev/setup/bruno/categories/Get the list of objects in a category- --.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: Get the list of objects in a category- -- - type: http - seq: 11 -} - -get { - url: {{base_url}}/categories/{id}/objects - body: none - auth: none -} - -query { - type: - ~onlyids: -} diff --git a/dev/setup/bruno/categories/Link an object to a category by id --.bru b/dev/setup/bruno/categories/Link an object to a category by id --.bru deleted file mode 100644 index bdfaef05fc3c1..0000000000000 --- a/dev/setup/bruno/categories/Link an object to a category by id --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Link an object to a category by id -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/categories/{id}/objects/{type}/{object_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Link an object to a category by ref --.bru b/dev/setup/bruno/categories/Link an object to a category by ref --.bru deleted file mode 100644 index d3653af15a03a..0000000000000 --- a/dev/setup/bruno/categories/Link an object to a category by ref --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Link an object to a category by ref -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/categories/{id}/objects/{type}/ref/{object_ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/List categories --.bru b/dev/setup/bruno/categories/List categories --.bru deleted file mode 100644 index 8c1371bb87993..0000000000000 --- a/dev/setup/bruno/categories/List categories --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List categories -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~type: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/categories/List categories of an object --.bru b/dev/setup/bruno/categories/List categories of an object --.bru deleted file mode 100644 index 4529395a5462f..0000000000000 --- a/dev/setup/bruno/categories/List categories of an object --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: List categories of an object -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/categories/object/{type}/{id} - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/categories/Unlink an object from a category by id --.bru b/dev/setup/bruno/categories/Unlink an object from a category by id --.bru deleted file mode 100644 index 8c131886f6b65..0000000000000 --- a/dev/setup/bruno/categories/Unlink an object from a category by id --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Unlink an object from a category by id -- - type: http - seq: 8 -} - -delete { - url: {{base_url}}/categories/{id}/objects/{type}/{object_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Unlink an object from a category by ref --.bru b/dev/setup/bruno/categories/Unlink an object from a category by ref --.bru deleted file mode 100644 index 74d0a9cacd6f1..0000000000000 --- a/dev/setup/bruno/categories/Unlink an object from a category by ref --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Unlink an object from a category by ref -- - type: http - seq: 10 -} - -delete { - url: {{base_url}}/categories/{id}/objects/{type}/ref/{object_ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/categories/Update category --.bru b/dev/setup/bruno/categories/Update category --.bru deleted file mode 100644 index d0cf38e7d647e..0000000000000 --- a/dev/setup/bruno/categories/Update category --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update category -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/categories/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Add a category to a contact --.bru b/dev/setup/bruno/contacts/Add a category to a contact --.bru deleted file mode 100644 index 92fa0c263678f..0000000000000 --- a/dev/setup/bruno/contacts/Add a category to a contact --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a category to a contact -- - type: http - seq: 9 -} - -put { - url: {{base_url}}/contacts/{id}/categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Create an user account object from contact -external user- --.bru b/dev/setup/bruno/contacts/Create an user account object from contact -external user- --.bru deleted file mode 100644 index 1eb3eff9647c0..0000000000000 --- a/dev/setup/bruno/contacts/Create an user account object from contact -external user- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create an user account object from contact -external user- -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/contacts/{id}/createUser - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Create contact object --.bru b/dev/setup/bruno/contacts/Create contact object --.bru deleted file mode 100644 index e6c50a474d40b..0000000000000 --- a/dev/setup/bruno/contacts/Create contact object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create contact object -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/contacts - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Delete contact --.bru b/dev/setup/bruno/contacts/Delete contact --.bru deleted file mode 100644 index ed36f34920dd0..0000000000000 --- a/dev/setup/bruno/contacts/Delete contact --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete contact -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/contacts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Get categories for a contact --.bru b/dev/setup/bruno/contacts/Get categories for a contact --.bru deleted file mode 100644 index 13aee5d805b1b..0000000000000 --- a/dev/setup/bruno/contacts/Get categories for a contact --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get categories for a contact -- - type: http - seq: 8 -} - -get { - url: {{base_url}}/contacts/{id}/categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/contacts/Get properties of a contact object --.bru b/dev/setup/bruno/contacts/Get properties of a contact object --.bru deleted file mode 100644 index f6f4144051ae2..0000000000000 --- a/dev/setup/bruno/contacts/Get properties of a contact object --.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: Get properties of a contact object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/contacts/{id} - body: none - auth: none -} - -query { - ~includecount: - ~includeroles: -} diff --git a/dev/setup/bruno/contacts/Get properties of a contact object by Email --.bru b/dev/setup/bruno/contacts/Get properties of a contact object by Email --.bru deleted file mode 100644 index e3bcbf576f39f..0000000000000 --- a/dev/setup/bruno/contacts/Get properties of a contact object by Email --.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: Get properties of a contact object by Email -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/contacts/email/{email} - body: none - auth: none -} - -query { - ~includecount: - ~includeroles: -} diff --git a/dev/setup/bruno/contacts/List contacts --.bru b/dev/setup/bruno/contacts/List contacts --.bru deleted file mode 100644 index bd557f433d307..0000000000000 --- a/dev/setup/bruno/contacts/List contacts --.bru +++ /dev/null @@ -1,24 +0,0 @@ -meta { - name: List contacts -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/contacts - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~category: - ~sqlfilters: - ~includecount: - ~includeroles: - ~properties: -} diff --git a/dev/setup/bruno/contacts/Remove the link between a category and a contact --.bru b/dev/setup/bruno/contacts/Remove the link between a category and a contact --.bru deleted file mode 100644 index 58bc7d989f150..0000000000000 --- a/dev/setup/bruno/contacts/Remove the link between a category and a contact --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Remove the link between a category and a contact -- - type: http - seq: 10 -} - -delete { - url: {{base_url}}/contacts/{id}/categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contacts/Update contact --.bru b/dev/setup/bruno/contacts/Update contact --.bru deleted file mode 100644 index 7737244d4dbde..0000000000000 --- a/dev/setup/bruno/contacts/Update contact --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update contact -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/contacts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Activate a service line of a given contract --.bru b/dev/setup/bruno/contracts/Activate a service line of a given contract --.bru deleted file mode 100644 index 9243981cadd51..0000000000000 --- a/dev/setup/bruno/contracts/Activate a service line of a given contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Activate a service line of a given contract -- - type: http - seq: 10 -} - -put { - url: {{base_url}}/contracts/{id}/lines/{lineid}/activate - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Add a line to given contract --.bru b/dev/setup/bruno/contracts/Add a line to given contract --.bru deleted file mode 100644 index ac5ad14277a74..0000000000000 --- a/dev/setup/bruno/contracts/Add a line to given contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to given contract -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/contracts/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Close all services of a contract --.bru b/dev/setup/bruno/contracts/Close all services of a contract --.bru deleted file mode 100644 index 4d8e09717c4e9..0000000000000 --- a/dev/setup/bruno/contracts/Close all services of a contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close all services of a contract -- - type: http - seq: 13 -} - -post { - url: {{base_url}}/contracts/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Create contract object --.bru b/dev/setup/bruno/contracts/Create contract object --.bru deleted file mode 100644 index 2d0fe242014d9..0000000000000 --- a/dev/setup/bruno/contracts/Create contract object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create contract object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/contracts - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Delete a line to given contract --.bru b/dev/setup/bruno/contracts/Delete a line to given contract --.bru deleted file mode 100644 index 27fe41c47e779..0000000000000 --- a/dev/setup/bruno/contracts/Delete a line to given contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line to given contract -- - type: http - seq: 9 -} - -delete { - url: {{base_url}}/contracts/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Delete contract --.bru b/dev/setup/bruno/contracts/Delete contract --.bru deleted file mode 100644 index ec034a03a2cf4..0000000000000 --- a/dev/setup/bruno/contracts/Delete contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete contract -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/contracts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Get lines of a contract --.bru b/dev/setup/bruno/contracts/Get lines of a contract --.bru deleted file mode 100644 index d02634332dee4..0000000000000 --- a/dev/setup/bruno/contracts/Get lines of a contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get lines of a contract -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/contracts/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Get properties of a contract object --.bru b/dev/setup/bruno/contracts/Get properties of a contract object --.bru deleted file mode 100644 index 3fcd1ff7cc187..0000000000000 --- a/dev/setup/bruno/contracts/Get properties of a contract object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a contract object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/contracts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/List contracts --.bru b/dev/setup/bruno/contracts/List contracts --.bru deleted file mode 100644 index 82c2df456fa4c..0000000000000 --- a/dev/setup/bruno/contracts/List contracts --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List contracts -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/contracts - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/contracts/Unactivate a service line of a given contract --.bru b/dev/setup/bruno/contracts/Unactivate a service line of a given contract --.bru deleted file mode 100644 index 4f4dc5869b517..0000000000000 --- a/dev/setup/bruno/contracts/Unactivate a service line of a given contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Unactivate a service line of a given contract -- - type: http - seq: 11 -} - -put { - url: {{base_url}}/contracts/{id}/lines/{lineid}/unactivate - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Update a line to given contract --.bru b/dev/setup/bruno/contracts/Update a line to given contract --.bru deleted file mode 100644 index 785930afa6175..0000000000000 --- a/dev/setup/bruno/contracts/Update a line to given contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line to given contract -- - type: http - seq: 8 -} - -put { - url: {{base_url}}/contracts/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Update contract general fields -won-t touch lines of contract- --.bru b/dev/setup/bruno/contracts/Update contract general fields -won-t touch lines of contract- --.bru deleted file mode 100644 index aa53d3ee9c289..0000000000000 --- a/dev/setup/bruno/contracts/Update contract general fields -won-t touch lines of contract- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update contract general fields -won-t touch lines of contract- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/contracts/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/contracts/Validate a contract --.bru b/dev/setup/bruno/contracts/Validate a contract --.bru deleted file mode 100644 index b5f3791b928d2..0000000000000 --- a/dev/setup/bruno/contracts/Validate a contract --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate a contract -- - type: http - seq: 12 -} - -post { - url: {{base_url}}/contracts/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/donations/Create donation object --.bru b/dev/setup/bruno/donations/Create donation object --.bru deleted file mode 100644 index c0ed49485e4f1..0000000000000 --- a/dev/setup/bruno/donations/Create donation object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create donation object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/donations - body: none - auth: none -} diff --git a/dev/setup/bruno/donations/Delete donation --.bru b/dev/setup/bruno/donations/Delete donation --.bru deleted file mode 100644 index e96704913d273..0000000000000 --- a/dev/setup/bruno/donations/Delete donation --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete donation -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/donations/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/donations/Get properties of an donation object --.bru b/dev/setup/bruno/donations/Get properties of an donation object --.bru deleted file mode 100644 index 13276118ade45..0000000000000 --- a/dev/setup/bruno/donations/Get properties of an donation object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of an donation object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/donations/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/donations/List donations --.bru b/dev/setup/bruno/donations/List donations --.bru deleted file mode 100644 index 2e5f46c871399..0000000000000 --- a/dev/setup/bruno/donations/List donations --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List donations -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/donations - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/donations/Update order general fields -won-t touch lines of order- --.bru b/dev/setup/bruno/donations/Update order general fields -won-t touch lines of order- --.bru deleted file mode 100644 index 6483e980ac975..0000000000000 --- a/dev/setup/bruno/donations/Update order general fields -won-t touch lines of order- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update order general fields -won-t touch lines of order- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/donations/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/donations/Validate an donation --.bru b/dev/setup/bruno/donations/Validate an donation --.bru deleted file mode 100644 index 94c01d5ded2ab..0000000000000 --- a/dev/setup/bruno/donations/Validate an donation --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an donation -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/donations/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Create Expense Report object --.bru b/dev/setup/bruno/expensereports/Create Expense Report object --.bru deleted file mode 100644 index b057ded15e28e..0000000000000 --- a/dev/setup/bruno/expensereports/Create Expense Report object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create Expense Report object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/expensereports - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Create payment of ExpenseReport --.bru b/dev/setup/bruno/expensereports/Create payment of ExpenseReport --.bru deleted file mode 100644 index df6068e84b30e..0000000000000 --- a/dev/setup/bruno/expensereports/Create payment of ExpenseReport --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create payment of ExpenseReport -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/expensereports/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Delete Expense Report --.bru b/dev/setup/bruno/expensereports/Delete Expense Report --.bru deleted file mode 100644 index c0bfe3dd9e592..0000000000000 --- a/dev/setup/bruno/expensereports/Delete Expense Report --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete Expense Report -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/expensereports/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Get a given payment- --.bru b/dev/setup/bruno/expensereports/Get a given payment- --.bru deleted file mode 100644 index 05645c9f6e7a1..0000000000000 --- a/dev/setup/bruno/expensereports/Get a given payment- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get a given payment- -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/expensereports/payments/{pid} - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Get properties of an Expense Report --.bru b/dev/setup/bruno/expensereports/Get properties of an Expense Report --.bru deleted file mode 100644 index b7b31ca1af568..0000000000000 --- a/dev/setup/bruno/expensereports/Get properties of an Expense Report --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of an Expense Report -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/expensereports/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Get the list of payments of expensereport- --.bru b/dev/setup/bruno/expensereports/Get the list of payments of expensereport- --.bru deleted file mode 100644 index 5c522595a4c3a..0000000000000 --- a/dev/setup/bruno/expensereports/Get the list of payments of expensereport- --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get the list of payments of expensereport- -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/expensereports/payments - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/expensereports/List Expense Reports --.bru b/dev/setup/bruno/expensereports/List Expense Reports --.bru deleted file mode 100644 index f7c131285dd2b..0000000000000 --- a/dev/setup/bruno/expensereports/List Expense Reports --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List Expense Reports -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/expensereports - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~user_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/expensereports/Update Expense Report general fields -won-t touch lines of expensereport- --.bru b/dev/setup/bruno/expensereports/Update Expense Report general fields -won-t touch lines of expensereport- --.bru deleted file mode 100644 index 08388a53596fd..0000000000000 --- a/dev/setup/bruno/expensereports/Update Expense Report general fields -won-t touch lines of expensereport- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update Expense Report general fields -won-t touch lines of expensereport- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/expensereports/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/expensereports/Update a payment of ExpenseReport --.bru b/dev/setup/bruno/expensereports/Update a payment of ExpenseReport --.bru deleted file mode 100644 index cbf15644a34ff..0000000000000 --- a/dev/setup/bruno/expensereports/Update a payment of ExpenseReport --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a payment of ExpenseReport -- - type: http - seq: 9 -} - -put { - url: {{base_url}}/expensereports/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/Add a line to a given intervention --.bru b/dev/setup/bruno/interventions/Add a line to a given intervention --.bru deleted file mode 100644 index 12a34f95f083a..0000000000000 --- a/dev/setup/bruno/interventions/Add a line to a given intervention --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to a given intervention -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/interventions/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/Close an intervention --.bru b/dev/setup/bruno/interventions/Close an intervention --.bru deleted file mode 100644 index e58b1a21f3806..0000000000000 --- a/dev/setup/bruno/interventions/Close an intervention --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close an intervention -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/interventions/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/Create intervention object --.bru b/dev/setup/bruno/interventions/Create intervention object --.bru deleted file mode 100644 index 7096f4bb46cce..0000000000000 --- a/dev/setup/bruno/interventions/Create intervention object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create intervention object -- - type: http - seq: 4 -} - -post { - url: {{base_url}}/interventions - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/Delete order --.bru b/dev/setup/bruno/interventions/Delete order --.bru deleted file mode 100644 index 369cef0ba3af8..0000000000000 --- a/dev/setup/bruno/interventions/Delete order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete order -- - type: http - seq: 2 -} - -delete { - url: {{base_url}}/interventions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/Get properties of a Expense Report object Return an array with Expense Report information --.bru b/dev/setup/bruno/interventions/Get properties of a Expense Report object Return an array with Expense Report information --.bru deleted file mode 100644 index ad22f8ef5affa..0000000000000 --- a/dev/setup/bruno/interventions/Get properties of a Expense Report object Return an array with Expense Report information --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a Expense Report object Return an array with Expense Report information -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/interventions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/interventions/List of interventions Return a list of interventions --.bru b/dev/setup/bruno/interventions/List of interventions Return a list of interventions --.bru deleted file mode 100644 index ac9ffea936916..0000000000000 --- a/dev/setup/bruno/interventions/List of interventions Return a list of interventions --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List of interventions Return a list of interventions -- - type: http - seq: 3 -} - -get { - url: {{base_url}}/interventions - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/interventions/Validate an intervention --.bru b/dev/setup/bruno/interventions/Validate an intervention --.bru deleted file mode 100644 index d565c49efe315..0000000000000 --- a/dev/setup/bruno/interventions/Validate an intervention --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an intervention -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/interventions/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add a contact type of given invoice --.bru b/dev/setup/bruno/invoices/Add a contact type of given invoice --.bru deleted file mode 100644 index 2a66ebd3e780e..0000000000000 --- a/dev/setup/bruno/invoices/Add a contact type of given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a contact type of given invoice -- - type: http - seq: 14 -} - -post { - url: {{base_url}}/invoices/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add a discount line into an invoice -as an invoice line- using an existing absolute discount --.bru b/dev/setup/bruno/invoices/Add a discount line into an invoice -as an invoice line- using an existing absolute discount --.bru deleted file mode 100644 index fa94e4158b4fa..0000000000000 --- a/dev/setup/bruno/invoices/Add a discount line into an invoice -as an invoice line- using an existing absolute discount --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a discount line into an invoice -as an invoice line- using an existing absolute discount -- - type: http - seq: 23 -} - -post { - url: {{base_url}}/invoices/{id}/usediscount/{discountid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add a line to a given invoice --.bru b/dev/setup/bruno/invoices/Add a line to a given invoice --.bru deleted file mode 100644 index d6565c8ee177e..0000000000000 --- a/dev/setup/bruno/invoices/Add a line to a given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to a given invoice -- - type: http - seq: 11 -} - -post { - url: {{base_url}}/invoices/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add a payment to pay partially or completely one or several invoices- --.bru b/dev/setup/bruno/invoices/Add a payment to pay partially or completely one or several invoices- --.bru deleted file mode 100644 index d411bcad6bd62..0000000000000 --- a/dev/setup/bruno/invoices/Add a payment to pay partially or completely one or several invoices- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a payment to pay partially or completely one or several invoices- -- - type: http - seq: 27 -} - -post { - url: {{base_url}}/invoices/paymentsdistributed - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add an available credit note discount to payments of an existing invoice- --.bru b/dev/setup/bruno/invoices/Add an available credit note discount to payments of an existing invoice- --.bru deleted file mode 100644 index f6354f7aa136c..0000000000000 --- a/dev/setup/bruno/invoices/Add an available credit note discount to payments of an existing invoice- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add an available credit note discount to payments of an existing invoice- -- - type: http - seq: 24 -} - -post { - url: {{base_url}}/invoices/{id}/usecreditnote/{discountid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Add payment line to a specific invoice with the remain to pay as amount- --.bru b/dev/setup/bruno/invoices/Add payment line to a specific invoice with the remain to pay as amount- --.bru deleted file mode 100644 index c0fedd2da8c07..0000000000000 --- a/dev/setup/bruno/invoices/Add payment line to a specific invoice with the remain to pay as amount- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add payment line to a specific invoice with the remain to pay as amount- -- - type: http - seq: 26 -} - -post { - url: {{base_url}}/invoices/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Adds a contact to an invoice --.bru b/dev/setup/bruno/invoices/Adds a contact to an invoice --.bru deleted file mode 100644 index 8512c8e4b88fd..0000000000000 --- a/dev/setup/bruno/invoices/Adds a contact to an invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Adds a contact to an invoice -- - type: http - seq: 16 -} - -post { - url: {{base_url}}/invoices/{id}/contacts - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Create a discount -credit available- for a credit note or a deposit- --.bru b/dev/setup/bruno/invoices/Create a discount -credit available- for a credit note or a deposit- --.bru deleted file mode 100644 index a9e957dc4b07a..0000000000000 --- a/dev/setup/bruno/invoices/Create a discount -credit available- for a credit note or a deposit- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create a discount -credit available- for a credit note or a deposit- -- - type: http - seq: 22 -} - -post { - url: {{base_url}}/invoices/{id}/markAsCreditAvailable - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Create an invoice using a contract- --.bru b/dev/setup/bruno/invoices/Create an invoice using a contract- --.bru deleted file mode 100644 index c610fcee45fcc..0000000000000 --- a/dev/setup/bruno/invoices/Create an invoice using a contract- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create an invoice using a contract- -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/invoices/createfromcontract/{contractid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Create an invoice using an existing order- --.bru b/dev/setup/bruno/invoices/Create an invoice using an existing order- --.bru deleted file mode 100644 index cb15132ae7c16..0000000000000 --- a/dev/setup/bruno/invoices/Create an invoice using an existing order- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create an invoice using an existing order- -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/invoices/createfromorder/{orderid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Create invoice object --.bru b/dev/setup/bruno/invoices/Create invoice object --.bru deleted file mode 100644 index aa38072d3d2e1..0000000000000 --- a/dev/setup/bruno/invoices/Create invoice object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create invoice object -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/invoices - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Delete a contact type of given invoice --.bru b/dev/setup/bruno/invoices/Delete a contact type of given invoice --.bru deleted file mode 100644 index 1188318882756..0000000000000 --- a/dev/setup/bruno/invoices/Delete a contact type of given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a contact type of given invoice -- - type: http - seq: 15 -} - -delete { - url: {{base_url}}/invoices/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Delete invoice --.bru b/dev/setup/bruno/invoices/Delete invoice --.bru deleted file mode 100644 index 9ad14223a9c9c..0000000000000 --- a/dev/setup/bruno/invoices/Delete invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete invoice -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/invoices/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Deletes a line of a given invoice --.bru b/dev/setup/bruno/invoices/Deletes a line of a given invoice --.bru deleted file mode 100644 index a04cec6aa82ea..0000000000000 --- a/dev/setup/bruno/invoices/Deletes a line of a given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Deletes a line of a given invoice -- - type: http - seq: 13 -} - -delete { - url: {{base_url}}/invoices/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Get discount from invoice --.bru b/dev/setup/bruno/invoices/Get discount from invoice --.bru deleted file mode 100644 index 45d8ed2b7f5e5..0000000000000 --- a/dev/setup/bruno/invoices/Get discount from invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get discount from invoice -- - type: http - seq: 21 -} - -get { - url: {{base_url}}/invoices/{id}/discount - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Get lines of an invoice --.bru b/dev/setup/bruno/invoices/Get lines of an invoice --.bru deleted file mode 100644 index cb79489067f7c..0000000000000 --- a/dev/setup/bruno/invoices/Get lines of an invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get lines of an invoice -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/invoices/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Get list of payments of a given invoice --.bru b/dev/setup/bruno/invoices/Get list of payments of a given invoice --.bru deleted file mode 100644 index f9838cd2c1163..0000000000000 --- a/dev/setup/bruno/invoices/Get list of payments of a given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get list of payments of a given invoice -- - type: http - seq: 25 -} - -get { - url: {{base_url}}/invoices/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Get properties of a invoice object --.bru b/dev/setup/bruno/invoices/Get properties of a invoice object --.bru deleted file mode 100644 index 40eda4e5566f1..0000000000000 --- a/dev/setup/bruno/invoices/Get properties of a invoice object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of a invoice object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/invoices/1 - body: none - auth: none -} - -query { - ~contact_list: 1 -} diff --git a/dev/setup/bruno/invoices/Get properties of a template invoice object --.bru b/dev/setup/bruno/invoices/Get properties of a template invoice object --.bru deleted file mode 100644 index b472de6ff3383..0000000000000 --- a/dev/setup/bruno/invoices/Get properties of a template invoice object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of a template invoice object -- - type: http - seq: 29 -} - -get { - url: {{base_url}}/invoices/templates/{id} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/invoices/Get properties of an invoice object by ref --.bru b/dev/setup/bruno/invoices/Get properties of an invoice object by ref --.bru deleted file mode 100644 index cffc5cc7e978f..0000000000000 --- a/dev/setup/bruno/invoices/Get properties of an invoice object by ref --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an invoice object by ref -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/invoices/ref/{ref} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/invoices/Get properties of an invoice object by ref_ext --.bru b/dev/setup/bruno/invoices/Get properties of an invoice object by ref_ext --.bru deleted file mode 100644 index 5f408f38a7edb..0000000000000 --- a/dev/setup/bruno/invoices/Get properties of an invoice object by ref_ext --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an invoice object by ref_ext -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/invoices/ref_ext/{ref_ext} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/invoices/List invoices --.bru b/dev/setup/bruno/invoices/List invoices --.bru deleted file mode 100644 index 5d642102bb505..0000000000000 --- a/dev/setup/bruno/invoices/List invoices --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List invoices -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/invoices - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~status: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/invoices/Sets an invoice as draft --.bru b/dev/setup/bruno/invoices/Sets an invoice as draft --.bru deleted file mode 100644 index 549e558df3b58..0000000000000 --- a/dev/setup/bruno/invoices/Sets an invoice as draft --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Sets an invoice as draft -- - type: http - seq: 17 -} - -post { - url: {{base_url}}/invoices/{id}/settodraft - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Sets an invoice as paid --.bru b/dev/setup/bruno/invoices/Sets an invoice as paid --.bru deleted file mode 100644 index 6609b757efe8a..0000000000000 --- a/dev/setup/bruno/invoices/Sets an invoice as paid --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Sets an invoice as paid -- - type: http - seq: 19 -} - -post { - url: {{base_url}}/invoices/{id}/settopaid - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Sets an invoice as unpaid --.bru b/dev/setup/bruno/invoices/Sets an invoice as unpaid --.bru deleted file mode 100644 index 305639049b700..0000000000000 --- a/dev/setup/bruno/invoices/Sets an invoice as unpaid --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Sets an invoice as unpaid -- - type: http - seq: 20 -} - -post { - url: {{base_url}}/invoices/{id}/settounpaid - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Update a line to a given invoice --.bru b/dev/setup/bruno/invoices/Update a line to a given invoice --.bru deleted file mode 100644 index 38b0393be2de7..0000000000000 --- a/dev/setup/bruno/invoices/Update a line to a given invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line to a given invoice -- - type: http - seq: 12 -} - -put { - url: {{base_url}}/invoices/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Update a payment --.bru b/dev/setup/bruno/invoices/Update a payment --.bru deleted file mode 100644 index 64293cf8ecbd8..0000000000000 --- a/dev/setup/bruno/invoices/Update a payment --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a payment -- - type: http - seq: 28 -} - -put { - url: {{base_url}}/invoices/payments/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Update invoice --.bru b/dev/setup/bruno/invoices/Update invoice --.bru deleted file mode 100644 index f7f5354dc4c2d..0000000000000 --- a/dev/setup/bruno/invoices/Update invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update invoice -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/invoices/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/invoices/Validate an invoice --.bru b/dev/setup/bruno/invoices/Validate an invoice --.bru deleted file mode 100644 index 672824e5d7c88..0000000000000 --- a/dev/setup/bruno/invoices/Validate an invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an invoice -- - type: http - seq: 18 -} - -post { - url: {{base_url}}/invoices/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/login/Login --.bru b/dev/setup/bruno/login/Login --.bru deleted file mode 100644 index 2e43b2fba373f..0000000000000 --- a/dev/setup/bruno/login/Login --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Login -- - type: http - seq: 2 -} - -post { - url: {{base_url}}/login - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Add a subscription for a member --.bru b/dev/setup/bruno/members/Add a subscription for a member --.bru deleted file mode 100644 index 040fc486c8508..0000000000000 --- a/dev/setup/bruno/members/Add a subscription for a member --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a subscription for a member -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/members/{id}/subscriptions - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Create member object --.bru b/dev/setup/bruno/members/Create member object --.bru deleted file mode 100644 index d5d444611e54a..0000000000000 --- a/dev/setup/bruno/members/Create member object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create member object -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/members - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Create member type object --.bru b/dev/setup/bruno/members/Create member type object --.bru deleted file mode 100644 index 39cbe10cd3f90..0000000000000 --- a/dev/setup/bruno/members/Create member type object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create member type object -- - type: http - seq: 16 -} - -post { - url: {{base_url}}/members/types - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Delete member --.bru b/dev/setup/bruno/members/Delete member --.bru deleted file mode 100644 index 5a9b76a31570c..0000000000000 --- a/dev/setup/bruno/members/Delete member --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete member -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/members/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Delete member type --.bru b/dev/setup/bruno/members/Delete member type --.bru deleted file mode 100644 index 731f47ee592e1..0000000000000 --- a/dev/setup/bruno/members/Delete member type --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete member type -- - type: http - seq: 14 -} - -delete { - url: {{base_url}}/members/types/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Get categories for a member --.bru b/dev/setup/bruno/members/Get categories for a member --.bru deleted file mode 100644 index 81c2e8fa80112..0000000000000 --- a/dev/setup/bruno/members/Get categories for a member --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get categories for a member -- - type: http - seq: 11 -} - -get { - url: {{base_url}}/members/{id}/categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/members/Get properties of a member object --.bru b/dev/setup/bruno/members/Get properties of a member object --.bru deleted file mode 100644 index 6a121a4a261cb..0000000000000 --- a/dev/setup/bruno/members/Get properties of a member object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a member object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/members/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty --.bru b/dev/setup/bruno/members/Get properties of a member object by linked thirdparty --.bru deleted file mode 100644 index 0cd845b7f42d7..0000000000000 --- a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a member object by linked thirdparty -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/members/thirdparty/{thirdparty} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty barcode --.bru b/dev/setup/bruno/members/Get properties of a member object by linked thirdparty barcode --.bru deleted file mode 100644 index 582aae9085b94..0000000000000 --- a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty barcode --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a member object by linked thirdparty barcode -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/members/thirdparty/barcode/{barcode} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty email --.bru b/dev/setup/bruno/members/Get properties of a member object by linked thirdparty email --.bru deleted file mode 100644 index a98571e78d720..0000000000000 --- a/dev/setup/bruno/members/Get properties of a member object by linked thirdparty email --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a member object by linked thirdparty email -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/members/thirdparty/email/{email} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Get properties of a member type object --.bru b/dev/setup/bruno/members/Get properties of a member type object --.bru deleted file mode 100644 index 8e2b4869dbe9b..0000000000000 --- a/dev/setup/bruno/members/Get properties of a member type object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a member type object -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/members/types/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/List members --.bru b/dev/setup/bruno/members/List members --.bru deleted file mode 100644 index 38853a216ea27..0000000000000 --- a/dev/setup/bruno/members/List members --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List members -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/members - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~typeid: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/members/List members types --.bru b/dev/setup/bruno/members/List members types --.bru deleted file mode 100644 index a025b69424fe9..0000000000000 --- a/dev/setup/bruno/members/List members types --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List members types -- - type: http - seq: 15 -} - -get { - url: {{base_url}}/members/types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/members/List subscriptions of a member --.bru b/dev/setup/bruno/members/List subscriptions of a member --.bru deleted file mode 100644 index a4b6f92d1f76f..0000000000000 --- a/dev/setup/bruno/members/List subscriptions of a member --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: List subscriptions of a member -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/members/{id}/subscriptions - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Update member --.bru b/dev/setup/bruno/members/Update member --.bru deleted file mode 100644 index 8d7e38f32ab76..0000000000000 --- a/dev/setup/bruno/members/Update member --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update member -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/members/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/members/Update member type --.bru b/dev/setup/bruno/members/Update member type --.bru deleted file mode 100644 index a5032fd1b8567..0000000000000 --- a/dev/setup/bruno/members/Update member type --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update member type -- - type: http - seq: 13 -} - -put { - url: {{base_url}}/members/types/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/mos/Create MO object --.bru b/dev/setup/bruno/mos/Create MO object --.bru deleted file mode 100644 index e1c83eb9af960..0000000000000 --- a/dev/setup/bruno/mos/Create MO object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create MO object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/mos - body: none - auth: none -} diff --git a/dev/setup/bruno/mos/Delete MO --.bru b/dev/setup/bruno/mos/Delete MO --.bru deleted file mode 100644 index 6aee2723a7ebd..0000000000000 --- a/dev/setup/bruno/mos/Delete MO --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete MO -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/mos/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/mos/Get properties of a MO object --.bru b/dev/setup/bruno/mos/Get properties of a MO object --.bru deleted file mode 100644 index ba72284daa416..0000000000000 --- a/dev/setup/bruno/mos/Get properties of a MO object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a MO object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/mos/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/mos/List Mos --.bru b/dev/setup/bruno/mos/List Mos --.bru deleted file mode 100644 index 5cc9b9d318972..0000000000000 --- a/dev/setup/bruno/mos/List Mos --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List Mos -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/mos - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/mos/Produce and consume --.bru b/dev/setup/bruno/mos/Produce and consume --.bru deleted file mode 100644 index b85b48b18710d..0000000000000 --- a/dev/setup/bruno/mos/Produce and consume --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Produce and consume -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/mos/{id}/produceandconsume - body: none - auth: none -} diff --git a/dev/setup/bruno/mos/Update MO --.bru b/dev/setup/bruno/mos/Update MO --.bru deleted file mode 100644 index 4f2e84a544032..0000000000000 --- a/dev/setup/bruno/mos/Update MO --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update MO -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/mos/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Add a contact type of given order --.bru b/dev/setup/bruno/orders/Add a contact type of given order --.bru deleted file mode 100644 index 9c7f1e265520c..0000000000000 --- a/dev/setup/bruno/orders/Add a contact type of given order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a contact type of given order -- - type: http - seq: 13 -} - -post { - url: {{base_url}}/orders/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Add a line to given order --.bru b/dev/setup/bruno/orders/Add a line to given order --.bru deleted file mode 100644 index dbbcb7074f691..0000000000000 --- a/dev/setup/bruno/orders/Add a line to given order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to given order -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/orders/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Classify the order as invoiced- Could be also called setbilled --.bru b/dev/setup/bruno/orders/Classify the order as invoiced- Could be also called setbilled --.bru deleted file mode 100644 index 66166b9a70440..0000000000000 --- a/dev/setup/bruno/orders/Classify the order as invoiced- Could be also called setbilled --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Classify the order as invoiced- Could be also called setbilled -- - type: http - seq: 17 -} - -post { - url: {{base_url}}/orders/{id}/setinvoiced - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Close an order -Classify it as -Delivered-- --.bru b/dev/setup/bruno/orders/Close an order -Classify it as -Delivered-- --.bru deleted file mode 100644 index 8773cac27dd93..0000000000000 --- a/dev/setup/bruno/orders/Close an order -Classify it as -Delivered-- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close an order -Classify it as -Delivered-- -- - type: http - seq: 18 -} - -post { - url: {{base_url}}/orders/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Create a sale order --.bru b/dev/setup/bruno/orders/Create a sale order --.bru deleted file mode 100644 index 85bddebbedad9..0000000000000 --- a/dev/setup/bruno/orders/Create a sale order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create a sale order -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/orders - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Create an order using an existing proposal- --.bru b/dev/setup/bruno/orders/Create an order using an existing proposal- --.bru deleted file mode 100644 index a9e06ddc2553c..0000000000000 --- a/dev/setup/bruno/orders/Create an order using an existing proposal- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create an order using an existing proposal- -- - type: http - seq: 20 -} - -post { - url: {{base_url}}/orders/createfromproposal/{proposalid} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Create the shipment of an order --.bru b/dev/setup/bruno/orders/Create the shipment of an order --.bru deleted file mode 100644 index 5fb4c180a70bf..0000000000000 --- a/dev/setup/bruno/orders/Create the shipment of an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create the shipment of an order -- - type: http - seq: 22 -} - -post { - url: {{base_url}}/orders/{id}/shipment/{warehouse_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Delete a line of a given order --.bru b/dev/setup/bruno/orders/Delete a line of a given order --.bru deleted file mode 100644 index aab9f3e722993..0000000000000 --- a/dev/setup/bruno/orders/Delete a line of a given order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line of a given order -- - type: http - seq: 11 -} - -delete { - url: {{base_url}}/orders/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Delete order --.bru b/dev/setup/bruno/orders/Delete order --.bru deleted file mode 100644 index 4ffd0f7211a01..0000000000000 --- a/dev/setup/bruno/orders/Delete order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete order -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/orders/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Get contacts of given order --.bru b/dev/setup/bruno/orders/Get contacts of given order --.bru deleted file mode 100644 index 6cf60ca04bc6f..0000000000000 --- a/dev/setup/bruno/orders/Get contacts of given order --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get contacts of given order -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/orders/{id}/contacts - body: none - auth: none -} - -query { - ~type: -} diff --git a/dev/setup/bruno/orders/Get lines of an order --.bru b/dev/setup/bruno/orders/Get lines of an order --.bru deleted file mode 100644 index b38bc6caafdfb..0000000000000 --- a/dev/setup/bruno/orders/Get lines of an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get lines of an order -- - type: http - seq: 8 -} - -get { - url: {{base_url}}/orders/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Get properties of an order object by id --.bru b/dev/setup/bruno/orders/Get properties of an order object by id --.bru deleted file mode 100644 index caab839b0374a..0000000000000 --- a/dev/setup/bruno/orders/Get properties of an order object by id --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an order object by id -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/orders/{id} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/orders/Get properties of an order object by ref --.bru b/dev/setup/bruno/orders/Get properties of an order object by ref --.bru deleted file mode 100644 index 5e7aef32c3702..0000000000000 --- a/dev/setup/bruno/orders/Get properties of an order object by ref --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an order object by ref -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/orders/ref/{ref} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/orders/Get properties of an order object by ref_ext --.bru b/dev/setup/bruno/orders/Get properties of an order object by ref_ext --.bru deleted file mode 100644 index 9fa7531ec41ba..0000000000000 --- a/dev/setup/bruno/orders/Get properties of an order object by ref_ext --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an order object by ref_ext -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/orders/ref_ext/{ref_ext} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/orders/Get the shipments of an order --.bru b/dev/setup/bruno/orders/Get the shipments of an order --.bru deleted file mode 100644 index 1fa1d1bc5c0d7..0000000000000 --- a/dev/setup/bruno/orders/Get the shipments of an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get the shipments of an order -- - type: http - seq: 21 -} - -get { - url: {{base_url}}/orders/{id}/shipment - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/List orders --.bru b/dev/setup/bruno/orders/List orders --.bru deleted file mode 100644 index 2613031c5ec75..0000000000000 --- a/dev/setup/bruno/orders/List orders --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List orders -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/orders - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~sqlfilterlines: - ~properties: -} diff --git a/dev/setup/bruno/orders/Set an order to draft --.bru b/dev/setup/bruno/orders/Set an order to draft --.bru deleted file mode 100644 index fa55141725381..0000000000000 --- a/dev/setup/bruno/orders/Set an order to draft --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Set an order to draft -- - type: http - seq: 19 -} - -post { - url: {{base_url}}/orders/{id}/settodraft - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Tag the order as validated -opened- --.bru b/dev/setup/bruno/orders/Tag the order as validated -opened- --.bru deleted file mode 100644 index 231ae35a9af97..0000000000000 --- a/dev/setup/bruno/orders/Tag the order as validated -opened- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Tag the order as validated -opened- -- - type: http - seq: 16 -} - -post { - url: {{base_url}}/orders/{id}/reopen - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Unlink a contact type of given order --.bru b/dev/setup/bruno/orders/Unlink a contact type of given order --.bru deleted file mode 100644 index 96a67b8d82825..0000000000000 --- a/dev/setup/bruno/orders/Unlink a contact type of given order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Unlink a contact type of given order -- - type: http - seq: 14 -} - -delete { - url: {{base_url}}/orders/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Update a line to given order --.bru b/dev/setup/bruno/orders/Update a line to given order --.bru deleted file mode 100644 index f05e5260a2076..0000000000000 --- a/dev/setup/bruno/orders/Update a line to given order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line to given order -- - type: http - seq: 10 -} - -put { - url: {{base_url}}/orders/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Update order general fields -won-t touch lines of order- --.bru b/dev/setup/bruno/orders/Update order general fields -won-t touch lines of order- --.bru deleted file mode 100644 index 199e317abdbc2..0000000000000 --- a/dev/setup/bruno/orders/Update order general fields -won-t touch lines of order- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update order general fields -won-t touch lines of order- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/orders/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/orders/Validate an order --.bru b/dev/setup/bruno/orders/Validate an order --.bru deleted file mode 100644 index 108c02588c6d5..0000000000000 --- a/dev/setup/bruno/orders/Validate an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an order -- - type: http - seq: 15 -} - -post { - url: {{base_url}}/orders/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add attribute value- --.bru b/dev/setup/bruno/products/Add attribute value- --.bru deleted file mode 100644 index 562fadc109f95..0000000000000 --- a/dev/setup/bruno/products/Add attribute value- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add attribute value- -- - type: http - seq: 33 -} - -post { - url: {{base_url}}/products/attributes/{id}/values - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add attributes- --.bru b/dev/setup/bruno/products/Add attributes- --.bru deleted file mode 100644 index a1893b550db96..0000000000000 --- a/dev/setup/bruno/products/Add attributes- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add attributes- -- - type: http - seq: 21 -} - -post { - url: {{base_url}}/products/attributes - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add subproduct- --.bru b/dev/setup/bruno/products/Add subproduct- --.bru deleted file mode 100644 index db6b99bb25755..0000000000000 --- a/dev/setup/bruno/products/Add subproduct- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add subproduct- -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/products/{id}/subproducts/add - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add variant by product ref- --.bru b/dev/setup/bruno/products/Add variant by product ref- --.bru deleted file mode 100644 index 232d9cc401f78..0000000000000 --- a/dev/setup/bruno/products/Add variant by product ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add variant by product ref- -- - type: http - seq: 38 -} - -post { - url: {{base_url}}/products/ref/{ref}/variants - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add variant- --.bru b/dev/setup/bruno/products/Add variant- --.bru deleted file mode 100644 index c282bc91bdfeb..0000000000000 --- a/dev/setup/bruno/products/Add variant- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add variant- -- - type: http - seq: 36 -} - -post { - url: {{base_url}}/products/{id}/variants - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Add-Update purchase prices for a product- --.bru b/dev/setup/bruno/products/Add-Update purchase prices for a product- --.bru deleted file mode 100644 index 66a54f5c9e9be..0000000000000 --- a/dev/setup/bruno/products/Add-Update purchase prices for a product- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add-Update purchase prices for a product- -- - type: http - seq: 16 -} - -post { - url: {{base_url}}/products/{id}/purchase_prices - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Create product object --.bru b/dev/setup/bruno/products/Create product object --.bru deleted file mode 100644 index fbd5a2c375420..0000000000000 --- a/dev/setup/bruno/products/Create product object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create product object -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/products - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete attribute value by id- --.bru b/dev/setup/bruno/products/Delete attribute value by id- --.bru deleted file mode 100644 index 5174d802869ac..0000000000000 --- a/dev/setup/bruno/products/Delete attribute value by id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete attribute value by id- -- - type: http - seq: 29 -} - -delete { - url: {{base_url}}/products/attributes/values/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete attribute value by ref- --.bru b/dev/setup/bruno/products/Delete attribute value by ref- --.bru deleted file mode 100644 index a62bf9e428fe8..0000000000000 --- a/dev/setup/bruno/products/Delete attribute value by ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete attribute value by ref- -- - type: http - seq: 31 -} - -delete { - url: {{base_url}}/products/attributes/{id}/values/ref/{ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete attributes by id- --.bru b/dev/setup/bruno/products/Delete attributes by id- --.bru deleted file mode 100644 index f4fb6331ec2b4..0000000000000 --- a/dev/setup/bruno/products/Delete attributes by id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete attributes by id- -- - type: http - seq: 24 -} - -delete { - url: {{base_url}}/products/attributes/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete product --.bru b/dev/setup/bruno/products/Delete product --.bru deleted file mode 100644 index 25a5c6d289308..0000000000000 --- a/dev/setup/bruno/products/Delete product --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete product -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/products/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete product variants- --.bru b/dev/setup/bruno/products/Delete product variants- --.bru deleted file mode 100644 index b4ee4fa5bf3d1..0000000000000 --- a/dev/setup/bruno/products/Delete product variants- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete product variants- -- - type: http - seq: 40 -} - -delete { - url: {{base_url}}/products/variants/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Delete purchase price for a product --.bru b/dev/setup/bruno/products/Delete purchase price for a product --.bru deleted file mode 100644 index edff099c4562f..0000000000000 --- a/dev/setup/bruno/products/Delete purchase price for a product --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete purchase price for a product -- - type: http - seq: 18 -} - -delete { - url: {{base_url}}/products/{id}/purchase_prices/{priceid} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get a list of all purchase prices of products --.bru b/dev/setup/bruno/products/Get a list of all purchase prices of products --.bru deleted file mode 100644 index 5b7799ea6ebc8..0000000000000 --- a/dev/setup/bruno/products/Get a list of all purchase prices of products --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: Get a list of all purchase prices of products -- - type: http - seq: 19 -} - -get { - url: {{base_url}}/products/purchase_prices - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~mode: - ~category: - ~supplier: - ~sqlfilters: -} diff --git a/dev/setup/bruno/products/Get all values for an attribute id- --.bru b/dev/setup/bruno/products/Get all values for an attribute id- --.bru deleted file mode 100644 index 385aa4ee2b782..0000000000000 --- a/dev/setup/bruno/products/Get all values for an attribute id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get all values for an attribute id- -- - type: http - seq: 32 -} - -get { - url: {{base_url}}/products/attributes/{id}/values - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get all values for an attribute ref- --.bru b/dev/setup/bruno/products/Get all values for an attribute ref- --.bru deleted file mode 100644 index ea6c7c0274242..0000000000000 --- a/dev/setup/bruno/products/Get all values for an attribute ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get all values for an attribute ref- -- - type: http - seq: 34 -} - -get { - url: {{base_url}}/products/attributes/ref/{ref}/values - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attribute by ID- --.bru b/dev/setup/bruno/products/Get attribute by ID- --.bru deleted file mode 100644 index e5e1d3551cfa9..0000000000000 --- a/dev/setup/bruno/products/Get attribute by ID- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get attribute by ID- -- - type: http - seq: 22 -} - -get { - url: {{base_url}}/products/attributes/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attribute value by id- --.bru b/dev/setup/bruno/products/Get attribute value by id- --.bru deleted file mode 100644 index b7c90adadf5c4..0000000000000 --- a/dev/setup/bruno/products/Get attribute value by id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get attribute value by id- -- - type: http - seq: 27 -} - -get { - url: {{base_url}}/products/attributes/values/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attribute value by ref- --.bru b/dev/setup/bruno/products/Get attribute value by ref- --.bru deleted file mode 100644 index ebad6c9b69e53..0000000000000 --- a/dev/setup/bruno/products/Get attribute value by ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get attribute value by ref- -- - type: http - seq: 30 -} - -get { - url: {{base_url}}/products/attributes/{id}/values/ref/{ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attributes by ref- --.bru b/dev/setup/bruno/products/Get attributes by ref- --.bru deleted file mode 100644 index cf205e9b64c95..0000000000000 --- a/dev/setup/bruno/products/Get attributes by ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get attributes by ref- -- - type: http - seq: 25 -} - -get { - url: {{base_url}}/products/attributes/ref/{ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attributes by ref_ext- --.bru b/dev/setup/bruno/products/Get attributes by ref_ext- --.bru deleted file mode 100644 index 6c00e6265fe9d..0000000000000 --- a/dev/setup/bruno/products/Get attributes by ref_ext- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get attributes by ref_ext- -- - type: http - seq: 26 -} - -get { - url: {{base_url}}/products/attributes/ref_ext/{ref_ext} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get attributes- --.bru b/dev/setup/bruno/products/Get attributes- --.bru deleted file mode 100644 index ea2b6019d3b6d..0000000000000 --- a/dev/setup/bruno/products/Get attributes- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get attributes- -- - type: http - seq: 20 -} - -get { - url: {{base_url}}/products/attributes - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/products/Get categories for a product --.bru b/dev/setup/bruno/products/Get categories for a product --.bru deleted file mode 100644 index bde8607146a18..0000000000000 --- a/dev/setup/bruno/products/Get categories for a product --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get categories for a product -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/products/{id}/categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/products/Get prices per customer for a product --.bru b/dev/setup/bruno/products/Get prices per customer for a product --.bru deleted file mode 100644 index aedee78569c07..0000000000000 --- a/dev/setup/bruno/products/Get prices per customer for a product --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get prices per customer for a product -- - type: http - seq: 14 -} - -get { - url: {{base_url}}/products/{id}/selling_multiprices/per_customer - body: none - auth: none -} - -query { - ~thirdparty_id: -} diff --git a/dev/setup/bruno/products/Get prices per quantity for a product --.bru b/dev/setup/bruno/products/Get prices per quantity for a product --.bru deleted file mode 100644 index 4112d14dbb9f5..0000000000000 --- a/dev/setup/bruno/products/Get prices per quantity for a product --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get prices per quantity for a product -- - type: http - seq: 15 -} - -get { - url: {{base_url}}/products/{id}/selling_multiprices/per_quantity - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get prices per segment for a product --.bru b/dev/setup/bruno/products/Get prices per segment for a product --.bru deleted file mode 100644 index f1848f84047b2..0000000000000 --- a/dev/setup/bruno/products/Get prices per segment for a product --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get prices per segment for a product -- - type: http - seq: 13 -} - -get { - url: {{base_url}}/products/{id}/selling_multiprices/per_segment - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get product variants by Product ref- --.bru b/dev/setup/bruno/products/Get product variants by Product ref- --.bru deleted file mode 100644 index 2dae255278fe1..0000000000000 --- a/dev/setup/bruno/products/Get product variants by Product ref- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get product variants by Product ref- -- - type: http - seq: 37 -} - -get { - url: {{base_url}}/products/ref/{ref}/variants - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Get product variants- --.bru b/dev/setup/bruno/products/Get product variants- --.bru deleted file mode 100644 index 4ea951deb2041..0000000000000 --- a/dev/setup/bruno/products/Get product variants- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get product variants- -- - type: http - seq: 35 -} - -get { - url: {{base_url}}/products/{id}/variants - body: none - auth: none -} - -query { - ~includestock: -} diff --git a/dev/setup/bruno/products/Get properties of a product object by barcode --.bru b/dev/setup/bruno/products/Get properties of a product object by barcode --.bru deleted file mode 100644 index 7f67fbe302e39..0000000000000 --- a/dev/setup/bruno/products/Get properties of a product object by barcode --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get properties of a product object by barcode -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/products/barcode/{barcode} - body: none - auth: none -} - -query { - ~includestockdata: - ~includesubproducts: - ~includeparentid: - ~includetrans: -} diff --git a/dev/setup/bruno/products/Get properties of a product object by id --.bru b/dev/setup/bruno/products/Get properties of a product object by id --.bru deleted file mode 100644 index db455b3e506ad..0000000000000 --- a/dev/setup/bruno/products/Get properties of a product object by id --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get properties of a product object by id -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/products/{id} - body: none - auth: none -} - -query { - ~includestockdata: - ~includesubproducts: - ~includeparentid: - ~includetrans: -} diff --git a/dev/setup/bruno/products/Get properties of a product object by ref --.bru b/dev/setup/bruno/products/Get properties of a product object by ref --.bru deleted file mode 100644 index 3f74b9c57b979..0000000000000 --- a/dev/setup/bruno/products/Get properties of a product object by ref --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get properties of a product object by ref -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/products/ref/{ref} - body: none - auth: none -} - -query { - ~includestockdata: - ~includesubproducts: - ~includeparentid: - ~includetrans: -} diff --git a/dev/setup/bruno/products/Get properties of a product object by ref_ext --.bru b/dev/setup/bruno/products/Get properties of a product object by ref_ext --.bru deleted file mode 100644 index c6c54bd0bb4f2..0000000000000 --- a/dev/setup/bruno/products/Get properties of a product object by ref_ext --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get properties of a product object by ref_ext -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/products/ref_ext/{ref_ext} - body: none - auth: none -} - -query { - ~includestockdata: - ~includesubproducts: - ~includeparentid: - ~includetrans: -} diff --git a/dev/setup/bruno/products/Get purchase prices for a product --.bru b/dev/setup/bruno/products/Get purchase prices for a product --.bru deleted file mode 100644 index dabbdf3a63e45..0000000000000 --- a/dev/setup/bruno/products/Get purchase prices for a product --.bru +++ /dev/null @@ -1,17 +0,0 @@ -meta { - name: Get purchase prices for a product -- - type: http - seq: 17 -} - -get { - url: {{base_url}}/products/{id}/purchase_prices - body: none - auth: none -} - -query { - ~ref: - ~ref_ext: - ~barcode: -} diff --git a/dev/setup/bruno/products/Get stock data for the product id given- --.bru b/dev/setup/bruno/products/Get stock data for the product id given- --.bru deleted file mode 100644 index 37ca2f23cd861..0000000000000 --- a/dev/setup/bruno/products/Get stock data for the product id given- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get stock data for the product id given- -- - type: http - seq: 41 -} - -get { - url: {{base_url}}/products/{id}/stock - body: none - auth: none -} - -query { - ~selected_warehouse_id: -} diff --git a/dev/setup/bruno/products/Get the list of subproducts of the product- --.bru b/dev/setup/bruno/products/Get the list of subproducts of the product- --.bru deleted file mode 100644 index abd38d60a583b..0000000000000 --- a/dev/setup/bruno/products/Get the list of subproducts of the product- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get the list of subproducts of the product- -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/products/{id}/subproducts - body: none - auth: none -} diff --git a/dev/setup/bruno/products/List products --.bru b/dev/setup/bruno/products/List products --.bru deleted file mode 100644 index 7d29e6e575435..0000000000000 --- a/dev/setup/bruno/products/List products --.bru +++ /dev/null @@ -1,26 +0,0 @@ -meta { - name: List products -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/products - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~mode: - ~category: - ~sqlfilters: - ~ids_only: - ~variant_filter: - ~pagination_data: - ~includestockdata: - ~properties: -} diff --git a/dev/setup/bruno/products/Put product variants- --.bru b/dev/setup/bruno/products/Put product variants- --.bru deleted file mode 100644 index 0521bfcd17da0..0000000000000 --- a/dev/setup/bruno/products/Put product variants- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Put product variants- -- - type: http - seq: 39 -} - -put { - url: {{base_url}}/products/variants/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Remove subproduct- --.bru b/dev/setup/bruno/products/Remove subproduct- --.bru deleted file mode 100644 index c57c1f944b4f3..0000000000000 --- a/dev/setup/bruno/products/Remove subproduct- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Remove subproduct- -- - type: http - seq: 11 -} - -delete { - url: {{base_url}}/products/{id}/subproducts/remove/{subproduct_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Update attribute value- --.bru b/dev/setup/bruno/products/Update attribute value- --.bru deleted file mode 100644 index f970b30cee496..0000000000000 --- a/dev/setup/bruno/products/Update attribute value- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update attribute value- -- - type: http - seq: 28 -} - -put { - url: {{base_url}}/products/attributes/values/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Update attributes by id- --.bru b/dev/setup/bruno/products/Update attributes by id- --.bru deleted file mode 100644 index 563189d7101a8..0000000000000 --- a/dev/setup/bruno/products/Update attributes by id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update attributes by id- -- - type: http - seq: 23 -} - -put { - url: {{base_url}}/products/attributes/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/products/Update product- --.bru b/dev/setup/bruno/products/Update product- --.bru deleted file mode 100644 index 579af73f0d50c..0000000000000 --- a/dev/setup/bruno/products/Update product- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update product- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/products/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/projects/Create project object --.bru b/dev/setup/bruno/projects/Create project object --.bru deleted file mode 100644 index 8c9cf9dc660b7..0000000000000 --- a/dev/setup/bruno/projects/Create project object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create project object -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/projects - body: none - auth: none -} diff --git a/dev/setup/bruno/projects/Delete project --.bru b/dev/setup/bruno/projects/Delete project --.bru deleted file mode 100644 index 52ab6c83b48a3..0000000000000 --- a/dev/setup/bruno/projects/Delete project --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete project -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/projects/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/projects/Get properties of a project object --.bru b/dev/setup/bruno/projects/Get properties of a project object --.bru deleted file mode 100644 index 7047b5af6f5e3..0000000000000 --- a/dev/setup/bruno/projects/Get properties of a project object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a project object -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/projects/email_msgid/{email_msgid} - body: none - auth: none -} diff --git a/dev/setup/bruno/projects/Get roles a user is assigned to a project with --.bru b/dev/setup/bruno/projects/Get roles a user is assigned to a project with --.bru deleted file mode 100644 index c0b5bf030a305..0000000000000 --- a/dev/setup/bruno/projects/Get roles a user is assigned to a project with --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get roles a user is assigned to a project with -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/projects/{id}/roles - body: none - auth: none -} - -query { - ~userid: -} diff --git a/dev/setup/bruno/projects/Get tasks of a project- --.bru b/dev/setup/bruno/projects/Get tasks of a project- --.bru deleted file mode 100644 index 8ccb8a8fa039b..0000000000000 --- a/dev/setup/bruno/projects/Get tasks of a project- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get tasks of a project- -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/projects/{id}/tasks - body: none - auth: none -} - -query { - ~includetimespent: -} diff --git a/dev/setup/bruno/projects/List projects --.bru b/dev/setup/bruno/projects/List projects --.bru deleted file mode 100644 index c2c2517c806da..0000000000000 --- a/dev/setup/bruno/projects/List projects --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List projects -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/projects - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/projects/Update project general fields -won-t touch lines of project- --.bru b/dev/setup/bruno/projects/Update project general fields -won-t touch lines of project- --.bru deleted file mode 100644 index 16d05dc93bca4..0000000000000 --- a/dev/setup/bruno/projects/Update project general fields -won-t touch lines of project- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update project general fields -won-t touch lines of project- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/projects/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/projects/Validate a project- --.bru b/dev/setup/bruno/projects/Validate a project- --.bru deleted file mode 100644 index a87ce13ed1212..0000000000000 --- a/dev/setup/bruno/projects/Validate a project- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate a project- -- - type: http - seq: 11 -} - -post { - url: {{base_url}}/projects/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Add a contact type of given commercial proposal --.bru b/dev/setup/bruno/proposals/Add a contact type of given commercial proposal --.bru deleted file mode 100644 index 2665f4d9016bc..0000000000000 --- a/dev/setup/bruno/proposals/Add a contact type of given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a contact type of given commercial proposal -- - type: http - seq: 13 -} - -post { - url: {{base_url}}/proposals/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Add a line to given commercial proposal --.bru b/dev/setup/bruno/proposals/Add a line to given commercial proposal --.bru deleted file mode 100644 index 721ba84198296..0000000000000 --- a/dev/setup/bruno/proposals/Add a line to given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to given commercial proposal -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/proposals/{id}/line - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Add lines to given commercial proposal --.bru b/dev/setup/bruno/proposals/Add lines to given commercial proposal --.bru deleted file mode 100644 index f3184e23c8080..0000000000000 --- a/dev/setup/bruno/proposals/Add lines to given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add lines to given commercial proposal -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/proposals/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Close -Accept or refuse- a quote - commercial proposal --.bru b/dev/setup/bruno/proposals/Close -Accept or refuse- a quote - commercial proposal --.bru deleted file mode 100644 index 6735cc0b63bf2..0000000000000 --- a/dev/setup/bruno/proposals/Close -Accept or refuse- a quote - commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close -Accept or refuse- a quote - commercial proposal -- - type: http - seq: 17 -} - -post { - url: {{base_url}}/proposals/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Create commercial proposal object --.bru b/dev/setup/bruno/proposals/Create commercial proposal object --.bru deleted file mode 100644 index 71527fda096ae..0000000000000 --- a/dev/setup/bruno/proposals/Create commercial proposal object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create commercial proposal object -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/proposals - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Delete a contact type of given commercial proposal --.bru b/dev/setup/bruno/proposals/Delete a contact type of given commercial proposal --.bru deleted file mode 100644 index 6fa5eb380fd05..0000000000000 --- a/dev/setup/bruno/proposals/Delete a contact type of given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a contact type of given commercial proposal -- - type: http - seq: 14 -} - -delete { - url: {{base_url}}/proposals/{id}/contact/{contactid}/{type} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Delete a line of given commercial proposal --.bru b/dev/setup/bruno/proposals/Delete a line of given commercial proposal --.bru deleted file mode 100644 index 3045d6881ad5d..0000000000000 --- a/dev/setup/bruno/proposals/Delete a line of given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line of given commercial proposal -- - type: http - seq: 12 -} - -delete { - url: {{base_url}}/proposals/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Delete commercial proposal --.bru b/dev/setup/bruno/proposals/Delete commercial proposal --.bru deleted file mode 100644 index e852cf196a859..0000000000000 --- a/dev/setup/bruno/proposals/Delete commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete commercial proposal -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/proposals/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Get lines of a commercial proposal --.bru b/dev/setup/bruno/proposals/Get lines of a commercial proposal --.bru deleted file mode 100644 index 0bd3a3ee68f24..0000000000000 --- a/dev/setup/bruno/proposals/Get lines of a commercial proposal --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get lines of a commercial proposal -- - type: http - seq: 8 -} - -get { - url: {{base_url}}/proposals/{id}/lines - body: none - auth: none -} - -query { - ~sqlfilters: -} diff --git a/dev/setup/bruno/proposals/Get properties of a commercial proposal object --.bru b/dev/setup/bruno/proposals/Get properties of a commercial proposal object --.bru deleted file mode 100644 index 7059c2d052bc5..0000000000000 --- a/dev/setup/bruno/proposals/Get properties of a commercial proposal object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of a commercial proposal object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/proposals/{id} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/proposals/Get properties of an proposal object by ref --.bru b/dev/setup/bruno/proposals/Get properties of an proposal object by ref --.bru deleted file mode 100644 index c17d6260ffa86..0000000000000 --- a/dev/setup/bruno/proposals/Get properties of an proposal object by ref --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an proposal object by ref -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/proposals/ref/{ref} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/proposals/Get properties of an proposal object by ref_ext --.bru b/dev/setup/bruno/proposals/Get properties of an proposal object by ref_ext --.bru deleted file mode 100644 index c82c627607b0f..0000000000000 --- a/dev/setup/bruno/proposals/Get properties of an proposal object by ref_ext --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an proposal object by ref_ext -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/proposals/ref_ext/{ref_ext} - body: none - auth: none -} - -query { - ~contact_list: -} diff --git a/dev/setup/bruno/proposals/List commercial proposals --.bru b/dev/setup/bruno/proposals/List commercial proposals --.bru deleted file mode 100644 index dd4f6a943f7cd..0000000000000 --- a/dev/setup/bruno/proposals/List commercial proposals --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List commercial proposals -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/proposals - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/proposals/Set a commercial proposal billed- Could be also called setbilled --.bru b/dev/setup/bruno/proposals/Set a commercial proposal billed- Could be also called setbilled --.bru deleted file mode 100644 index 7188c914e578d..0000000000000 --- a/dev/setup/bruno/proposals/Set a commercial proposal billed- Could be also called setbilled --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Set a commercial proposal billed- Could be also called setbilled -- - type: http - seq: 18 -} - -post { - url: {{base_url}}/proposals/{id}/setinvoiced - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Set a proposal to draft --.bru b/dev/setup/bruno/proposals/Set a proposal to draft --.bru deleted file mode 100644 index 2ed166bfa4887..0000000000000 --- a/dev/setup/bruno/proposals/Set a proposal to draft --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Set a proposal to draft -- - type: http - seq: 15 -} - -post { - url: {{base_url}}/proposals/{id}/settodraft - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Update a line of given commercial proposal --.bru b/dev/setup/bruno/proposals/Update a line of given commercial proposal --.bru deleted file mode 100644 index 3c2dfc880af35..0000000000000 --- a/dev/setup/bruno/proposals/Update a line of given commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line of given commercial proposal -- - type: http - seq: 11 -} - -put { - url: {{base_url}}/proposals/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Update commercial proposal general fields -won-t touch lines of commercial proposal- --.bru b/dev/setup/bruno/proposals/Update commercial proposal general fields -won-t touch lines of commercial proposal- --.bru deleted file mode 100644 index d10f4c703b302..0000000000000 --- a/dev/setup/bruno/proposals/Update commercial proposal general fields -won-t touch lines of commercial proposal- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update commercial proposal general fields -won-t touch lines of commercial proposal- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/proposals/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/proposals/Validate a commercial proposal --.bru b/dev/setup/bruno/proposals/Validate a commercial proposal --.bru deleted file mode 100644 index 8dd235cc247bb..0000000000000 --- a/dev/setup/bruno/proposals/Validate a commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate a commercial proposal -- - type: http - seq: 16 -} - -post { - url: {{base_url}}/proposals/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Close a reception -Classify it as -Delivered-- --.bru b/dev/setup/bruno/receptions/Close a reception -Classify it as -Delivered-- --.bru deleted file mode 100644 index 104cf2210bf09..0000000000000 --- a/dev/setup/bruno/receptions/Close a reception -Classify it as -Delivered-- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close a reception -Classify it as -Delivered-- -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/receptions/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Create reception object --.bru b/dev/setup/bruno/receptions/Create reception object --.bru deleted file mode 100644 index a5abcaacfa6f0..0000000000000 --- a/dev/setup/bruno/receptions/Create reception object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create reception object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/receptions - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Delete a line to given reception --.bru b/dev/setup/bruno/receptions/Delete a line to given reception --.bru deleted file mode 100644 index b9a574fcfc5e6..0000000000000 --- a/dev/setup/bruno/receptions/Delete a line to given reception --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line to given reception -- - type: http - seq: 6 -} - -delete { - url: {{base_url}}/receptions/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Delete reception --.bru b/dev/setup/bruno/receptions/Delete reception --.bru deleted file mode 100644 index 8296fb667fc8b..0000000000000 --- a/dev/setup/bruno/receptions/Delete reception --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete reception -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/receptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Get properties of a reception object --.bru b/dev/setup/bruno/receptions/Get properties of a reception object --.bru deleted file mode 100644 index b013d150b50f0..0000000000000 --- a/dev/setup/bruno/receptions/Get properties of a reception object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a reception object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/receptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/List receptions --.bru b/dev/setup/bruno/receptions/List receptions --.bru deleted file mode 100644 index fbc9235ee8d3b..0000000000000 --- a/dev/setup/bruno/receptions/List receptions --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List receptions -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/receptions - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/receptions/Update reception general fields -won-t touch lines of reception- --.bru b/dev/setup/bruno/receptions/Update reception general fields -won-t touch lines of reception- --.bru deleted file mode 100644 index 5aeb3adf997c2..0000000000000 --- a/dev/setup/bruno/receptions/Update reception general fields -won-t touch lines of reception- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update reception general fields -won-t touch lines of reception- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/receptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/receptions/Validate a reception --.bru b/dev/setup/bruno/receptions/Validate a reception --.bru deleted file mode 100644 index c2a72ba2bcf34..0000000000000 --- a/dev/setup/bruno/receptions/Validate a reception --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate a reception -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/receptions/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Create candidature object --.bru b/dev/setup/bruno/recruitments/Create candidature object --.bru deleted file mode 100644 index 970092d2049a1..0000000000000 --- a/dev/setup/bruno/recruitments/Create candidature object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create candidature object -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/recruitments/candidature - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Create jobposition object --.bru b/dev/setup/bruno/recruitments/Create jobposition object --.bru deleted file mode 100644 index 10ef7938c231e..0000000000000 --- a/dev/setup/bruno/recruitments/Create jobposition object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create jobposition object -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/recruitments/jobposition - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Delete candidature --.bru b/dev/setup/bruno/recruitments/Delete candidature --.bru deleted file mode 100644 index dce1b8818d62b..0000000000000 --- a/dev/setup/bruno/recruitments/Delete candidature --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete candidature -- - type: http - seq: 6 -} - -delete { - url: {{base_url}}/recruitments/candidature/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Delete jobposition --.bru b/dev/setup/bruno/recruitments/Delete jobposition --.bru deleted file mode 100644 index 1ead1e26fe61c..0000000000000 --- a/dev/setup/bruno/recruitments/Delete jobposition --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete jobposition -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/recruitments/jobposition/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Get properties of a candidature object --.bru b/dev/setup/bruno/recruitments/Get properties of a candidature object --.bru deleted file mode 100644 index e610c7720da6b..0000000000000 --- a/dev/setup/bruno/recruitments/Get properties of a candidature object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a candidature object -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/recruitments/candidature/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Get properties of a jobposition object --.bru b/dev/setup/bruno/recruitments/Get properties of a jobposition object --.bru deleted file mode 100644 index 9aba99be37e03..0000000000000 --- a/dev/setup/bruno/recruitments/Get properties of a jobposition object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a jobposition object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/recruitments/jobposition/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/List candatures --.bru b/dev/setup/bruno/recruitments/List candatures --.bru deleted file mode 100644 index 2a13190520242..0000000000000 --- a/dev/setup/bruno/recruitments/List candatures --.bru +++ /dev/null @@ -1,19 +0,0 @@ -meta { - name: List candatures -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/recruitments/candidature - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: -} diff --git a/dev/setup/bruno/recruitments/List jobpositions --.bru b/dev/setup/bruno/recruitments/List jobpositions --.bru deleted file mode 100644 index 416d4cdc7ee87..0000000000000 --- a/dev/setup/bruno/recruitments/List jobpositions --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List jobpositions -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/recruitments/jobposition - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/recruitments/Update candidature --.bru b/dev/setup/bruno/recruitments/Update candidature --.bru deleted file mode 100644 index b3c06376b571c..0000000000000 --- a/dev/setup/bruno/recruitments/Update candidature --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update candidature -- - type: http - seq: 5 -} - -put { - url: {{base_url}}/recruitments/candidature/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/recruitments/Update jobposition --.bru b/dev/setup/bruno/recruitments/Update jobposition --.bru deleted file mode 100644 index f2733f8b498d7..0000000000000 --- a/dev/setup/bruno/recruitments/Update jobposition --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update jobposition -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/recruitments/jobposition/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Create Extrafield object --.bru b/dev/setup/bruno/setup/Create Extrafield object --.bru deleted file mode 100644 index fc1e561194522..0000000000000 --- a/dev/setup/bruno/setup/Create Extrafield object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create Extrafield object -- - type: http - seq: 23 -} - -post { - url: {{base_url}}/setup/extrafields/{elementtype}/{attrname} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Delete extrafield --.bru b/dev/setup/bruno/setup/Delete extrafield --.bru deleted file mode 100644 index d464e4e014b3a..0000000000000 --- a/dev/setup/bruno/setup/Delete extrafield --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete extrafield -- - type: http - seq: 21 -} - -delete { - url: {{base_url}}/setup/extrafields/{elementtype}/{attrname} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Do a test of integrity for files and setup- --.bru b/dev/setup/bruno/setup/Do a test of integrity for files and setup- --.bru deleted file mode 100644 index 3befab86c52f3..0000000000000 --- a/dev/setup/bruno/setup/Do a test of integrity for files and setup- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Do a test of integrity for files and setup- -- - type: http - seq: 40 -} - -get { - url: {{base_url}}/setup/checkintegrity - body: none - auth: none -} - -query { - target: -} diff --git a/dev/setup/bruno/setup/Get country by Code- --.bru b/dev/setup/bruno/setup/Get country by Code- --.bru deleted file mode 100644 index 412aec1197498..0000000000000 --- a/dev/setup/bruno/setup/Get country by Code- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get country by Code- -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/setup/dictionary/countries/byCode/{code} - body: none - auth: none -} - -query { - ~lang: -} diff --git a/dev/setup/bruno/setup/Get country by ID- --.bru b/dev/setup/bruno/setup/Get country by ID- --.bru deleted file mode 100644 index 1f1edddd56914..0000000000000 --- a/dev/setup/bruno/setup/Get country by ID- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get country by ID- -- - type: http - seq: 11 -} - -get { - url: {{base_url}}/setup/dictionary/countries/{id} - body: none - auth: none -} - -query { - ~lang: -} diff --git a/dev/setup/bruno/setup/Get country by Iso- --.bru b/dev/setup/bruno/setup/Get country by Iso- --.bru deleted file mode 100644 index 191212fffb7e1..0000000000000 --- a/dev/setup/bruno/setup/Get country by Iso- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get country by Iso- -- - type: http - seq: 13 -} - -get { - url: {{base_url}}/setup/dictionary/countries/byISO/{iso} - body: none - auth: none -} - -query { - ~lang: -} diff --git a/dev/setup/bruno/setup/Get establishment by ID- --.bru b/dev/setup/bruno/setup/Get establishment by ID- --.bru deleted file mode 100644 index 77a5647df87ab..0000000000000 --- a/dev/setup/bruno/setup/Get establishment by ID- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get establishment by ID- -- - type: http - seq: 38 -} - -get { - url: {{base_url}}/setup/establishments/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get list of enabled modules --.bru b/dev/setup/bruno/setup/Get list of enabled modules --.bru deleted file mode 100644 index 1b96a2d056a7b..0000000000000 --- a/dev/setup/bruno/setup/Get list of enabled modules --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get list of enabled modules -- - type: http - seq: 41 -} - -get { - url: {{base_url}}/setup/modules - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get properties of company --.bru b/dev/setup/bruno/setup/Get properties of company --.bru deleted file mode 100644 index f3bdf55c22503..0000000000000 --- a/dev/setup/bruno/setup/Get properties of company --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of company -- - type: http - seq: 36 -} - -get { - url: {{base_url}}/setup/company - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get region by Code- --.bru b/dev/setup/bruno/setup/Get region by Code- --.bru deleted file mode 100644 index 2ffb71574d15e..0000000000000 --- a/dev/setup/bruno/setup/Get region by Code- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get region by Code- -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/setup/dictionary/regions/byCode/{code} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get region by ID- --.bru b/dev/setup/bruno/setup/Get region by ID- --.bru deleted file mode 100644 index 30416d288a1a3..0000000000000 --- a/dev/setup/bruno/setup/Get region by ID- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get region by ID- -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/setup/dictionary/regions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get state by Code- --.bru b/dev/setup/bruno/setup/Get state by Code- --.bru deleted file mode 100644 index e2aec3af8bc48..0000000000000 --- a/dev/setup/bruno/setup/Get state by Code- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get state by Code- -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/setup/dictionary/states/byCode/{code} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get state by ID- --.bru b/dev/setup/bruno/setup/Get state by ID- --.bru deleted file mode 100644 index b18c545557abb..0000000000000 --- a/dev/setup/bruno/setup/Get state by ID- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get state by ID- -- - type: http - seq: 8 -} - -get { - url: {{base_url}}/setup/dictionary/states/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get the list of Expense Report types- --.bru b/dev/setup/bruno/setup/Get the list of Expense Report types- --.bru deleted file mode 100644 index 8c02c8df7db5b..0000000000000 --- a/dev/setup/bruno/setup/Get the list of Expense Report types- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of Expense Report types- -- - type: http - seq: 16 -} - -get { - url: {{base_url}}/setup/dictionary/expensereport_types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~module: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of civilities- --.bru b/dev/setup/bruno/setup/Get the list of civilities- --.bru deleted file mode 100644 index e7649925f97f4..0000000000000 --- a/dev/setup/bruno/setup/Get the list of civilities- --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: Get the list of civilities- -- - type: http - seq: 18 -} - -get { - url: {{base_url}}/setup/dictionary/civilities - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~module: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of contacts types- --.bru b/dev/setup/bruno/setup/Get the list of contacts types- --.bru deleted file mode 100644 index 52f63cd0aee00..0000000000000 --- a/dev/setup/bruno/setup/Get the list of contacts types- --.bru +++ /dev/null @@ -1,23 +0,0 @@ -meta { - name: Get the list of contacts types- -- - type: http - seq: 17 -} - -get { - url: {{base_url}}/setup/dictionary/contact_types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~type: - ~module: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of countries- --.bru b/dev/setup/bruno/setup/Get the list of countries- --.bru deleted file mode 100644 index 086342a04d930..0000000000000 --- a/dev/setup/bruno/setup/Get the list of countries- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of countries- -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/setup/dictionary/countries - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~filter: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of currencies- --.bru b/dev/setup/bruno/setup/Get the list of currencies- --.bru deleted file mode 100644 index 3cc32a298afc5..0000000000000 --- a/dev/setup/bruno/setup/Get the list of currencies- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of currencies- -- - type: http - seq: 19 -} - -get { - url: {{base_url}}/setup/dictionary/currencies - body: none - auth: none -} - -query { - ~multicurrency: - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of delivery times- --.bru b/dev/setup/bruno/setup/Get the list of delivery times- --.bru deleted file mode 100644 index 0d8e3026c8100..0000000000000 --- a/dev/setup/bruno/setup/Get the list of delivery times- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of delivery times- -- - type: http - seq: 14 -} - -get { - url: {{base_url}}/setup/dictionary/availability - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of establishments- --.bru b/dev/setup/bruno/setup/Get the list of establishments- --.bru deleted file mode 100644 index d81b475f74fe2..0000000000000 --- a/dev/setup/bruno/setup/Get the list of establishments- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get the list of establishments- -- - type: http - seq: 37 -} - -get { - url: {{base_url}}/setup/establishments - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Get the list of events types- --.bru b/dev/setup/bruno/setup/Get the list of events types- --.bru deleted file mode 100644 index f3db92c1daddc..0000000000000 --- a/dev/setup/bruno/setup/Get the list of events types- --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: Get the list of events types- -- - type: http - seq: 15 -} - -get { - url: {{base_url}}/setup/dictionary/event_types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~type: - ~module: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of extra fields- --.bru b/dev/setup/bruno/setup/Get the list of extra fields- --.bru deleted file mode 100644 index 322ad02785c75..0000000000000 --- a/dev/setup/bruno/setup/Get the list of extra fields- --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get the list of extra fields- -- - type: http - seq: 20 -} - -get { - url: {{base_url}}/setup/extrafields - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~elementtype: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of incoterms- --.bru b/dev/setup/bruno/setup/Get the list of incoterms- --.bru deleted file mode 100644 index 9b90b0cea7d9d..0000000000000 --- a/dev/setup/bruno/setup/Get the list of incoterms- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of incoterms- -- - type: http - seq: 35 -} - -get { - url: {{base_url}}/setup/dictionary/incoterms - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of legal form of business- --.bru b/dev/setup/bruno/setup/Get the list of legal form of business- --.bru deleted file mode 100644 index 08c768562c3e6..0000000000000 --- a/dev/setup/bruno/setup/Get the list of legal form of business- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of legal form of business- -- - type: http - seq: 29 -} - -get { - url: {{base_url}}/setup/dictionary/legal_form - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~country: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of measuring units- --.bru b/dev/setup/bruno/setup/Get the list of measuring units- --.bru deleted file mode 100644 index 5d3326a0083f3..0000000000000 --- a/dev/setup/bruno/setup/Get the list of measuring units- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of measuring units- -- - type: http - seq: 28 -} - -get { - url: {{base_url}}/setup/dictionary/units - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of ordering methods- --.bru b/dev/setup/bruno/setup/Get the list of ordering methods- --.bru deleted file mode 100644 index f5d4ff66ff2ba..0000000000000 --- a/dev/setup/bruno/setup/Get the list of ordering methods- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of ordering methods- -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/setup/dictionary/ordering_methods - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of ordering origins- --.bru b/dev/setup/bruno/setup/Get the list of ordering origins- --.bru deleted file mode 100644 index e3eab3fa9b42d..0000000000000 --- a/dev/setup/bruno/setup/Get the list of ordering origins- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of ordering origins- -- - type: http - seq: 2 -} - -get { - url: {{base_url}}/setup/dictionary/ordering_origins - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of payments terms- --.bru b/dev/setup/bruno/setup/Get the list of payments terms- --.bru deleted file mode 100644 index 3e8372f036ddb..0000000000000 --- a/dev/setup/bruno/setup/Get the list of payments terms- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of payments terms- -- - type: http - seq: 26 -} - -get { - url: {{base_url}}/setup/dictionary/payment_terms - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of payments types- --.bru b/dev/setup/bruno/setup/Get the list of payments types- --.bru deleted file mode 100644 index bdc2cd0881503..0000000000000 --- a/dev/setup/bruno/setup/Get the list of payments types- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of payments types- -- - type: http - seq: 3 -} - -get { - url: {{base_url}}/setup/dictionary/payment_types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of regions- --.bru b/dev/setup/bruno/setup/Get the list of regions- --.bru deleted file mode 100644 index 2cc24f9ea3203..0000000000000 --- a/dev/setup/bruno/setup/Get the list of regions- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of regions- -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/setup/dictionary/regions - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~country: - ~filter: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of shipping methods- --.bru b/dev/setup/bruno/setup/Get the list of shipping methods- --.bru deleted file mode 100644 index be7b437a657fb..0000000000000 --- a/dev/setup/bruno/setup/Get the list of shipping methods- --.bru +++ /dev/null @@ -1,19 +0,0 @@ -meta { - name: Get the list of shipping methods- -- - type: http - seq: 27 -} - -get { - url: {{base_url}}/setup/dictionary/shipping_methods - body: none - auth: none -} - -query { - ~limit: - ~page: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of social networks- --.bru b/dev/setup/bruno/setup/Get the list of social networks- --.bru deleted file mode 100644 index f7a82091da4da..0000000000000 --- a/dev/setup/bruno/setup/Get the list of social networks- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of social networks- -- - type: http - seq: 31 -} - -get { - url: {{base_url}}/setup/dictionary/socialnetworks - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of staff- --.bru b/dev/setup/bruno/setup/Get the list of staff- --.bru deleted file mode 100644 index 0fc117eb43897..0000000000000 --- a/dev/setup/bruno/setup/Get the list of staff- --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get the list of staff- -- - type: http - seq: 30 -} - -get { - url: {{base_url}}/setup/dictionary/staff - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of states-provinces- --.bru b/dev/setup/bruno/setup/Get the list of states-provinces- --.bru deleted file mode 100644 index 90c9fbc06d016..0000000000000 --- a/dev/setup/bruno/setup/Get the list of states-provinces- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of states-provinces- -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/setup/dictionary/states - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~country: - ~filter: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of tickets categories- --.bru b/dev/setup/bruno/setup/Get the list of tickets categories- --.bru deleted file mode 100644 index 9501682806722..0000000000000 --- a/dev/setup/bruno/setup/Get the list of tickets categories- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of tickets categories- -- - type: http - seq: 32 -} - -get { - url: {{base_url}}/setup/dictionary/ticket_categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of tickets severity- --.bru b/dev/setup/bruno/setup/Get the list of tickets severity- --.bru deleted file mode 100644 index a0ced5835db0a..0000000000000 --- a/dev/setup/bruno/setup/Get the list of tickets severity- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of tickets severity- -- - type: http - seq: 33 -} - -get { - url: {{base_url}}/setup/dictionary/ticket_severities - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of tickets types- --.bru b/dev/setup/bruno/setup/Get the list of tickets types- --.bru deleted file mode 100644 index 35d4634747bf9..0000000000000 --- a/dev/setup/bruno/setup/Get the list of tickets types- --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: Get the list of tickets types- -- - type: http - seq: 34 -} - -get { - url: {{base_url}}/setup/dictionary/ticket_types - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~active: - ~lang: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get the list of towns- --.bru b/dev/setup/bruno/setup/Get the list of towns- --.bru deleted file mode 100644 index 059bf46024dff..0000000000000 --- a/dev/setup/bruno/setup/Get the list of towns- --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: Get the list of towns- -- - type: http - seq: 25 -} - -get { - url: {{base_url}}/setup/dictionary/towns - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~zipcode: - ~town: - ~active: - ~sqlfilters: -} diff --git a/dev/setup/bruno/setup/Get value of a setup variables --.bru b/dev/setup/bruno/setup/Get value of a setup variables --.bru deleted file mode 100644 index 486f69a008a88..0000000000000 --- a/dev/setup/bruno/setup/Get value of a setup variables --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get value of a setup variables -- - type: http - seq: 39 -} - -get { - url: {{base_url}}/setup/conf/{constantname} - body: none - auth: none -} diff --git a/dev/setup/bruno/setup/Update Extrafield object --.bru b/dev/setup/bruno/setup/Update Extrafield object --.bru deleted file mode 100644 index 60d9ab9a3d6b2..0000000000000 --- a/dev/setup/bruno/setup/Update Extrafield object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update Extrafield object -- - type: http - seq: 24 -} - -put { - url: {{base_url}}/setup/extrafields/{elementtype}/{attrname} - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Close a shipment -Classify it as -Delivered-- --.bru b/dev/setup/bruno/shipments/Close a shipment -Classify it as -Delivered-- --.bru deleted file mode 100644 index bd9035dd10fe9..0000000000000 --- a/dev/setup/bruno/shipments/Close a shipment -Classify it as -Delivered-- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Close a shipment -Classify it as -Delivered-- -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/shipments/{id}/close - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Create shipment object --.bru b/dev/setup/bruno/shipments/Create shipment object --.bru deleted file mode 100644 index 7120837849ed2..0000000000000 --- a/dev/setup/bruno/shipments/Create shipment object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create shipment object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/shipments - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Delete a line to given shipment --.bru b/dev/setup/bruno/shipments/Delete a line to given shipment --.bru deleted file mode 100644 index d794a4e576872..0000000000000 --- a/dev/setup/bruno/shipments/Delete a line to given shipment --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a line to given shipment -- - type: http - seq: 6 -} - -delete { - url: {{base_url}}/shipments/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Delete shipment --.bru b/dev/setup/bruno/shipments/Delete shipment --.bru deleted file mode 100644 index afe23ee396475..0000000000000 --- a/dev/setup/bruno/shipments/Delete shipment --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete shipment -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/shipments/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Get properties of a shipment object --.bru b/dev/setup/bruno/shipments/Get properties of a shipment object --.bru deleted file mode 100644 index a903c145ec376..0000000000000 --- a/dev/setup/bruno/shipments/Get properties of a shipment object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a shipment object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/shipments/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/List shipments --.bru b/dev/setup/bruno/shipments/List shipments --.bru deleted file mode 100644 index 40642eda69a8c..0000000000000 --- a/dev/setup/bruno/shipments/List shipments --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List shipments -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/shipments - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/shipments/Update shipment general fields -won-t touch lines of shipment- --.bru b/dev/setup/bruno/shipments/Update shipment general fields -won-t touch lines of shipment- --.bru deleted file mode 100644 index 8cda29b0e5230..0000000000000 --- a/dev/setup/bruno/shipments/Update shipment general fields -won-t touch lines of shipment- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update shipment general fields -won-t touch lines of shipment- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/shipments/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/shipments/Validate a shipment --.bru b/dev/setup/bruno/shipments/Validate a shipment --.bru deleted file mode 100644 index 022c994f18186..0000000000000 --- a/dev/setup/bruno/shipments/Validate a shipment --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate a shipment -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/shipments/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/stockmovements/Create stock movement object- --.bru b/dev/setup/bruno/stockmovements/Create stock movement object- --.bru deleted file mode 100644 index 6e88671c80389..0000000000000 --- a/dev/setup/bruno/stockmovements/Create stock movement object- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create stock movement object- -- - type: http - seq: 2 -} - -post { - url: {{base_url}}/stockmovements - body: none - auth: none -} diff --git a/dev/setup/bruno/stockmovements/Get a list of stock movement --.bru b/dev/setup/bruno/stockmovements/Get a list of stock movement --.bru deleted file mode 100644 index 399b3930eaff2..0000000000000 --- a/dev/setup/bruno/stockmovements/Get a list of stock movement --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: Get a list of stock movement -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/stockmovements - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/subscriptions/Create subscription object --.bru b/dev/setup/bruno/subscriptions/Create subscription object --.bru deleted file mode 100644 index af14d44daa4c7..0000000000000 --- a/dev/setup/bruno/subscriptions/Create subscription object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create subscription object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/subscriptions - body: none - auth: none -} diff --git a/dev/setup/bruno/subscriptions/Delete subscription --.bru b/dev/setup/bruno/subscriptions/Delete subscription --.bru deleted file mode 100644 index 23529d9a2e5c5..0000000000000 --- a/dev/setup/bruno/subscriptions/Delete subscription --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete subscription -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/subscriptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/subscriptions/Get properties of a subscription object --.bru b/dev/setup/bruno/subscriptions/Get properties of a subscription object --.bru deleted file mode 100644 index 62df5a19b8e26..0000000000000 --- a/dev/setup/bruno/subscriptions/Get properties of a subscription object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a subscription object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/subscriptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/subscriptions/List subscriptions --.bru b/dev/setup/bruno/subscriptions/List subscriptions --.bru deleted file mode 100644 index 2481595b8cb1f..0000000000000 --- a/dev/setup/bruno/subscriptions/List subscriptions --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List subscriptions -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/subscriptions - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/subscriptions/Update subscription --.bru b/dev/setup/bruno/subscriptions/Update subscription --.bru deleted file mode 100644 index eca5d84865081..0000000000000 --- a/dev/setup/bruno/subscriptions/Update subscription --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update subscription -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/subscriptions/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Add a line to given supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Add a line to given supplier invoice --.bru deleted file mode 100644 index 00e105676f11a..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Add a line to given supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a line to given supplier invoice -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/supplierinvoices/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Add payment line to a specific supplier invoice with the remain to pay as amount- --.bru b/dev/setup/bruno/supplierinvoices/Add payment line to a specific supplier invoice with the remain to pay as amount- --.bru deleted file mode 100644 index 435fd053d832a..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Add payment line to a specific supplier invoice with the remain to pay as amount- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add payment line to a specific supplier invoice with the remain to pay as amount- -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/supplierinvoices/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Create supplier invoice object --.bru b/dev/setup/bruno/supplierinvoices/Create supplier invoice object --.bru deleted file mode 100644 index b9d81244a4001..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Create supplier invoice object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create supplier invoice object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/supplierinvoices - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Delete supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Delete supplier invoice --.bru deleted file mode 100644 index de6b7848cf034..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Delete supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete supplier invoice -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/supplierinvoices/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Deletes a line of a given supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Deletes a line of a given supplier invoice --.bru deleted file mode 100644 index 95991147f0763..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Deletes a line of a given supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Deletes a line of a given supplier invoice -- - type: http - seq: 12 -} - -delete { - url: {{base_url}}/supplierinvoices/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Get lines of a supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Get lines of a supplier invoice --.bru deleted file mode 100644 index 616e32f5cd350..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Get lines of a supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get lines of a supplier invoice -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/supplierinvoices/{id}/lines - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Get list of payments of a given supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Get list of payments of a given supplier invoice --.bru deleted file mode 100644 index ce901586baf06..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Get list of payments of a given supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get list of payments of a given supplier invoice -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/supplierinvoices/{id}/payments - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Get properties of a supplier invoice object --.bru b/dev/setup/bruno/supplierinvoices/Get properties of a supplier invoice object --.bru deleted file mode 100644 index 7c701a1103d63..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Get properties of a supplier invoice object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a supplier invoice object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/supplierinvoices/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/List invoices --.bru b/dev/setup/bruno/supplierinvoices/List invoices --.bru deleted file mode 100644 index 2f00fef5e5350..0000000000000 --- a/dev/setup/bruno/supplierinvoices/List invoices --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List invoices -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/supplierinvoices - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~status: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/supplierinvoices/Update a line to a given supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Update a line to a given supplier invoice --.bru deleted file mode 100644 index 2a097c41bb8f5..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Update a line to a given supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update a line to a given supplier invoice -- - type: http - seq: 11 -} - -put { - url: {{base_url}}/supplierinvoices/{id}/lines/{lineid} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Update supplier invoice --.bru b/dev/setup/bruno/supplierinvoices/Update supplier invoice --.bru deleted file mode 100644 index 6399cbfa8597c..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Update supplier invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update supplier invoice -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/supplierinvoices/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierinvoices/Validate an invoice --.bru b/dev/setup/bruno/supplierinvoices/Validate an invoice --.bru deleted file mode 100644 index c2235707ea5b8..0000000000000 --- a/dev/setup/bruno/supplierinvoices/Validate an invoice --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an invoice -- - type: http - seq: 6 -} - -post { - url: {{base_url}}/supplierinvoices/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/Create supplier proposal -price request- object --.bru b/dev/setup/bruno/supplierproposals/Create supplier proposal -price request- object --.bru deleted file mode 100644 index 478eee882ab72..0000000000000 --- a/dev/setup/bruno/supplierproposals/Create supplier proposal -price request- object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create supplier proposal -price request- object -- - type: http - seq: 4 -} - -post { - url: {{base_url}}/supplierproposals - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/Delete commercial proposal --.bru b/dev/setup/bruno/supplierproposals/Delete commercial proposal --.bru deleted file mode 100644 index 6c7a9a77e6acb..0000000000000 --- a/dev/setup/bruno/supplierproposals/Delete commercial proposal --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete commercial proposal -- - type: http - seq: 1 -} - -delete { - url: {{base_url}}/supplierproposals/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/Get properties of a supplier proposal -price request- object --.bru b/dev/setup/bruno/supplierproposals/Get properties of a supplier proposal -price request- object --.bru deleted file mode 100644 index e98efca1f0085..0000000000000 --- a/dev/setup/bruno/supplierproposals/Get properties of a supplier proposal -price request- object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a supplier proposal -price request- object -- - type: http - seq: 2 -} - -get { - url: {{base_url}}/supplierproposals/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/List supplier proposals --.bru b/dev/setup/bruno/supplierproposals/List supplier proposals --.bru deleted file mode 100644 index 76fe2ae03b5a7..0000000000000 --- a/dev/setup/bruno/supplierproposals/List supplier proposals --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List supplier proposals -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/supplierproposals - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/supplierproposals/Update supplier proposal general fields -won-t touch lines of supplier proposal- --.bru b/dev/setup/bruno/supplierproposals/Update supplier proposal general fields -won-t touch lines of supplier proposal- --.bru deleted file mode 100644 index ad14ecb023bca..0000000000000 --- a/dev/setup/bruno/supplierproposals/Update supplier proposal general fields -won-t touch lines of supplier proposal- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update supplier proposal general fields -won-t touch lines of supplier proposal- -- - type: http - seq: 3 -} - -put { - url: {{base_url}}/supplierproposals/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Add a contact type of given supplier order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Add a contact type of given supplier order --.bru deleted file mode 100644 index b233a93d1dfc6..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Add a contact type of given supplier order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a contact type of given supplier order -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/supplierorders/{id}/contact/{contactid}/{type}/{source} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Approve an order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Approve an order --.bru deleted file mode 100644 index b25d552c826a2..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Approve an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Approve an order -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/supplierorders/{id}/approve - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Create supplier order object --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Create supplier order object --.bru deleted file mode 100644 index 07a1708e43ab0..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Create supplier order object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create supplier order object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/supplierorders - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Delete supplier order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Delete supplier order --.bru deleted file mode 100644 index 188c907c48e19..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Delete supplier order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete supplier order -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/supplierorders/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Get contacts of given supplier order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Get contacts of given supplier order --.bru deleted file mode 100644 index 37159b5b0ec49..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Get contacts of given supplier order --.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: Get contacts of given supplier order -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/supplierorders/{id}/contacts - body: none - auth: none -} - -query { - source: - ~type: -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Get properties of a supplier order object --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Get properties of a supplier order object --.bru deleted file mode 100644 index 387b4a50c8187..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Get properties of a supplier order object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a supplier order object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/supplierorders/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/List orders --.bru b/dev/setup/bruno/supplierproposals/supplierorders/List orders --.bru deleted file mode 100644 index 1595a73d79d96..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/List orders --.bru +++ /dev/null @@ -1,24 +0,0 @@ -meta { - name: List orders -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/supplierorders - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~thirdparty_ids: - ~product_ids: - ~status: - ~sqlfilters: - ~sqlfilterlines: - ~properties: -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Receives the order- dispatches products- --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Receives the order- dispatches products- --.bru deleted file mode 100644 index d3b497506b1e3..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Receives the order- dispatches products- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Receives the order- dispatches products- -- - type: http - seq: 12 -} - -post { - url: {{base_url}}/supplierorders/{id}/receive - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Sends an order to the vendor --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Sends an order to the vendor --.bru deleted file mode 100644 index eb1c1aee58ad6..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Sends an order to the vendor --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Sends an order to the vendor -- - type: http - seq: 11 -} - -post { - url: {{base_url}}/supplierorders/{id}/makeorder - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Unlink a contact type of given supplier order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Unlink a contact type of given supplier order --.bru deleted file mode 100644 index 84a37a266bec9..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Unlink a contact type of given supplier order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Unlink a contact type of given supplier order -- - type: http - seq: 8 -} - -delete { - url: {{base_url}}/supplierorders/{id}/contact/{contactid}/{type}/{source} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Update supplier order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Update supplier order --.bru deleted file mode 100644 index ecf527a3fb7c8..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Update supplier order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update supplier order -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/supplierorders/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/supplierproposals/supplierorders/Validate an order --.bru b/dev/setup/bruno/supplierproposals/supplierorders/Validate an order --.bru deleted file mode 100644 index 2e3511891f91b..0000000000000 --- a/dev/setup/bruno/supplierproposals/supplierorders/Validate an order --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Validate an order -- - type: http - seq: 9 -} - -post { - url: {{base_url}}/supplierorders/{id}/validate - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Add time spent to a task of a project- --.bru b/dev/setup/bruno/tasks/Add time spent to a task of a project- --.bru deleted file mode 100644 index 4b4b2ff3fe7da..0000000000000 --- a/dev/setup/bruno/tasks/Add time spent to a task of a project- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add time spent to a task of a project- -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/tasks/{id}/addtimespent - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Create task object --.bru b/dev/setup/bruno/tasks/Create task object --.bru deleted file mode 100644 index 9ea407224342b..0000000000000 --- a/dev/setup/bruno/tasks/Create task object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create task object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/tasks - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Delete task --.bru b/dev/setup/bruno/tasks/Delete task --.bru deleted file mode 100644 index e7eb88fe5b668..0000000000000 --- a/dev/setup/bruno/tasks/Delete task --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete task -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/tasks/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Delete time spent for a task of a project- --.bru b/dev/setup/bruno/tasks/Delete time spent for a task of a project- --.bru deleted file mode 100644 index fb26595bd7356..0000000000000 --- a/dev/setup/bruno/tasks/Delete time spent for a task of a project- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete time spent for a task of a project- -- - type: http - seq: 9 -} - -delete { - url: {{base_url}}/tasks/{id}/timespent/{timespent_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Get properties of a task object --.bru b/dev/setup/bruno/tasks/Get properties of a task object --.bru deleted file mode 100644 index 052b4b972951e..0000000000000 --- a/dev/setup/bruno/tasks/Get properties of a task object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of a task object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/tasks/{id} - body: none - auth: none -} - -query { - ~includetimespent: -} diff --git a/dev/setup/bruno/tasks/Get roles a user is assigned to a task with --.bru b/dev/setup/bruno/tasks/Get roles a user is assigned to a task with --.bru deleted file mode 100644 index bed8f05c76551..0000000000000 --- a/dev/setup/bruno/tasks/Get roles a user is assigned to a task with --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get roles a user is assigned to a task with -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/tasks/{id}/roles - body: none - auth: none -} - -query { - ~userid: -} diff --git a/dev/setup/bruno/tasks/List tasks --.bru b/dev/setup/bruno/tasks/List tasks --.bru deleted file mode 100644 index 0475d40d90c4c..0000000000000 --- a/dev/setup/bruno/tasks/List tasks --.bru +++ /dev/null @@ -1,20 +0,0 @@ -meta { - name: List tasks -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/tasks - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/tasks/Update task general fields -won-t touch time spent of task- --.bru b/dev/setup/bruno/tasks/Update task general fields -won-t touch time spent of task- --.bru deleted file mode 100644 index c746b9618c43c..0000000000000 --- a/dev/setup/bruno/tasks/Update task general fields -won-t touch time spent of task- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update task general fields -won-t touch time spent of task- -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/tasks/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Update time spent for a task of a project- --.bru b/dev/setup/bruno/tasks/Update time spent for a task of a project- --.bru deleted file mode 100644 index a3ff2754c4444..0000000000000 --- a/dev/setup/bruno/tasks/Update time spent for a task of a project- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update time spent for a task of a project- -- - type: http - seq: 8 -} - -put { - url: {{base_url}}/tasks/{id}/timespent/{timespent_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tasks/Validate task - timespent IDs for timespent API methods- --.bru b/dev/setup/bruno/tasks/Validate task - timespent IDs for timespent API methods- --.bru deleted file mode 100644 index f9a0b62aad0b3..0000000000000 --- a/dev/setup/bruno/tasks/Validate task - timespent IDs for timespent API methods- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Validate task - timespent IDs for timespent API methods- -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/tasks/timespentrecordchecks/{id} - body: none - auth: none -} - -query { - timespent_id: -} diff --git a/dev/setup/bruno/thirdparties/Add a customer category to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Add a customer category to a thirdparty --.bru deleted file mode 100644 index c4eb274ecba15..0000000000000 --- a/dev/setup/bruno/thirdparties/Add a customer category to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a customer category to a thirdparty -- - type: http - seq: 13 -} - -put { - url: {{base_url}}/thirdparties/{id}/categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Add a customer representative to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Add a customer representative to a thirdparty --.bru deleted file mode 100644 index 45873358bd962..0000000000000 --- a/dev/setup/bruno/thirdparties/Add a customer representative to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a customer representative to a thirdparty -- - type: http - seq: 10 -} - -post { - url: {{base_url}}/thirdparties/{id}/representative/{representative_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Add a supplier category to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Add a supplier category to a thirdparty --.bru deleted file mode 100644 index d56eda3590b97..0000000000000 --- a/dev/setup/bruno/thirdparties/Add a supplier category to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a supplier category to a thirdparty -- - type: http - seq: 16 -} - -put { - url: {{base_url}}/thirdparties/{id}/supplier_categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Create CompanyBankAccount object for thirdparty --.bru b/dev/setup/bruno/thirdparties/Create CompanyBankAccount object for thirdparty --.bru deleted file mode 100644 index 14346ff4f0d87..0000000000000 --- a/dev/setup/bruno/thirdparties/Create CompanyBankAccount object for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create CompanyBankAccount object for thirdparty -- - type: http - seq: 30 -} - -post { - url: {{base_url}}/thirdparties/{id}/bankaccounts - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Create CompanyNotification object for thirdparty --.bru b/dev/setup/bruno/thirdparties/Create CompanyNotification object for thirdparty --.bru deleted file mode 100644 index 19c60988ca4ab..0000000000000 --- a/dev/setup/bruno/thirdparties/Create CompanyNotification object for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create CompanyNotification object for thirdparty -- - type: http - seq: 26 -} - -post { - url: {{base_url}}/thirdparties/{id}/notifications - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Create and attach a new -or replace an existing- specific site account to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Create and attach a new -or replace an existing- specific site account to a thirdparty --.bru deleted file mode 100644 index f303034c58e39..0000000000000 --- a/dev/setup/bruno/thirdparties/Create and attach a new -or replace an existing- specific site account to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create and attach a new -or replace an existing- specific site account to a thirdparty -- - type: http - seq: 37 -} - -put { - url: {{base_url}}/thirdparties/{id}/accounts/{site} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Create and attach a new account to an existing thirdparty --.bru b/dev/setup/bruno/thirdparties/Create and attach a new account to an existing thirdparty --.bru deleted file mode 100644 index 0444749d42105..0000000000000 --- a/dev/setup/bruno/thirdparties/Create and attach a new account to an existing thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create and attach a new account to an existing thirdparty -- - type: http - seq: 35 -} - -post { - url: {{base_url}}/thirdparties/{id}/accounts - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Create thirdparty object --.bru b/dev/setup/bruno/thirdparties/Create thirdparty object --.bru deleted file mode 100644 index a64c11ce35f4f..0000000000000 --- a/dev/setup/bruno/thirdparties/Create thirdparty object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create thirdparty object -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/thirdparties - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete a CompanyNotification attached to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Delete a CompanyNotification attached to a thirdparty --.bru deleted file mode 100644 index 75f9a620de431..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete a CompanyNotification attached to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a CompanyNotification attached to a thirdparty -- - type: http - seq: 27 -} - -delete { - url: {{base_url}}/thirdparties/{id}/notifications/{notification_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete a bank account attached to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Delete a bank account attached to a thirdparty --.bru deleted file mode 100644 index 6fdc455339351..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete a bank account attached to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a bank account attached to a thirdparty -- - type: http - seq: 32 -} - -delete { - url: {{base_url}}/thirdparties/{id}/bankaccounts/{bankaccount_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete a customer representative to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Delete a customer representative to a thirdparty --.bru deleted file mode 100644 index 0195349f86693..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete a customer representative to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a customer representative to a thirdparty -- - type: http - seq: 11 -} - -delete { - url: {{base_url}}/thirdparties/{id}/representative/{representative_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete a specific site account attached to a thirdparty -by account id- --.bru b/dev/setup/bruno/thirdparties/Delete a specific site account attached to a thirdparty -by account id- --.bru deleted file mode 100644 index b4f12c8ff5e1c..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete a specific site account attached to a thirdparty -by account id- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete a specific site account attached to a thirdparty -by account id- -- - type: http - seq: 39 -} - -delete { - url: {{base_url}}/thirdparties/{id}/accounts/{site} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete all accounts attached to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Delete all accounts attached to a thirdparty --.bru deleted file mode 100644 index 5ac80ddc4e408..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete all accounts attached to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete all accounts attached to a thirdparty -- - type: http - seq: 36 -} - -delete { - url: {{base_url}}/thirdparties/{id}/accounts - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Delete thirdparty --.bru b/dev/setup/bruno/thirdparties/Delete thirdparty --.bru deleted file mode 100644 index b89a429aae641..0000000000000 --- a/dev/setup/bruno/thirdparties/Delete thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete thirdparty -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/thirdparties/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Generate a Document from a bank account record -like SEPA mandate- --.bru b/dev/setup/bruno/thirdparties/Generate a Document from a bank account record -like SEPA mandate- --.bru deleted file mode 100644 index 263eb12fe6a49..0000000000000 --- a/dev/setup/bruno/thirdparties/Generate a Document from a bank account record -like SEPA mandate- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Generate a Document from a bank account record -like SEPA mandate- -- - type: http - seq: 33 -} - -get { - url: {{base_url}}/thirdparties/{id}/generateBankAccountDocument/{companybankid}/{model} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get CompanyBankAccount objects for thirdparty --.bru b/dev/setup/bruno/thirdparties/Get CompanyBankAccount objects for thirdparty --.bru deleted file mode 100644 index 2f5b15a5c1c6b..0000000000000 --- a/dev/setup/bruno/thirdparties/Get CompanyBankAccount objects for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get CompanyBankAccount objects for thirdparty -- - type: http - seq: 29 -} - -get { - url: {{base_url}}/thirdparties/{id}/bankaccounts - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get CompanyNotification objects for thirdparty --.bru b/dev/setup/bruno/thirdparties/Get CompanyNotification objects for thirdparty --.bru deleted file mode 100644 index 9fb58b3666bb8..0000000000000 --- a/dev/setup/bruno/thirdparties/Get CompanyNotification objects for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get CompanyNotification objects for thirdparty -- - type: http - seq: 25 -} - -get { - url: {{base_url}}/thirdparties/{id}/notifications - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get a specific account attached to a thirdparty -by specifying the site key- --.bru b/dev/setup/bruno/thirdparties/Get a specific account attached to a thirdparty -by specifying the site key- --.bru deleted file mode 100644 index 8aedf53c75a98..0000000000000 --- a/dev/setup/bruno/thirdparties/Get a specific account attached to a thirdparty -by specifying the site key- --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get a specific account attached to a thirdparty -by specifying the site key- -- - type: http - seq: 34 -} - -get { - url: {{base_url}}/thirdparties/{id}/accounts - body: none - auth: none -} - -query { - ~site: -} diff --git a/dev/setup/bruno/thirdparties/Get customer categories for a thirdparty --.bru b/dev/setup/bruno/thirdparties/Get customer categories for a thirdparty --.bru deleted file mode 100644 index 0ea866fa1f9e7..0000000000000 --- a/dev/setup/bruno/thirdparties/Get customer categories for a thirdparty --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get customer categories for a thirdparty -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/thirdparties/{id}/categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/thirdparties/Get fixed amount discount of a thirdparty -all sources- deposit- credit note- commercial offers---- --.bru b/dev/setup/bruno/thirdparties/Get fixed amount discount of a thirdparty -all sources- deposit- credit note- commercial offers---- --.bru deleted file mode 100644 index e5a403c58a66d..0000000000000 --- a/dev/setup/bruno/thirdparties/Get fixed amount discount of a thirdparty -all sources- deposit- credit note- commercial offers---- --.bru +++ /dev/null @@ -1,17 +0,0 @@ -meta { - name: Get fixed amount discount of a thirdparty -all sources- deposit- credit note- commercial offers---- -- - type: http - seq: 22 -} - -get { - url: {{base_url}}/thirdparties/{id}/fixedamountdiscounts - body: none - auth: none -} - -query { - ~filter: - ~sortfield: - ~sortorder: -} diff --git a/dev/setup/bruno/thirdparties/Get outstanding invoices of thirdparty --.bru b/dev/setup/bruno/thirdparties/Get outstanding invoices of thirdparty --.bru deleted file mode 100644 index 161e5d4cd9fd0..0000000000000 --- a/dev/setup/bruno/thirdparties/Get outstanding invoices of thirdparty --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get outstanding invoices of thirdparty -- - type: http - seq: 20 -} - -get { - url: {{base_url}}/thirdparties/{id}/outstandinginvoices - body: none - auth: none -} - -query { - ~mode: -} diff --git a/dev/setup/bruno/thirdparties/Get outstanding orders of thirdparty --.bru b/dev/setup/bruno/thirdparties/Get outstanding orders of thirdparty --.bru deleted file mode 100644 index d9ce5e2c75ee4..0000000000000 --- a/dev/setup/bruno/thirdparties/Get outstanding orders of thirdparty --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get outstanding orders of thirdparty -- - type: http - seq: 19 -} - -get { - url: {{base_url}}/thirdparties/{id}/outstandingorders - body: none - auth: none -} - -query { - ~mode: -} diff --git a/dev/setup/bruno/thirdparties/Get outstanding proposals of thirdparty --.bru b/dev/setup/bruno/thirdparties/Get outstanding proposals of thirdparty --.bru deleted file mode 100644 index 9a0034aa88a86..0000000000000 --- a/dev/setup/bruno/thirdparties/Get outstanding proposals of thirdparty --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get outstanding proposals of thirdparty -- - type: http - seq: 18 -} - -get { - url: {{base_url}}/thirdparties/{id}/outstandingproposals - body: none - auth: none -} - -query { - ~mode: -} diff --git a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object --.bru b/dev/setup/bruno/thirdparties/Get properties of a thirdparty object --.bru deleted file mode 100644 index 16b9d902fe539..0000000000000 --- a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a thirdparty object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/thirdparties/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by barcode- --.bru b/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by barcode- --.bru deleted file mode 100644 index 2472c84beeb49..0000000000000 --- a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by barcode- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a thirdparty object by barcode- -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/thirdparties/barcode/{barcode} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by email- --.bru b/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by email- --.bru deleted file mode 100644 index b77394789abcd..0000000000000 --- a/dev/setup/bruno/thirdparties/Get properties of a thirdparty object by email- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a thirdparty object by email- -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/thirdparties/email/{email} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Get representatives of thirdparty --.bru b/dev/setup/bruno/thirdparties/Get representatives of thirdparty --.bru deleted file mode 100644 index 149b383e52c68..0000000000000 --- a/dev/setup/bruno/thirdparties/Get representatives of thirdparty --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get representatives of thirdparty -- - type: http - seq: 21 -} - -get { - url: {{base_url}}/thirdparties/{id}/representatives - body: none - auth: none -} - -query { - ~mode: -} diff --git a/dev/setup/bruno/thirdparties/Get supplier categories for a thirdparty --.bru b/dev/setup/bruno/thirdparties/Get supplier categories for a thirdparty --.bru deleted file mode 100644 index 47cc546f5d238..0000000000000 --- a/dev/setup/bruno/thirdparties/Get supplier categories for a thirdparty --.bru +++ /dev/null @@ -1,18 +0,0 @@ -meta { - name: Get supplier categories for a thirdparty -- - type: http - seq: 15 -} - -get { - url: {{base_url}}/thirdparties/{id}/supplier_categories - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: -} diff --git a/dev/setup/bruno/thirdparties/List thirdparties --.bru b/dev/setup/bruno/thirdparties/List thirdparties --.bru deleted file mode 100644 index 8b33b8881ef47..0000000000000 --- a/dev/setup/bruno/thirdparties/List thirdparties --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List thirdparties -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/thirdparties - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~mode: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/thirdparties/Merge a third party into another one- --.bru b/dev/setup/bruno/thirdparties/Merge a third party into another one- --.bru deleted file mode 100644 index e1a7e835dd498..0000000000000 --- a/dev/setup/bruno/thirdparties/Merge a third party into another one- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Merge a third party into another one- -- - type: http - seq: 8 -} - -put { - url: {{base_url}}/thirdparties/{id}/merge/{idtodelete} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Remove the link between a category and the thirdparty --.bru b/dev/setup/bruno/thirdparties/Remove the link between a category and the thirdparty --.bru deleted file mode 100644 index f1457370ceda8..0000000000000 --- a/dev/setup/bruno/thirdparties/Remove the link between a category and the thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Remove the link between a category and the thirdparty -- - type: http - seq: 17 -} - -delete { - url: {{base_url}}/thirdparties/{id}/supplier_categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Remove the link between a customer category and the thirdparty --.bru b/dev/setup/bruno/thirdparties/Remove the link between a customer category and the thirdparty --.bru deleted file mode 100644 index 6f8fb97a033a5..0000000000000 --- a/dev/setup/bruno/thirdparties/Remove the link between a customer category and the thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Remove the link between a customer category and the thirdparty -- - type: http - seq: 14 -} - -delete { - url: {{base_url}}/thirdparties/{id}/categories/{category_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Return list of invoices qualified to be corrected by a credit note- --.bru b/dev/setup/bruno/thirdparties/Return list of invoices qualified to be corrected by a credit note- --.bru deleted file mode 100644 index 6ba86e3a152d4..0000000000000 --- a/dev/setup/bruno/thirdparties/Return list of invoices qualified to be corrected by a credit note- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Return list of invoices qualified to be corrected by a credit note- -- - type: http - seq: 24 -} - -get { - url: {{base_url}}/thirdparties/{id}/getinvoicesqualifiedforcreditnote - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Return list of invoices qualified to be replaced by another invoice- --.bru b/dev/setup/bruno/thirdparties/Return list of invoices qualified to be replaced by another invoice- --.bru deleted file mode 100644 index e45b910a48063..0000000000000 --- a/dev/setup/bruno/thirdparties/Return list of invoices qualified to be replaced by another invoice- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Return list of invoices qualified to be replaced by another invoice- -- - type: http - seq: 23 -} - -get { - url: {{base_url}}/thirdparties/{id}/getinvoicesqualifiedforreplacement - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Set new price level for the given thirdparty --.bru b/dev/setup/bruno/thirdparties/Set new price level for the given thirdparty --.bru deleted file mode 100644 index 16617b030ff3e..0000000000000 --- a/dev/setup/bruno/thirdparties/Set new price level for the given thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Set new price level for the given thirdparty -- - type: http - seq: 9 -} - -put { - url: {{base_url}}/thirdparties/{id}/setpricelevel/{priceLevel} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Update CompanyBankAccount object for thirdparty --.bru b/dev/setup/bruno/thirdparties/Update CompanyBankAccount object for thirdparty --.bru deleted file mode 100644 index ef661c31e12e1..0000000000000 --- a/dev/setup/bruno/thirdparties/Update CompanyBankAccount object for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update CompanyBankAccount object for thirdparty -- - type: http - seq: 31 -} - -put { - url: {{base_url}}/thirdparties/{id}/bankaccounts/{bankaccount_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Update CompanyNotification object for thirdparty --.bru b/dev/setup/bruno/thirdparties/Update CompanyNotification object for thirdparty --.bru deleted file mode 100644 index 0bb66228d7e3d..0000000000000 --- a/dev/setup/bruno/thirdparties/Update CompanyNotification object for thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update CompanyNotification object for thirdparty -- - type: http - seq: 28 -} - -put { - url: {{base_url}}/thirdparties/{id}/notifications/{notification_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Update specified values of a specific account attached to a thirdparty --.bru b/dev/setup/bruno/thirdparties/Update specified values of a specific account attached to a thirdparty --.bru deleted file mode 100644 index 2e81c30461886..0000000000000 --- a/dev/setup/bruno/thirdparties/Update specified values of a specific account attached to a thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update specified values of a specific account attached to a thirdparty -- - type: http - seq: 38 -} - -patch { - url: {{base_url}}/thirdparties/{id}/accounts/{site} - body: none - auth: none -} diff --git a/dev/setup/bruno/thirdparties/Update thirdparty --.bru b/dev/setup/bruno/thirdparties/Update thirdparty --.bru deleted file mode 100644 index 7e0775957e7ff..0000000000000 --- a/dev/setup/bruno/thirdparties/Update thirdparty --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update thirdparty -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/thirdparties/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Add a new message to an existing ticket identified by property --track_id into request- --.bru b/dev/setup/bruno/tickets/Add a new message to an existing ticket identified by property --track_id into request- --.bru deleted file mode 100644 index f7abc2cdad13a..0000000000000 --- a/dev/setup/bruno/tickets/Add a new message to an existing ticket identified by property --track_id into request- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Add a new message to an existing ticket identified by property --track_id into request- -- - type: http - seq: 8 -} - -post { - url: {{base_url}}/tickets/newmessage - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Create ticket object --.bru b/dev/setup/bruno/tickets/Create ticket object --.bru deleted file mode 100644 index 3c18f63db528f..0000000000000 --- a/dev/setup/bruno/tickets/Create ticket object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create ticket object -- - type: http - seq: 7 -} - -post { - url: {{base_url}}/tickets - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Delete ticket --.bru b/dev/setup/bruno/tickets/Delete ticket --.bru deleted file mode 100644 index f237c4c945555..0000000000000 --- a/dev/setup/bruno/tickets/Delete ticket --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete ticket -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/tickets/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Get properties of a Ticket object from ref --.bru b/dev/setup/bruno/tickets/Get properties of a Ticket object from ref --.bru deleted file mode 100644 index 6ae751f557b7b..0000000000000 --- a/dev/setup/bruno/tickets/Get properties of a Ticket object from ref --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a Ticket object from ref -- - type: http - seq: 5 -} - -get { - url: {{base_url}}/tickets/ref/{ref} - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Get properties of a Ticket object from track id --.bru b/dev/setup/bruno/tickets/Get properties of a Ticket object from track id --.bru deleted file mode 100644 index c4497a859c92b..0000000000000 --- a/dev/setup/bruno/tickets/Get properties of a Ticket object from track id --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a Ticket object from track id -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/tickets/track_id/{track_id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/Get properties of a Ticket object- --.bru b/dev/setup/bruno/tickets/Get properties of a Ticket object- --.bru deleted file mode 100644 index 6e482d42af13f..0000000000000 --- a/dev/setup/bruno/tickets/Get properties of a Ticket object- --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a Ticket object- -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/tickets/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/tickets/List tickets --.bru b/dev/setup/bruno/tickets/List tickets --.bru deleted file mode 100644 index a2e93a8bf1c74..0000000000000 --- a/dev/setup/bruno/tickets/List tickets --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List tickets -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/tickets - body: none - auth: none -} - -query { - ~socid: - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/tickets/Update ticket --.bru b/dev/setup/bruno/tickets/Update ticket --.bru deleted file mode 100644 index efbd6cdf5174e..0000000000000 --- a/dev/setup/bruno/tickets/Update ticket --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update ticket -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/tickets/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/users/Add a user into a group --.bru b/dev/setup/bruno/users/Add a user into a group --.bru deleted file mode 100644 index 1132e535ecf99..0000000000000 --- a/dev/setup/bruno/users/Add a user into a group --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Add a user into a group -- - type: http - seq: 10 -} - -get { - url: {{base_url}}/users/{id}/setGroup/{group} - body: none - auth: none -} - -query { - ~entity: -} diff --git a/dev/setup/bruno/users/Create user account --.bru b/dev/setup/bruno/users/Create user account --.bru deleted file mode 100644 index bf874ccea14b1..0000000000000 --- a/dev/setup/bruno/users/Create user account --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create user account -- - type: http - seq: 2 -} - -post { - url: {{base_url}}/users - body: none - auth: none -} diff --git a/dev/setup/bruno/users/Delete account-user --.bru b/dev/setup/bruno/users/Delete account-user --.bru deleted file mode 100644 index 1792e61153214..0000000000000 --- a/dev/setup/bruno/users/Delete account-user --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete account-user -- - type: http - seq: 5 -} - -delete { - url: {{base_url}}/users/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/users/Get more properties of a user --.bru b/dev/setup/bruno/users/Get more properties of a user --.bru deleted file mode 100644 index 28cab7c655fea..0000000000000 --- a/dev/setup/bruno/users/Get more properties of a user --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get more properties of a user -- - type: http - seq: 8 -} - -get { - url: {{base_url}}/users/info - body: none - auth: none -} - -query { - ~includepermissions: -} diff --git a/dev/setup/bruno/users/Get properties of an group object --.bru b/dev/setup/bruno/users/Get properties of an group object --.bru deleted file mode 100644 index a4c868acdefd0..0000000000000 --- a/dev/setup/bruno/users/Get properties of an group object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an group object -- - type: http - seq: 12 -} - -get { - url: {{base_url}}/users/groups/{group} - body: none - auth: none -} - -query { - ~load_members: -} diff --git a/dev/setup/bruno/users/Get properties of an user object --.bru b/dev/setup/bruno/users/Get properties of an user object --.bru deleted file mode 100644 index e07bb8d87bc5e..0000000000000 --- a/dev/setup/bruno/users/Get properties of an user object --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an user object -- - type: http - seq: 3 -} - -get { - url: {{base_url}}/users/{id} - body: none - auth: none -} - -query { - ~includepermissions: -} diff --git a/dev/setup/bruno/users/Get properties of an user object by Email --.bru b/dev/setup/bruno/users/Get properties of an user object by Email --.bru deleted file mode 100644 index 1cb770d3794fc..0000000000000 --- a/dev/setup/bruno/users/Get properties of an user object by Email --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an user object by Email -- - type: http - seq: 7 -} - -get { - url: {{base_url}}/users/email/{email} - body: none - auth: none -} - -query { - ~includepermissions: -} diff --git a/dev/setup/bruno/users/Get properties of an user object by login --.bru b/dev/setup/bruno/users/Get properties of an user object by login --.bru deleted file mode 100644 index c517d7bcf72c6..0000000000000 --- a/dev/setup/bruno/users/Get properties of an user object by login --.bru +++ /dev/null @@ -1,15 +0,0 @@ -meta { - name: Get properties of an user object by login -- - type: http - seq: 6 -} - -get { - url: {{base_url}}/users/login/{login} - body: none - auth: none -} - -query { - ~includepermissions: -} diff --git a/dev/setup/bruno/users/List Groups --.bru b/dev/setup/bruno/users/List Groups --.bru deleted file mode 100644 index 60eb00f351f94..0000000000000 --- a/dev/setup/bruno/users/List Groups --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List Groups -- - type: http - seq: 11 -} - -get { - url: {{base_url}}/users/groups - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~group_ids: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/users/List Users --.bru b/dev/setup/bruno/users/List Users --.bru deleted file mode 100644 index bed94d6038913..0000000000000 --- a/dev/setup/bruno/users/List Users --.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: List Users -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/users - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~user_ids: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/users/List the groups of a user --.bru b/dev/setup/bruno/users/List the groups of a user --.bru deleted file mode 100644 index eb34057c5f8fd..0000000000000 --- a/dev/setup/bruno/users/List the groups of a user --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: List the groups of a user -- - type: http - seq: 9 -} - -get { - url: {{base_url}}/users/{id}/groups - body: none - auth: none -} diff --git a/dev/setup/bruno/users/Update user account --.bru b/dev/setup/bruno/users/Update user account --.bru deleted file mode 100644 index af8f82695b609..0000000000000 --- a/dev/setup/bruno/users/Update user account --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update user account -- - type: http - seq: 4 -} - -put { - url: {{base_url}}/users/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/warehouses/Create warehouse object --.bru b/dev/setup/bruno/warehouses/Create warehouse object --.bru deleted file mode 100644 index e7eaf5a5a6764..0000000000000 --- a/dev/setup/bruno/warehouses/Create warehouse object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Create warehouse object -- - type: http - seq: 5 -} - -post { - url: {{base_url}}/warehouses - body: none - auth: none -} diff --git a/dev/setup/bruno/warehouses/Delete warehouse --.bru b/dev/setup/bruno/warehouses/Delete warehouse --.bru deleted file mode 100644 index f817bec392382..0000000000000 --- a/dev/setup/bruno/warehouses/Delete warehouse --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Delete warehouse -- - type: http - seq: 3 -} - -delete { - url: {{base_url}}/warehouses/{id} - body: none - auth: none -} diff --git a/dev/setup/bruno/warehouses/Get properties of a warehouse object --.bru b/dev/setup/bruno/warehouses/Get properties of a warehouse object --.bru deleted file mode 100644 index 327b857f602a1..0000000000000 --- a/dev/setup/bruno/warehouses/Get properties of a warehouse object --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Get properties of a warehouse object -- - type: http - seq: 1 -} - -get { - url: {{base_url}}/warehouses/2 - body: none - auth: none -} diff --git a/dev/setup/bruno/warehouses/List warehouses --.bru b/dev/setup/bruno/warehouses/List warehouses --.bru deleted file mode 100644 index d7a548f4720a9..0000000000000 --- a/dev/setup/bruno/warehouses/List warehouses --.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: List warehouses -- - type: http - seq: 4 -} - -get { - url: {{base_url}}/warehouses - body: none - auth: none -} - -query { - ~sortfield: - ~sortorder: - ~limit: - ~page: - ~category: - ~sqlfilters: - ~properties: -} diff --git a/dev/setup/bruno/warehouses/Update warehouse --.bru b/dev/setup/bruno/warehouses/Update warehouse --.bru deleted file mode 100644 index 19e470ed58254..0000000000000 --- a/dev/setup/bruno/warehouses/Update warehouse --.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Update warehouse -- - type: http - seq: 2 -} - -put { - url: {{base_url}}/warehouses/{id} - body: none - auth: none -} diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 7287be2ef0574..9f03d9cc269c1 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -149,7 +149,7 @@ $output_arrtd = array(); if ($dirphpstan != 'disabled') { - $commandcheck = ($dirphpstan ? $dirphpstan.'/' : '').'phpstan --level='.$PHPSTANLEVEL.' -v analyze -a build/phpstan/bootstrap.php --memory-limit 5G --error-format=github'; + $commandcheck = ($dirphpstan ? $dirphpstan.'/' : '').'phpstan --level='.$PHPSTANLEVEL.' -v analyze -a build/phpstan/bootstrap.php --memory-limit 8G --error-format=github'; print 'Execute PHPStan to get the technical debt: '.$commandcheck."\n"; $resexectd = 0; exec($commandcheck, $output_arrtd, $resexectd); diff --git a/dev/tools/updatelicense.php b/dev/tools/fixcopyrightheader.php similarity index 98% rename from dev/tools/updatelicense.php rename to dev/tools/fixcopyrightheader.php index 6c69785e7e08e..cc0e40b8517db 100755 --- a/dev/tools/updatelicense.php +++ b/dev/tools/fixcopyrightheader.php @@ -1,6 +1,6 @@ #!/usr/bin/env php +/* Copyright (C) 2024 MDW * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -49,7 +49,6 @@ function getGitUserInfo() * @param $fileType string Filetype identification for the file * @param $name string Name of developer to add in header * @param $email string Email for the developer - * * @return bool True if license was updated */ function updateCopyrightNotice($filename, $fileType, $name, $email) @@ -75,6 +74,7 @@ function updateCopyrightNotice($filename, $fileType, $name, $email) $pattern = "~(?:{$r_prefix0}|{$r_prefix1})Copyright \(C\)\s+(?:(?:\d{4}-)?(?\d{4}))\s+{$r_name}\s*\<{$r_email}>~"; // Check if the lines match the pattern + $matches = array(); if (preg_match($pattern, $lines, $matches)) { $existingYear = $matches['year']; diff --git a/dev/tools/fixhasRights.sh b/dev/tools/fixhasRights.sh deleted file mode 100755 index b3ca605c359bc..0000000000000 --- a/dev/tools/fixhasRights.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# -# Example of script to fix code writing of permissions -# -# shellcheck disable=2013,2016,2086 - -for f in $(grep -l -e 'user->rights' -R); do - sed -i -r 's/!empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\) *\? *\$user->rights->\1->\2->\3 *: *0;/$user->hasRight("\1", "\2", "\3");/' $f - sed -i -r 's/ empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\) *\? *0 *: *\$user->rights->\1->\2->\3;/ !$user->hasRight("\1", "\2", "\3");/' $f - sed -i -r 's/!empty\((DolibarrApiAccess::)\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\)/\1$user->hasRight("\2", "\3", "\4")/g' $f - sed -i -r 's/!empty\((DolibarrApiAccess::)\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)\)/\1$user->hasRight("\2", "\3")/g' $f - sed -i -r 's/empty\((DolibarrApiAccess::)\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\)/!\1$user->hasRight("\2", "\3", "\4")/g' $f - sed -i -r 's/empty\((DolibarrApiAccess::)\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)\)/!\1$user->hasRight("\2", "\3")/g' $f - sed -i -r 's/!empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\)/$user->hasRight("\1", "\2", "\3")/g' $f - sed -i -r 's/!empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)\)/$user->hasRight("\1", "\2")/g' $f - sed -i -r 's/empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)->([_a-z0-9]+)\)/!$user->hasRight("\1", "\2", "\3")/g' $f - sed -i -r 's/empty\(\$user->rights->([_a-z0-9]+)->([_a-z0-9]+)\)/!$user->hasRight("\1", "\2")/g' $f - sed -i -r 's/\$user->rights\??->([_a-z0-9]+)\??->([_a-z0-9]+)\??->([_a-z0-9]+)/$user->hasRight("\1", "\2", "\3")/g' $f - sed -i -r 's/\$user->rights\??->([_a-z0-9]+)\??->([_a-z0-9]+)/$user->hasRight("\1", "\2")/g' $f -done - diff --git a/dev/tools/optimize_images.sh b/dev/tools/optimize_images.sh index 5d2e4c3500c2d..4bc917e5f5fdc 100755 --- a/dev/tools/optimize_images.sh +++ b/dev/tools/optimize_images.sh @@ -28,8 +28,8 @@ EO -q, --quiet & disables output -i, --input [dir] & specify input directory (current directory by default) -o, --output [dir] & specify output directory ("output" by default) - -ns, --no-stats & no stats at the end -p, --inplace & optimizes files inplace + -ns, --no-stats & no stats at the end EO } @@ -236,4 +236,3 @@ then fi main - diff --git a/dev/tools/phan/baseline.txt b/dev/tools/phan/baseline.txt index b29cce1a6639c..d353040f25f98 100644 --- a/dev/tools/phan/baseline.txt +++ b/dev/tools/phan/baseline.txt @@ -752,6 +752,7 @@ return [ 'htdocs/core/modules/oauth/github_oauthcallback.php' => ['PhanUndeclaredGlobalVariable', 'PhanUndeclaredMethod'], 'htdocs/core/modules/oauth/google_oauthcallback.php' => ['PhanPluginUnknownObjectMethodCall', 'PhanTypeArraySuspiciousNullable', 'PhanUndeclaredMethod'], 'htdocs/core/modules/oauth/microsoft_oauthcallback.php' => ['PhanUndeclaredMethod'], + 'htdocs/core/modules/oauth/microsoft2_oauthcallback.php' => ['PhanUndeclaredMethod'], 'htdocs/core/modules/oauth/stripelive_oauthcallback.php' => ['PhanPluginUnknownObjectMethodCall', 'PhanUndeclaredGlobalVariable'], 'htdocs/core/modules/oauth/stripetest_oauthcallback.php' => ['PhanPluginUnknownObjectMethodCall', 'PhanUndeclaredGlobalVariable'], 'htdocs/core/modules/payment/mod_payment_ant.php' => ['PhanTypeMismatchArgumentProbablyReal'], diff --git a/dev/translation/dynamic_translation_keys.lst b/dev/translation/dynamic_translation_keys.lst index 63b0078e491c0..f043dd89e6d65 100644 --- a/dev/translation/dynamic_translation_keys.lst +++ b/dev/translation/dynamic_translation_keys.lst @@ -668,7 +668,6 @@ DATAPOLICY_CONTACT_FOURNISSEUR DATAPOLICY_CONTACT_NIPROSPECT_NICLIENT DATAPOLICY_CONTACT_PROSPECT DATAPOLICY_CONTACT_PROSPECT_CLIENT -DATAPOLICY_PORTABILITE DATAPOLICY_TIERS_CLIENT DATAPOLICY_TIERS_FOURNISSEUR DATAPOLICY_TIERS_NIPROSPECT_NICLIENT @@ -2996,6 +2995,7 @@ UserLogged UserLoginFailed UserLogoff UserMargins +UserModif UserModification UserModificationShort UserNeedPermissionToEditStockToUsePos @@ -3307,11 +3307,7 @@ WEBPORTAL_USER_LOGGED # The following exceptions are added to have Continuous Integrations pass. # They may not be valid exceptions - this list needs to be cleaned # -ANONYMISER_AT AiCustomPrompt -DATAPOLICYSUBSITUTION -DATAPOLICY_PORTABILITE_CONFIRMATION -DATAPOLICY_PORTABILITE_TITLE DisplayGrandTotalInList EditWithEditor ElementId @@ -3326,6 +3322,7 @@ ModelTemplate ModuleWebPortalDesc ModuleWebPortalName Reports +SecurityEvent SendEmailsRemindersOnSupplierInvoiceDueDate TXTLINKDATAPOLICYACCEPT TXTLINKDATAPOLICYREFUSE @@ -3338,6 +3335,7 @@ WebPortalOrderListNothing WebPortalPropalListNothing WebPortalSetup WebPortalSetupPage +WebsiteTemplateWasCopied XSubsriptionErrors YouCanChooseAModelForYouMailContent YouCanMakeSomeInstructionForEmail diff --git a/dev/translation/sanity_check_trans_missing_unused.sh b/dev/translation/sanity_check_trans_missing_unused.sh index b78306ae12250..5b29f5b9460f2 100755 --- a/dev/translation/sanity_check_trans_missing_unused.sh +++ b/dev/translation/sanity_check_trans_missing_unused.sh @@ -50,9 +50,11 @@ GREP_OPTS="${GREP_OPTS} --exclude=*.sw? --exclude=*.json" # Note: using 'git grep' to restrict to version controlled files # and more flexible globbing. -# TODO/to ignore: -# transnoentities(), transnoentitiesnoconv(), -# formSetup->newItem() +if [ "$1" == "--help" ]; then + echo "----- sanity_check_trans_missing_unused.sh -----" + echo "Usage: sanity_check_trans_missing_unused.sh (--help) (--showunused)" + exit; +fi exit_code=0 @@ -71,12 +73,16 @@ sort -u \ # EXTRACT_STR="" JOIN_STR="" -for t in '->trans' '->transnoentities' '->transnoentitiesnoconv' 'formSetup->newItem' ; do +for t in '->trans' '->transnoentities' '->transnoentitiesnoconv' '->newItem' '->buttonsSaveCancel'; do MATCH_STR="$MATCH_STR$JOIN_STR$t" EXTRACT_STR="$EXTRACT_STR$JOIN_STR(?<=${t}\\([\"'])([^\"']+)(?=[\"']\$)" JOIN_STR="|" done +#echo "MATCH_STR=$MATCH_STR" +#echo "EXTRACT_STR=$EXTRACT_STR" +#echo "Generate the file EXPECTED_FILE=${EXPECTED_FILE} (contains autodetected dynamic trans and declared dynamic trans)" + { # Find static strings that are translated in the sources (comments stripped) # shellcheck disable=2086 @@ -117,47 +123,30 @@ fi # > yyy # Some output is already compatible with message extraction for github annotation (logToCs.py) # + diff "${AVAILABLE_FILE}" "${EXPECTED_FILE}" \ | grep -E "^[<>]" \ | grep -v -P "^< ${EXPECTED_REGEX}$" \ | sort \ > "${MISSING_AND_UNUSED_FILE}" -if [ -s "${MISSING_AND_UNUSED_FILE}" ] ; then - echo "##[group]List Apparently Unused Translations (<) and Missing Translations (>)" - echo - echo "## :warning: Unused Translations may match ->trans(\$key.'SomeString')." - echo "## You can add such dynamic keys to $(basename "$DYNAMIC_KEYS_SRC_FILE")" - echo "## so that they are ignored for this report." - echo "## :warning: Unused Translations may also be commented in the code" - echo "## You can add such 'disabled' keys to $(basename "$EXCLUDE_KEYS_SRC_FILE")" - echo "## so that they are ignored for this report." - echo - cat "${MISSING_AND_UNUSED_FILE}" - echo "##[endgroup]" - echo -fi - +rm -f "${UNUSED_FILE}.grep" >/dev/null 2>&1 sed -n 's@< \(.*\)@^\1\\s*=@p' \ < "${MISSING_AND_UNUSED_FILE}" \ > "${UNUSED_FILE}.grep" -# Too many results, git grep is slow -#sed -n 's@> \(.*\)@trans.["'"'"']\1["'"'"'].@p' \ -# < "${MISSING_AND_UNUSED_FILE}" \ -# > "${MISSING_FILE}.grep" -# # Prepare file with exact matches for use with `git grep`, supposing " quotes # REPL_STR="" -for t in trans transnoentities transnoentitiesnoconv ; do +for t in trans transnoentities transnoentitiesnoconv newItem buttonsSaveCancel; do REPL_STR="${REPL_STR}\n->${t}(\"\\1\"," REPL_STR="${REPL_STR}\n->${t}('\\1'," REPL_STR="${REPL_STR}\n->${t}(\"\\1\")" REPL_STR="${REPL_STR}\n->${t}('\\1')" done +rm -f "${MISSING_FILE}.grep" >/dev/null 2>&1 sed -n 's@> \(.*\)'"@${REPL_STR}@p" \ < "${MISSING_AND_UNUSED_FILE}" \ | grep -v -E '^$' \ @@ -170,18 +159,40 @@ if [ -s "${UNUSED_FILE}.grep" ] ; then exit_code=0 # We do not consider adding new entries for future use as an error (even if ignore_translation_keys.lst not filled). # Report unused translation in recognizable format + + echo + echo "##[group]List Apparently Unused Translations (found into a lang file but not into code) - Does NOT generate CTI errors, only warnings" + echo "## :warning: Unused Translations may match ->trans(\$key.'SomeString')." + echo "## You can add such dynamic keys to $(basename "$DYNAMIC_KEYS_SRC_FILE")" + echo "## so that they are ignored for this report." + echo "## :warning: Unused Translations may also be commented in the code" + echo "## You can add such 'disabled' keys to $(basename "$EXCLUDE_KEYS_SRC_FILE")" + echo "## so that they are ignored for this report." + git grep -n --column -r -f "${UNUSED_FILE}.grep" -- "${LANG_DIR}"'/*.lang' \ | sort -t: -k 4 \ - | sed 's@^\([^:]*:[^:]*:[^:]*:\)\s*@\1 Not used, translated; @' + | sed 's@^\([^:]*:[^:]*:[^:]*:\)\s*@Warning Not used, translated; @' + + echo "##[endgroup]" + echo fi -if [ -s "${MISSING_FILE}.grep" ] ; then - exit_code=1 +if [ -s "${MISSING_FILE}.grep" ] ; then # Report missing translation in recognizable format + + echo "##[group]List missing translations (used by code but not found into lang files) - Generate CTI errors" + git grep -n --column -r -F -f "${MISSING_FILE}.grep" -- ':*.php' ':*.html' \ | sort -t: -k 4 \ - | sed 's@^\([^:]*:[^:]*:[^:]*:\)\s*@\1 Missing translation; @' + | sed 's@^\([^:]*:[^:]*:[^:]*:\)\s*@\1 Missing translation; @' > "${MISSING_FILE}.result" + + if [ -s "${MISSING_FILE}.result" ] ; then + exit_code=1 + cat "${MISSING_FILE}.result" + fi + + echo "##[endgroup]" fi @@ -194,7 +205,7 @@ diff "${AVAILABLE_FILE_NODEDUP}" "${AVAILABLE_FILE}" \ if [ -s "${DUPLICATE_KEYS_FILE}" ] ; then exit_code=1 echo - echo "##[group]List Duplicate Keys" + echo "##[group]List Duplicate Keys - Generate CTI errors" echo "## :warning:" echo "## Duplicate keys may be expected across language files." echo "## You may want to avoid them or they could be a copy/paste mistake." diff --git a/htdocs/accountancy/class/accountancyimport.class.php b/htdocs/accountancy/class/accountancyimport.class.php index 0583e0d3b5fa4..36f26b27f0d35 100644 --- a/htdocs/accountancy/class/accountancyimport.class.php +++ b/htdocs/accountancy/class/accountancyimport.class.php @@ -44,6 +44,10 @@ class AccountancyImport */ public $db; + /** + * @var string[] Array of error strings + */ + public $errors = array(); /** * Constructor @@ -61,12 +65,12 @@ public function __construct(DoliDB $db) * @param array $arrayrecord Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... * @param array $listfields Fields list to add * @param int $record_key Record key - * @return mixed Value + * @return float Value */ public function cleanAmount(&$arrayrecord, $listfields, $record_key) { $value_trim = trim($arrayrecord[$record_key]['val']); - return (float) $value_trim; + return (float) price2num($value_trim); } /** @@ -88,21 +92,20 @@ public function cleanValue(&$arrayrecord, $listfields, $record_key) * @param array $arrayrecord Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... * @param array $listfields Fields list to add * @param int $record_key Record key - * @return mixed Value + * @return string Value */ public function computeAmount(&$arrayrecord, $listfields, $record_key) { // get fields indexes if (isset($listfields['b.debit']) && isset($listfields['b.credit'])) { $debit_index = $listfields['b.debit']; - $credit_index = $listfields['b.credit']; - $debit = (float) $arrayrecord[$debit_index]['val']; - $credit = (float) $arrayrecord[$credit_index]['val']; - if (!empty($debit)) { - $amount = $debit; + $debitFloat = (float) price2num($arrayrecord[$debit_index]['val']); + if (!empty($debitFloat)) { + $amount = $debitFloat; } else { - $amount = $credit; + $credit_index = $listfields['b.credit']; + $amount = (float) price2num($arrayrecord[$credit_index]['val']); } return "'" . $this->db->escape(abs($amount)) . "'"; @@ -118,15 +121,15 @@ public function computeAmount(&$arrayrecord, $listfields, $record_key) * @param array $arrayrecord Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... * @param array $listfields Fields list to add * @param int $record_key Record key - * @return mixed Value + * @return string Value */ public function computeDirection(&$arrayrecord, $listfields, $record_key) { if (isset($listfields['b.debit'])) { $debit_index = $listfields['b.debit']; - $debit = (float) $arrayrecord[$debit_index]['val']; - if (!empty($debit)) { + $debitFloat = (float) price2num($arrayrecord[$debit_index]['val']); + if (!empty($debitFloat)) { $sens = 'D'; } else { $sens = 'C'; @@ -137,4 +140,78 @@ public function computeDirection(&$arrayrecord, $listfields, $record_key) return "''"; } + + /** + * Compute piece number + * + * @param array $arrayrecord Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... + * @param array $listfields Fields list to add + * @param int $record_key Record key + * @return string Value + */ + public function computePieceNum(&$arrayrecord, $listfields, $record_key) + { + global $conf; + + $pieceNum = trim($arrayrecord[$record_key]['val']); + + // auto-determine the next value for piece number + if ($pieceNum == '') { + if (isset($listfields['b.code_journal']) && isset($listfields['b.doc_date'])) { + // define memory for last record values and keep next piece number + if (!isset($conf->cache['accounting'])) { + $conf->cache['accounting'] = array( + 'lastRecordCompareValues' => array(), + 'nextPieceNum' => 0, + ); + } + $codeJournalIndex = $listfields['b.code_journal']; + $docDateIndex = $listfields['b.doc_date']; + $atLeastOneLastRecordChanged = false; + if (empty($conf->cache['accounting']['lastRecordCompareValues'])) { + $atLeastOneLastRecordChanged = true; + } else { + if ($arrayrecord[$codeJournalIndex]['val'] != $conf->cache['accounting']['lastRecordCompareValues']['b.code_journal'] + || $arrayrecord[$docDateIndex]['val'] != $conf->cache['accounting']['lastRecordCompareValues']['b.doc_date'] + ) { + $atLeastOneLastRecordChanged = true; + } + } + + // at least one record value has changed, so we search for the next piece number from database or increment it + if ($atLeastOneLastRecordChanged === true) { + $lastPieceNum = 0; + if (empty($conf->cache['accounting']['nextPieceNum'])) { + // get last piece number from database + $sql = "SELECT MAX(piece_num) as last_piece_num"; + $sql .= " FROM ".$this->db->prefix()."accounting_bookkeeping"; + $sql .= " WHERE entity IN (".getEntity('accountingbookkeeping').")"; + $res = $this->db->query($sql); + if (!$res) { + $this->errors[] = $this->db->lasterror(); + return ''; + } + if ($obj = $this->db->fetch_object($res)) { + $lastPieceNum = (int) $obj->last_piece_num; + } + $this->db->free($res); + } + // set next piece number in memory + if (empty($conf->cache['accounting']['nextPieceNum'])) { + $conf->cache['accounting']['nextPieceNum'] = $lastPieceNum; + } + $conf->cache['accounting']['nextPieceNum']++; + + // set last records values in memory + $conf->cache['accounting']['lastRecordCompareValues'] = array( + 'b.code_journal' => $arrayrecord[$codeJournalIndex]['val'], + 'b.doc_date' => $arrayrecord[$docDateIndex]['val'], + ); + } + $pieceNum = (string) $conf->cache['accounting']['nextPieceNum']; + } + } + + return $pieceNum; + } } diff --git a/htdocs/accountancy/class/lettering.class.php b/htdocs/accountancy/class/lettering.class.php index 6f669e4833df4..14a76497c1ead 100644 --- a/htdocs/accountancy/class/lettering.class.php +++ b/htdocs/accountancy/class/lettering.class.php @@ -51,6 +51,10 @@ class Lettering extends BookKeeping 'table' => 'societe_remise_except', 'fk_doc' => 'fk_facture_source', 'fk_link' => 'fk_facture', + 'fk_line_link' => 'fk_facture_line', + 'table_link_line' => 'facturedet', + 'fk_table_link_line' => 'rowid', + 'fk_table_link_line_parent' => 'fk_facture', 'prefix' => 'a', 'is_fk_link_is_also_fk_doc' => true, ), @@ -73,6 +77,10 @@ class Lettering extends BookKeeping 'table' => 'societe_remise_except', 'fk_doc' => 'fk_invoice_supplier_source', 'fk_link' => 'fk_invoice_supplier', + 'fk_line_link' => 'fk_invoice_supplier_line', + 'table_link_line' => 'facture_fourn_det', + 'fk_table_link_line' => 'rowid', + 'fk_table_link_line_parent' => 'fk_facture_fourn', 'prefix' => 'a', 'is_fk_link_is_also_fk_doc' => true, ), @@ -781,10 +789,30 @@ public function getLinkedDocumentByGroup($document_ids, $doc_type) $link_by_element = array(); $element_by_link = array(); foreach ($doc_type_info['linked_info'] as $linked_info) { - $sql = "SELECT DISTINCT tl2." . $this->db->sanitize($linked_info['fk_link']) . " AS fk_link, tl2." . $this->db->sanitize($linked_info['fk_doc']) . " AS fk_doc"; - $sql .= " FROM " . MAIN_DB_PREFIX . $this->db->sanitize($linked_info['table']) . " AS tl"; - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . $this->db->sanitize($linked_info['table']) . " AS tl2 ON tl2." . $this->db->sanitize($linked_info['fk_link']) . " = tl." . $this->db->sanitize($linked_info['fk_link']); - $sql .= " WHERE tl." . $this->db->sanitize($linked_info['fk_doc']) . " IN (" . $this->db->sanitize(implode(',', $document_ids)) . ")"; + if (empty($linked_info['fk_line_link'])) { + $sql = "SELECT DISTINCT tl2.".$this->db->sanitize($linked_info['fk_link'])." AS fk_link, tl2.".$this->db->sanitize($linked_info['fk_doc'])." AS fk_doc"; + $sql .= " FROM ".MAIN_DB_PREFIX.$this->db->sanitize($linked_info['table'])." AS tl"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX.$this->db->sanitize($linked_info['table'])." AS tl2 ON tl2.".$this->db->sanitize($linked_info['fk_link'])." = tl.".$this->db->sanitize($linked_info['fk_link']); + $sql .= " WHERE tl.".$this->db->sanitize($linked_info['fk_doc'])." IN (".$this->db->sanitize(implode(',', $document_ids)).")"; + } else { + $sql = "SELECT DISTINCT tl2.fk_link, tl2.fk_doc"; + $sql .= " FROM ("; + // @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset + $sql .= " SELECT DISTINCT " . $this->db->ifsql("tll.".$this->db->sanitize($linked_info['fk_table_link_line_parent']), "tll.".$this->db->sanitize($linked_info['fk_table_link_line_parent']), "tl.".$this->db->sanitize($linked_info['fk_link']))." AS fk_link, tl.".$this->db->sanitize($linked_info['fk_doc'])." AS fk_doc"; + $sql .= " FROM " . MAIN_DB_PREFIX .$this->db->sanitize($linked_info['table'])." AS tl"; + // @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset + $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . $this->db->sanitize($linked_info['table_link_line']) . " AS tll ON tll.".$this->db->sanitize($linked_info['fk_table_link_line']) . " = tl.".$this->db->sanitize($linked_info['fk_line_link']); + $sql .= ") AS tl"; + $sql .= " LEFT JOIN ("; + // @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset + $sql .= " SELECT DISTINCT " . $this->db->ifsql("tll.".$this->db->sanitize($linked_info['fk_table_link_line_parent']), "tll.".$this->db->sanitize($linked_info['fk_table_link_line_parent']), "tl.".$this->db->sanitize($linked_info['fk_link']))." AS fk_link, tl.".$this->db->sanitize($linked_info['fk_doc'])." AS fk_doc"; + $sql .= " FROM " . MAIN_DB_PREFIX .$this->db->sanitize($linked_info['table'])." AS tl"; + // @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset + $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . $this->db->sanitize($linked_info['table_link_line']) . " AS tll ON tll.".$this->db->sanitize($linked_info['fk_table_link_line']) . " = tl.".$this->db->sanitize($linked_info['fk_line_link']); + $sql .= ") AS tl2 ON tl2.fk_link = tl.fk_link"; + $sql .= " WHERE tl.fk_doc IN (" . $this->db->sanitize(implode(',', $document_ids)) . ")"; + $sql .= " AND tl2.fk_doc IS NOT NULL"; + } dol_syslog(__METHOD__ . " - Get document lines", LOG_DEBUG); $resql = $this->db->query($sql); diff --git a/htdocs/accountancy/journal/sellsjournal.php b/htdocs/accountancy/journal/sellsjournal.php index fb4dd94683a9e..6912c2f67b60e 100644 --- a/htdocs/accountancy/journal/sellsjournal.php +++ b/htdocs/accountancy/journal/sellsjournal.php @@ -470,7 +470,7 @@ } // Warranty - if (!$errorforline) { + if (!$errorforline && getDolGlobalString('INVOICE_USE_RETAINED_WARRANTY')) { if (isset($tabwaranty[$key]) && is_array($tabwarranty[$key])) { foreach ($tabwarranty[$key] as $k => $mt) { $bookkeeping = new BookKeeping($db); @@ -865,22 +865,24 @@ } // Warranty - foreach ($tabwarranty[$key] as $k => $mt) { - //if ($mt) { - print '"'.$key.'"'.$sep; - print '"'.$date.'"'.$sep; - print '"'.$val["ref"].'"'.$sep; - print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 32), 'ISO-8859-1').'"'.$sep; - print '"'.length_accounta(html_entity_decode($k)).'"'.$sep; - print '"'.length_accountg(getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER_RETAINED_WARRANTY')).'"'.$sep; - print '"'.length_accounta(html_entity_decode($k)).'"'.$sep; - print '"'.$langs->trans("Thirdparty").'"'.$sep; - print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 16), 'ISO-8859-1').' - '.$invoicestatic->ref.' - '.$langs->trans("Retainedwarranty").'"'.$sep; - print '"'.($mt >= 0 ? price($mt) : '').'"'.$sep; - print '"'.($mt < 0 ? price(-$mt) : '').'"'.$sep; - print '"'.$journal.'"'; - print "\n"; - //} + if (getDolGlobalString('INVOICE_USE_RETAINED_WARRANTY') && isset($tabwarranty[$key])) { + foreach ($tabwarranty[$key] as $k => $mt) { + //if ($mt) { + print '"'.$key.'"'.$sep; + print '"'.$date.'"'.$sep; + print '"'.$val["ref"].'"'.$sep; + print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 32), 'ISO-8859-1').'"'.$sep; + print '"'.length_accounta(html_entity_decode($k)).'"'.$sep; + print '"'.length_accountg(getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER_RETAINED_WARRANTY')).'"'.$sep; + print '"'.length_accounta(html_entity_decode($k)).'"'.$sep; + print '"'.$langs->trans("Thirdparty").'"'.$sep; + print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 16), 'ISO-8859-1').' - '.$invoicestatic->ref.' - '.$langs->trans("Retainedwarranty").'"'.$sep; + print '"'.($mt >= 0 ? price($mt) : '').'"'.$sep; + print '"'.($mt < 0 ? price(-$mt) : '').'"'.$sep; + print '"'.$journal.'"'; + print "\n"; + //} + } } // Third party @@ -954,22 +956,24 @@ } // Revenue stamp - foreach ($tabrevenuestamp[$key] as $k => $mt) { - //if ($mt) { - print '"'.$key.'"'.$sep; - print '"'.$date.'"'.$sep; - print '"'.$val["ref"].'"'.$sep; - print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 32), 'ISO-8859-1').'"'.$sep; - print '"'.length_accountg(html_entity_decode($k)).'"'.$sep; - print '"'.length_accountg(html_entity_decode($k)).'"'.$sep; - print '""'.$sep; - print '"'.$langs->trans("RevenueStamp").'"'.$sep; - print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 16), 'ISO-8859-1').' - '.$invoicestatic->ref.' - '.$langs->trans("RevenueStamp").'"'.$sep; - print '"'.($mt < 0 ? price(-$mt) : '').'"'.$sep; - print '"'.($mt >= 0 ? price($mt) : '').'"'.$sep; - print '"'.$journal.'"'; - print "\n"; - //} + if (isset($tabrevenuestamp[$key])) { + foreach ($tabrevenuestamp[$key] as $k => $mt) { + //if ($mt) { + print '"'.$key.'"'.$sep; + print '"'.$date.'"'.$sep; + print '"'.$val["ref"].'"'.$sep; + print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 32), 'ISO-8859-1').'"'.$sep; + print '"'.length_accountg(html_entity_decode($k)).'"'.$sep; + print '"'.length_accountg(html_entity_decode($k)).'"'.$sep; + print '""'.$sep; + print '"'.$langs->trans("RevenueStamp").'"'.$sep; + print '"'.mb_convert_encoding(dol_trunc($companystatic->name, 16), 'ISO-8859-1').' - '.$invoicestatic->ref.' - '.$langs->trans("RevenueStamp").'"'.$sep; + print '"'.($mt < 0 ? price(-$mt) : '').'"'.$sep; + print '"'.($mt >= 0 ? price($mt) : '').'"'.$sep; + print '"'.$journal.'"'; + print "\n"; + //} + } } } } @@ -1151,7 +1155,7 @@ function writebookkeeping() { } // Warranty - if (isset($tabwaranty[$key]) && is_array($tabwarranty[$key])) { + if (getDolGlobalString('INVOICE_USE_RETAINED_WARRANTY') && isset($tabwarranty[$key]) && is_array($tabwarranty[$key])) { foreach ($tabwarranty[$key] as $k => $mt) { print ''; print ""; diff --git a/htdocs/accountancy/tpl/export_journal.tpl.php b/htdocs/accountancy/tpl/export_journal.tpl.php index 5d5269892bdd6..a4f095543725b 100644 --- a/htdocs/accountancy/tpl/export_journal.tpl.php +++ b/htdocs/accountancy/tpl/export_journal.tpl.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2015-2024 Alexandre Spangaro * Copyright (C) 2022 Lionel Vessiller * Copyright (C) 2016 Charlie Benke * Copyright (C) 2022 Progiseize @@ -44,8 +44,7 @@ $accountancyexport = new AccountancyExport($db); // Specific filename for FEC model export into the general ledger -if (($accountancyexport->getFormatCode($formatexportset) == 'fec' || $accountancyexport->getFormatCode($formatexportset) == 'fec2') - && $type_export == "general_ledger") { +if ((substr($accountancyexport->getFormatCode($formatexportset), 0, 3) == 'fec') && $type_export == "general_ledger") { // FEC format is defined here: https://www.legifrance.gouv.fr/affichCodeArticle.do?idArticle=LEGIARTI000027804775&cidTexte=LEGITEXT000006069583&dateTexte=20130802&oldAction=rechCodeArticle if (empty($search_date_end)) { // TODO Get the max date into bookkeeping table @@ -63,7 +62,7 @@ } $endaccountingperiod = dol_print_date(dol_get_last_day($tmparray['year'], $tmparray['mon']), 'dayxcard'); - + $siren = str_replace(" ", "", $siren); $completefilename = $siren."FEC".$endaccountingperiod.".txt"; } elseif ($accountancyexport->getFormatCode($formatexportset) == 'ciel' && $type_export == "general_ledger" && getDolGlobalString('ACCOUNTING_EXPORT_XIMPORT_FORCE_FILENAME')) { $completefilename = "XIMPORT.TXT"; diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php index a42090f5b3c46..5c1a65c895cd5 100644 --- a/htdocs/adherents/agenda.php +++ b/htdocs/adherents/agenda.php @@ -169,6 +169,12 @@ $newcardbutton = ''; + + $messagingUrl = DOL_URL_ROOT.'/adherents/messaging.php?rowid='.$object->id; + $newcardbutton .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 1); + $messagingUrl = DOL_URL_ROOT.'/adherents/agenda.php?id='.$object->id; + $newcardbutton .= dolGetButtonTitle($langs->trans('MessageListViewType'), '', 'fa fa-bars imgforviewmode', $messagingUrl, '', 2); + if (isModEnabled('agenda')) { $newcardbutton .= dolGetButtonTitle($langs->trans('AddAction'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/comm/action/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']).($object->id > 0 ? '?id='.$object->id : '').'&origin=member&originid='.$id); } @@ -184,7 +190,7 @@ $param .= '&limit='.$limit; } - print_barre_liste($langs->trans("ActionsOnMember"), 0, $_SERVER["PHP_SELF"], '', $sortfield, $sortorder, '', 0, -1, '', '', $newcardbutton, '', 0, 1, 1); + print_barre_liste($langs->trans("ActionsOnMember"), 0, $_SERVER["PHP_SELF"], '', $sortfield, $sortorder, '', 0, -1, '', '', $newcardbutton, '', 0, 1, 0); // List of all actions $filters = array(); diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index 80c4bdc0e851a..3e2644c0e6f48 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -1005,6 +1005,9 @@ function initfieldrequired() { } else { print ''.$langs->trans("NoTypeDefinedGoToSetup").''; } + if ($user->hasRight('member', 'configurer')) { + print ' '; + } print "\n"; // Morphy @@ -2087,7 +2090,10 @@ function initfieldrequired() { $MAX = 10; - $morehtmlcenter = dolGetButtonTitle($langs->trans('SeeAll'), '', 'fa fa-bars imgforviewmode', DOL_URL_ROOT.'/adherents/agenda.php?id='.$object->id); + $morehtmlcenter = ''; + $messagingUrl = DOL_URL_ROOT.'/adherents/messaging.php?rowid='.$object->id; + $morehtmlcenter .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 1); + $morehtmlcenter .= dolGetButtonTitle($langs->trans('SeeAll'), '', 'fa fa-bars imgforviewmode', DOL_URL_ROOT.'/adherents/agenda.php?id='.$object->id); // List of actions on element include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php'; diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 6b41328ef8436..a92673768bc4c 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -848,7 +848,7 @@ public function update($user, $notrigger = 0, $nosyncuser = 0, $nosyncuserpass = if (!$error && $this->pass) { dol_syslog(get_class($this)."::update update password"); if ($this->pass != $this->pass_indatabase && $this->pass != $this->pass_indatabase_crypted) { - $isencrypted = !getDolGlobalString('DATABASE_PWD_ENCRYPTED') ? 0 : 1; + $isencrypted = getDolGlobalString('DATABASE_PWD_ENCRYPTED') ? 1 : 0; // If password to set differs from the one found into database $result = $this->setPassword($user, $this->pass, $isencrypted, $notrigger, $nosyncuserpass); diff --git a/htdocs/adherents/messaging.php b/htdocs/adherents/messaging.php new file mode 100644 index 0000000000000..091522a84325b --- /dev/null +++ b/htdocs/adherents/messaging.php @@ -0,0 +1,216 @@ + + * Copyright (C) 2005 Brice Davoleau + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2006-2019 Laurent Destailleur + * Copyright (C) 2007 Patrick Raguin + * Copyright (C) 2010 Juanjo Menent + * Copyright (C) 2015 Marcos García + * Copyright (C) 2024 Frédéric France + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/adherents/messaging.php + * \ingroup adherent + * \brief Page of adherents events + */ + +// Load Dolibarr environment +require '../main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; +require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php'; +require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php'; + +// Load translation files required by the page +$langs->loadLangs(array('agenda', 'bills', 'companies', 'orders', 'propal')); + +$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'useragenda'; + +if (GETPOST('actioncode', 'array')) { + $actioncode = GETPOST('actioncode', 'array', 3); + if (!count($actioncode)) { + $actioncode = '0'; + } +} else { + $actioncode = GETPOST("actioncode", "alpha", 3) ? GETPOST("actioncode", "alpha", 3) : (GETPOST("actioncode") == '0' ? '0' : getDolGlobalString('AGENDA_DEFAULT_FILTER_TYPE_FOR_OBJECT')); +} + +$id = GETPOSTINT('rowid') ? GETPOSTINT('rowid') : GETPOSTINT('id'); +$ref = GETPOST('ref', 'alpha'); +$search_rowid = GETPOST('search_rowid'); +$search_agenda_label = GETPOST('search_agenda_label'); + +$limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit; +$sortfield = GETPOST('sortfield', 'aZ09comma'); +$sortorder = GETPOST('sortorder', 'aZ09comma'); +$page = GETPOSTISSET('pageplusone') ? (GETPOSTINT('pageplusone') - 1) : GETPOSTINT("page"); +if (empty($page) || $page == -1) { + $page = 0; +} // If $page is not defined, or '' or -1 +$offset = $limit * $page; +$pageprev = $page - 1; +$pagenext = $page + 1; +if (!$sortfield) { + $sortfield = 'a.datep,a.id'; +} +if (!$sortorder) { + $sortorder = 'DESC,DESC'; +} + +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context +$hookmanager->initHooks(array('agendathirdparty', 'globalcard')); + +// Security check +$result = restrictedArea($user, 'adherent', $id); + + +// Initialize technical objects +$object = new Adherent($db); +$result = $object->fetch($id); +if ($result > 0) { + $object->fetch_thirdparty(); + + $adht = new AdherentType($db); + $result = $adht->fetch($object->typeid); +} + +/* + * Actions + */ + +$parameters = array('id' => $socid); +$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} + +if (empty($reshook)) { + // Cancel + if (GETPOST('cancel', 'alpha') && !empty($backtopage)) { + header("Location: ".$backtopage); + exit; + } + + // Purge search criteria + if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x', 'alpha') || GETPOST('button_removefilter', 'alpha')) { // All tests are required to be compatible with all browsers + $actioncode = ''; + $search_agenda_label = ''; + } +} + + +/* + * View + */ + +$form = new Form($db); + +$person_name = !empty($object->firstname) ? $object->lastname.", ".$object->firstname : $object->lastname; +$title = $person_name." - ".$langs->trans('Info'); +$help_url = ''; +llxHeader('', $title, $help_url); + +$head = member_prepare_head($object); + +$title = $langs->trans("User"); +print dol_get_fiche_head($head, 'agenda', $langs->trans("Member"), -1, 'user'); + +$linkback = ''.$langs->trans("BackToList").''; + +$morehtmlref = ''; +$morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard"), 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"'); +$morehtmlref .= ''; + +dol_banner_tab($object, 'rowid', $linkback, 1, 'rowid', 'ref', $morehtmlref); + +print '
'; + +print '
'; + +$linkback = ''; + + +print '
'; +$object->info($id); +dol_print_object_info($object, 1); + +print '
'; + + +print dol_get_fiche_end(); + +$objUser = $object; +$objcon = new stdClass(); + +$out = ''; +$permok = $user->hasRight('agenda', 'myactions', 'create'); +if ((!empty($objUser->id) || !empty($objcon->id)) && $permok) { + if (is_object($objUser) && get_class($objUser) == 'User') { + $out .= '&originid='.$objUser->id.($objUser->id > 0 ? '&userid='.$objUser->id : '').'&backtopage='.urlencode($_SERVER['PHP_SELF'].($objUser->id > 0 ? '?userid='.$objUser->id : '')); + } + $out .= (!empty($objcon->id) ? '&contactid='.$objcon->id : ''); + $out .= '&datep='.dol_print_date(dol_now(), 'dayhourlog', 'tzuserrel'); +} + +$morehtmlright = ''; + +$messagingUrl = DOL_URL_ROOT.'/adherents/messaging.php?rowid='.$object->id; +$morehtmlright .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 2); +$messagingUrl = DOL_URL_ROOT.'/adherents/agenda.php?id='.$object->id; +$morehtmlright .= dolGetButtonTitle($langs->trans('MessageListViewType'), '', 'fa fa-bars imgforviewmode', $messagingUrl, '', 1); + +if (isModEnabled('agenda')) { + if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { + $morehtmlright .= dolGetButtonTitle($langs->trans('AddAction'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/comm/action/card.php?action=create'.$out); + } +} + +if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allaactions', 'read'))) { + print '
'; + $param = '&userid='.urlencode((string) ($id)); + if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { + $param .= '&contextpage='.urlencode($contextpage); + } + if ($limit > 0 && $limit != $conf->liste_limit) { + $param .= '&limit='.((int) $limit); + } + + + // Try to know count of actioncomm from cache + require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php'; + $cachekey = 'count_events_user_'.$object->id; + $nbEvent = dol_getcache($cachekey); // TODO Add nb into badge in menu so we can get it from cache also here + + $titlelist = $langs->trans("ActionsOnCompany").(is_numeric($nbEvent) ? '('.$nbEvent.')' : ''); + if (!empty($conf->dol_optimize_smallscreen)) { + $titlelist = $langs->trans("Actions").(is_numeric($nbEvent) ? '('.$nbEvent.')' : ''); + } + + print_barre_liste($titlelist, 0, $_SERVER["PHP_SELF"], '', $sortfield, $sortorder, '', -1, '', '', 0, $morehtmlright, '', 0, 1, 0); + + // List of all actions + $filters = array(); + $filters['search_agenda_label'] = $search_agenda_label; + $filters['search_rowid'] = $search_rowid; + + show_actions_messaging($conf, $langs, $db, $object, null, 0, $actioncode, '', $filters, $sortfield, $sortorder); +} + +//End of page +llxFooter(); +$db->close(); diff --git a/htdocs/adherents/subscription/list.php b/htdocs/adherents/subscription/list.php index ece0d4399fc1d..c80b54be4823d 100644 --- a/htdocs/adherents/subscription/list.php +++ b/htdocs/adherents/subscription/list.php @@ -333,7 +333,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index e0d71ae7045b5..c8807066da6ec 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -9,6 +9,7 @@ * Copyright (C) 2020 Josep Lluís Amador * Copyright (C) 2021 Waël Almoman * Copyright (C) 2024 MDW + * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -174,7 +175,12 @@ if (!$error) { $id = $object->create($user); if ($id > 0) { - header("Location: ".$_SERVER["PHP_SELF"]); + $backurlforlist = $_SERVER["PHP_SELF"]; + + $urltogo = $backtopage ? str_replace('__ID__', (string) $id, $backtopage) : $backurlforlist; + $urltogo = preg_replace('/--IDFORBACKTOPAGE--/', (string) $object->id, $urltogo); // New method to autoselect field created after a New on another form object creation + + header("Location: " . $urltogo); exit; } else { setEventMessages($object->error, $object->errors, 'errors'); @@ -266,7 +272,7 @@ $param = ''; if (!empty($mode)) { - $param .= '&mode'.urlencode($mode); + $param .= '&mode='.urlencode($mode); } if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { $param .= '&contextpage='.$contextpage; @@ -432,6 +438,7 @@ print '
'; print ''; print ''; + print ''; print dol_get_fiche_head(''); diff --git a/htdocs/adherents/type_translation.php b/htdocs/adherents/type_translation.php index 4dd37b89e24b0..b219d0ae92f0d 100644 --- a/htdocs/adherents/type_translation.php +++ b/htdocs/adherents/type_translation.php @@ -226,7 +226,7 @@ print ''; print ''; print ''; print ''; diff --git a/htdocs/admin/invoice.php b/htdocs/admin/invoice.php index aa17b9cf8df72..cb50a2f15c0b1 100644 --- a/htdocs/admin/invoice.php +++ b/htdocs/admin/invoice.php @@ -826,6 +826,7 @@ print ajax_constantonoff('INVOICE_CHECK_POSTERIOR_DATE'); print ''; + // Allow external download print ''; print ''; diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 88115b59295be..cdef28977b8da 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -645,7 +645,7 @@ function change_smtp_auth_method() { print ''; - //Disable autoselect to + // Disable autoselect to print ''; diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php index 98fab259e5091..42c7fcca9ea0f 100644 --- a/htdocs/admin/mails_templates.php +++ b/htdocs/admin/mails_templates.php @@ -808,7 +808,7 @@ print ''; print ""; - print ''; print ''; +// Disallow to classify billed an order without invoice, only if module invoice is enable +if (isModEnabled('invoice')) { + print ''; + print ''; +} + /* // Seems to be not so used. So kept hidden for the moment to avoid dangerous options inflation. // TODO Must be implemented by PDF templates diff --git a/htdocs/admin/pdf_other.php b/htdocs/admin/pdf_other.php index f73b095c8afb7..5279d9f5a2f75 100644 --- a/htdocs/admin/pdf_other.php +++ b/htdocs/admin/pdf_other.php @@ -104,6 +104,16 @@ dolibarr_del_const($db, "INVOICE_SHOW_SHIPPING_ADDRESS", $conf->entity); } + if (GETPOSTISSET('BARCODE_ON_SHIPPING_PDF')) { + dolibarr_set_const($db, "BARCODE_ON_SHIPPING_PDF", GETPOSTINT("BARCODE_ON_SHIPPING_PDF"), 'chaine', 0, '', $conf->entity); + } + if (GETPOSTISSET('BARCODE_ON_RECEPTION_PDF')) { + dolibarr_set_const($db, "BARCODE_ON_RECEPTION_PDF", GETPOSTINT("BARCODE_ON_RECEPTION_PDF"), 'chaine', 0, '', $conf->entity); + } + if (GETPOSTISSET('BARCODE_ON_STOCKTRANSFER_PDF')) { + dolibarr_set_const($db, "BARCODE_ON_STOCKTRANSFER_PDF", GETPOSTINT("BARCODE_ON_STOCKTRANSFER_PDF"), 'chaine', 0, '', $conf->entity); + } + setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); header("Location: ".$_SERVER["PHP_SELF"]."?mainmenu=home&leftmenu=setup"); @@ -312,6 +322,26 @@ print ''; } +if (isModEnabled('shipping')) { + print load_fiche_titre($langs->trans("Shipments"), '', 'shipment'); + + print '
'; + print '
'.$langs->trans('Label').'
'.$langs->trans('Description').''; - $doleditor = new DolEditor("desc-$key", $object->multilangs[$key]["description"], '', 160, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); + $doleditor = new DolEditor("desc-$key", $object->multilangs[$key]["description"], '', 160, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); $doleditor->Create(); print '
'.$langs->trans("AllowExternalDownload").'
'.$langs->trans("MAIN_MAIL_ENABLED_USER_DEST_SELECT").''; print $form->selectyesno('MAIN_MAIL_ENABLED_USER_DEST_SELECT', getDolGlobalString('MAIN_MAIL_ENABLED_USER_DEST_SELECT'), 1); print '
'.$langs->trans("MAIN_MAIL_NO_WITH_TO_SELECTED").''; print $form->selectyesno('MAIN_MAIL_NO_WITH_TO_SELECTED', getDolGlobalString('MAIN_MAIL_NO_WITH_TO_SELECTED'), 1); print '
'; + print '
'; // Show fields for topic, join files and body $fieldsforcontent = array('topic', 'email_from', 'joinfiles', 'content'); @@ -864,7 +864,8 @@ print ''; print ''; - print '

'; + + print '


'; } // List of available record in database diff --git a/htdocs/admin/modulehelp.php b/htdocs/admin/modulehelp.php index 6c16bba00f545..bc0b433bfdf7a 100644 --- a/htdocs/admin/modulehelp.php +++ b/htdocs/admin/modulehelp.php @@ -366,10 +366,16 @@ $textexternal .= ($objMod->editor_name != 'dolibarr' ? ' - ' : '').img_picto('', 'globe').' '.$objMod->editor_url.''; } $text .= $textexternal; - $text .= '
'; } else { - $text .= '
'.$langs->trans("Origin").': '.$langs->trans("Core").'
'; + $text .= '
'.$langs->trans("Origin").': '.$langs->trans("Core"); + if (empty($objMod->numero)) { + $text .= '   ('.$langs->trans("AlwaysEnabled").')'; + } elseif (!empty($objMod->enabled_bydefault)) { + $text .= '   ('.$langs->trans("EnabledByDefaultAtInstall").')'; + } + $text .= '
'; } + $text .= '
'; $moduledesclong = $objMod->getDescLong(); if ($moduledesclong) { diff --git a/htdocs/admin/oauth.php b/htdocs/admin/oauth.php index 779bd6a0347c7..14e2d19d631c9 100644 --- a/htdocs/admin/oauth.php +++ b/htdocs/admin/oauth.php @@ -178,6 +178,8 @@ $callbacktodel .= '/core/modules/oauth/stripetest_oauthcallback.php?action=delete&keyforprovider='.$provider.'&token='.newToken().'&backtourl='.urlencode($backtourl); } elseif ($label == 'OAUTH_MICROSOFT') { $callbacktodel .= '/core/modules/oauth/microsoft_oauthcallback.php?action=delete&keyforprovider='.$provider.'&token='.newToken().'&backtourl='.urlencode($backtourl); + } elseif ($label == 'OAUTH_MICROSOFT2') { + $callbacktodel .= '/core/modules/oauth/microsoft2_oauthcallback.php?action=delete&keyforprovider='.$provider.'&token='.newToken().'&backtourl='.urlencode($backtourl); } elseif ($label == 'OAUTH_OTHER') { $callbacktodel .= '/core/modules/oauth/generic_oauthcallback.php?action=delete&keyforprovider='.$provider.'&token='.newToken().'&backtourl='.urlencode($backtourl); } diff --git a/htdocs/admin/order.php b/htdocs/admin/order.php index 687c91f07dbe1..c4cbb354d7fd2 100644 --- a/htdocs/admin/order.php +++ b/htdocs/admin/order.php @@ -685,6 +685,15 @@ print '
'.$langs->trans("InvoiceClassifyBilledSupplierOrderWithoutInvoice"). ' ' ; + print $form->textwithpicto('', $langs->trans("InvoiceClassifyBilledSupplierOrderWithoutInvoiceHelp"), 1, 'help') . ''; + print ajax_constantonoff('ORDER_DISABLE_CLASSIFY_BILLED_FROM_ORDER'); + print '
'; + print ''; + + print ''; + print '
'.$langs->trans("Parameters").''.$langs->trans("Value").'
'; + print $langs->trans("BARCODE_ON_SHIPPING_PDF"); + print ''; + if ($conf->use_javascript_ajax) { + print ajax_constantonoff('BARCODE_ON_SHIPPING_PDF'); + } else { + $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); + print $form->selectarray("BARCODE_ON_SHIPPING_PDF", $arrval, getDolGlobalString('BARCODE_ON_SHIPPING_PDF')); + } + print '
'; + print ''; +} if (isModEnabled('reception')) { @@ -328,7 +358,7 @@ print ajax_constantonoff('RECEPTION_PDF_HIDE_ORDERED'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("RECEPTION_PDF_HIDE_ORDERED", $arrval, $conf->global->RECEPTION_PDF_HIDE_ORDERED); + print $form->selectarray("RECEPTION_PDF_HIDE_ORDERED", $arrval, getDolGlobalString('RECEPTION_PDF_HIDE_ORDERED')); } print ''; @@ -339,7 +369,39 @@ print ajax_constantonoff('MAIN_PDF_RECEPTION_DISPLAY_AMOUNT_HT'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("MAIN_PDF_RECEPTION_DISPLAY_AMOUNT_HT", $arrval, $conf->global->MAIN_PDF_RECEPTION_DISPLAY_AMOUNT_HT); + print $form->selectarray("MAIN_PDF_RECEPTION_DISPLAY_AMOUNT_HT", $arrval, getDolGlobalString('MAIN_PDF_RECEPTION_DISPLAY_AMOUNT_HT')); + } + print ''; + + print ''; + print $langs->trans("BARCODE_ON_RECEPTION_PDF"); + print ''; + if ($conf->use_javascript_ajax) { + print ajax_constantonoff('BARCODE_ON_RECEPTION_PDF'); + } else { + $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); + print $form->selectarray("BARCODE_ON_RECEPTION_PDF", $arrval, getDolGlobalString('BARCODE_ON_RECEPTION_PDF')); + } + print ''; + print ''; + print ''; +} + +if (isModEnabled('stocktransfer')) { + print load_fiche_titre($langs->trans("StockTransfer"), '', 'stock'); + + print '
'; + print ''; + print ''; + + print ''; diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php index 8b728a3774022..2c4105019e519 100644 --- a/htdocs/admin/proxy.php +++ b/htdocs/admin/proxy.php @@ -123,7 +123,7 @@ function initfields() // Timeout -print '
'.$langs->trans("Parameters").''.$langs->trans("Value").'
'; + print $langs->trans("BARCODE_ON_STOCKTRANSFER_PDF"); + print ''; + if ($conf->use_javascript_ajax) { + print ajax_constantonoff('BARCODE_ON_STOCKTRANSFER_PDF'); + } else { + $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); + print $form->selectarray("BARCODE_ON_STOCKTRANSFER_PDF", $arrval, getDolGlobalString('BARCODE_ON_STOCKTRANSFER_PDF')); } print '
'; +print '
'; print ''; print ''; @@ -197,10 +197,10 @@ function initfields() print '
'.$langs->trans("Parameters").'
'; -print dol_get_fiche_end(); - print $form->buttonsSaveCancel("Modify", ''); +print dol_get_fiche_end(); + print ''; // End of page diff --git a/htdocs/admin/receiptprinter.php b/htdocs/admin/receiptprinter.php index 593f511a41a67..9958ff648deff 100644 --- a/htdocs/admin/receiptprinter.php +++ b/htdocs/admin/receiptprinter.php @@ -4,6 +4,7 @@ * Copyright (C) 2016 Juanjo Menent * Copyright (C) 2020 Andreu Bisquerra Gaya * Copyright (C) 2024 MDW + * Copyright (C) 2024 Abbes Bahfir * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +53,7 @@ $templateid = GETPOSTINT('templateid'); $printer = new dolReceiptPrinter($db); - +$hookmanager->initHooks(array('receiptPrinter', 'globalcard')); if (!$mode) { $mode = 'config'; } @@ -530,6 +531,10 @@ function gzdecode($data) print '{'.$key.'}'.$langs->trans($val).''; print ''; } + $reshook = $hookmanager->executeHooks('listReceiptPrinterTags', array(), $printer, $action); // Note that $action and $object may have been modified by some hooks + if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); + } print ''; print '
'; } diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index de1ef515b1da0..df7b26e00d0da 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -39,7 +39,7 @@ } // Allow/Disallow change to clear passwords once passwords are encrypted -$allow_disable_encryption = true; +$allow_disable_encryption = false; /* @@ -102,8 +102,7 @@ dol_print_error($db, ''); } } elseif ($action == 'disable_encrypt') { - //On n'autorise pas l'annulation de l'encryption car les mots de passe ne peuvent pas etre decodes - //Do not allow "disable encryption" as passwords cannot be decrypted + // By default, $allow_disable_encryption is false we do not allow to disable encryption because passwords can't be decoded once encrypted. if ($allow_disable_encryption) { dolibarr_del_const($db, "DATABASE_PWD_ENCRYPTED", $conf->entity); } @@ -237,7 +236,7 @@ if ($module->isEnabled()) { print ''; - print img_picto('', $module->picto, 'class="width25 size15x"').' '; + print img_picto('', $module->picto, 'class="width25 size15x marginrightonly"').' '; print ucfirst($key); print "\n"; print $module->getDescription().'
'; @@ -411,17 +410,14 @@ print ''; print ''.$langs->trans("Activate").''; print ""; -} - -// Database conf file encryption -if (getDolGlobalString('DATABASE_PWD_ENCRYPTED')) { +} else { print ''; if ($allow_disable_encryption) { //On n'autorise pas l'annulation de l'encryption car les mots de passe ne peuvent pas etre decodes //Do not allow "disable encryption" as passwords cannot be decrypted print ''.$langs->trans("Disable").''; } else { - print '-'; + print ''.$langs->trans("Always").''; } print ""; } diff --git a/htdocs/admin/supplier_order.php b/htdocs/admin/supplier_order.php index a3eb2dd468d7a..1fee99724e471 100644 --- a/htdocs/admin/supplier_order.php +++ b/htdocs/admin/supplier_order.php @@ -547,6 +547,14 @@ print "\n"; print "\n"; + +// Disallow to classify billed a supplier order without invoice +print ''.$langs->trans("SupplierOrderClassifyBilledWithoutInvoice"). ' ' ; +print $form->textwithpicto('', $langs->trans("SupplierOrderClassifyBilledWithoutInvoiceHelp"), 1, 'help') . ''; +print ''; +print ajax_constantonoff('SUPPLIER_ORDER_DISABLE_CLASSIFY_BILLED_FROM_SUPPLIER_ORDER'); +print ''; + print '
'; print ''; diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php index 01a2dae92f59f..79a501dd740ae 100644 --- a/htdocs/admin/system/dolibarr.php +++ b/htdocs/admin/system/dolibarr.php @@ -43,7 +43,6 @@ $version = '0.0'; - /* * Actions */ diff --git a/htdocs/admin/taxes.php b/htdocs/admin/taxes.php index fc745fb998cc7..d5fdc8b6902ff 100644 --- a/htdocs/admin/taxes.php +++ b/htdocs/admin/taxes.php @@ -162,14 +162,15 @@ print ''; print ''; + print '
'; // You can use div-table-responsive-no-min if you don't need reserved height for your table print ''; - print ''; + print ''; print ''; - print ''; + print ''; if (!$conf->use_javascript_ajax) { print '"; } print ''; @@ -191,10 +192,16 @@ print ''; print ''; + $key = 'CREATE_NEW_VAT_WITHOUT_AUTO_PAYMENT'; + print ''; + print '
'.$langs->trans("CompanyIds").''.$langs->trans("Value").'
'.$langs->trans("Parameters").''.$langs->trans("Value").'
'; print ''; print '
'; print $langs->trans("NotAvailableWhenAjaxDisabled"); @@ -182,7 +183,7 @@ '2'=>$langs->trans("Quarterly"), '3'=>$langs->trans("Annual"), ); - print $form->selectarray("MAIN_INFO_VAT_RETURN", $listval, $conf->global->MAIN_INFO_VAT_RETURN); + print $form->selectarray("MAIN_INFO_VAT_RETURN", $listval, getDolGlobalString('MAIN_INFO_VAT_RETURN')); print "
'.$langs->trans($key).''.ajax_constantonoff($key).'
'; + print '
'; print '
'; + + print '
'; // You can use div-table-responsive-no-min if you don't need reserved height for your table print ''; // Case for the parameters TAX_MODE_SELL/BUY_SERVICE/PRODUCT @@ -202,24 +209,27 @@ print ''; print "\n"; // Standard - print ''; + print ''; print '\n"; // On debit for services - print ''; + print ''; print '\n"; // On payment for both products and services if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 1) { - print ''; + print ''; print '\n"; } print "
'.$langs->trans('OptionVatMode').''.$langs->trans('Description').'
'.$langs->trans('OptionVATDefault').'
'.nl2br($langs->trans('OptionVatDefaultDesc')); print "
'.$langs->trans('OptionVATDebitOption').'
'.nl2br($langs->trans('OptionVatDebitOptionDesc'))."
'.$langs->trans('OptionPaymentForProductAndServices').'
'.nl2br($langs->trans('OptionPaymentForProductAndServicesDesc'))."
\n"; + print '
'; + print '
'; print load_fiche_titre('', '', '', 0, 0, '', '-> '.$langs->trans("SummaryOfVatExigibilityUsedByDefault")); //print ' ('.$langs->trans("CanBeChangedWhenMakingInvoice").')'; + print '
'; // You can use div-table-responsive-no-min if you don't need reserved height for your table print ''; print ''; @@ -266,6 +276,7 @@ print ''; print '
 '.$langs->trans("Buy").''.$langs->trans("Sell").'
'; + print '
'; } print "
\n"; @@ -278,22 +289,8 @@ print ''; -// Options - -echo '
'; -echo ''; -echo ''; -echo ''; -echo ''; -echo ''; - -$key = 'CREATE_NEW_VAT_WITHOUT_AUTO_PAYMENT'; -echo ''; - -echo ''; -echo '
'.$langs->trans('Parameter').''.$langs->trans('Value').'
', $langs->trans($key), '', ajax_constantonoff($key), '
'; -echo '
'; +print '
'; if (isModEnabled('accounting')) { $langs->load("accountancy"); diff --git a/htdocs/asset/list.php b/htdocs/asset/list.php index 25a0c0cd52141..d397d3c312cf3 100644 --- a/htdocs/asset/list.php +++ b/htdocs/asset/list.php @@ -382,7 +382,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/asset/model/list.php b/htdocs/asset/model/list.php index 3641b00afcf0d..b787fc95605c7 100644 --- a/htdocs/asset/model/list.php +++ b/htdocs/asset/model/list.php @@ -385,7 +385,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/bom/bom_list.php b/htdocs/bom/bom_list.php index 0fbb2c3c466b3..bf1e2a87269ce 100644 --- a/htdocs/bom/bom_list.php +++ b/htdocs/bom/bom_list.php @@ -460,7 +460,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/bookcal/availabilities_list.php b/htdocs/bookcal/availabilities_list.php index a193c674a0874..dd7d6df9b2ee2 100644 --- a/htdocs/bookcal/availabilities_list.php +++ b/htdocs/bookcal/availabilities_list.php @@ -375,7 +375,7 @@ // Direct jump if only one record found -if ($num == 1 && !getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { +if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".dol_buildpath('/bookcal/availabilities_card.php', 1).'?id='.$id); @@ -436,7 +436,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/bookcal/calendar_list.php b/htdocs/bookcal/calendar_list.php index 0dce40a3fdc44..a67858255bb72 100644 --- a/htdocs/bookcal/calendar_list.php +++ b/htdocs/bookcal/calendar_list.php @@ -371,7 +371,7 @@ // Direct jump if only one record found -if ($num == 1 && !getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { +if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".dol_buildpath('/bookcal/calendar_card.php', 1).'?id='.$id); @@ -417,7 +417,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/bookmarks/list.php b/htdocs/bookmarks/list.php index f333df5069045..1ec504c2812fc 100644 --- a/htdocs/bookmarks/list.php +++ b/htdocs/bookmarks/list.php @@ -233,7 +233,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index 2a23a4a8784ca..a92b7c44efbac 100644 --- a/htdocs/categories/card.php +++ b/htdocs/categories/card.php @@ -244,7 +244,7 @@ print dol_get_fiche_head(); - print ''; + print '
'; // Ref print ''; @@ -254,7 +254,7 @@ // Description print ''; @@ -265,7 +265,7 @@ // Position print ''; - print ''; // Parent category diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index f44052afbd89d..8b47e14e4bc28 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -5,6 +5,7 @@ * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2014 Jean-François Ferry * Copyright (C) 2015 Raphaël Doursenaud + * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -83,7 +84,7 @@ if (is_array($file['name']) && count($file['name']) > 0) { foreach ($file['name'] as $i => $name) { if (empty($file['tmp_name'][$i]) || (getDolGlobalInt('MAIN_UPLOAD_DOC') * 1000) <= filesize($file['tmp_name'][$i])) { - setEventMessage($file['name'][$i].' : '.$langs->trans(empty($file['tmp_name'][$i]) ? 'ErrorFailedToSaveFile' : 'MaxSizeForUploadedFiles')); + setEventMessage($file['name'][$i].' : '.$langs->trans(empty($file['tmp_name'][$i]) ? 'ErrorFailedToSaveFile' : 'MaxSizeForUploadedFiles'), 'errors'); unset($file['name'][$i], $file['type'][$i], $file['tmp_name'][$i], $file['error'][$i], $file['size'][$i]); } } diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index 93ca0dabdc3a6..9e1961e792b2d 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -268,7 +268,7 @@ // Desc $desc = (GETPOST('desc-'.$key) ? GETPOST('desc-'.$key) : ($object->multilangs[$key]['description'] ?? '')); print ''; @@ -328,7 +328,7 @@ print ''; print ''; print ''; diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index 5f90e428d9862..4ae1d95ed3a04 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -344,7 +344,7 @@ $param .= "&search_type=".urlencode($type); } if ($search_id != '') { - $param .= '&search_title='.urlencode($search_id); + $param .= '&search_id='.urlencode($search_id); } if ($search_title != '') { $param .= '&search_title='.urlencode($search_title); diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 7039a97a59e03..e22cb6b8f2166 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -194,7 +194,7 @@ $companystatic->canvas = $obj->canvas; print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -291,7 +291,7 @@ $companystatic->canvas = $obj->canvas; print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -389,7 +389,7 @@ $companystatic->canvas = $obj->canvas; print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -490,7 +490,7 @@ $companystatic->canvas = $obj->canvas; print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -577,7 +577,7 @@ $companystatic->canvas = $obj->canvas; print ''; - print '"; print ''; if (!$i) { $totalarray['nbfield']++; @@ -2079,7 +2079,7 @@ // Note private if (!empty($arrayfields['c.note_private']['checked'])) { print ''; if (!$i) { $totalarray['nbfield']++; diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 920cf5fef4529..53ddaa83e63bf 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -503,7 +503,7 @@ print ''; @@ -1063,7 +1063,7 @@ print ''; diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index c9e0a6a8e72fb..09f378255a5b5 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -1172,10 +1172,11 @@ public function setCategories($categories) /** * Delete bank account from database * - * @param User|null $user User deleting - * @return int Return integer <0 if KO, >0 if OK + * @param User|null $user User deleting + * @param int $notrigger 1=Disable triggers + * @return int Return integer <0 if KO, >0 if OK */ - public function delete(User $user = null) + public function delete(User $user = null, $notrigger = 0) { $error = 0; diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php index 9dcb5a28f4be1..64c4d7d5fc68d 100644 --- a/htdocs/compta/bank/list.php +++ b/htdocs/compta/bank/list.php @@ -343,7 +343,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php index b50bc52ad90d4..192f07814df2d 100644 --- a/htdocs/compta/bank/various_payment/list.php +++ b/htdocs/compta/bank/various_payment/list.php @@ -358,7 +358,7 @@ $num = $db->num_rows($resql); // Direct jump if only one record found -if ($num == 1 && !getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { +if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/compta/bank/various_payment/card.php?id='.$id); diff --git a/htdocs/compta/cashcontrol/cashcontrol_list.php b/htdocs/compta/cashcontrol/cashcontrol_list.php index c3cd5cd37a1fd..984686af4d614 100644 --- a/htdocs/compta/cashcontrol/cashcontrol_list.php +++ b/htdocs/compta/cashcontrol/cashcontrol_list.php @@ -371,7 +371,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index a383630cd6710..c1f5d857ecb35 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -2084,7 +2084,16 @@ $_GET["originid"] = $_POST["originid"]; // Keep GET and POST here ? setEventMessages($object->error, $object->errors, 'errors'); } - } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '') { + } elseif ($action == 'addline' && GETPOST('submitforalllines', 'aZ09') && (GETPOST('alldate_start', 'alpha') || GETPOST('alldate_end', 'alpha')) && $usercancreate) { + // Define date start and date end for all line + $alldate_start = dol_mktime(GETPOST('alldate_starthour'), GETPOST('alldate_startmin'), 0, GETPOST('alldate_startmonth'), GETPOST('alldate_startday'), GETPOST('alldate_startyear')); + $alldate_end = dol_mktime(GETPOST('alldate_endhour'), GETPOST('alldate_endmin'), 0, GETPOST('alldate_endmonth'), GETPOST('alldate_endday'), GETPOST('alldate_endyear')); + foreach ($object->lines as $line) { + if ($line->product_type == 1) { // only service line + $result = $object->updateline($line->id, $line->desc, $line->subprice, $line->qty, $line->remise_percent, $alldate_start, $alldate_end, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, 'HT', $line->info_bits, $line->product_type, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->special_code, $line->array_options, $line->situation_percent, $line->fk_unit, $line->multicurrency_subprice); + } + } + } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '' && $usercancreate) { // Define vat_rate $vat_rate = (GETPOST('vatforalllines') ? GETPOST('vatforalllines') : 0); $vat_rate = str_replace('*', '', $vat_rate); @@ -2100,7 +2109,7 @@ foreach ($object->lines as $line) { $result = $object->updateline($line->id, $line->desc, $line->subprice, $line->qty, $remise_percent, $line->date_start, $line->date_end, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, 'HT', $line->info_bits, $line->product_type, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->special_code, $line->array_options, $line->situation_percent, $line->fk_unit, $line->multicurrency_subprice); } - } elseif ($action == 'addline' && $usercancreate) { // Add a new line + } elseif ($action == 'addline' && !GETPOST('submitforalllines', 'alpha') && !GETPOST('submitforallmargins', 'alpha') && $usercancreate) { // Add a new line $langs->load('errors'); $error = 0; @@ -6057,9 +6066,11 @@ function js_recalculate_revenuestamp(){ } $somethingshown = $form->showLinkedObjectBlock($object, $linktoelem, $compatibleImportElementsList); - // Show online payment link - $useonlinepayment = (isModEnabled('paypal') || isModEnabled('stripe') || isModEnabled('paybox')); + // The list can be complete by the hook 'doValidatePayment' executed inside getValidOnlinePaymentMethods() + include_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php'; + $validpaymentmethod = getValidOnlinePaymentMethods(''); + $useonlinepayment = count($validpaymentmethod); $parameters = array(); $reshook = $hookmanager->executeHooks('doShowOnlinePaymentUrl', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 3d5343fa194e8..8fe477440800f 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -341,7 +341,7 @@ class Facture extends CommonInvoice 'datec' => array('type' => 'datetime', 'label' => 'DateCreation', 'enabled' => 1, 'visible' => -1, 'position' => 500), 'tms' => array('type' => 'timestamp', 'label' => 'DateModificationShort', 'enabled' => 1, 'visible' => -1, 'notnull' => 1, 'position' => 502), 'fk_user_author' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserAuthor', 'enabled' => 1, 'visible' => -1, 'position' => 506), - 'fk_user_modif' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserModif', 'enabled' => 1, 'visible' => -1, 'notnull' => -1, 'position' => 508), + 'fk_user_modif' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserModification', 'enabled' => 1, 'visible' => -1, 'notnull' => -1, 'position' => 508), 'fk_user_valid' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserValidation', 'enabled' => 1, 'visible' => -1, 'position' => 510), 'fk_user_closing' => array('type' => 'integer:User:user/class/user.class.php', 'label' => 'UserClosing', 'enabled' => 1, 'visible' => -1, 'position' => 512), 'import_key' => array('type' => 'varchar(14)', 'label' => 'ImportId', 'enabled' => 1, 'visible' => -2, 'position' => 900), diff --git a/htdocs/compta/facture/invoicetemplate_list.php b/htdocs/compta/facture/invoicetemplate_list.php index 36ab91200db1e..f1450c93eb2b8 100644 --- a/htdocs/compta/facture/invoicetemplate_list.php +++ b/htdocs/compta/facture/invoicetemplate_list.php @@ -520,7 +520,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index c01164bbdbf0f..2bfee92c75579 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -1197,7 +1197,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; @@ -2676,8 +2676,8 @@ } // Note public if (!empty($arrayfields['f.note_public']['checked'])) { - print ''; if (!$i) { $totalarray['nbfield']++; @@ -2686,7 +2686,7 @@ // Note private if (!empty($arrayfields['f.note_private']['checked'])) { print ''; if (!$i) { $totalarray['nbfield']++; diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index a250a0d2031ea..9c06cedaac1fc 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -898,10 +898,10 @@ function callForResult(imgId) print '
'; if (!empty($totalpayment)) { - $text = $langs->trans('ConfirmCustomerPayment', $totalpayment, $langs->trans("Currency".$conf->currency)); + $text = $langs->trans('ConfirmCustomerPayment', $totalpayment, $langs->transnoentitiesnoconv("Currency".$conf->currency)); } if (!empty($multicurrency_totalpayment)) { - $text .= '
'.$langs->trans('ConfirmCustomerPayment', $multicurrency_totalpayment, $langs->trans("paymentInInvoiceCurrency")); + $text .= '
'.$langs->trans('ConfirmCustomerPayment', $multicurrency_totalpayment, $langs->transnoentitiesnoconv("paymentInInvoiceCurrency")); } if (GETPOST('closepaidinvoices')) { $text .= '
'.$langs->trans("AllCompletelyPayedInvoiceWillBeClosed"); diff --git a/htdocs/compta/paiement/document.php b/htdocs/compta/paiement/document.php new file mode 100644 index 0000000000000..cc3dc586540b4 --- /dev/null +++ b/htdocs/compta/paiement/document.php @@ -0,0 +1,183 @@ + + * Copyright (C) 2004-2016 Laurent Destailleur + * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2012 Marcos García + * Copyright (C) 2013 Cédric Salvador + * Copyright (C) 2017 Ferran Marcet + * Copyright (C) 2021 Jesus Jerez + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/compta/paiement/document.php + * \ingroup facture, comptaisseur + * \brief Management page of attached documents to a payment + */ + +require '../../main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; +require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php'; +require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php'; +if (!empty($conf->project->enabled)) { + require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; +} + +// Load translation files required by the page +$langs->loadLangs(array('bills', 'banks', 'companies', 'suppliers', 'other')); + +$id = GETPOST('id', 'int'); +$ref = GETPOST('ref', 'alpha'); +$action = GETPOST('action', 'aZ09'); +$confirm = GETPOST('confirm', 'alpha'); + +// Security check +if ($user->socid) { + $socid = $user->socid; +} +if ($object !== null) { + $result = restrictedArea($user, $object->element, $object->id, 'payment', ''); +} +// Get parameters +$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit; +$sortfield = GETPOST('sortfield', 'aZ09comma'); +$sortorder = GETPOST('sortorder', 'aZ09comma'); +$page = GETPOSTISSET('pageplusone') ? (GETPOSTINT('pageplusone') - 1) : GETPOSTINT('page'); +if (empty($page) || $page == -1) { + $page = 0; +} // If $page is not defined, or '' or -1 +$offset = $limit * $page; +$pageprev = $page - 1; +$pagenext = $page + 1; +if (!$sortorder) { + $sortorder = "ASC"; +} +if (!$sortfield) { + $sortfield = "name"; +} + +// Load object +$object = new Paiement($db); +if ($object->fetch($id, $ref)) { + $object->fetch_thirdparty(); + $ref = dol_sanitizeFileName($object->ref); + $upload_dir = $conf->compta->payment->dir_output.'/'.dol_sanitizeFileName($object->ref); +} else { + $upload_dir = ''; +} + + +$permissiontoadd = ($user->hasRight('facture', 'creer')); // Used by the include of actions_setnotes.inc.php + +/* + * Actions + */ + +include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; + + +/* + * View + */ + +$form = new Form($db); + +$title = $langs->trans('Payment')." - ".$langs->trans('Documents'); +llxHeader('', $title); + +if ($object->id > 0) { + $head = payment_prepare_head($object); + print dol_get_fiche_head($head, 'documents', $langs->trans("Payment"), -1, 'payment'); + + // Supplier order card + $linkback = ''.$langs->trans("BackToList").''; + + $morehtmlref = '
'; + + // Date of payment + $morehtmlref .= $form->editfieldkey("Date", 'datep', $object->date, $object, $object->statut == 0 && ($user->hasRight('facture', 'creer')), 'datehourpicker', '', 0, 3).': '; + $morehtmlref .= $form->editfieldval("Date", 'datep', $object->date, $object, $object->statut == 0 && ($user->hasRight('facture', 'creer')), 'datehourpicker', '', null, $langs->trans('PaymentDateUpdateSucceeded')); + + // Payment mode + $morehtmlref .= '
'.$langs->trans('PaymentMode').' : '; + $morehtmlref .= $langs->trans("PaymentType".$object->type_code) != ("PaymentType".$object->type_code) ? $langs->trans("PaymentType".$object->type_code) : $object->type_label; + $morehtmlref .= $object->num_payment ? ' - '.$object->num_payment : ''; + + // Thirdparty + $morehtmlref .= '
'.$langs->trans('ThirdParty').' : '.$object->thirdparty->getNomUrl(1); + + // Amount + $morehtmlref .= '
'.$langs->trans('Amount').' : '. price($object->amount, 0, $langs, 0, 0, -1, $conf->currency); + + $allow_delete = 1; + // Bank account + if (!empty($conf->banque->enabled)) { + if ($object->fk_account) { + $bankline = new AccountLine($db); + $bankline->fetch($object->bank_line); + if ($bankline->rappro) { + $allow_delete = 0; + $title_button = dol_escape_htmltag($langs->transnoentitiesnoconv("CantRemoveConciliatedPayment")); + } + + $morehtmlref .= '
'.$langs->trans('BankAccount').' : '; + $accountstatic = new Account($db); + $accountstatic->fetch($bankline->fk_account); + $morehtmlref .= $accountstatic->getNomUrl(1); + + $morehtmlref .= '
'.$langs->trans('BankTransactionLine').' : '; + $morehtmlref .= $bankline->getNomUrl(1, 0, 'showconciliated'); + } + } + + dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); + + // Build file list + $filearray = dol_dir_list($upload_dir, "files", 0, '', '(\.meta|_preview.*\.png)$', $sortfield, (strtolower($sortorder) == 'desc' ?SORT_DESC:SORT_ASC), 1); + $totalsize = 0; + foreach ($filearray as $key => $file) { + $totalsize += $file['size']; + } + + print '
'; + print '
'; + + print '
'.$langs->trans("Description").''; require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('description', $description, '', 160, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_5, '90%'); + $doleditor = new DolEditor('description', $description, '', 160, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_5, '90%'); $doleditor->Create(); print '
'.$langs->trans("Position").''; + print ''.$langs->trans("Position").''; print'
'.$langs->trans('Description').''; - $doleditor = new DolEditor("desc-$key", $desc, '', 160, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); + $doleditor = new DolEditor("desc-$key", $desc, '', 160, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); $doleditor->Create(); print '
'.$langs->trans('Label').'
'.$langs->trans('Description').''; - $doleditor = new DolEditor('desc', GETPOST('desc', 'restricthtml'), '', 160, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); + $doleditor = new DolEditor('desc', GETPOST('desc', 'restricthtml'), '', 160, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_3, '90%'); $doleditor->Create(); print '
'.$propalstatic->getNomUrl(1).''.$propalstatic->getNomUrl(1).''.$companystatic->getNomUrl(1, 'customer').''.price((getDolGlobalString('MAIN_DASHBOARD_USE_TOTAL_HT') ? $obj->total_ht : $obj->total_ttc)).'
'.$supplierproposalstatic->getNomUrl(1).''.$supplierproposalstatic->getNomUrl(1).''.$companystatic->getNomUrl(1, 'supplier').''.price(getDolGlobalString('MAIN_DASHBOARD_USE_TOTAL_HT') ? $obj->total_ht : $obj->total_ttc).'
'.$orderstatic->getNomUrl(1).''.$orderstatic->getNomUrl(1).''.$companystatic->getNomUrl(1, 'customer').''.price(getDolGlobalString('MAIN_DASHBOARD_USE_TOTAL_HT') ? $obj->total_ht : $obj->total_ttc).'
'.$supplierorderstatic->getNomUrl(1).''.$supplierorderstatic->getNomUrl(1).''.$companystatic->getNomUrl(1, 'supplier').''.price(getDolGlobalString('MAIN_DASHBOARD_USE_TOTAL_HT') ? $obj->total_ht : $obj->total_ttc).'
'; + print ''; print $fichinterstatic->getNomUrl(1); print "'; diff --git a/htdocs/comm/mailing/list.php b/htdocs/comm/mailing/list.php index 652f771cb4e9f..a1f3df49b1850 100644 --- a/htdocs/comm/mailing/list.php +++ b/htdocs/comm/mailing/list.php @@ -301,7 +301,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index a9553e0ecfd63..d2c4eefb228eb 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -945,6 +945,15 @@ } } } + } elseif ($action == 'addline' && GETPOST('submitforalllines', 'aZ09') && (GETPOST('alldate_start', 'alpha') || GETPOST('alldate_end', 'alpha')) && $usercancreate) { + // Define date start and date end for all line + $alldate_start = dol_mktime(GETPOST('alldate_starthour'), GETPOST('alldate_startmin'), 0, GETPOST('alldate_startmonth'), GETPOST('alldate_startday'), GETPOST('alldate_startyear')); + $alldate_end = dol_mktime(GETPOST('alldate_endhour'), GETPOST('alldate_endmin'), 0, GETPOST('alldate_endmonth'), GETPOST('alldate_endday'), GETPOST('alldate_endyear')); + foreach ($object->lines as $line) { + if ($line->product_type == 1) { // only service line + $result = $object->updateline($line->id, $line->subprice, $line->qty, $line->remise_percent, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, $line->desc, 'HT', $line->info_bits, $line->special_code, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->product_type, $alldate_start, $alldate_end, $line->array_options, $line->fk_unit, $line->multicurrency_subprice); + } + } } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '' && $usercancreate) { // Define a vat_rate for all lines $vat_rate = (GETPOST('vatforalllines') ? GETPOST('vatforalllines') : 0); @@ -992,7 +1001,7 @@ $line->subprice = $subprice; $line->multicurrency_subprice = $multicurrency_subprice; } - } elseif ($action == 'addline' && $usercancreate) { // Add line + } elseif ($action == 'addline' && !GETPOST('submitforalllines', 'alpha') && !GETPOST('submitforallmargins', 'alpha') && $usercancreate) { // Add line // Set if we used free entry or predefined product $predef = ''; $product_desc = (GETPOSTISSET('dp_desc') ? GETPOST('dp_desc', 'restricthtml') : ''); diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 65a3f95779d0a..d45aa2881db49 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -1052,7 +1052,7 @@ // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks -$parameters = array(); +$parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 53812891f11cd..566d3e4cddba4 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -14,7 +14,7 @@ * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2018-2021 Frédéric France * Copyright (C) 2022 Gauthier VERDOL - * Copyright (C) 2023 Benjamin Falière + * Copyright (C) 2023-2024 Benjamin Falière * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -659,7 +659,16 @@ // $result = $object->setDiscount($user, price2num(GETPOST('remise_percent'), '', 2)); //} elseif ($action == 'setremiseabsolue' && $usercancreate) { // $result = $object->set_remise_absolue($user, price2num(GETPOST('remise_absolue'), 'MU', 2)); - } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '') { + } elseif ($action == 'addline' && GETPOST('submitforalllines', 'aZ09') && (GETPOST('alldate_start', 'alpha') || GETPOST('alldate_end', 'alpha')) && $usercancreate) { + // Define date start and date end for all line + $alldate_start = dol_mktime(GETPOST('alldate_starthour'), GETPOST('alldate_startmin'), 0, GETPOST('alldate_startmonth'), GETPOST('alldate_startday'), GETPOST('alldate_startyear')); + $alldate_end = dol_mktime(GETPOST('alldate_endhour'), GETPOST('alldate_endmin'), 0, GETPOST('alldate_endmonth'), GETPOST('alldate_endday'), GETPOST('alldate_endyear')); + foreach ($object->lines as $line) { + if ($line->product_type == 1) { // only service line + $result = $object->updateline($line->id, $line->desc, $line->subprice, $line->qty, $line->remise_percent, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, 'HT', $line->info_bits, $alldate_start, $alldate_end, $line->product_type, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->special_code, $line->array_options, $line->fk_unit, $line->multicurrency_subprice); + } + } + } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '' && $usercancreate) { // Define vat_rate $vat_rate = (GETPOST('vatforalllines') ? GETPOST('vatforalllines') : 0); $vat_rate = str_replace('*', '', $vat_rate); @@ -675,7 +684,7 @@ foreach ($object->lines as $line) { $result = $object->updateline($line->id, $line->desc, $line->subprice, $line->qty, $remise_percent, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, 'HT', $line->info_bits, $line->date_start, $line->date_end, $line->product_type, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->special_code, $line->array_options, $line->fk_unit, $line->multicurrency_subprice); } - } elseif ($action == 'addline' && $usercancreate) { // Add a new line + } elseif ($action == 'addline' && !GETPOST('submitforalllines', 'alpha') && $usercancreate) { // Add a new line $langs->load('errors'); $error = 0; @@ -2897,8 +2906,6 @@ $object->printObjectLines($action, $mysoc, $soc, $lineid, 1); } - $numlines = count($object->lines); - /* * Form to add new line */ @@ -2938,6 +2945,8 @@ // Note that $action and $object may be modified by hook $reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); if (empty($reshook)) { + $numlines = count($object->lines); + // Reopen a closed order if (($object->statut == Commande::STATUS_CLOSED || $object->statut == Commande::STATUS_CANCELED) && $usercancreate && (!$object->billed || !getDolGlobalInt('ORDER_DONT_REOPEN_BILLED'))) { print dolGetButtonAction('', $langs->trans('ReOpen'), 'default', $_SERVER["PHP_SELF"].'?action=reopen&token='.newToken().'&id='.$object->id, ''); @@ -3055,12 +3064,12 @@ // Set billed or unbilled // Note: Even if module invoice is not enabled, we should be able to use button "Classified billed" if ($object->statut > Commande::STATUS_DRAFT && !$object->billed && $object->total_ttc >= 0) { - if ($usercancreate && $object->statut >= Commande::STATUS_VALIDATED && !getDolGlobalString('WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER') && !getDolGlobalString('WORKFLOW_BILL_ON_SHIPMENT')) { + if ($usercancreate && $object->statut >= Commande::STATUS_VALIDATED && !getDolGlobalString('ORDER_DISABLE_CLASSIFY_BILLED_FROM_ORDER') && !getDolGlobalString('WORKFLOW_BILL_ON_SHIPMENT')) { print dolGetButtonAction('', $langs->trans('ClassifyBilled'), 'default', $_SERVER["PHP_SELF"].'?action=classifybilled&token='.newToken().'&id='.$object->id, ''); } } if ($object->statut > Commande::STATUS_DRAFT && $object->billed) { - if ($usercancreate && $object->statut >= Commande::STATUS_VALIDATED && !getDolGlobalString('WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER') && !getDolGlobalString('WORKFLOW_BILL_ON_SHIPMENT')) { + if ($usercancreate && $object->statut >= Commande::STATUS_VALIDATED && !getDolGlobalString('ORDER_DISABLE_CLASSIFY_BILLED_FROM_ORDER') && !getDolGlobalString('WORKFLOW_BILL_ON_SHIPMENT')) { print dolGetButtonAction('', $langs->trans('ClassifyUnBilled'), 'delete', $_SERVER["PHP_SELF"].'?action=classifyunbilled&token='.newToken().'&id='.$object->id, ''); } } diff --git a/htdocs/commande/list_det.php b/htdocs/commande/list_det.php index 325747a197d7a..692ac788286fb 100644 --- a/htdocs/commande/list_det.php +++ b/htdocs/commande/list_det.php @@ -862,7 +862,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; // Add $param from hooks - $parameters = array(); + $parameters = array('param' => &$param); $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook $param .= $hookmanager->resPrint; @@ -2068,8 +2068,8 @@ // Note public if (!empty($arrayfields['c.note_public']['checked'])) { - print ''; - print dol_string_nohtmltag($obj->note_public); + print ''; + print dolPrintHTML($obj->note_public); print ''; - print dol_string_nohtmltag($obj->note_private); + print dolPrintHTML($obj->note_private); print ''; // Editor wysiwyg require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('account_comment', (GETPOST("account_comment") ? GETPOST("account_comment") : $object->comment), '', 90, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_4, '90%'); + $doleditor = new DolEditor('account_comment', (GETPOST("account_comment") ? GETPOST("account_comment") : $object->comment), '', 90, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_4, '90%'); $doleditor->Create(); print '
'; // Editor wysiwyg require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('account_comment', (GETPOST("account_comment") ? GETPOST("account_comment") : $object->comment), '', 90, 'dolibarr_notes', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_4, '95%'); + $doleditor = new DolEditor('account_comment', (GETPOST("account_comment") ? GETPOST("account_comment") : $object->comment), '', 90, 'dolibarr_notes', '', false, true, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_4, '95%'); $doleditor->Create(); print '
'; - print dol_string_nohtmltag($obj->note_public); + print ''; + print dolPrintHTML($obj->note_public); print ''; - print dol_string_nohtmltag($obj->note_private); + print dolPrintHTML($obj->note_private); print '
'; + print ''; + print ''; + print "
'.$langs->trans("NbOfAttachedFiles").''.count($filearray).'
'.$langs->trans("TotalSizeOfAttachedFiles").''.dol_print_size($totalsize, 1, 1).'
\n"; + + print "\n"; + + print dol_get_fiche_end(); + + $modulepart = 'payment'; + // TODO: get the appropriate permission + $permissiontoadd = true; + $permtoedit = true; + $param = '&id='.$object->id; + include DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php'; +} else { + header('Location: index.php'); + exit; +} + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/conf/conf.php.example b/htdocs/conf/conf.php.example index 1c44e25a79714..a361a88643b77 100644 --- a/htdocs/conf/conf.php.example +++ b/htdocs/conf/conf.php.example @@ -176,6 +176,11 @@ $dolibarr_main_db_character_set='utf8'; $dolibarr_main_db_collation='utf8_unicode_ci'; +// dolibarr_main_db_encryption +// If setto 1, Dolibarr make a reversible encryption of data (using AES) with mysql to store key and value into the table llx_const. +// It is deprecated and should not be used anymore. + + // dolibarr_main_db_readonly // ========================= // Set this to 1 to have the application working in readonly mode. All SQL commands INSERT/UPDATE/DELETE/CREATE/ALTER/TRUNCATE/DROP will be disabled. diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 2aa85f29305f0..073165d5a6774 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -460,16 +460,13 @@ $no_email = GETPOSTINT('no_email'); $result = $object->setNoEmail($no_email); if ($result < 0) { + $error++; setEventMessages($object->error, $object->errors, 'errors'); - $action = 'edit'; } } - - $action = 'view'; } else { $error++; setEventMessages($object->error, $object->errors, 'errors'); - $action = 'edit'; } } } @@ -479,6 +476,9 @@ header("Location: ".$backtopage); exit; } + $action = 'view'; + } else { + $action = 'edit'; } } diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index 1a271d32edf43..0c48586521cf6 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -3202,9 +3202,10 @@ public function getLibStatut($mode) * @param int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto * @param int $expired 0=Not expired, 1=Expired, -1=Both or unknown * @param string $moreatt More attribute + * @param string $morelabel More label * @return string Label of status */ - public static function LibStatut($status, $mode, $expired = -1, $moreatt = '') + public static function LibStatut($status, $mode, $expired = -1, $moreatt = '', $morelabel = '') { // phpcs:enable global $langs; @@ -3240,7 +3241,7 @@ public static function LibStatut($status, $mode, $expired = -1, $moreatt = '') if (preg_match('/class="(.*)"/', $moreatt, $reg)) { $params = array('badgeParams' => array('css' => $reg[1])); } - return dolGetStatus($labelStatus, $labelStatusShort, '', $statusType, $mode, '', $params); + return dolGetStatus($labelStatus.($morelabel ? ' '.$morelabel : ''), $labelStatusShort.($morelabel ? ' '.$morelabel : ''), '', $statusType, $mode, '', $params); } /** diff --git a/htdocs/contrat/services_list.php b/htdocs/contrat/services_list.php index d1caafeae0ad2..9dc62e8728aed 100644 --- a/htdocs/contrat/services_list.php +++ b/htdocs/contrat/services_list.php @@ -40,9 +40,9 @@ // Get parameters $massaction = GETPOST('massaction', 'alpha'); $toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list -$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search $optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') $mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...) +$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')).$mode; // To manage different context of search // Load variable for pagination $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit; @@ -73,8 +73,19 @@ $search_service = GETPOST("search_service", 'alpha'); $search_status = GETPOST("search_status", 'alpha'); $search_product_category = GETPOSTINT('search_product_category'); + +// To support selection into combo list of status with detailed status '4&filter' +$filter = ''; +if ($search_status == '4&filter=notexpired') { + $search_status = '4'; + $filter = 'notexpired'; +} +if ($search_status == '4&filter=expired') { + $search_status = '4'; + $filter = 'expired'; +} + $socid = GETPOSTINT('socid'); -$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'contractservicelist'.$mode; $opouvertureprevuemonth = GETPOST('opouvertureprevuemonth'); $opouvertureprevueday = GETPOST('opouvertureprevueday'); @@ -198,6 +209,7 @@ $opclotureday = ""; $opclotureyear = ""; $filter_opcloture = ""; + $filter = ''; $toselect = array(); $search_array_options = array(); } @@ -285,10 +297,10 @@ if ($search_status == "4") { $sql .= " AND cd.statut = 4"; } -if ($search_status == "4&filter=expired") { +if ($search_status == "4&filter=expired" || ($search_status == '4' && $filter == 'expired')) { $sql .= " AND cd.statut = 4 AND cd.date_fin_validite < '".$db->idate($now)."'"; } -if ($search_status == "4&filter=notexpired") { +if ($search_status == "4&filter=notexpired" || ($search_status == '4' && $filter == 'notexpired')) { $sql .= " AND cd.statut = 4 AND cd.date_fin_validite >= '".$db->idate($now)."'"; } if ($search_status == "5") { @@ -778,7 +790,7 @@ $i = 0; $savnbfield = $totalarray['nbfield']; -$totalarray = array('nbfield' => 0, 'cd.qty' => 0, 'cd.total_ht' => 0, 'cd.total_tva' => 0); +$totalarray = array('nbfield' => 0, 'val' => array('cd.qty' => 0, 'cd.total_ht' => 0, 'cd.total_tva' => 0)); $imaxinloop = ($limit ? min($num, $limit) : $num); while ($i < $imaxinloop) { $obj = $db->fetch_object($resql); @@ -991,7 +1003,8 @@ print ''; if ($obj->cstatut == 0) { // If contract is draft, we say line is also draft - print $contractstatic->LibStatut(0, 5); + //print $contractstatic->LibStatut(0, 5); + print $staticcontratligne->LibStatut($obj->statut, 5, ($obj->date_fin_validite && $db->jdate($obj->date_fin_validite) < $now) ? 1 : 0, '', ' - '.$langs->trans("Draft")); } else { print $staticcontratligne->LibStatut($obj->statut, 5, ($obj->date_fin_validite && $db->jdate($obj->date_fin_validite) < $now) ? 1 : 0); } diff --git a/htdocs/core/actions_addupdatedelete.inc.php b/htdocs/core/actions_addupdatedelete.inc.php index 11b838af67937..45e630799b8ce 100644 --- a/htdocs/core/actions_addupdatedelete.inc.php +++ b/htdocs/core/actions_addupdatedelete.inc.php @@ -202,7 +202,7 @@ } $urltogo = $backtopage ? str_replace('__ID__', $result, $backtopage) : $backurlforlist; - $urltogo = preg_replace('/--IDFORBACKTOPAGE--/', (string) $object->id, $urltogo); // New method to autoselect project after a New on another form object creation + $urltogo = preg_replace('/--IDFORBACKTOPAGE--/', (string) $object->id, $urltogo); // New method to autoselect field created after a New on another form object creation $db->commit(); diff --git a/htdocs/core/actions_setmoduleoptions.inc.php b/htdocs/core/actions_setmoduleoptions.inc.php index 27fb7649100ac..e71f68f8ce31f 100644 --- a/htdocs/core/actions_setmoduleoptions.inc.php +++ b/htdocs/core/actions_setmoduleoptions.inc.php @@ -23,7 +23,7 @@ // $error must have been initialized to 0 // $action must be defined -// $arrayofparameters must be set for action 'update' +// $arrayofparameters must be set to list of parameters to update for action 'update' on constants // $nomessageinupdate can be set to 1 // $nomessageinsetmoduleoptions can be set to 1 // $formSetup may be defined @@ -35,7 +35,7 @@ } -if ($action == 'update' && is_array($arrayofparameters) && !empty($user->admin)) { +if ($action == 'update' && !empty($arrayofparameters) && is_array($arrayofparameters) && !empty($user->admin)) { $db->begin(); foreach ($arrayofparameters as $key => $val) { diff --git a/htdocs/core/ajax/selectsearchbox.php b/htdocs/core/ajax/selectsearchbox.php index 99da470a3b7c3..58c4483e71e68 100644 --- a/htdocs/core/ajax/selectsearchbox.php +++ b/htdocs/core/ajax/selectsearchbox.php @@ -119,6 +119,9 @@ if (((isModEnabled('fournisseur') && !getDolGlobalString('MAIN_USE_NEW_SUPPLIERMOD') && $user->hasRight('fournisseur', 'commande', 'lire')) || (isModEnabled('supplier_order') && $user->hasRight('supplier_order', 'lire'))) && !getDolGlobalString('MAIN_SEARCHFORM_SUPPLIER_ORDER_DISABLED')) { $arrayresult['searchintosupplierorder'] = array('position' => 110, 'img' => 'object_supplier_order', 'label' => $langs->trans("SearchIntoSupplierOrders", $search_boxvalue), 'text' => img_picto('', 'object_supplier_order', 'class="pictofixedwidth"').' '.$langs->trans("SearchIntoSupplierOrders", $search_boxvalue), 'url' => DOL_URL_ROOT.'/fourn/commande/list.php'.($search_boxvalue ? '?search_all='.urlencode($search_boxvalue) : '')); } +if (isModEnabled('reception') && !getDolGlobalString('MAIN_SEARCHFORM_SUPPLIER_RECEPTION_DISABLED') && $user->hasRight('reception', 'lire')) { + $arrayresult['searchintoreception'] = array('position'=>115, 'img'=>'object_reception', 'label'=>$langs->trans("SearchIntoSupplierReceptions", $search_boxvalue), 'text'=>img_picto('', 'object_reception', 'class="pictofixedwidth"').' '.$langs->trans("SearchIntoSupplierReceptions", $search_boxvalue), 'url'=>DOL_URL_ROOT.'/reception/list.php'.($search_boxvalue ? '?search_all='.urlencode($search_boxvalue) : '')); +} if (((isModEnabled('fournisseur') && !getDolGlobalString('MAIN_USE_NEW_SUPPLIERMOD') && $user->hasRight('fournisseur', 'facture', 'lire')) || (isModEnabled('supplier_invoice') && $user->hasRight('supplier_invoice', 'lire'))) && !getDolGlobalString('MAIN_SEARCHFORM_SUPPLIER_INVOICE_DISABLED')) { $arrayresult['searchintosupplierinvoice'] = array('position' => 120, 'img' => 'object_supplier_invoice', 'label' => $langs->trans("SearchIntoSupplierInvoices", $search_boxvalue), 'text' => img_picto('', 'object_supplier_invoice', 'class="pictofixedwidth"').' '.$langs->trans("SearchIntoSupplierInvoices", $search_boxvalue), 'url' => DOL_URL_ROOT.'/fourn/facture/list.php'.($search_boxvalue ? '?search_all='.urlencode($search_boxvalue) : '')); } diff --git a/htdocs/core/class/CMailFile.class.php b/htdocs/core/class/CMailFile.class.php index ea8217d6adbcc..c3f36c3b96fe1 100644 --- a/htdocs/core/class/CMailFile.class.php +++ b/htdocs/core/class/CMailFile.class.php @@ -321,7 +321,7 @@ public function __construct($subject, $to, $from, $msg, $filename_list = array() $this->atleastoneimage = 1; if ($this->html_images[$i]['type'] == 'cidfromdata') { if (!in_array($this->html_images[$i]['fullpath'], $filename_list)) { - // If this file path is not already into the $filename_list, we add it. + // If this file path is not already into the $filename_list, we append it at end of array $posindice = count($filename_list); $filename_list[$posindice] = $this->html_images[$i]['fullpath']; $mimetype_list[$posindice] = $this->html_images[$i]['content_type']; @@ -345,7 +345,7 @@ public function __construct($subject, $to, $from, $msg, $filename_list = array() foreach ($filename_list as $i => $val) { if ($filename_list[$i]) { $this->atleastonefile = 1; - dol_syslog("CMailFile::CMailfile: filename_list[$i]=".$filename_list[$i].", mimetype_list[$i]=".$mimetype_list[$i]." mimefilename_list[$i]=".$mimefilename_list[$i]." cid_list[$i]=".$cid_list[$i], LOG_DEBUG); + dol_syslog("CMailFile::CMailfile: filename_list[$i]=".$filename_list[$i].", mimetype_list[$i]=".$mimetype_list[$i]." mimefilename_list[$i]=".$mimefilename_list[$i]." cid_list[$i]=".(empty($cid_list[$i]) ? '' : $cid_list[$i]), LOG_DEBUG); } } } diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 90b350b3f328c..6f08301d5a903 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -145,7 +145,7 @@ abstract class CommonObject /** * @var array> Array to store alternative languages values of object - * Note: call fetchValuesForExtraLanguages() before using this + * Note: call fetchValuesForExtraLanguages() before using this */ public $array_languages = null; // Value is array() when load already tried @@ -4776,7 +4776,7 @@ public function getSpecialCode($lineid) $resql = $this->db->query($sql); if ($resql) { $row = $this->db->fetch_row($resql); - return $row[0]; + return (!empty($row[0]) ? $row[0] : 0); } return 0; @@ -4949,7 +4949,7 @@ public function getTotalDiscount() * Return into unit=0, the calculated total of weight and volume of all lines * qty * Calculate by adding weight and volume of each product line, so properties ->volume/volume_units/weight/weight_units must be loaded on line. * - * @return array{weight:int|float,volume:int|float,ordered:int|float,toship:int|float} array('weight'=>...,'volume'=>...) + * @return array{weight:int|float,volume:int|float,ordered:int|float,toship:int|float}|array{} array('weight'=>...,'volume'=>...) */ public function getTotalWeightVolume() { @@ -4960,6 +4960,10 @@ public function getTotalWeightVolume() // defined for shipment only $totalToShip = ''; + if (empty($this->lines)) { + return array(); + } + foreach ($this->lines as $line) { if (isset($line->qty_asked)) { if (empty($totalOrdered)) { @@ -6385,6 +6389,16 @@ public function fetch_optionals($rowid = null, $optionsArray = null) } } } + } else { + /** + We are in a situation where the current object has no values in its extra fields. + We want to initialize all the values to null so that the array_option is accessible in other contexts (especially in document generation). + **/ + if (is_array($extrafields->attributes[$this->table_element]['label'])) { + foreach ($extrafields->attributes[$this->table_element]['label'] as $key => $val) { + $this->array_options['options_' . $key] = null; + } + } } // If field is a computed field, value must become result of compute (regardless of whether a row exists @@ -7431,7 +7445,7 @@ public function showInputField($val, $key, $value, $moreparam = '', $keysuffix = } elseif (preg_match('/^html/', (string) $type)) { if (!preg_match('/search_/', $keyprefix)) { // If keyprefix is search_ or search_options_, we must just use a simple text field require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor($keyprefix.$key.$keysuffix, $value, '', 200, 'dolibarr_notes', 'In', false, false, isModEnabled('fckeditor') && $conf->global->FCKEDITOR_ENABLE_SOCIETE, ROWS_5, '90%'); + $doleditor = new DolEditor($keyprefix.$key.$keysuffix, $value, '', 200, 'dolibarr_notes', 'In', false, false, isModEnabled('fckeditor') && getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_5, '90%'); $out = (string) $doleditor->Create(1, '', true, '', '', $moreparam, $morecss); } else { $out = ''; @@ -8882,13 +8896,15 @@ public function showOptionals($extrafields, $mode = 'view', $params = null, $key $labeltoshow = $langs->trans($label); $helptoshow = $langs->trans($extrafields->attributes[$this->table_element]['help'][$key]); - if ($display_type == 'card') { $out .= ''; if (getDolGlobalString('MAIN_VIEW_LINE_NUMBER') && ($action == 'view' || $action == 'valid' || $action == 'editline' || $action == 'confirm_valid' || $action == 'confirm_cancel')) { $out .= ''; } $out .= ''; $out .= '