Плагин для ВП
Нужно создать плагин для вп. Сперва нужно установить и включить BuddyPress.
Создать 2 роли юзеров на WP:
- partner
- expo
Функционал:
Для таких то partner юзеров (можем пока хардкодом массив в коде прописать ID юзеров) есть возможность добавить некую Booking-Report-Form (форма для отчёта по продажам) в их личном кабинете.
При добавлении нужны поля:
- Title
- Description
- Image
- Date-Start
- Date-End
Добавлять нужно по аяксу. Для формы нужна страница /members/[USER_NAME]/sales_reports ... если использовать бадипресс то это легко добавить через код.
У юзера expo есть возможность участвовать в "запросе" который создал партнёр. Для этого он на странице /members/[USER_NAME]/sales_reports видет список возможных запросов от разных юзеров partner и выбираю такой то, может заполнить форму (тоже всё по аяксу). В форме он должен заполнить:
- тескт поле "Hotel" (обязательно)
- тестк поле "Booking numer" (либо это либо след. поле обязательно)
- тестк поле "Guest name"
- дата "trip-start" (обязательно)
- дата "trip-end" (обязательно, дата после trip-start)
- текст поле "tour operator" (обязательно)
- checkbox с текстом (обязательно)
И кнопка отослать - по аяксу должно отослать инфу и сохранить в базу.
Важно для expo: если у него не заполнена информация user_meta (phone_number) то он не может заполнять форму запроса. Вместо кнопки "отослать" у него должен стоять текст "Please, first fill out your personal information of your profile here: " и линк /members/me/settings
Для проверки создайте 2 юзеров Expo и одному кодом добавьте этот user_meta.
У юзера expo на /members/[USER_NAME]/sales_reports_log есть список всех своих заполненых форм - в таблице списом видна дата заполнения, Booking numer или Guest, Hotel, даты trip-start, trip-end, имя юзера Partner и кнопка для показания всей инфы (показывать в попапе). Так же кнопка "chat" с ИД партнёра (сам линк пока не важен - нужна просто кнопка)
У partner юзера этот же список - там тоже самое видно, но вместo имя партнёра видно имя expi юзера.
База данных:
Для этого нужны таблицы в базе:
sales_report_offers (тут предложения самого partner)
sales_report_requests (тут записи которые делают expo)
в обоих таблицах нужны кроме всего прочего нужны: id (primary id, autoincrement), created (timestamp), state (int(1)), user_id
Current freelance projects in the category PHP
Modules for a website on Laravel
90 USD
Delivery and payment module for the site https://novabook.top/ (Botble CMS / Laravel) Add convenient delivery and payment methods (including installment plans) in the checkout, similar in style and convenience to the mirson ua site.Delivery (mandatory) Nova Poshta Branch… Javascript and Typescript, PHP ∙ 1 hour 33 minutes back ∙ 11 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 2 days 1 hour back ∙ 27 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 4 days 8 hours back ∙ 77 proposals |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 6 days 23 hours back ∙ 75 proposals |
Parser expireddomains.net
112 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 9 days 7 hours back ∙ 53 proposals |