Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1974

Add client area link to available order forms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.0.0-b1
    • Component/s: Client Interface, Plugins
    • Labels:
      None

      Description

      Behavior

      The order plugin should register a primary nav element for the client area called Order. This should link to /order/.

      The behavior of /order/ will change depending on the value of the Default Order Form setting.

      • If Default Order Form is an order form, no change, /order/ will redirect to that order form.
      • If Default Order Form is 'None - Show Listing', a listing of order forms will be shown (redirect to order form if there is only one in the list).
        • Each order form has a new option called Visibility. The options are:
          • Public (Publicly accessible, show in order form listing)
          • Shared (Publicly accessible, but not shown in order form listing)
          • Client Only (Not accessible to public, must be authenticated as a client to view or access)

      The default Visibility will be Shared, as that is the current behavior.

      Implementation

      The order form listing should be two columns (one on small screens - col-md-6 col-sm-12). Each order form should appear in a box, with the entire box clickable. The box will contain the name of the order form, as a heading, with the description shown below it (if available).

      If there is only one form in the listing, simply redirect to that order form. No sense in showing the listing for one item.

      Field Changes

      • Add Visibility to order form add/edit
      • Add Description to order form add/edit (markdown supported), collapsed by default
      • Rename 'None' option to 'None - Show Listing' in Order Settings Default Order Form

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              cody Cody Phillips (Inactive)
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Sep/16

                Agile