Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/05/2017 in all areas

  1. is possible to add support of override price per client group ? we have received some request about pricing per client group, a sample case to what we need to do is the fallowing, in blesta exist a Package X with term price of 15$, we have 3 client group, the price for default client group is 15$ , for client group X the price we want to be is 12$ , for client group Y we want the price to be 10$ . is this a way via a plugin or vent or we should wait this to be implemented in the core?
    1 point
  2. This is NOT production-ready, but this is what I've got going so far. In particular: I don't really understand the db migration tasks, or how I would create a migration and hint for it to be run, so right now if you want to use this, you'll have to manually add discount fields to services, service_options, invoice_lines, and invoice_recur_lines. (In all cases, any-old-int type should be fine.) What this is supposed to do: Allow per-item discounting. This is distinct from coupons in a couple of ways. One is that the discount can be distinct for each package option in a package. Another is that the discount is actually preserved as a trait of the line item, rather than being computed statically and stored as a separate line item. So if something changes that would change the cost of a given line (pricing or quantity, for instance), the discount reflects that. I haven't fully tested this, I don't think I've gone through the recurring line item use case at all, and I haven't figured out all the GUI elements. I'd quite like to see this get merged into core, or something like it, and I'm aware that it'll need significant cleanup before that would be plausible. But I want to get it out there for people to look at. (I think @Tyson might be the person to look at something like this?) It's a patch, not a plugin, because plugins can't alter invoice pricing computations. discount.patch
    1 point
  3. when we set a class for the widget in admin side, the widget class is not adding the set class to the default class . this is because a wrong addintion array are set . the fix to change // Set the attributes, don't allow overwriting the default class, concat instead if (isset($attributes['class']) && isset($default_attributes['class'])) { $attributes['class'] .= ' ' . $default_attributes['class']; } to // Set the attributes, don't allow overwriting the default class, concat instead if (isset($attributes['class']) && isset($default_attributes['class'])) { $default_attributes['class'] .= ' ' . $attributes['class']; } widget helper class.
    1 point
  4. Probably I will publish a private beta soon.
    1 point
  5. Blesta Addons

    Fully Rtl To Lft Css

    basic css style fro RTL theme in admin side (v4) , this is not the complete alignment but it cover the general issue in admin side . body { direction: rtl; } header#main_header h1 { float: right; } header#main_header .right_section { float: left; } header#main_header .top_nav { float: left; } header#main_header .menu ul.nav > li { float: right; } ul.dropdown-menu { right: 0; } .dropdown-menu { text-align: right; } header#main_header .breadcrumbs { padding: 12px 41px 0 0; } header#main_header .serach_block { padding: 5px 33px 0px; } #left_container { float: right; } #right_outer { margin: 0 297px 0 0; } .pull-right { float: left; } .pull-left { float: right; } .btn.pull-right { margin-left: auto; margin-right: 4px; } .icon-line { padding-left: initial; padding-right: 1.25em; } .left { float: right !important; } .right { float: left !important; } .icon-line i { left: auto; right: 0; } .settings .left { float: right; } .settings .right { float: left; } .settings_detail_box ul li { padding: 4px 12px 0 0; } .settings_detail_box li.heading a, .settings_detail_box li.parent a { margin-right: 5px; } .quick_links ul li div { float: right; } .common_box .content_section .inner .itemlist .logo { float: right; } .common_box .button_row_inline { float: left; top: 0; right: auto; padding: 22px 0 0 5px; left: 0; } .common_box .content_section .inner .itemlist ul { margin-left: 300px; margin-right: 150px; } .common_box h2 span { float: right; padding: 10px 17px 0 0; } .common_box h2 a { float: left; margin: 4px 0 3px 5px; } .common_box .links_row ul { float: right; } .tabs_row ul li { float: right; padding-left: unset; padding-right: 4px; } .tabs_row .tabs_nav { float: left; border-right: 1px solid #e1e1e1; border-left: none; } .tabs_row .tabs_nav a.prev { margin-right: 3px; margin-left: unset; border-right: 1px solid #e1e1e1; } .tabs_row .tabs_nav a.next { margin-left: unset; margin-right: 4px; } .table .heading_row td.last { border-right: unset; border-left: 0; } .table td { text-align: right; } .table .heading_row td.last span { float: right; } .table .heading_row td span a.asc::after, .table .heading_row td span a.desc::after { padding-left: unset; padding-right: 6px; } .client_detail_box .member_txt { float: right; padding: 0 15px 9px 0; } .currency_amounts .amounts ul li p { float: right; } .currency_amounts .amounts ul li span { float: left; }
    1 point
×
×
  • Create New...