├── .bowerrc ├── .env.example ├── .gitignore ├── Gruntfile.js ├── README.md ├── app ├── ApiRequest.php ├── Attachment.php ├── City.php ├── Console │ ├── Commands │ │ ├── .gitkeep │ │ ├── CurrencyCron.php │ │ ├── GeoIpCron.php │ │ └── StatusUpdateCron.php │ └── Kernel.php ├── Country.php ├── Currency.php ├── DiscountType.php ├── DurationType.php ├── EmailTemplate.php ├── Events │ └── Event.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Admin │ │ │ ├── AdminApiRequestsController.php │ │ │ ├── AdminCitiesController.php │ │ │ ├── AdminCountriesController.php │ │ │ ├── AdminCurrenciesController.php │ │ │ ├── AdminDashboardsController.php │ │ │ ├── AdminEmailTemplatesController.php │ │ │ ├── AdminIpsController.php │ │ │ ├── AdminLanguagesController.php │ │ │ ├── AdminMessagesController.php │ │ │ ├── AdminRolesController.php │ │ │ ├── AdminSettingCategoriesController.php │ │ │ ├── AdminSettingsController.php │ │ │ ├── AdminStatesController.php │ │ │ ├── AdminTransactionTypesController.php │ │ │ ├── AdminTransactionsController.php │ │ │ ├── AdminUserLoginsController.php │ │ │ ├── AdminUsersController.php │ │ │ └── AdminWalletTransactionLogsController.php │ │ ├── AssetsController.php │ │ ├── CitiesController.php │ │ ├── Controller.php │ │ ├── CountriesController.php │ │ ├── CurrenciesController.php │ │ ├── ImagesController.php │ │ ├── LanguagesController.php │ │ ├── MessagesController.php │ │ ├── PaymentGatewaysController.php │ │ ├── SettingsController.php │ │ ├── StatesController.php │ │ ├── TransactionTypesController.php │ │ ├── TransactionsController.php │ │ ├── UserProfilesController.php │ │ ├── UsersController.php │ │ └── WalletsController.php │ ├── Middleware │ │ ├── Authenticate.php │ │ ├── AuthenticateRole.php │ │ └── Tracking.php │ ├── Requests │ │ ├── CreateUserRequest.php │ │ └── Request.php │ └── routes.php ├── Ip.php ├── ItemUserStatus.php ├── Jobs │ └── Job.php ├── Language.php ├── Message.php ├── MessageContent.php ├── Plugins │ ├── Analytics │ │ └── plugin.json │ ├── Banner │ │ └── plugin.json │ ├── Contacts │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminContactsController.php │ │ │ └── ContactsController.php │ │ ├── Model │ │ │ └── Contact.php │ │ ├── Providers │ │ │ └── ContactServiceProvider.php │ │ ├── Services │ │ │ └── ContactService.php │ │ ├── Transformers │ │ │ └── ContactTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── CurrencyConversions │ │ ├── Controllers │ │ │ └── Admin │ │ │ │ ├── AdminCurrencyConversionHistoriesController.php │ │ │ │ └── AdminCurrencyConversionsController.php │ │ ├── Model │ │ │ ├── CurrencyConversion.php │ │ │ └── CurrencyConversionHistory.php │ │ ├── Providers │ │ │ └── CurrencyConversionServiceProvider.php │ │ ├── Services │ │ │ └── CurrencyConversionService.php │ │ ├── Transformers │ │ │ ├── CurrencyConversionHistoryTransformer.php │ │ │ └── CurrencyConversionTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Pages │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminPagesController.php │ │ │ └── PagesController.php │ │ ├── Model │ │ │ └── Page.php │ │ ├── Providers │ │ │ └── PageServiceProvider.php │ │ ├── Transformers │ │ │ ├── PageLanguageTransformer.php │ │ │ └── PageTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Paypal │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminPaypalTransactionLogsController.php │ │ │ └── PaypalController.php │ │ ├── Model │ │ │ └── PaypalTransactionLog.php │ │ ├── Providers │ │ │ └── PaypalServiceProvider.php │ │ ├── Services │ │ │ ├── PayPalService.php │ │ │ └── PaypalTransactionLogService.php │ │ ├── Transformers │ │ │ └── PaypalTransactionLogTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── PluginServiceProvider.php │ ├── SocialLogins │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminProvidersController.php │ │ │ ├── ProvidersController.php │ │ │ └── SocialLoginsController.php │ │ ├── Model │ │ │ ├── Provider.php │ │ │ └── ProviderUser.php │ │ ├── Providers │ │ │ └── SocialLoginServiceProvider.php │ │ ├── Services │ │ │ └── SocialLoginService.php │ │ ├── Transformers │ │ │ ├── ProviderTransformer.php │ │ │ └── ProviderUserTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Sudopays │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminSudopayIpnLogsController.php │ │ │ │ ├── AdminSudopayTransactionLogsController.php │ │ │ │ └── AdminSudopaysController.php │ │ │ └── SudopaysController.php │ │ ├── Model │ │ │ ├── SudopayIpnLog.php │ │ │ ├── SudopayPaymentGateway.php │ │ │ ├── SudopayPaymentGroup.php │ │ │ └── SudopayTransactionLog.php │ │ ├── Providers │ │ │ └── SudopayServiceProvider.php │ │ ├── Services │ │ │ ├── SudopayAPIService.php │ │ │ ├── SudopayIpnService.php │ │ │ ├── SudopayService.php │ │ │ └── SudopayTransactionLogService.php │ │ ├── Transformers │ │ │ ├── SudopayIpnLogTransformer.php │ │ │ └── SudopayTransactionLogTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Translations │ │ └── plugin.json │ ├── VehicleCoupons │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminVehicleCouponsController.php │ │ │ └── VehicleCouponsController.php │ │ ├── Model │ │ │ └── VehicleCoupon.php │ │ ├── Providers │ │ │ └── VehicleCouponServiceProvider.php │ │ ├── Services │ │ │ └── VehicleCouponService.php │ │ ├── Transformers │ │ │ └── VehicleCouponTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleDisputes │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleDisputeClosedTypesController.php │ │ │ │ ├── AdminVehicleDisputeTypesController.php │ │ │ │ └── AdminVehicleDisputesController.php │ │ │ ├── VehicleDisputeClosedTypesController.php │ │ │ ├── VehicleDisputeTypesController.php │ │ │ └── VehicleDisputesController.php │ │ ├── Model │ │ │ ├── VehicleDispute.php │ │ │ ├── VehicleDisputeClosedType.php │ │ │ ├── VehicleDisputeStatus.php │ │ │ └── VehicleDisputeType.php │ │ ├── Providers │ │ │ └── VehicleDisputeServiceProvider.php │ │ ├── Services │ │ │ ├── VehicleDisputeClosedTypeService.php │ │ │ └── VehicleDisputeService.php │ │ ├── Transformers │ │ │ ├── VehicleDisputeClosedTypeTransformer.php │ │ │ ├── VehicleDisputeStatusTransformer.php │ │ │ ├── VehicleDisputeTransformer.php │ │ │ └── VehicleDisputeTypeTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleExtraAccessories │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleExtraAccessoriesController.php │ │ │ │ └── AdminVehicleTypeExtraAccessoriesController.php │ │ │ ├── VehicleExtraAccessoriesController.php │ │ │ └── VehicleTypeExtraAccessoriesController.php │ │ ├── Model │ │ │ ├── VehicleExtraAccessory.php │ │ │ └── VehicleTypeExtraAccessory.php │ │ ├── Providers │ │ │ └── VehicleExtraAccessoryServiceProvider.php │ │ ├── Services │ │ │ └── VehicleExtraAccessoryService.php │ │ ├── Transformers │ │ │ ├── AdminVehicleExtraAccessoryTransformer.php │ │ │ ├── VehicleExtraAccessoryTransformer.php │ │ │ └── VehicleTypeExtraAccessoryTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleFeedbacks │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ └── AdminVehicleFeedbacksController.php │ │ │ └── VehicleFeedbacksController.php │ │ ├── Model │ │ │ └── VehicleFeedback.php │ │ ├── Providers │ │ │ └── VehicleFeedbackServiceProvider.php │ │ ├── Services │ │ │ └── VehicleFeedbackService.php │ │ ├── Transformers │ │ │ └── VehicleFeedbackTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleFuelOptions │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleFuelOptionsController.php │ │ │ │ └── AdminVehicleTypeFuelOptionsController.php │ │ │ ├── VehicleFuelOptionsController.php │ │ │ └── VehicleTypeFuelOptionsController.php │ │ ├── Model │ │ │ ├── VehicleFuelOption.php │ │ │ └── VehicleTypeFuelOption.php │ │ ├── Providers │ │ │ └── VehicleFuelOptionServiceProvider.php │ │ ├── Services │ │ │ └── VehicleFuelOptionService.php │ │ ├── Transformers │ │ │ ├── AdminVehicleFuelOptionTransformer.php │ │ │ ├── VehicleFuelOptionTransformer.php │ │ │ └── VehicleTypeFuelOptionTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleInsurances │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleInsurancesController.php │ │ │ │ └── AdminVehicleTypeInsurancesController.php │ │ │ ├── VehicleInsurancesController.php │ │ │ └── VehicleTypeInsurancesController.php │ │ ├── Model │ │ │ ├── VehicleInsurance.php │ │ │ └── VehicleTypeInsurance.php │ │ ├── Providers │ │ │ └── VehicleInsuranceServiceProvider.php │ │ ├── Services │ │ │ └── VehicleInsuranceService.php │ │ ├── Transformers │ │ │ ├── AdminVehicleInsuranceTransformer.php │ │ │ ├── VehicleInsuranceTransformer.php │ │ │ └── VehicleTypeInsuranceTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleRentals │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleRentalStatusesController.php │ │ │ │ └── AdminVehicleRentalsController.php │ │ │ ├── VehicleRentalStatusesController.php │ │ │ └── VehicleRentalsController.php │ │ ├── Model │ │ │ ├── VehicleRental.php │ │ │ ├── VehicleRentalAdditionalCharge.php │ │ │ ├── VehicleRentalBookerDetail.php │ │ │ ├── VehicleRentalLatePaymentDetail.php │ │ │ └── VehicleRentalStatus.php │ │ ├── Providers │ │ │ └── VehicleRentalServiceProvider.php │ │ ├── Services │ │ │ ├── VehicleRentalBookerDetailService.php │ │ │ ├── VehicleRentalLatePaymentDetailService.php │ │ │ └── VehicleRentalService.php │ │ ├── Transformers │ │ │ ├── VehicleRentalAdditionalChargeTransformer.php │ │ │ ├── VehicleRentalBookerDetailTransformer.php │ │ │ ├── VehicleRentalLatePaymentDetailTransformer.php │ │ │ ├── VehicleRentalStatusTransformer.php │ │ │ └── VehicleRentalTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleSurcharges │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleSurchargesController.php │ │ │ │ └── AdminVehicleTypeSurchargesController.php │ │ │ ├── VehicleSurchargesController.php │ │ │ └── VehicleTypeSurchargesController.php │ │ ├── Model │ │ │ ├── VehicleSurcharge.php │ │ │ └── VehicleTypeSurcharge.php │ │ ├── Providers │ │ │ └── VehicleSurchargeServiceProvider.php │ │ ├── Services │ │ │ └── VehicleSurchargeService.php │ │ ├── Transformers │ │ │ ├── AdminVehicleSurchargeTransformer.php │ │ │ ├── VehicleSurchargeTransformer.php │ │ │ └── VehicleTypeSurchargeTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── VehicleTaxes │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminVehicleTaxesController.php │ │ │ │ └── AdminVehicleTypeTaxesController.php │ │ │ ├── VehicleTaxesController.php │ │ │ └── VehicleTypeTaxesController.php │ │ ├── Model │ │ │ ├── VehicleTax.php │ │ │ └── VehicleTypeTax.php │ │ ├── Providers │ │ │ └── VehicleTaxServiceProvider.php │ │ ├── Services │ │ │ └── VehicleTaxService.php │ │ ├── Transformers │ │ │ ├── AdminVehicleTaxTransformer.php │ │ │ ├── VehicleTaxTransformer.php │ │ │ └── VehicleTypeTaxTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Vehicles │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminCounterLocationsController.php │ │ │ │ ├── AdminFuelTypesController.php │ │ │ │ ├── AdminUnavailableVehiclesController.php │ │ │ │ ├── AdminVehicleCompaniesController.php │ │ │ │ ├── AdminVehicleMakesController.php │ │ │ │ ├── AdminVehicleModelsController.php │ │ │ │ ├── AdminVehicleSpecialPricesController.php │ │ │ │ ├── AdminVehicleTypePricesController.php │ │ │ │ ├── AdminVehicleTypesController.php │ │ │ │ └── AdminVehiclesController.php │ │ │ ├── CounterLocationsController.php │ │ │ ├── FuelTypesController.php │ │ │ ├── UnavailableVehiclesController.php │ │ │ ├── VehicleCompaniesController.php │ │ │ ├── VehicleMakesController.php │ │ │ ├── VehicleModelsController.php │ │ │ ├── VehicleSpecialPricesController.php │ │ │ ├── VehicleTypePricesController.php │ │ │ ├── VehicleTypesController.php │ │ │ └── VehiclesController.php │ │ ├── Model │ │ │ ├── CounterLocation.php │ │ │ ├── FuelType.php │ │ │ ├── UnavailableVehicle.php │ │ │ ├── Vehicle.php │ │ │ ├── VehicleCompany.php │ │ │ ├── VehicleMake.php │ │ │ ├── VehicleModel.php │ │ │ ├── VehicleSpecialPrice.php │ │ │ ├── VehicleType.php │ │ │ └── VehicleTypePrice.php │ │ ├── Providers │ │ │ └── VehicleServiceProvider.php │ │ ├── Services │ │ │ ├── CounterLocationService.php │ │ │ ├── FuelTypeService.php │ │ │ ├── UnavailableVehicleService.php │ │ │ ├── VehicleCompanyService.php │ │ │ ├── VehicleMakeService.php │ │ │ ├── VehicleModelService.php │ │ │ ├── VehicleService.php │ │ │ ├── VehicleSpecialPriceService.php │ │ │ ├── VehicleTypePriceService.php │ │ │ └── VehicleTypeService.php │ │ ├── Transformers │ │ │ ├── AdminCounterLocationTransformer.php │ │ │ ├── AdminFuelTypeTransformer.php │ │ │ ├── AdminVehicleCompanyTransformer.php │ │ │ ├── AdminVehicleMakeTransformer.php │ │ │ ├── AdminVehicleModelTransformer.php │ │ │ ├── AdminVehicleSpecialPriceTransformer.php │ │ │ ├── AdminVehicleTransformer.php │ │ │ ├── AdminVehicleTypePriceTransformer.php │ │ │ ├── AdminVehicleTypeTransformer.php │ │ │ ├── CounterLocationTransformer.php │ │ │ ├── FuelTypeTransformer.php │ │ │ ├── UnavailableVehicleTransformer.php │ │ │ ├── VehicleCompanyTransformer.php │ │ │ ├── VehicleMakeTransformer.php │ │ │ ├── VehicleModelTransformer.php │ │ │ ├── VehicleSimpleTransformer.php │ │ │ ├── VehicleSpecialPriceTransformer.php │ │ │ ├── VehicleTransformer.php │ │ │ ├── VehicleTypePriceTransformer.php │ │ │ ├── VehicleTypeSimpleTransformer.php │ │ │ └── VehicleTypeTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ ├── Withdrawals │ │ ├── Controllers │ │ │ ├── Admin │ │ │ │ ├── AdminUserCashWithdrawalsController.php │ │ │ │ └── AdminWithdrawalStatusesController.php │ │ │ ├── MoneyTransferAccountsController.php │ │ │ ├── UserCashWithdrawalsController.php │ │ │ └── WithdrawalStatusesController.php │ │ ├── Model │ │ │ ├── MoneyTransferAccount.php │ │ │ ├── UserCashWithdrawal.php │ │ │ └── WithdrawalStatus.php │ │ ├── Providers │ │ │ └── WithdrawServiceProvider.php │ │ ├── Services │ │ │ ├── MoneyTransferAccountService.php │ │ │ └── UserCashWithdrawalService.php │ │ ├── Transformers │ │ │ ├── MoneyTransferAccountTransformer.php │ │ │ ├── UserCashWithdrawalTransformer.php │ │ │ └── WithdrawalStatusTransformer.php │ │ ├── plugin.json │ │ └── routes.php │ └── composer.json ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ ├── MessageServiceProvider.php │ ├── SettingsServiceProvider.php │ └── TransactionServiceProvider.php ├── Role.php ├── Services │ ├── AttachmentService.php │ ├── CityService.php │ ├── CountryService.php │ ├── IpService.php │ ├── MailService.php │ ├── MessageService.php │ ├── TokenService.php │ ├── TransactionService.php │ ├── UserLoginService.php │ ├── UserService.php │ ├── WalletService.php │ └── WalletTransactionLogService.php ├── Setting.php ├── SettingCategory.php ├── State.php ├── Transaction.php ├── TransactionType.php ├── Transformers │ ├── ApiRequestTransformer.php │ ├── AttachmentTransformer.php │ ├── CityTransformer.php │ ├── CountryTransformer.php │ ├── CurrencyTransformer.php │ ├── DiscountTypeTransformer.php │ ├── DurationTypeTransformer.php │ ├── EmailTemplateTransformer.php │ ├── IpTransformer.php │ ├── LanguageTransformer.php │ ├── MessageContentTransformer.php │ ├── MessageTransformer.php │ ├── RoleTransformer.php │ ├── SettingCategoryTransformer.php │ ├── SettingTransformer.php │ ├── StateTransformer.php │ ├── TransactionTransformer.php │ ├── TransactionTypeTransformer.php │ ├── UploadAttachmentTransformer.php │ ├── UserAuthTransformer.php │ ├── UserLoginTransformer.php │ ├── UserProfileTransformer.php │ ├── UserSimpleFeedbackTransformer.php │ ├── UserSimpleTransformer.php │ ├── UserTransformer.php │ └── WalletTransactionLogTransformer.php ├── User.php ├── UserLogin.php ├── UserProfile.php ├── Wallet.php ├── WalletTransactionLog.php └── helpers.php ├── artisan ├── bootstrap └── app.php ├── bower.json ├── client ├── .npmignore ├── .yo-rc.json ├── README.md └── src │ ├── README.md │ ├── ag-admin │ ├── index.html │ ├── js │ │ ├── ng-admin.app.js │ │ └── ng-admin.jwt-auth.js │ └── tpl │ │ ├── changePassword.tpl.html │ │ ├── counterLocationAdd.tpl.html │ │ ├── counterLocationEdit.tpl.html │ │ ├── customHeader.tpl.html │ │ ├── customLoginTemplate.html │ │ ├── dashboardSummary.tpl.html │ │ ├── pages.tpl.html │ │ ├── plugins.tpl.html │ │ ├── trip_detail.tpl.html │ │ ├── vehicle.tpl.html │ │ ├── vehicleAdd.tpl.html │ │ ├── vehicleCompaniesAdd.tpl.html │ │ ├── vehicleCompaniesEdit.tpl.html │ │ ├── vehicleEdit.tpl.html │ │ ├── vehicleTypePrice.tpl.html │ │ ├── vehicleView.tpl.html │ │ ├── vehicle_calendar.tpl.html │ │ └── vehiclecheckOut.tpl.html │ ├── app │ ├── App.js │ ├── Common │ │ ├── 404.tpl.html │ │ ├── Common.module.js │ │ ├── Footer.js │ │ ├── Header.js │ │ ├── footer.tpl.html │ │ ├── gateway.tpl.html │ │ ├── header.tpl.html │ │ └── how_it_works.tpl.html │ ├── Constant.js │ ├── Home │ │ ├── Home.js │ │ ├── Home.module.js │ │ └── home.tpl.html │ ├── Message │ │ ├── Message.js │ │ ├── Message.module.js │ │ ├── MessageService.js │ │ ├── message_list.tpl.html │ │ ├── message_sidebar.tpl.html │ │ └── message_view.tpl.html │ ├── Plugins │ │ ├── Analytics │ │ │ └── Analytics.js │ │ ├── Banner │ │ │ ├── Banner.js │ │ │ └── banner.tpl.html │ │ ├── Contacts │ │ │ ├── Contacts.js │ │ │ ├── Contacts.module.js │ │ │ ├── ContactsService.js │ │ │ ├── contact_links.tpl.html │ │ │ └── contacts.tpl.html │ │ ├── CurrencyConversions │ │ │ ├── CurrencyConversion.js │ │ │ ├── CurrencyConversion.module.js │ │ │ └── currency_conversion.tpl.html │ │ ├── Pages │ │ │ ├── Pages.js │ │ │ ├── Pages.module.js │ │ │ ├── Pages.spec.js │ │ │ ├── PagesService.js │ │ │ ├── page_links.tpl.html │ │ │ └── pages.tpl.html │ │ ├── Paypal │ │ │ └── Paypal.module.js │ │ ├── SocialLogins │ │ │ ├── SocialConnection.js │ │ │ ├── SocialLogin.js │ │ │ ├── SocialLogin.module.js │ │ │ ├── SocialLoginService.js │ │ │ ├── SocialProfile.js │ │ │ ├── get_email_from_user.tpl.html │ │ │ ├── my_connection.tpl.html │ │ │ ├── profile_image.tpl.html │ │ │ ├── social_login.tpl.html │ │ │ └── social_login_share.tpl.html │ │ ├── Sudopays │ │ │ ├── Sudopay.module.js │ │ │ ├── buyer.tpl.html │ │ │ ├── credit_card.tpl.html │ │ │ └── manual.tpl.html │ │ ├── Translations │ │ │ ├── Translations.js │ │ │ └── language_translate.tpl.html │ │ ├── VehicleCoupons │ │ │ ├── VehicleCoupons.module.js │ │ │ └── vehicle_coupon.tpl.html │ │ ├── VehicleDisputes │ │ │ ├── VehicleDispute.js │ │ │ ├── VehicleDisputeService.js │ │ │ ├── VehicleDisputes.module.js │ │ │ └── vehicle_dispute.tpl.html │ │ ├── VehicleExtraAccessories │ │ │ └── VehicleExtraAccessories.module.js │ │ ├── VehicleFeedbacks │ │ │ ├── FeedbackService.js │ │ │ ├── VehicleFeedbacks.module.js │ │ │ ├── edit_feedback.tpl.html │ │ │ ├── feedback.js │ │ │ ├── feedback.tpl.html │ │ │ ├── rating.tpl.html │ │ │ ├── user_feedbacks.tpl.html │ │ │ └── vehicle_feedbacks.tpl.html │ │ ├── VehicleFuelOptions │ │ │ └── VehicleFuelOptions.module.js │ │ ├── VehicleInsurances │ │ │ └── VehicleInsurances.module.js │ │ ├── VehicleRentals │ │ │ ├── BookingCalendar.js │ │ │ ├── OrderCalendar.js │ │ │ ├── OrderLists.js │ │ │ ├── VehicleCheckout.js │ │ │ ├── VehicleRentalActivity.js │ │ │ ├── VehicleRentalOrder.js │ │ │ ├── VehicleRentalService.js │ │ │ ├── VehicleRentals.js │ │ │ ├── VehicleRentals.module.js │ │ │ ├── order_lists.tpl.html │ │ │ ├── vehicle_checkout.tpl.html │ │ │ ├── vehicle_rental_activity.tpl.html │ │ │ ├── vehicle_rental_add.tpl.html │ │ │ ├── vehicle_rental_calendar.tpl.html │ │ │ ├── vehicle_rental_list.tpl.html │ │ │ └── vehicle_rental_order.tpl.html │ │ ├── VehicleSurcharges │ │ │ └── VehicleSurcharges.module.js │ │ ├── VehicleTaxes │ │ │ └── VehicleTaxes.module.js │ │ ├── Vehicles │ │ │ ├── MaintenanaceVehicles.js │ │ │ ├── MyVehicles.js │ │ │ ├── VehicleBookItModal.js │ │ │ ├── VehicleDetails.js │ │ │ ├── VehicleLists.js │ │ │ ├── VehicleModal.js │ │ │ ├── VehicleSearch.js │ │ │ ├── VehicleService.js │ │ │ ├── VehicleView.js │ │ │ ├── Vehicles.js │ │ │ ├── Vehicles.module.js │ │ │ ├── VehiclesAllLists.js │ │ │ ├── all_vehicles.tpl.html │ │ │ ├── maintenance_vehicle_add.tpl.html │ │ │ ├── maintenance_vehicle_edit.tpl.html │ │ │ ├── maintenance_vehicles.tpl.html │ │ │ ├── my_vehicles.tpl.html │ │ │ ├── trip_detail.tpl.html │ │ │ ├── vehicle.tpl.html │ │ │ ├── vehicleAdd.js │ │ │ ├── vehicleCompany.js │ │ │ ├── vehicleCompany.tpl.html │ │ │ ├── vehicleEdit.js │ │ │ ├── vehicle_add.tpl.html │ │ │ ├── vehicle_bookit.tpl.html │ │ │ ├── vehicle_details.tpl.html │ │ │ ├── vehicle_edit.tpl.html │ │ │ ├── vehicle_feedback_modal.tpl.html │ │ │ ├── vehicle_list.tpl.html │ │ │ ├── vehicle_list_home.tpl.html │ │ │ ├── vehicle_payment.tpl.html │ │ │ ├── vehicle_search.tpl.html │ │ │ └── vehicle_view.tpl.html │ │ └── Withdrawals │ │ │ ├── MoneyTransferAccount.js │ │ │ ├── UserCashWithdrawals.js │ │ │ ├── UserCashWithdrawals.module.js │ │ │ ├── WithdrawalService.js │ │ │ ├── money_transfer_account.tpl.html │ │ │ └── user_cashWithdrawals.tpl.html │ ├── README.md │ ├── Transactions │ │ ├── Transaction.js │ │ ├── Transaction.module.js │ │ ├── TransactionService.js │ │ └── transaction_list.tpl.html │ ├── User │ │ ├── ChangePassword.js │ │ ├── Dashboard.js │ │ ├── ForgetPassword.js │ │ ├── Login.js │ │ ├── Register.js │ │ ├── User.js │ │ ├── User.module.js │ │ ├── UserActivate.js │ │ ├── UserProfile.js │ │ ├── UsersService.js │ │ ├── change_password.tpl.html │ │ ├── dashboard.tpl.html │ │ ├── dashboard_settings.tpl.html │ │ ├── forgot_password.tpl.html │ │ ├── login.tpl.html │ │ ├── register.tpl.html │ │ ├── user_profile.tpl.html │ │ └── user_view.tpl.html │ └── Wallets │ │ ├── Wallet.js │ │ ├── Wallet.module.js │ │ ├── WalletService.js │ │ └── wallet.tpl.html │ ├── assets │ ├── README.md │ ├── apple-touch-icon-114x114.png │ ├── apple-touch-icon-57x57.png │ ├── apple-touch-icon-72x72.png │ ├── apple-touch-icon.png │ ├── css │ │ └── loader.css │ ├── favicon.ico │ ├── fonts │ │ ├── Avenir.ttf │ │ ├── FontAwesome.otf │ │ ├── PlayfairDisplay-Bold.eot │ │ ├── PlayfairDisplay-Bold.otf │ │ ├── PlayfairDisplay-Bold.ttf │ │ ├── PlayfairDisplay-Bold.woff │ │ ├── PlayfairDisplay-Regular.eot │ │ ├── PlayfairDisplay-Regular.otf │ │ ├── PlayfairDisplay-Regular.ttf │ │ ├── PlayfairDisplay-Regular.woff │ │ ├── ProximaNova-Bold.eot │ │ ├── ProximaNova-Bold.otf │ │ ├── ProximaNova-Bold.svg │ │ ├── ProximaNova-Bold.ttf │ │ ├── ProximaNova-Bold.woff │ │ ├── ProximaNova-Light.eot │ │ ├── ProximaNova-Light.otf │ │ ├── ProximaNova-Light.svg │ │ ├── ProximaNova-Light.ttf │ │ ├── ProximaNova-Light.woff │ │ ├── ProximaNova-Regular.eot │ │ ├── ProximaNova-Regular.otf │ │ ├── ProximaNova-Regular.svg │ │ ├── ProximaNova-Regular.ttf │ │ ├── ProximaNova-Regular.woff │ │ ├── ProximaNova-Semibold.eot │ │ ├── ProximaNova-Semibold.otf │ │ ├── ProximaNova-Semibold.svg │ │ ├── ProximaNova-Semibold.ttf │ │ ├── ProximaNova-Semibold.woff │ │ ├── Raleway-Regular.ttf │ │ ├── Roboto-Regular.woff │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ ├── glyphicons-halflings-regular.woff2 │ │ ├── proximanova-light-webfont.eot │ │ ├── proximanova-light-webfont.svg │ │ ├── proximanova-light-webfont.ttf │ │ ├── proximanova-light-webfont.woff │ │ ├── proximanova-light-webfont.woff2 │ │ ├── proximanova-regitalic-webfont.eot │ │ ├── proximanova-regitalic-webfont.svg │ │ ├── proximanova-regitalic-webfont.ttf │ │ ├── proximanova-regitalic-webfont.woff │ │ ├── proximanova-regitalic-webfont.woff2 │ │ ├── proximanova-regular-webfont.eot │ │ ├── proximanova-regular-webfont.svg │ │ ├── proximanova-regular-webfont.ttf │ │ ├── proximanova-regular-webfont.woff │ │ ├── proximanova-regular-webfont.woff2 │ │ ├── proximanova-semibold-webfont.eot │ │ ├── proximanova-semibold-webfont.svg │ │ ├── proximanova-semibold-webfont.ttf │ │ ├── proximanova-semibold-webfont.woff │ │ ├── proximanova-semibold-webfont.woff2 │ │ ├── proximanova-semibolditalic-webfont.eot │ │ ├── proximanova-semibolditalic-webfont.svg │ │ ├── proximanova-semibolditalic-webfont.ttf │ │ ├── proximanova-semibolditalic-webfont.woff │ │ └── proximanova-semibolditalic-webfont.woff2 │ ├── img │ │ ├── activities.icon.png │ │ ├── air.png │ │ ├── app-store.png │ │ ├── arrow.png │ │ ├── automatic.png │ │ ├── bag.png │ │ ├── banner.jpg │ │ ├── car-icon.png │ │ ├── check-circle.png │ │ ├── clock.png │ │ ├── cssilize.png │ │ ├── customer.png │ │ ├── customers-bg.png │ │ ├── diesel.png │ │ ├── drive.png │ │ ├── envelop.png │ │ ├── key-icon.png │ │ ├── loader.gif │ │ ├── login-bg.jpg │ │ ├── logo-white.png │ │ ├── logo.png │ │ ├── luggage.png │ │ ├── make-payment.png │ │ ├── manual.png │ │ ├── paypal.png │ │ ├── play-store.png │ │ ├── powered-by-agriya.png │ │ ├── powered-rentnride.jpg │ │ ├── quote.png │ │ ├── rental-bg.png │ │ ├── rental.png │ │ ├── revenue-bg.png │ │ ├── revenue.png │ │ ├── road-view.jpg │ │ ├── search-car.png │ │ ├── seats.png │ │ ├── site-settings.png │ │ ├── static-bg.jpg │ │ ├── sudopay-icon.png │ │ ├── user-icon.png │ │ ├── user-list.png │ │ ├── user.png │ │ ├── vehicle-bg.png │ │ ├── vehicle.png │ │ └── wallet-icon.png │ └── js │ │ ├── ag-admin │ │ ├── loader.js │ │ └── loader_build.js │ │ ├── l10n │ │ ├── en.json │ │ └── es.json │ │ ├── loader.js │ │ └── loader_build.js │ ├── index.html │ └── less │ ├── README.md │ ├── admin │ ├── bootstrap.less │ ├── code.less │ ├── main.less │ ├── mixins.less │ ├── morris.css │ ├── ngadmin-responsive.less │ ├── ngadmin.less │ ├── timeline.css │ └── variables.less │ ├── bootstrap-social.less │ ├── bootstrap.less │ ├── custom-responsive.less │ ├── custom.less │ ├── font-awesome.less │ ├── forms.less │ ├── main.less │ ├── mixins.less │ └── variables.less ├── composer.json ├── config ├── api.php ├── app.php ├── auth.php ├── cache.php ├── constants.php ├── database.php ├── filesystems.php ├── jwt.php ├── mail.php ├── paypal.php ├── services.php ├── session.php └── sudopay.php ├── database ├── factories │ └── ModelFactory.php ├── migrations │ ├── .gitkeep │ ├── 2016_03_23_000001_create_discount_types_table.php │ ├── 2016_03_24_000001_create_countries_table.php │ ├── 2016_03_24_000002_create_states_table.php │ ├── 2016_03_24_000003_create_cities_table.php │ ├── 2016_03_24_000004_create_ips_table.php │ ├── 2016_03_24_000005_create_roles_table.php │ ├── 2016_03_24_000006_create_users_table.php │ ├── 2016_03_24_000007_create_user_profiles_table.php │ ├── 2016_03_24_000008_create_contacts_table.php │ ├── 2016_03_24_000009_create_languages_table.php │ ├── 2016_03_24_000010_create_pages_table.php │ ├── 2016_03_24_000011_create_user_logins_table.php │ ├── 2016_03_24_000012_create_providers_table.php │ ├── 2016_03_24_000013_create_provider_users_table.php │ ├── 2016_03_24_000014_create_money_transfer_accounts_table.php │ ├── 2016_03_24_000015_create_withdrawal_statuses_table.php │ ├── 2016_03_24_000016_create_user_cash_withdrawals_table.php │ ├── 2016_03_24_000017_create_setting_categories_table.php │ ├── 2016_03_24_000018_create_settings_table.php │ ├── 2016_03_24_000019_create_currencies_table.php │ ├── 2016_03_24_000020_create_currency_conversions_table.php │ ├── 2016_03_24_000021_create_currency_conversion_histories_table.php │ ├── 2016_03_24_000022_create_items_table.php │ ├── 2016_03_24_000023_create_item_user_statuses_table.php │ ├── 2016_03_24_000024_create_coupons_table.php │ ├── 2016_03_24_000025_create_cancellation_types_table.php │ ├── 2016_03_24_000026_create_transaction_types_table.php │ ├── 2016_03_24_000027_create_counter_locations_table.php │ ├── 2016_03_24_000028_create_dispute_statuses_table.php │ ├── 2016_03_24_000029_create_item_users_table.php │ ├── 2016_03_24_000030_create_email_templates_table.php │ ├── 2016_03_24_000031_create_attachments_table.php │ ├── 2016_03_24_000032_create_transactions_table.php │ ├── 2016_03_24_000035_create_message_contents_table.php │ ├── 2016_03_24_000036_create_messages_table.php │ ├── 2016_04_28_000037_create_sudopay_transaction_logs_table.php │ ├── 2016_04_28_000038_create_sudopay_payment_groups_table.php │ ├── 2016_04_28_000039_create_sudopay_payment_gateways_table.php │ ├── 2016_04_28_000040_create_sudopay_payment_gateways_users_table.php │ ├── 2016_05_10_000041_create_sudopay_ipn_logs_table.php │ ├── 2016_05_10_000043_create_paypal_transaction_logs_table.php │ ├── 2016_05_10_000044_create_feedbacks_table.php │ ├── 2016_05_10_000045_apirequests.php │ ├── 2016_05_11_000046_create_user_add_wallet_amounts_table.php │ ├── 2016_05_11_000047_create_duration_types_table.php │ ├── 2016_05_17_000048_create_dispute_types_table.php │ ├── 2016_05_17_000049_create_dispute_closed_types_table.php │ ├── 2016_05_17_000050_create_item_user_disputes_table.php │ ├── 2016_05_18_000051_create_wallet_transaction_logs_table.php │ ├── 2016_06_02_000052_create_vehicle_companies_table.php │ ├── 2016_06_02_000053_create_vehicle_types_table.php │ ├── 2016_06_02_000054_create_vehicle_makes_table.php │ ├── 2016_06_02_000055_create_vehicle_models_table.php │ ├── 2016_06_02_000056_create_vehicle_type_prices_table.php │ ├── 2016_06_02_000057_create_fuel_types_table.php │ ├── 2016_06_02_000058_create_vehicles_table.php │ ├── 2016_06_02_000060_create_vehicle_special_prices_table.php │ ├── 2016_06_02_000061_create_item_user_additional_charges_table.php │ ├── 2016_06_02_000062_create_surcharges_table.php │ ├── 2016_06_02_000063_create_vehicle_type_surcharges_table.php │ ├── 2016_06_02_000064_create_taxes_table.php │ ├── 2016_06_02_000065_create_vehicle_type_taxes_table.php │ ├── 2016_06_02_000066_create_extra_accessories_table.php │ ├── 2016_06_02_000067_create_vehicle_type_extra_accessories_table.php │ ├── 2016_06_02_000068_create_insurances_table.php │ ├── 2016_06_02_000069_create_vehicle_type_insurances_table.php │ ├── 2016_06_02_000070_create_fuel_options_table.php │ ├── 2016_06_02_000071_create_vehicle_type_fuel_options_table.php │ ├── 2016_06_02_000072_create_counter_location_vehicle_table.php │ ├── 2016_06_10_000073_create_unavailable_vehicles_table.php │ ├── 2016_06_10_000074_create_late_payment_details_table.php │ └── 2016_06_16_000075_create_booker_details_table.php ├── seeds │ ├── AttachmentTableSeeder.php │ ├── CounterLocationsTableSeeder.php │ ├── CountriesTableSeeder.php │ ├── CurrenciesTableSeeder.php │ ├── DatabaseSeeder.php │ ├── DiscountTypeSeeder.php │ ├── DisputeStatusesTableSeeder.php │ ├── DisputeTypesTableSeeder.php │ ├── DurationTypesTableSeeder.php │ ├── EmailTemplatesTableSeeder.php │ ├── ExtraAccessoriesTableSeeder.php │ ├── FuelOptionsTableSeeder.php │ ├── FuelTypesTableSeeder.php │ ├── InsurancesTableSeeder.php │ ├── IpsTableSeeder.php │ ├── ItemUserStatusesTableSeeder.php │ ├── LanguagesTableSeeder.php │ ├── ProvidersTableSeeder.php │ ├── RolesTableSeeder.php │ ├── SettingCategoryTableSeeder.php │ ├── SurchargesTableSeeder.php │ ├── TaxesTableSeeder.php │ ├── TransactionTypesTableSeeder.php │ ├── UsersTableSeeder.php │ ├── VehicleCompaniesTableSeeder.php │ ├── VehicleMakesTableSeeder.php │ ├── VehicleTypesTableSeeder.php │ └── WithdrawalStatusesTableSeeder.php └── sql │ └── rentnride_empty_database.sql ├── grunt-config └── dev1.json ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── api_explorer │ ├── DSL │ │ ├── admin_api_requests.dsl │ │ ├── admin_cancellation_types.dsl │ │ ├── admin_cities.dsl │ │ ├── admin_contacts.dsl │ │ ├── admin_counter_locations.dsl │ │ ├── admin_countries.dsl │ │ ├── admin_currencies.dsl │ │ ├── admin_currency_conversion_histories.dsl │ │ ├── admin_currency_conversions.dsl │ │ ├── admin_dashboard.dsl │ │ ├── admin_email_templates.dsl │ │ ├── admin_fuel_types.dsl │ │ ├── admin_ips.dsl │ │ ├── admin_languages.dsl │ │ ├── admin_messages.dsl │ │ ├── admin_pages.dsl │ │ ├── admin_paypal_transaction_logs.dsl │ │ ├── admin_providers.dsl │ │ ├── admin_roles.dsl │ │ ├── admin_setting_categories.dsl │ │ ├── admin_settings.dsl │ │ ├── admin_states.dsl │ │ ├── admin_sudopay.dsl │ │ ├── admin_sudopay_ipn_logs.dsl │ │ ├── admin_sudopay_transaction_logs.dsl │ │ ├── admin_transaction_types.dsl │ │ ├── admin_transactions.dsl │ │ ├── admin_unavailable_vehicles.dsl │ │ ├── admin_user_cash_withdrawals.dsl │ │ ├── admin_user_logins.dsl │ │ ├── admin_users.dsl │ │ ├── admin_vehicle_companies.dsl │ │ ├── admin_vehicle_dispute_closed_types.dsl │ │ ├── admin_vehicle_dispute_types.dsl │ │ ├── admin_vehicle_disputes.dsl │ │ ├── admin_vehicle_extra_accessories.dsl │ │ ├── admin_vehicle_feedbacks.dsl │ │ ├── admin_vehicle_fuel_options.dsl │ │ ├── admin_vehicle_insurances.dsl │ │ ├── admin_vehicle_makes.dsl │ │ ├── admin_vehicle_models.dsl │ │ ├── admin_vehicle_rentals.dsl │ │ ├── admin_vehicle_special_prices.dsl │ │ ├── admin_vehicle_surcharges.dsl │ │ ├── admin_vehicle_taxes.dsl │ │ ├── admin_vehicle_type_extra_accessories.dsl │ │ ├── admin_vehicle_type_fuel_options.dsl │ │ ├── admin_vehicle_type_insurances.dsl │ │ ├── admin_vehicle_type_prices.dsl │ │ ├── admin_vehicle_type_surcharges.dsl │ │ ├── admin_vehicle_type_taxes.dsl │ │ ├── admin_vehicle_types.dsl │ │ ├── admin_vehicles.dsl │ │ ├── admin_wallet_transaction_logs.dsl │ │ ├── admin_withdrawal_statuses.dsl │ │ ├── cancellation_types.dsl │ │ ├── cities.dsl │ │ ├── contacts.dsl │ │ ├── counter_locations.dsl │ │ ├── countries.dsl │ │ ├── currencies.dsl │ │ ├── fuel_types.dsl │ │ ├── images.dsl │ │ ├── languages.dsl │ │ ├── messages.dsl │ │ ├── money_transfer_accounts.dsl │ │ ├── pages.dsl │ │ ├── payment_gateways.dsl │ │ ├── providers.dsl │ │ ├── settings.dsl │ │ ├── social_logins.dsl │ │ ├── states.dsl │ │ ├── transaction_types.dsl │ │ ├── transactions.dsl │ │ ├── unavailable_vehicles.dsl │ │ ├── user_cash_withdrawals.dsl │ │ ├── user_profiles.dsl │ │ ├── user_views.dsl │ │ ├── users.dsl │ │ ├── vehicle_companies.dsl │ │ ├── vehicle_disputes.dsl │ │ ├── vehicle_extra_accessories.dsl │ │ ├── vehicle_feedbacks.dsl │ │ ├── vehicle_fuel_options.dsl │ │ ├── vehicle_insurances.dsl │ │ ├── vehicle_makes.dsl │ │ ├── vehicle_models.dsl │ │ ├── vehicle_rentals.dsl │ │ ├── vehicle_special_prices.dsl │ │ ├── vehicle_surcharges.dsl │ │ ├── vehicle_taxes.dsl │ │ ├── vehicle_type_extra_accessories.dsl │ │ ├── vehicle_type_fuel_options.dsl │ │ ├── vehicle_type_insurances.dsl │ │ ├── vehicle_type_prices.dsl │ │ ├── vehicle_type_surcharges.dsl │ │ ├── vehicle_type_taxes.dsl │ │ ├── vehicle_types.dsl │ │ ├── vehicles.dsl │ │ ├── wallets.dsl │ │ └── withdrawal_statuses.dsl │ ├── api-docs │ │ ├── admin_api_requests.json │ │ ├── admin_cancellation_types.json │ │ ├── admin_cities.json │ │ ├── admin_contacts.json │ │ ├── admin_counter_locations.json │ │ ├── admin_countries.json │ │ ├── admin_currencies.json │ │ ├── admin_currency_conversion_histories.json │ │ ├── admin_currency_conversions.json │ │ ├── admin_dashboard.json │ │ ├── admin_email_templates.json │ │ ├── admin_fuel_types.json │ │ ├── admin_ips.json │ │ ├── admin_languages.json │ │ ├── admin_messages.json │ │ ├── admin_pages.json │ │ ├── admin_paypal_transaction_logs.json │ │ ├── admin_providers.json │ │ ├── admin_roles.json │ │ ├── admin_setting_categories.json │ │ ├── admin_settings.json │ │ ├── admin_states.json │ │ ├── admin_sudopay.json │ │ ├── admin_sudopay_ipn_logs.json │ │ ├── admin_sudopay_transaction_logs.json │ │ ├── admin_transaction_types.json │ │ ├── admin_transactions.json │ │ ├── admin_unavailable_vehicles.json │ │ ├── admin_user_cash_withdrawals.json │ │ ├── admin_user_logins.json │ │ ├── admin_users.json │ │ ├── admin_vehicle_companies.json │ │ ├── admin_vehicle_dispute_closed_types.json │ │ ├── admin_vehicle_dispute_types.json │ │ ├── admin_vehicle_disputes.json │ │ ├── admin_vehicle_extra_accessories.json │ │ ├── admin_vehicle_feedbacks.json │ │ ├── admin_vehicle_fuel_options.json │ │ ├── admin_vehicle_insurances.json │ │ ├── admin_vehicle_makes.json │ │ ├── admin_vehicle_models.json │ │ ├── admin_vehicle_rentals.json │ │ ├── admin_vehicle_special_prices.json │ │ ├── admin_vehicle_surcharges.json │ │ ├── admin_vehicle_taxes.json │ │ ├── admin_vehicle_type_extra_accessories.json │ │ ├── admin_vehicle_type_fuel_options.json │ │ ├── admin_vehicle_type_insurances.json │ │ ├── admin_vehicle_type_prices.json │ │ ├── admin_vehicle_type_surcharges.json │ │ ├── admin_vehicle_type_taxes.json │ │ ├── admin_vehicle_types.json │ │ ├── admin_vehicles.json │ │ ├── admin_wallet_transaction_logs.json │ │ ├── admin_withdrawal_statuses.json │ │ ├── cancellation_types.json │ │ ├── cities.json │ │ ├── contacts.json │ │ ├── counter_locations.json │ │ ├── countries.json │ │ ├── currencies.json │ │ ├── fuel_types.json │ │ ├── images.json │ │ ├── index.php │ │ ├── languages.json │ │ ├── messages.json │ │ ├── money_transfer_accounts.json │ │ ├── pages.json │ │ ├── payment_gateways.json │ │ ├── providers.json │ │ ├── settings.json │ │ ├── social_logins.json │ │ ├── states.json │ │ ├── transaction_types.json │ │ ├── transactions.json │ │ ├── unavailable_vehicles.json │ │ ├── user_cash_withdrawals.json │ │ ├── user_profiles.json │ │ ├── user_views.json │ │ ├── users.json │ │ ├── vehicle_companies.json │ │ ├── vehicle_disputes.json │ │ ├── vehicle_extra_accessories.json │ │ ├── vehicle_feedbacks.json │ │ ├── vehicle_fuel_options.json │ │ ├── vehicle_insurances.json │ │ ├── vehicle_makes.json │ │ ├── vehicle_models.json │ │ ├── vehicle_rentals.json │ │ ├── vehicle_special_prices.json │ │ ├── vehicle_surcharges.json │ │ ├── vehicle_taxes.json │ │ ├── vehicle_type_extra_accessories.json │ │ ├── vehicle_type_fuel_options.json │ │ ├── vehicle_type_insurances.json │ │ ├── vehicle_type_prices.json │ │ ├── vehicle_type_surcharges.json │ │ ├── vehicle_type_taxes.json │ │ ├── vehicle_types.json │ │ ├── vehicles.json │ │ ├── wallets.json │ │ └── withdrawal_statuses.json │ ├── css │ │ ├── highlight.default.css │ │ └── screen.css │ ├── images │ │ ├── logo_small.png │ │ ├── pet_store_api.png │ │ ├── throbber.gif │ │ └── wordnik_api.png │ ├── index.html │ ├── lib │ │ ├── backbone-min.js │ │ ├── handlebars-1.0.0.js │ │ ├── highlight.7.3.pack.js │ │ ├── jquery-1.8.0.min.js │ │ ├── jquery.ba-bbq.min.js │ │ ├── jquery.slideto.min.js │ │ ├── jquery.wiggle.min.js │ │ ├── shred.bundle.js │ │ ├── shred │ │ │ └── content.js │ │ ├── swagger.js │ │ └── underscore-min.js │ ├── swagger-ui.js │ └── swagger-ui.min.js └── index.php ├── resources └── views │ └── emails │ └── mailContent.php ├── storage ├── app │ └── .gitignore ├── framework │ └── views │ │ └── .gitignore └── logs │ └── .gitignore └── tests ├── ExampleTest.php └── TestCase.php /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "vendor" 3 | } -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_ENV=local 2 | APP_DEBUG=true 3 | APP_KEY=12345678901234567890123456789012 4 | 5 | APP_LOCALE=en 6 | APP_FALLBACK_LOCALE=en 7 | 8 | DB_CONNECTION=mysql 9 | DB_HOST=localhost 10 | DB_PORT=3306 11 | DB_DATABASE=lumen 12 | DB_USERNAME=root 13 | DB_PASSWORD= 14 | 15 | CACHE_DRIVER=file 16 | QUEUE_DRIVER=sync 17 | 18 | JWT_SECRET=aaaabbbbccccddddeeeeffffgggghhhh 19 | 20 | API_STANDARDS_TREE=vnd 21 | API_SUBTYPE=bookorrent 22 | API_NAME="Book or Rent" 23 | API_PREFIX=api 24 | API_VERSION=v1 25 | API_DEBUG=true 26 | API_STRICT=false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | .idea 3 | .phpstorm.meta.php 4 | _ide_helper.php 5 | composer.lock 6 | /vendor 7 | /node_modules 8 | /public/ag-admin 9 | /public/vendor 10 | /public/client 11 | /public/assets 12 | /public/api 13 | /public/Plugins 14 | /public/index.html 15 | /public/karma-unit.js 16 | /public/templates-app.js 17 | /public/templates-common.js 18 | -------------------------------------------------------------------------------- /app/Attachment.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | namespace App; 16 | 17 | use Illuminate\Http\Request; 18 | use Illuminate\Database\Eloquent\Model; 19 | 20 | class Attachment extends Model 21 | { 22 | /** 23 | * @var string 24 | */ 25 | protected $table = "attachments"; 26 | 27 | protected $fillable = [ 28 | 'filename', 'dir', 'mimetype', 'filesize', 'height', 'width' 29 | ]; 30 | 31 | 32 | /** 33 | * Get all of the owning likeable models. 34 | */ 35 | public function attachmentable() 36 | { 37 | return $this->morphTo(); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /app/Console/Commands/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/app/Console/Commands/.gitkeep -------------------------------------------------------------------------------- /app/DiscountType.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App; 17 | 18 | use Illuminate\Database\Eloquent\Model; 19 | 20 | class DiscountType extends Model 21 | { 22 | /** 23 | * @var string 24 | */ 25 | protected $table = "discount_types"; 26 | 27 | /** 28 | * @return \Illuminate\Database\Eloquent\Relations\HasOne 29 | */ 30 | public function vehicle_type_surcharge() 31 | { 32 | return $this->hasMany(\Plugins\VehicleSurcharges\Model\VehicleTypeSurcharge::class); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Events; 17 | 18 | use Illuminate\Queue\SerializesModels; 19 | 20 | abstract class Event 21 | { 22 | use SerializesModels; 23 | } 24 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Http\Controllers; 17 | 18 | use Laravel\Lumen\Routing\Controller as BaseController; 19 | use Dingo\Api\Routing\Helpers; 20 | 21 | class Controller extends BaseController 22 | { 23 | // 24 | use Helpers; 25 | } 26 | -------------------------------------------------------------------------------- /app/Http/Middleware/AuthenticateRole.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Http\Middleware; 17 | use Illuminate\Support\Facades\Auth; 18 | 19 | use Closure; 20 | 21 | /** 22 | * Class AuthenticateRole 23 | * @package App\Http\Middleware 24 | */ 25 | 26 | class AuthenticateRole 27 | { 28 | 29 | /** 30 | * @param $request 31 | * @param Closure $next 32 | * @return mixed 33 | */ 34 | public function handle($request, Closure $next) 35 | { 36 | $user = Auth::user()->toArray(); 37 | if($user['role_id'] != config('constants.ConstUserTypes.Admin')){ 38 | throw new \Symfony\Component\HttpKernel\Exception\BadRequestHttpException('Authentication failed'); 39 | } 40 | return $next($request); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/Http/Requests/Request.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Http\Requests; 17 | 18 | use Illuminate\Foundation\Http\FormRequest; 19 | 20 | abstract class Request extends FormRequest 21 | { 22 | // 23 | } 24 | -------------------------------------------------------------------------------- /app/ItemUserStatus.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class ItemUserStatus extends Model 22 | { 23 | /** 24 | * @var string 25 | */ 26 | protected $table = "item_user_statuses"; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /app/Jobs/Job.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Jobs; 17 | 18 | use Illuminate\Bus\Queueable; 19 | use Illuminate\Queue\SerializesModels; 20 | use Illuminate\Queue\InteractsWithQueue; 21 | use Illuminate\Contracts\Queue\ShouldQueue; 22 | 23 | abstract class Job implements ShouldQueue 24 | { 25 | /* 26 | |-------------------------------------------------------------------------- 27 | | Queueable Jobs 28 | |-------------------------------------------------------------------------- 29 | | 30 | | This job base class provides a central location to place any logic that 31 | | is shared across all of your jobs. The trait included with the class 32 | | provides access to the "queueOn" and "delay" queue helper methods. 33 | | 34 | */ 35 | 36 | use InteractsWithQueue, Queueable, SerializesModels; 37 | } 38 | -------------------------------------------------------------------------------- /app/MessageContent.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class MessageContent extends Model 22 | { 23 | /** 24 | * @var string 25 | */ 26 | protected $table = "message_contents"; 27 | 28 | protected $fillable = [ 29 | 'subject', 'message', 'admin_suspend', 'is_system_flagged', 'detected_suspicious_words' 30 | ]; 31 | 32 | /** 33 | * @return \Illuminate\Database\Eloquent\Relations\HasMany 34 | */ 35 | public function message() 36 | { 37 | return $this->hasMany(Message::class); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Plugins/Analytics/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Analytics", 3 | "class": "fa fa-2x fa-user-md", 4 | "description": "By enabling this plugin, we can easily understand about our audience and easily get statistic analysing about the site in google or facebook site. The Analytics plugin has two options: Google Analytics and Facebook Pixel.", 5 | "dependencies": "", 6 | "module_id": "789", 7 | "module_hash": "bd90e913319ba5c39f83629e7ee430e7", 8 | "display_order": "1" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Banner/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Banner", 3 | "class": "fa fa-2x fa-image", 4 | "description": "Banner for all page bottom, all page top, course page sidebar, profile page sidebar.", 5 | "dependencies": "", 6 | "module_id": "790", 7 | "module_hash": "7e9349c79b206168a3cd1c5187dd8e96", 8 | "display_order": "2" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Contacts/Providers/ContactServiceProvider.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Contacts\Providers; 17 | 18 | use Illuminate\Support\ServiceProvider; 19 | 20 | class ContactServiceProvider extends ServiceProvider 21 | { 22 | /** 23 | * Register any application services. 24 | * 25 | * @return void 26 | */ 27 | public function register() 28 | { 29 | include __DIR__ . '/../routes.php'; 30 | $this->app->make('Plugins\Contacts\Controllers\ContactsController'); 31 | $this->app->make('Plugins\Contacts\Controllers\Admin\AdminContactsController'); 32 | } 33 | 34 | /** 35 | * Bootstrap the application services. 36 | * 37 | * @return void 38 | */ 39 | public function boot() 40 | { 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /app/Plugins/Contacts/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Contacts", 3 | "class": "fa fa-2x fa-support", 4 | "description": "By enabling this plugin, user can easily interact with admin", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "3" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/CurrencyConversions/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CurrencyConversions", 3 | "class": "fa fa-2x fa-money", 4 | "description": "By enabling this plugin, Convert the currency code.", 5 | "dependencies": "", 6 | "module_id": "791", 7 | "module_hash": "9f76c6399b9ccb8c6f9f9127bba0b6d3", 8 | "display_order": "3" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Pages/Providers/PageServiceProvider.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Pages\Providers; 17 | 18 | use Illuminate\Support\ServiceProvider; 19 | 20 | class PageServiceProvider extends ServiceProvider 21 | { 22 | /** 23 | * Register any application services. 24 | * 25 | * @return void 26 | */ 27 | public function register() 28 | { 29 | include __DIR__ . '/../routes.php'; 30 | $this->app->make('Plugins\Pages\Controllers\PagesController'); 31 | $this->app->make('Plugins\Pages\Controllers\Admin\AdminPagesController'); 32 | } 33 | 34 | /** 35 | * Bootstrap the application services. 36 | * 37 | * @return void 38 | */ 39 | public function boot() 40 | { 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /app/Plugins/Pages/Transformers/PageLanguageTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Pages\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Pages\Model\Page; 20 | 21 | /** 22 | * Class PageTransformer 23 | * @package Pages\Transformers 24 | */ 25 | class PageLanguageTransformer extends Fractal\TransformerAbstract 26 | { 27 | 28 | /** 29 | * @param Page $page 30 | * @return array 31 | */ 32 | public function transform(Page $page) 33 | { 34 | $output = array_only($page->toArray(), ['id', 'title', 'slug']); 35 | return $output; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/Plugins/Pages/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Pages", 3 | "class": "fa fa-2x fa-file-text", 4 | "description": "Static pages", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "4" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Paypal/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Paypal", 3 | "class": "fa fa-2x fa-paypal", 4 | "description": "By enabling this plugin, pay their transaction through this.", 5 | "dependencies": "PaymentGateways", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "9" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/SocialLogins/Model/ProviderUser.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\SocialLogins\Model; 17 | 18 | use Illuminate\Auth\Authenticatable; 19 | use Illuminate\Database\Eloquent\Model; 20 | use App\User; 21 | 22 | class ProviderUser extends Model 23 | { 24 | 25 | /** 26 | * The attributes that are mass assignable. 27 | * 28 | * @var array 29 | */ 30 | protected $fillable = [ 31 | 'user_id', 'provider_id', 'access_token', 'profile_picture_url', 'is_connected', 'foreign_id' 32 | ]; 33 | 34 | 35 | public function user() 36 | { 37 | return $this->belongsTo(User::class); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Plugins/SocialLogins/Transformers/ProviderTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\SocialLogins\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\SocialLogins\Model\Provider; 20 | 21 | /** 22 | * Class ProviderTransformer 23 | * @package app\Transformers 24 | */ 25 | class ProviderTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param Provider $provider 29 | * @return array 30 | */ 31 | public function transform(Provider $provider) 32 | { 33 | $output = array_only($provider->toArray(), ['id', 'name', 'secret_key', 'api_key', 'icon_class', 'button_class', 'display_order', 'is_active']); 34 | $output['is_active'] = ($output['is_active'] == 1) ? true : false; 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Plugins/SocialLogins/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SocialLogins", 3 | "class": "fa fa-2x fa-user-plus", 4 | "description": "By enabling this plugin, allow users to login with their social logins like facebook, twitter or google+.", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "5" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Sudopays/Model/SudopayIpnLog.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Sudopays\Model; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class SudopayIpnLog extends Model 22 | { 23 | protected $table = "sudopay_ipn_logs"; 24 | 25 | protected $fillable = ['ip', 'post_variable']; 26 | /** 27 | * @param $query 28 | * @param Request $request 29 | * @return mixed 30 | */ 31 | public function scopeFilterByRequest($query, Request $request) 32 | { 33 | $query->orderBy($request->input('sort', 'id'), $request->input('sortby', 'desc')); 34 | 35 | return $query; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /app/Plugins/Sudopays/Model/SudopayPaymentGroup.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Sudopays\Model; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class SudopayPaymentGroup extends Model 22 | { 23 | /** 24 | * @var string 25 | */ 26 | protected $table = "sudopay_payment_groups"; 27 | /** 28 | * @var array 29 | */ 30 | protected $fillable = [ 31 | 'sudopay_group_id', 'name', 'thumb_url' 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /app/Plugins/Sudopays/Transformers/SudopayIpnLogTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Sudopays\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Sudopays\Model\SudopayIpnLog; 20 | 21 | /** 22 | * Class SudopayIpnLogTransformer 23 | * @package Plugins\Sudopays\Transformers 24 | * 25 | */ 26 | class SudopayIpnLogTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param SudopayIpnLog $sudopay_ipn_log 31 | * @return array 32 | */ 33 | public function transform(SudopayIpnLog $sudopay_ipn_log) 34 | { 35 | $output = array_only($sudopay_ipn_log->toArray(), ['id', 'created_at', 'ip', 'post_variable']); 36 | return $output; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/Plugins/Sudopays/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ZazPay", 3 | "class": "fa fa-2x icon-sudopay-icon pull-left", 4 | "description": "By enabling this plugin, user can synchronize with zazpay and can access more payment gateways.", 5 | "dependencies": "PaymentGateways", 6 | "module_id": "792", 7 | "module_hash": "408ceefc3362ad8d8cdb52cc7f573b52", 8 | "display_order": "10" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Translations/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Translations", 3 | "class": "fa fa-2x fa-language", 4 | "description": "By enabling this, it helps the site to run the site in multiple languages.", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "6" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleCoupons/Services/VehicleCouponService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleCoupons\Services; 17 | 18 | use Plugins\VehicleCoupons\Model\VehicleCoupon; 19 | class VehicleCouponService 20 | { 21 | 22 | public function updateCouponquantity($coupon_id) 23 | { 24 | $vehicle_coupon = VehicleCoupon::find($coupon_id); 25 | if ($vehicle_coupon) { 26 | $data['no_of_quantity_used'] = \Plugins\VehicleRentals\Model\VehicleRental::where('coupon_id',$vehicle_coupon->id)->where('item_user_status_id' ,'!=', config('constants.ConstItemUserStatus.PaymentPending'))->count(); 27 | $vehicle_coupon->update($data); 28 | } 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /app/Plugins/VehicleCoupons/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleCoupons", 3 | "class": "fa fa-2x fa-gift", 4 | "description": "By enabling this, item owner can add coupons. ", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "793", 7 | "module_hash": "13b14c3e061ad1ab578c6c9a16a66348", 8 | "display_order": "11" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleDisputes/Model/VehicleDisputeStatus.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleDisputes\Model; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class VehicleDisputeStatus extends Model 22 | { 23 | /** 24 | * @var string 25 | */ 26 | protected $table = "dispute_statuses"; 27 | 28 | /** 29 | * @return \Illuminate\Database\Eloquent\Relations\HasMany 30 | */ 31 | public function item_user_dispute() 32 | { 33 | return $this->hasMany(VehicleDispute::class); 34 | } 35 | 36 | /** 37 | * @return \Illuminate\Database\Eloquent\Relations\HasMany 38 | */ 39 | public function message() 40 | { 41 | return $this->hasMany(\App\Message::class); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/Plugins/VehicleDisputes/Transformers/VehicleDisputeStatusTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleDisputes\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleDisputes\Model\VehicleDisputeStatus; 20 | 21 | class VehicleDisputeStatusTransformer extends Fractal\TransformerAbstract 22 | { 23 | 24 | public function transform(VehicleDisputeStatus $vehicle_dispute_status) 25 | { 26 | $output = array_only($vehicle_dispute_status->toArray(), ['id', 'name']); 27 | return $output; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/Plugins/VehicleDisputes/Transformers/VehicleDisputeTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleDisputes\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleDisputes\Model\VehicleDisputeType; 20 | 21 | class VehicleDisputeTypeTransformer extends Fractal\TransformerAbstract 22 | { 23 | 24 | public function transform(VehicleDisputeType $vehicle_dispute_type) 25 | { 26 | $output = array_only($vehicle_dispute_type->toArray(), ['id', 'name', 'is_booker', 'is_active']); 27 | $output['is_active'] = ($output['is_active'] == 1) ? true : false; 28 | $output['is_booker'] = ($output['is_booker'] == 1) ? true : false; 29 | return $output; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/Plugins/VehicleDisputes/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleDisputes", 3 | "class": "fa fa-2x fa-retweet", 4 | "description": "By enabling this, item owner / booker can raise dispute against their inconveniences.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "794", 7 | "module_hash": "e92a3686920c2a8696450d198f31eea1", 8 | "display_order": "12" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleExtraAccessories/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleExtraAccessories", 3 | "class": "fa fa-2x fa-external-link-square", 4 | "description": "By enabling this, item owner can manage extra_accessories based on vehicle types.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "17" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleFeedbacks/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleFeedbacks", 3 | "class": "fa fa-2x fa-thumbs-up", 4 | "description": "By enabling this plugin, vehicle feedback to be added for items", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "13" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleFuelOptions/Transformers/VehicleFuelOptionTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleFuelOptions\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleFuelOptions\Model\VehicleFuelOption; 20 | use Plugins\VehicleFuelOptions\Model\VehicleTypeFuelOption; 21 | 22 | /** 23 | * Class VehicleFuelOptionTransformer 24 | * @package VehicleFuelOptions\Transformers 25 | */ 26 | class VehicleFuelOptionTransformer extends Fractal\TransformerAbstract 27 | { 28 | /** 29 | * @param VehicleFuelOption $vehicle_fuel_option 30 | * @return array 31 | */ 32 | public function transform(VehicleFuelOption $vehicle_fuel_option) 33 | { 34 | $output = array_only($vehicle_fuel_option->toArray(), ['id', 'name', 'description']); 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Plugins/VehicleFuelOptions/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleFuelOptions", 3 | "class": "fa fa-2x fa-tint", 4 | "description": "By enabling this, item owner can manage fuel_options based on vehicle types.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "18" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleInsurances/Transformers/VehicleInsuranceTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleInsurances\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleInsurances\Model\VehicleInsurance; 20 | 21 | /** 22 | * Class VehicleInsuranceTransformer 23 | * @package VehicleInsurances\Transformers 24 | */ 25 | class VehicleInsuranceTransformer extends Fractal\TransformerAbstract 26 | { 27 | 28 | /** 29 | * @param VehicleInsurance $vehicle_insurance 30 | * @return array 31 | */ 32 | public function transform(VehicleInsurance $vehicle_insurance) 33 | { 34 | $output = array_only($vehicle_insurance->toArray(), ['id', 'name', 'description']); 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Plugins/VehicleInsurances/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleInsurances", 3 | "class": "fa fa-2x fa-university", 4 | "description": "By enabling this, item owner can manage taxes based on vehicle types.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "16" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleRentals/Transformers/VehicleRentalLatePaymentDetailTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleRentals\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleRentals\Model\VehicleRentalLatePaymentDetail; 20 | 21 | /** 22 | * Class VehicleRentalLatePaymentDetailTransformer 23 | * @package App\Transformers 24 | */ 25 | class VehicleRentalLatePaymentDetailTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param VehicleRentalLatePaymentDetail $vehicle_rental_late_payment_detail 29 | * @return array 30 | */ 31 | public function transform(VehicleRentalLatePaymentDetail $vehicle_rental_late_payment_detail) 32 | { 33 | $output = array_only($vehicle_rental_late_payment_detail->toArray(), ['id']); 34 | return $output; 35 | } 36 | } 37 | 38 | ?> -------------------------------------------------------------------------------- /app/Plugins/VehicleRentals/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleRentals", 3 | "class": "fa fa-2x fa-hourglass", 4 | "description": "By enabling this plugin, instructor can book.", 5 | "dependencies": "Vehicles", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "10" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleSurcharges/Transformers/VehicleSurchargeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleSurcharges\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleSurcharges\Model\VehicleSurcharge; 20 | 21 | /** 22 | * Class VehicleSurchargeTransformer 23 | * @package VehicleSurcharges\Transformers 24 | */ 25 | class VehicleSurchargeTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param VehicleSurcharge $vehicle_surcharge 29 | * @return array 30 | */ 31 | public function transform(VehicleSurcharge $vehicle_surcharge) 32 | { 33 | $output = array_only($vehicle_surcharge->toArray(), ['id', 'name']); 34 | return $output; 35 | } 36 | } -------------------------------------------------------------------------------- /app/Plugins/VehicleSurcharges/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleSurcharges", 3 | "class": "fa fa-2x fa-download", 4 | "description": "By enabling this, item owner can manage surcharges based on vehicle types.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "15" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/VehicleTaxes/Transformers/AdminVehicleTaxTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleTaxes\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleTaxes\Model\VehicleTax; 20 | 21 | /** 22 | * Class VehicleTaxTransformer 23 | * @package VehicleTaxes\Transformers 24 | */ 25 | class AdminVehicleTaxTransformer extends Fractal\TransformerAbstract 26 | { 27 | 28 | /** 29 | * @param VehicleTax $vehicle_tax 30 | * @return array 31 | */ 32 | public function transform(VehicleTax $vehicle_tax) 33 | { 34 | $output = array_only($vehicle_tax->toArray(), ['id', 'created_at', 'name', 'short_description', 'description', 'is_active']); 35 | $output['is_active'] = ($output['is_active']) ? true : false; 36 | return $output; 37 | } 38 | 39 | 40 | } -------------------------------------------------------------------------------- /app/Plugins/VehicleTaxes/Transformers/VehicleTaxTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\VehicleTaxes\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\VehicleTaxes\Model\VehicleTax; 20 | use Plugins\VehicleTaxes\Model\VehicleTypeTax; 21 | 22 | /** 23 | * Class VehicleTaxTransformer 24 | * @package VehicleTaxes\Transformers 25 | */ 26 | class VehicleTaxTransformer extends Fractal\TransformerAbstract 27 | { 28 | /** 29 | * @param VehicleTax $vehicle_tax 30 | * @return array 31 | */ 32 | public function transform(VehicleTax $vehicle_tax) 33 | { 34 | $output = array_only($vehicle_tax->toArray(), ['id', 'name']); 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Plugins/VehicleTaxes/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VehicleTaxes", 3 | "class": "fa fa-2x fa-text-width", 4 | "description": "By enabling this, item owner can manage taxes based on vehicle types.", 5 | "dependencies": "VehicleRentals", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "14" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Model/FuelType.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Model; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | 22 | /** 23 | * Class FuelType 24 | * @package Plugins\Vehicles\Model 25 | */ 26 | class FuelType extends Model 27 | { 28 | /** 29 | * @var string 30 | */ 31 | protected $table = "fuel_types"; 32 | /** 33 | * The attributes that are mass assignable. 34 | * @var array 35 | */ 36 | protected $fillable = [ 37 | 'name' 38 | ]; 39 | 40 | /** 41 | * @return \Illuminate\Database\Eloquent\Relations\HasMany 42 | */ 43 | public function vehicle() 44 | { 45 | return $this->hasMany(Vehicle::class); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Services/FuelTypeService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Services; 17 | 18 | use Plugins\Vehicles\Model\FuelType; 19 | 20 | class FuelTypeService 21 | { 22 | /** 23 | * FuelTypeService constructor. 24 | */ 25 | public function __construct() 26 | { 27 | } 28 | 29 | /** 30 | * @return mixed 31 | */ 32 | public function getFuelTypeList() 33 | { 34 | $feul_type_list = FuelType::lists('id', 'name'); 35 | foreach($feul_type_list as $value=>$key) { 36 | $feul_type_list[$value] = (integer)$key; 37 | } 38 | return $feul_type_list; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Services/VehicleCompanyService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Services; 17 | 18 | use Plugins\Vehicles\Model\VehicleCompany; 19 | 20 | class VehicleCompanyService 21 | { 22 | /** 23 | * VehicleCompanyService constructor. 24 | */ 25 | public function __construct() 26 | { 27 | } 28 | 29 | /** 30 | * @return mixed 31 | */ 32 | public function getVehicleCompanyList() 33 | { 34 | $vehicle_company_list = VehicleCompany::where('is_active', true)->lists('id', 'name'); 35 | foreach($vehicle_company_list as $value=>$key) { 36 | $vehicle_company_list[$value] = (integer)$key; 37 | } 38 | return $vehicle_company_list; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Services/VehicleMakeService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Services; 17 | 18 | use Plugins\Vehicles\Model\VehicleMake; 19 | 20 | class VehicleMakeService 21 | { 22 | /** 23 | * VehicleMakeService constructor. 24 | */ 25 | public function __construct() 26 | { 27 | } 28 | 29 | /** 30 | * @return mixed 31 | */ 32 | public function getVehicleMakeList() 33 | { 34 | $vehicle_make_list = VehicleMake::where('is_active', true)->lists('id', 'name'); 35 | foreach($vehicle_make_list as $value=>$key) { 36 | $vehicle_make_list[$value] = (integer)$key; 37 | } 38 | return $vehicle_make_list; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/AdminCounterLocationTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\CounterLocation; 20 | 21 | 22 | /** 23 | * Class AdminCounterLocationTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class AdminCounterLocationTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param CounterLocation $counter_location 31 | * @return array 32 | */ 33 | public function transform(CounterLocation $counter_location) 34 | { 35 | $output = array_only($counter_location->toArray(), ['id', 'created_at', 'address', 'latitude', 'longitude', 'phone', 'mobile', 'fax', 'email']); 36 | return $output; 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/AdminFuelTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\FuelType; 20 | 21 | 22 | /** 23 | * Class AdminFuelTypeTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class AdminFuelTypeTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param FuelType $fuel_type 31 | * @return array 32 | */ 33 | public function transform(FuelType $fuel_type) 34 | { 35 | $output = array_only($fuel_type->toArray(), ['id', 'name']); 36 | return $output; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/CounterLocationTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\CounterLocation; 20 | 21 | 22 | /** 23 | * Class CounterLocationTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class CounterLocationTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param CounterLocation $counter_location 31 | * @return array 32 | */ 33 | public function transform(CounterLocation $counter_location) 34 | { 35 | $output = array_only($counter_location->toArray(), ['id', 'address']); 36 | return $output; 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/FuelTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\FuelType; 20 | 21 | 22 | /** 23 | * Class FuelTypeTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class FuelTypeTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param FuelType $fuel_type 31 | * @return array 32 | */ 33 | public function transform(FuelType $fuel_type) 34 | { 35 | $output = array_only($fuel_type->toArray(), ['id', 'name']); 36 | return $output; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/VehicleMakeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\VehicleMake; 20 | 21 | 22 | /** 23 | * Class VehicleMakeTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class VehicleMakeTransformer extends Fractal\TransformerAbstract 27 | { 28 | 29 | /** 30 | * @param VehicleMake $vehicle_make 31 | * @return array 32 | */ 33 | public function transform(VehicleMake $vehicle_make) 34 | { 35 | $output = array_only($vehicle_make->toArray(), ['id', 'name']); 36 | return $output; 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/VehicleSimpleTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\Vehicle; 20 | 21 | 22 | /** 23 | * Class VehicleSimpleTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class VehicleSimpleTransformer extends Fractal\TransformerAbstract 27 | { 28 | /** 29 | * @param Vehicle $vehicle 30 | * @return array 31 | */ 32 | public function transform(Vehicle $vehicle) 33 | { 34 | $output = array_only($vehicle->toArray(), ['id', 'name']); 35 | return $output; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/Transformers/VehicleTypeSimpleTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Vehicles\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Vehicles\Model\VehicleType; 20 | 21 | 22 | /** 23 | * Class VehiclTypeSimpleTransformer 24 | * @package Plugins\Vehicles\Transformers 25 | */ 26 | class VehicleTypeSimpleTransformer extends Fractal\TransformerAbstract 27 | { 28 | /** 29 | * @param Vehicle $vehicle 30 | * @return array 31 | */ 32 | public function transform(VehicleType $vehicle_type) 33 | { 34 | $output = array_only($vehicle_type->toArray(), ['id', 'name']); 35 | return $output; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /app/Plugins/Vehicles/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Vehicles", 3 | "class": "fa fa-2x fa-taxi", 4 | "description": "By enabling this plugin, user can work with vehicle related functionalities.", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "9" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/Withdrawals/Services/MoneyTransferAccountService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Withdrawals\Services; 17 | 18 | use Plugins\Withdrawals\Model\MoneyTransferAccount; 19 | 20 | class MoneyTransferAccountService 21 | { 22 | /** 23 | * get the active users MoneyTransferAccount 24 | * @param $user_id 25 | * @return $money_transfer_account 26 | */ 27 | public function getUserMoneyTransferAccount($user_id) 28 | { 29 | $money_transfer_account = MoneyTransferAccount::where('user_id', '=', $user_id) 30 | ->where('is_primary', '=', 1) 31 | ->first(); 32 | return $money_transfer_account; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Plugins/Withdrawals/Transformers/WithdrawalStatusTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace Plugins\Withdrawals\Transformers; 17 | 18 | use League\Fractal; 19 | use Plugins\Withdrawals\Model\WithdrawalStatus; 20 | 21 | class WithdrawalStatusTransformer extends Fractal\TransformerAbstract 22 | { 23 | public function transform(WithdrawalStatus $withdrawal_status) 24 | { 25 | $output = array_only($withdrawal_status->toArray(), ['id', 'name']); 26 | return $output; 27 | } 28 | } 29 | 30 | ?> -------------------------------------------------------------------------------- /app/Plugins/Withdrawals/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Withdrawals", 3 | "class": "fa fa-2x fa-money", 4 | "description": "By enabling this plugin, instructor can withdraw their revenue amount. The instructor can send the money withdrawal request to site with the account details. Site can transfer the amount to the user account and maked to paid.", 5 | "dependencies": "", 6 | "module_id": "", 7 | "module_hash": "", 8 | "display_order": "8" 9 | } 10 | -------------------------------------------------------------------------------- /app/Plugins/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "App/Plugins", 3 | "description": "Plugins", 4 | "type": "project", 5 | "license": "MIT", 6 | "minimum-stability": "dev", 7 | "require": {} 8 | } 9 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Providers; 17 | 18 | use Illuminate\Support\ServiceProvider; 19 | 20 | class AppServiceProvider extends ServiceProvider 21 | { 22 | /** 23 | * Register any application services. 24 | * 25 | * @return void 26 | */ 27 | public function register() 28 | { 29 | // 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Providers; 17 | 18 | use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider; 19 | 20 | class EventServiceProvider extends ServiceProvider 21 | { 22 | /** 23 | * The event listener mappings for the application. 24 | * 25 | * @var array 26 | */ 27 | protected $listen = [ 28 | 'App\Events\SomeEvent' => [ 29 | 'App\Listeners\EventListener', 30 | ], 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /app/Role.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App; 17 | 18 | use Illuminate\Http\Request; 19 | use Illuminate\Database\Eloquent\Model; 20 | 21 | class Role extends Model 22 | { 23 | /** 24 | * @var string 25 | */ 26 | protected $table = "roles"; 27 | 28 | public function scopeFilterByRequest($query, Request $request) 29 | { 30 | $query->orderBy($request->input('sort', 'id'), $request->input('sortby', 'desc')); 31 | return $query; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/Services/CityService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Services; 17 | 18 | use App\City; 19 | 20 | class CityService 21 | { 22 | public function getCityId($name, $country_id) 23 | { 24 | $city = City::where(['country_id' => $country_id, 'name' => $name])->first(); 25 | if ($city) { 26 | return $city->id; 27 | } else { 28 | $city_obj = array(); 29 | $city_obj['country_id'] = $country_id; 30 | $city_obj['name'] = $name; 31 | $city_obj['is_active'] = true; 32 | $city = City::create($city_obj); 33 | return $city->id; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Services/CountryService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Services; 17 | 18 | use App\Country; 19 | 20 | class CountryService 21 | { 22 | public function getCountryId($code, $name) 23 | { 24 | $country = Country::where('iso2', strtoupper($code))->first(); 25 | if ($country) { 26 | return $country->id; 27 | } else { 28 | $country_obj = array(); 29 | $country_obj['iso2'] = strtoupper($code); 30 | $country_obj['name'] = $name; 31 | $country_obj['is_active'] = true; 32 | $country = Country::create($country_obj); 33 | return $country->id; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Services/TokenService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Services; 17 | 18 | use Tymon\JWTAuth\Providers\JWT\JWTInterface; 19 | 20 | class TokenService 21 | { 22 | /** 23 | * TokenService constructor. 24 | */ 25 | public function __construct(JWTInterface $jwt) 26 | { 27 | $this->jwt = $jwt; 28 | } 29 | 30 | /** 31 | * Generate JSON Web Token. 32 | * @param $user 33 | * @return token 34 | */ 35 | public function createToken($user) 36 | { 37 | $payload = [ 38 | 'sub' => $user->id, 39 | 'iat' => time(), 40 | 'exp' => time() + (2 * 7 * 24 * 60 * 60) 41 | ]; 42 | return $this->jwt->encode($payload, config('constants.token_secret')); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/Services/WalletTransactionLogService.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Services; 17 | 18 | use App\WalletTransactionLog; 19 | 20 | class WalletTransactionLogService 21 | { 22 | public function log($data) { 23 | return WalletTransactionLog::create($data); 24 | } 25 | 26 | public function updateLogById($data, $id = '') 27 | { 28 | if ($id) { 29 | $log = WalletTransactionLog::where('id', '=', $id)->first(); 30 | if ($log) 31 | $log->update($data); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Transformers/AttachmentTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Attachment; 20 | use App\Services\AttachmentService; 21 | use File; 22 | 23 | /** 24 | * Class AttachmentTransformer 25 | * @package App\Transformers 26 | */ 27 | class AttachmentTransformer extends Fractal\TransformerAbstract 28 | { 29 | /** 30 | * @param Attachment $attachment 31 | * @return array 32 | */ 33 | public function transform(Attachment $attachment) 34 | { 35 | $output = array(); 36 | $output['thumb'] = AttachmentService::getThumbUrl($attachment, $attachment->attachmentable_id); 37 | return $output; 38 | } 39 | 40 | } 41 | 42 | -------------------------------------------------------------------------------- /app/Transformers/CountryTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace app\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Country; 20 | 21 | /** 22 | * Class CountryTransformer 23 | * @package app\Transformers 24 | */ 25 | class CountryTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param Country $country 29 | * @return array 30 | */ 31 | public function transform(Country $country) 32 | { 33 | $output = array_only($country->toArray(), ['id', 'name', 'iso2', 'iso3', 'is_active']); 34 | $output['is_active'] = ($output['is_active'] == 1) ? true : false; 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Transformers/CurrencyTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace app\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Currency; 20 | 21 | /** 22 | * Class CurrencyTransformer 23 | * @package app\Transformers 24 | */ 25 | class CurrencyTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param Currency $currency 29 | * @return array 30 | */ 31 | public function transform(Currency $currency) 32 | { 33 | $output = array_only($currency->toArray(), ['id', 'created_at', 'name', 'code', 'symbol', 'prefix', 'suffix', 'decimals', 'dec_point', 'thousands_sep', 'is_prefix_display_on_left', 'is_use_graphic_symbol', 'is_active']); 34 | $output['is_active'] = ($output['is_active'] == 1) ? true : false; 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Transformers/DiscountTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\DiscountType; 20 | 21 | class DiscountTypeTransformer extends Fractal\TransformerAbstract 22 | { 23 | public function transform(DiscountType $discount_type) 24 | { 25 | $output = array_only($discount_type->toArray(), ['id', 'type']); 26 | return $output; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Transformers/DurationTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\DurationType; 20 | 21 | class DurationTypeTransformer extends Fractal\TransformerAbstract 22 | { 23 | public function transform(DurationType $duration_type) 24 | { 25 | $output = array_only($duration_type->toArray(), ['id', 'name']); 26 | return $output; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Transformers/EmailTemplateTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace app\Transformers; 17 | 18 | use League\Fractal; 19 | use App\EmailTemplate; 20 | 21 | /** 22 | * Class EmailTemplateTransformer 23 | * @package app\Transformers 24 | */ 25 | class EmailTemplateTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param EmailTemplate $email_template 29 | * @return array 30 | */ 31 | public function transform(EmailTemplate $email_template) 32 | { 33 | $output = array_only($email_template->toArray(), ['id', 'name', 'subject', 'body_content', 'from_name', 'reply_to', 'info']); 34 | return $output; 35 | } 36 | } -------------------------------------------------------------------------------- /app/Transformers/LanguageTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace app\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Language; 20 | 21 | /** 22 | * Class LanguageTransformer 23 | * @package app\Transformers 24 | */ 25 | class LanguageTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param Language $language 29 | * @return array 30 | */ 31 | public function transform(Language $language) 32 | { 33 | $output = array_only($language->toArray(), ['id', 'name', 'iso2', 'iso3', 'is_active']); 34 | $output['is_active'] = ($output['is_active'] == 1) ? true : false; 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Transformers/MessageContentTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\MessageContent; 20 | 21 | /** 22 | * Class MessageContentTransformer 23 | * @package MessageContent\Transformers 24 | */ 25 | class MessageContentTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param MessageContent $message_content 29 | * @return array 30 | */ 31 | public function transform(MessageContent $message_content) 32 | { 33 | $output = array_only($message_content->toArray(), ['subject', 'message', 'admin_suspend', 'is_system_flagged', 'detected_suspicious_words']); 34 | return $output; 35 | } 36 | } -------------------------------------------------------------------------------- /app/Transformers/RoleTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Role; 20 | 21 | class RoleTransformer extends Fractal\TransformerAbstract 22 | { 23 | public function transform(Role $role) 24 | { 25 | $output = array_only($role->toArray(), ['id', 'created_at', 'name']); 26 | return $output; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Transformers/SettingCategoryTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | 17 | namespace app\Transformers; 18 | 19 | use League\Fractal; 20 | use App\SettingCategory; 21 | 22 | /** 23 | * Class SettingCategoryTransformer 24 | * @package app\Transformers 25 | */ 26 | class SettingCategoryTransformer extends Fractal\TransformerAbstract 27 | { 28 | /** 29 | * @param SettingCategory $setting_category 30 | * @return array 31 | */ 32 | public function transform(SettingCategory $setting_category) 33 | { 34 | $output = array_only($setting_category->toArray(), ['id', 'name', 'description', 'display_order']); 35 | return $output; 36 | } 37 | } -------------------------------------------------------------------------------- /app/Transformers/TransactionTypeTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\TransactionType; 20 | 21 | /** 22 | * Class TransactionTypeTransformer 23 | * @package App\Transformers 24 | */ 25 | class TransactionTypeTransformer extends Fractal\TransformerAbstract 26 | { 27 | /** 28 | * @param TransactionType $transaction_type 29 | * @return array 30 | */ 31 | public function transform(TransactionType $transaction_type) 32 | { 33 | $output = array_only($transaction_type->toArray(), ['id', 'name', 'is_credit', 'is_credit_to_receiver', 'is_credit_to_admin', 'message', 'message_for_receiver', 'message_for_admin', 'transaction_type_group_id']); 34 | return $output; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /app/Transformers/UploadAttachmentTransformer.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | namespace App\Transformers; 17 | 18 | use League\Fractal; 19 | use App\Attachment; 20 | use App\Services\AttachmentService; 21 | use File; 22 | 23 | /** 24 | * Class UploadAttachmentTransformer 25 | * @package App\Transformers 26 | */ 27 | class UploadAttachmentTransformer extends Fractal\TransformerAbstract 28 | { 29 | /** 30 | * @param Attachment $attachment 31 | * @return array 32 | */ 33 | public function transform(Attachment $attachment) 34 | { 35 | $output = array(); 36 | $output['thumb'] = AttachmentService::getUserUploadThumb($attachment, $attachment->attachmentable_id); 37 | return $output; 38 | } 39 | 40 | } 41 | 42 | -------------------------------------------------------------------------------- /client/.npmignore: -------------------------------------------------------------------------------- 1 | ~ 2 | build/ 3 | builds/ 4 | [Bb]in 5 | [Dd]ebug*/ 6 | obj/ 7 | [Rr]elease*/ 8 | zip/ 9 | _[Rr]e[Ss]harper*/ 10 | _[Rr]eSharper.* 11 | *.user 12 | *.[Rr]e[Ss]harper 13 | *.suo 14 | *.cache 15 | *.swp 16 | *.dot[Cc]over 17 | packages/* 18 | [Bb]ackup 19 | [Uu]pgrade[Ll]og.xml 20 | [Uu]pgrade[Ll]og.htm 21 | _[Uu]pgrade[Rr]eport_[Ff]iles 22 | .idea/ 23 | *.log 24 | *.log.* 25 | *node_modules* 26 | vendor/ 27 | vendor/* 28 | vendor/*/* 29 | vendor/*/*/* 30 | vendor/*/*/*/* 31 | 32 | 33 | -------------------------------------------------------------------------------- /client/.yo-rc.json: -------------------------------------------------------------------------------- 1 | { 2 | "generator-ngbp": { 3 | "projectName": "BookorRent", 4 | "useCoffeescript": false 5 | } 6 | } -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- 1 | # Agriya base 2 | 3 | A simplified version of the ngBoilerplate angular project template. 4 | 5 | *** 6 | 7 | ## Quick Start 8 | -------------------------------------------------------------------------------- /client/src/ag-admin/tpl/customHeader.tpl.html: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /client/src/app/Common/404.tpl.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

404 Page Not Found

4 |
5 |
6 | -------------------------------------------------------------------------------- /client/src/app/Common/Footer.js: -------------------------------------------------------------------------------- 1 | (function (module) { 2 | /** 3 | * @ngdoc controller 4 | * @name Common.controller:FooterController 5 | * @description 6 | * 7 | * This is Footer Controller which defines the footer section of all pages. 8 | * 9 | * Footer section contains the static pages and copyrights information. 10 | **/ 11 | module.controller('FooterController', function ($scope) { 12 | $scope.currentYear = new Date().getFullYear(); 13 | }); 14 | }(angular.module("BookorRent.common"))); -------------------------------------------------------------------------------- /client/src/app/Message/message_sidebar.tpl.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Banner/banner.tpl.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Contacts/ContactsService.js: -------------------------------------------------------------------------------- 1 | (function (module) { 2 | /** 3 | * @ngdoc service 4 | * @name Contacts.ContactsFactory 5 | * @description 6 | * ContactsFactory used to store the contact details. 7 | * @param {function()} function It used to save the data. 8 | * @param {string} url Base url accessed in GENERAL_CONFIG. 9 | * @returns {object} The service contains these actions: 10 | * 11 | * { 12 | * 'save': {method:'POST'} 13 | * }; 14 | */ 15 | module.factory('ContactsFactory', function ($resource, GENERAL_CONFIG) { 16 | return $resource( 17 | GENERAL_CONFIG.api_url + '/contacts', {}, { 18 | 'save': { 19 | method: 'POST' 20 | } 21 | } 22 | ); 23 | }); 24 | 25 | })(angular.module("BookorRent.Contacts")); 26 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Contacts/contact_links.tpl.html: -------------------------------------------------------------------------------- 1 | {{'Contact Us'|translate}} -------------------------------------------------------------------------------- /client/src/app/Plugins/CurrencyConversions/currency_conversion.tpl.html: -------------------------------------------------------------------------------- 1 | {{currency_code}} 2 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Pages/Pages.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/app/Plugins/Pages/Pages.spec.js -------------------------------------------------------------------------------- /client/src/app/Plugins/Pages/PagesService.js: -------------------------------------------------------------------------------- 1 | (function (module) { 2 | /** 3 | * @ngdoc service 4 | * @name Pages.PageFactory 5 | * @description 6 | * PageFactory used to fetch the page details. 7 | * @param {function()} function It used to fetch the data. 8 | * @param {string} url Base url accessed in GENERAL_CONFIG. 9 | * @param {string} slug Page slug. 10 | * @param {string} iso2 Content iso. 11 | * @returns {object} The service contains these actions: 12 | * 13 | * { 14 | * 'get': {method:'GET'} 15 | * }; 16 | */ 17 | module.factory('PageFactory', function ($resource, GENERAL_CONFIG) { 18 | return $resource(GENERAL_CONFIG.api_url + '/page/:slug/:iso2', { 19 | slug: '@slug', 20 | iso2: '@iso2' 21 | }, { 22 | 'get': { 23 | method: 'GET' 24 | } 25 | } 26 | ); 27 | }); 28 | })(angular.module("BookorRent.Pages")); 29 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Pages/page_links.tpl.html: -------------------------------------------------------------------------------- 1 | 6 | 11 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Pages/pages.tpl.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 8 |
9 |
10 |

11 |
12 |
13 |
-------------------------------------------------------------------------------- /client/src/app/Plugins/Paypal/Paypal.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * LumenBase - v1.0a.01 - 2016-03-28 3 | * 4 | * Copyright (c) 2016 Agriya 5 | */ 6 | /** 7 | * @ngdoc object 8 | * @name Paypal 9 | * @description 10 | * 11 | * This is the module for Paypal. It contains the Paypal functionalities. 12 | * 13 | * The Paypal module act as a state provider, this module get the url and load the template and call the controller instantly. 14 | * 15 | * @param {!Array.=} dependencies If specified then new module is being created. If unspecified then the module is being retrieved for further configuration. 16 | * 17 | * [ 18 | * 'ui.router', 19 | * 'ngResource' 20 | * ] 21 | * @returns {BookorRent.Paypal} new BookorRent.Paypal module. 22 | **/ 23 | (function (module) { 24 | 25 | }(angular.module("BookorRent.Paypal", [ 26 | 'ui.router', 27 | 'ngResource' 28 | ]))); 29 | -------------------------------------------------------------------------------- /client/src/app/Plugins/SocialLogins/get_email_from_user.tpl.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Sudopays/Sudopay.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * BookorRent - v1.0a.01 - 2016-03-28 3 | * 4 | * Copyright (c) 2016 Agriya 5 | */ 6 | /** 7 | * @ngdoc object 8 | * @name Sudopays 9 | * @description 10 | * 11 | * This is the module for Sudopay. It contains the sudopay functionalities. 12 | * 13 | * @param {string} Sudopays name of the module 14 | * @param {!Array.=} dependencies If specified then new module is being created. If unspecified then the module is being retrieved for further configuration. 15 | * 16 | * [ 17 | * 'ui.router', 18 | * 'ngResource', 19 | * 'angulartics', 20 | * 'angulartics.google.analytics', 21 | * 'angulartics.facebook.pixel' 22 | * ] 23 | * @returns {BookorRent.Sudopays} new BookorRent.Sudopays module. 24 | **/ 25 | (function (module) { 26 | 27 | }(angular.module("BookorRent.Sudopays", [ 28 | 'ui.router', 29 | 'ngResource', 30 | 'angulartics', 31 | 'angulartics.google.analytics', 32 | 'angulartics.facebook.pixel' 33 | ]))); 34 | -------------------------------------------------------------------------------- /client/src/app/Plugins/Sudopays/manual.tpl.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
{{'Required'| translate}} 5 |
6 |
7 |
-------------------------------------------------------------------------------- /client/src/app/Plugins/Translations/language_translate.tpl.html: -------------------------------------------------------------------------------- 1 |
2 | 4 |
5 | 6 | -------------------------------------------------------------------------------- /client/src/app/Plugins/VehicleDisputes/VehicleDisputes.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * BookorRent - v1.0a.01 - 2016-03-28 3 | * 4 | * Copyright (c) 2016 Agriya 5 | */ 6 | /** 7 | * @ngdoc object 8 | * @name VehicleDisputes 9 | * @description 10 | * 11 | * This is the module for VehicleDisputes. It contains the VehicleDisputes functionalities. 12 | * 13 | * @param {string} VehicleDisputes name of the module 14 | * @param {!Array.=} dependencies If specified then new module is being created. If unspecified then the module is being retrieved for further configuration. 15 | * 16 | * [ 17 | * 'ui.router', 18 | * 'ngResource', 19 | * 'angulartics', 20 | * ] 21 | * @returns {BookorRent.VehicleDisputes} new BookorRent.VehicleDisputes module. 22 | **/ 23 | ((angular.module('BookorRent.VehicleDisputes', [ 24 | 'ui.router', 25 | 'ngResource', 26 | 'angulartics' 27 | ]))); 28 | -------------------------------------------------------------------------------- /client/src/app/Plugins/VehicleFeedbacks/rating.tpl.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
-------------------------------------------------------------------------------- /client/src/app/Transactions/TransactionService.js: -------------------------------------------------------------------------------- 1 | (function (module) { 2 | /** 3 | * @ngdoc service 4 | * @name Transaction.TransactionFactory 5 | * @description 6 | * TransactionFactory used in list and filter the transaction. 7 | * @param {string} TransactionFactory The name of the factory 8 | * @param {function()} function It uses get method for listing, defines the url 9 | */ 10 | module.factory('TransactionFactory', function ($resource, GENERAL_CONFIG) { 11 | return $resource(GENERAL_CONFIG.api_url + '/transactions', {}, { 12 | 'list': { 13 | method: 'GET' 14 | }, 15 | 'filter': { 16 | method: 'GET' 17 | } 18 | } 19 | ); 20 | }); 21 | })(angular.module("BookorRent.Transactions")); 22 | -------------------------------------------------------------------------------- /client/src/assets/README.md: -------------------------------------------------------------------------------- 1 | # The `src/assets` Directory 2 | 3 | There's really not much to say here. Every file in this directory is recursively transferred to `dist/assets/`. 4 | 5 | -------------------------------------------------------------------------------- /client/src/assets/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /client/src/assets/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /client/src/assets/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /client/src/assets/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/apple-touch-icon.png -------------------------------------------------------------------------------- /client/src/assets/css/loader.css: -------------------------------------------------------------------------------- 1 | #preloader { 2 | position:fixed; 3 | top:0; 4 | left:0; 5 | right:0; 6 | bottom:0; 7 | background-color:#fff; 8 | z-index:999; 9 | } 10 | 11 | #status { 12 | width:200px; 13 | height:200px; 14 | position:absolute; 15 | left:50%; 16 | top:50%; 17 | background-image:url(../img/loader.gif); 18 | background-repeat:no-repeat; 19 | background-position:center; 20 | margin:-100px 0 0 -100px; 21 | } 22 | 23 | i.icon-sudopay-icon { 24 | background: transparent url(../img/sudopay-icon.png) no-repeat scroll 0 0; 25 | display: block; 26 | height: 25px; 27 | width: 30px; 28 | margin-top: 2px; 29 | background-size: 100%; -------------------------------------------------------------------------------- /client/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/favicon.ico -------------------------------------------------------------------------------- /client/src/assets/fonts/Avenir.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/Avenir.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Bold.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Bold.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Bold.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Bold.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Regular.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Regular.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Regular.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/PlayfairDisplay-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/PlayfairDisplay-Regular.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Bold.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Bold.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Bold.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Bold.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Light.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Light.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Light.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Light.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Regular.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Regular.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Regular.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Regular.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Semibold.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Semibold.otf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Semibold.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/ProximaNova-Semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/ProximaNova-Semibold.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/Raleway-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/Raleway-Regular.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/Roboto-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/Roboto-Regular.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-light-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-light-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-light-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-light-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-light-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-light-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regitalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regitalic-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regitalic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regitalic-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regitalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regitalic-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regitalic-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regitalic-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regular-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regular-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regular-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-regular-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-regular-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibold-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibold-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibold-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibold-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibold-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibolditalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibolditalic-webfont.eot -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibolditalic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibolditalic-webfont.ttf -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibolditalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibolditalic-webfont.woff -------------------------------------------------------------------------------- /client/src/assets/fonts/proximanova-semibolditalic-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/fonts/proximanova-semibolditalic-webfont.woff2 -------------------------------------------------------------------------------- /client/src/assets/img/activities.icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/activities.icon.png -------------------------------------------------------------------------------- /client/src/assets/img/air.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/air.png -------------------------------------------------------------------------------- /client/src/assets/img/app-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/app-store.png -------------------------------------------------------------------------------- /client/src/assets/img/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/arrow.png -------------------------------------------------------------------------------- /client/src/assets/img/automatic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/automatic.png -------------------------------------------------------------------------------- /client/src/assets/img/bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/bag.png -------------------------------------------------------------------------------- /client/src/assets/img/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/banner.jpg -------------------------------------------------------------------------------- /client/src/assets/img/car-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/car-icon.png -------------------------------------------------------------------------------- /client/src/assets/img/check-circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/check-circle.png -------------------------------------------------------------------------------- /client/src/assets/img/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/clock.png -------------------------------------------------------------------------------- /client/src/assets/img/cssilize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/cssilize.png -------------------------------------------------------------------------------- /client/src/assets/img/customer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/customer.png -------------------------------------------------------------------------------- /client/src/assets/img/customers-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/customers-bg.png -------------------------------------------------------------------------------- /client/src/assets/img/diesel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/diesel.png -------------------------------------------------------------------------------- /client/src/assets/img/drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/drive.png -------------------------------------------------------------------------------- /client/src/assets/img/envelop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/envelop.png -------------------------------------------------------------------------------- /client/src/assets/img/key-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/key-icon.png -------------------------------------------------------------------------------- /client/src/assets/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/loader.gif -------------------------------------------------------------------------------- /client/src/assets/img/login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/login-bg.jpg -------------------------------------------------------------------------------- /client/src/assets/img/logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/logo-white.png -------------------------------------------------------------------------------- /client/src/assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/logo.png -------------------------------------------------------------------------------- /client/src/assets/img/luggage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/luggage.png -------------------------------------------------------------------------------- /client/src/assets/img/make-payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/make-payment.png -------------------------------------------------------------------------------- /client/src/assets/img/manual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/manual.png -------------------------------------------------------------------------------- /client/src/assets/img/paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/paypal.png -------------------------------------------------------------------------------- /client/src/assets/img/play-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/play-store.png -------------------------------------------------------------------------------- /client/src/assets/img/powered-by-agriya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/powered-by-agriya.png -------------------------------------------------------------------------------- /client/src/assets/img/powered-rentnride.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/powered-rentnride.jpg -------------------------------------------------------------------------------- /client/src/assets/img/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/quote.png -------------------------------------------------------------------------------- /client/src/assets/img/rental-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/rental-bg.png -------------------------------------------------------------------------------- /client/src/assets/img/rental.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/rental.png -------------------------------------------------------------------------------- /client/src/assets/img/revenue-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/revenue-bg.png -------------------------------------------------------------------------------- /client/src/assets/img/revenue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/revenue.png -------------------------------------------------------------------------------- /client/src/assets/img/road-view.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/road-view.jpg -------------------------------------------------------------------------------- /client/src/assets/img/search-car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/search-car.png -------------------------------------------------------------------------------- /client/src/assets/img/seats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/seats.png -------------------------------------------------------------------------------- /client/src/assets/img/site-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/site-settings.png -------------------------------------------------------------------------------- /client/src/assets/img/static-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/static-bg.jpg -------------------------------------------------------------------------------- /client/src/assets/img/sudopay-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/sudopay-icon.png -------------------------------------------------------------------------------- /client/src/assets/img/user-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/user-icon.png -------------------------------------------------------------------------------- /client/src/assets/img/user-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/user-list.png -------------------------------------------------------------------------------- /client/src/assets/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/user.png -------------------------------------------------------------------------------- /client/src/assets/img/vehicle-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/vehicle-bg.png -------------------------------------------------------------------------------- /client/src/assets/img/vehicle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/vehicle.png -------------------------------------------------------------------------------- /client/src/assets/img/wallet-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/client/src/assets/img/wallet-icon.png -------------------------------------------------------------------------------- /client/src/less/admin/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.6 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // Core variables and mixins 8 | @import "variables.less"; 9 | @import "mixins.less"; 10 | 11 | // font-awesome classes 12 | @import "../font-awesome.less"; 13 | 14 | // custom classes 15 | @import "ngadmin.less"; 16 | @import "ngadmin-responsive.less"; 17 | -------------------------------------------------------------------------------- /client/src/less/admin/main.less: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the main application stylesheet. It should include or import all 3 | * stylesheets used throughout the application as this is the only stylesheet in 4 | * the Grunt configuration that is automatically processed. 5 | */ 6 | 7 | 8 | /** 9 | * First, we include the Twitter Bootstrap LESS files. Only the ones used in the 10 | * project should be imported as the rest are just wasting space. 11 | */ 12 | 13 | @import '../../../../vendor/bootstrap/less/bootstrap.less'; 14 | 15 | 16 | /** 17 | * Now that all app-wide styles have been applied, we can load the styles for 18 | * all the submodules and components we are using. 19 | * 20 | * TODO: In a later version of this boilerplate, I'd like to automate this. 21 | */ 22 | 23 | @import 'bootstrap.less'; 24 | -------------------------------------------------------------------------------- /client/src/less/admin/morris.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0} 3 | -------------------------------------------------------------------------------- /client/src/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.6 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // Core variables and mixins 8 | @import "variables.less"; 9 | @import "mixins.less"; 10 | 11 | // custom classes 12 | @import "custom.less"; 13 | @import "custom-responsive.less"; 14 | 15 | // font-awesome classes 16 | @import "font-awesome.less"; -------------------------------------------------------------------------------- /client/src/less/main.less: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the main application stylesheet. It should include or import all 3 | * stylesheets used throughout the application as this is the only stylesheet in 4 | * the Grunt configuration that is automatically processed. 5 | */ 6 | 7 | 8 | /** 9 | * First, we include the Twitter Bootstrap LESS files. Only the ones used in the 10 | * project should be imported as the rest are just wasting space. 11 | */ 12 | 13 | @import '../../../vendor/bootstrap/less/bootstrap.less'; 14 | 15 | /** 16 | * This is our main variables file. We must include it last so we can overwrite any variable 17 | * definitions in our imported stylesheets. 18 | */ 19 | 20 | 21 | /** 22 | * Typography 23 | */ 24 | 25 | 26 | 27 | /** 28 | * Now that all app-wide styles have been applied, we can load the styles for 29 | * all the submodules and components we are using. 30 | * 31 | * TODO: In a later version of this boilerplate, I'd like to automate this. 32 | */ 33 | 34 | @import 'bootstrap.less'; 35 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | return [ 17 | /* 18 | |-------------------------------------------------------------------------- 19 | | Encryption Key 20 | |-------------------------------------------------------------------------- 21 | | 22 | | This key is used by the Illuminate encrypter service and should be set 23 | | to a random, 32 character string, otherwise these encrypted strings 24 | | will not be safe. Please do this before deploying an application! 25 | | 26 | */ 27 | 'timezone' => 'Asia/Calcutta', 28 | 29 | 'key' => env('APP_KEY'), 30 | 31 | 'cipher' => 'AES-256-CBC', 32 | 33 | 'license_key' => '53621-11538-199-1473418553-8d7d8ee0' 34 | ]; -------------------------------------------------------------------------------- /config/sudopay.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | return array( 17 | // set your sudopay credential 18 | 'sudopay_merchant_id' => config('sudopay.sudopay_merchant_id'), 19 | 'sudopay_website_id' => config('sudopay.sudopay_website_id'), 20 | 'sudopay_api_key' => config('sudopay.sudopay_api_key'), 21 | 'sudopay_secret_string' => config('sudopay.sudopay_secret_string'), 22 | 'is_live_mode' => config('sudopay.is_live_mode'), 23 | 24 | ); -------------------------------------------------------------------------------- /database/factories/ModelFactory.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | /* 17 | |-------------------------------------------------------------------------- 18 | | Model Factories 19 | |-------------------------------------------------------------------------- 20 | | 21 | | Here you may define all of your model factories. Model factories give 22 | | you a convenient way to create models for testing and seeding your 23 | | database. Just tell the factory how a default model should look. 24 | | 25 | */ 26 | 27 | $factory->define(App\User::class, function ($faker) { 28 | return [ 29 | 'name' => $faker->name, 30 | 'email' => $faker->email, 31 | ]; 32 | }); 33 | -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/database/migrations/.gitkeep -------------------------------------------------------------------------------- /database/migrations/2016_03_23_000001_create_discount_types_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('type'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('discount_types'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000001_create_countries_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name')->nullable(); 19 | $table->char('iso2', 2)->nullable(); 20 | $table->char('iso3', 3)->nullable(); 21 | $table->boolean('is_active')->nullable(); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('countries'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000002_create_states_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->bigInteger('country_id')->unsigned()->nullable()->index(); 20 | $table->foreign('country_id') 21 | ->references('id')->on('countries') 22 | ->onDelete('set null'); 23 | $table->boolean('is_active'); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::drop('states'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000005_create_roles_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('roles'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000009_create_languages_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->char('iso2', 2); 20 | $table->char('iso3', 3); 21 | $table->boolean('is_active'); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('languages'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000010_create_pages_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('language_id')->unsigned()->nullable()->index(); 19 | $table->foreign('language_id') 20 | ->references('id')->on('languages') 21 | ->onDelete('set null'); 22 | $table->string('title'); 23 | $table->string('slug'); 24 | $table->text('page_content'); 25 | $table->boolean('is_active'); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::drop('pages'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000012_create_providers_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->string('secret_key')->nullable(); 20 | $table->string('api_key')->nullable(); 21 | $table->string('icon_class')->nullable(); 22 | $table->string('button_class')->nullable(); 23 | $table->boolean('is_active'); 24 | $table->integer('display_order'); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::drop('providers'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000014_create_money_transfer_accounts_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('user_id')->unsigned()->nullable()->index(); 19 | $table->foreign('user_id') 20 | ->references('id')->on('users') 21 | ->onDelete('set null'); 22 | $table->string('account'); 23 | $table->boolean('is_primary'); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::drop('money_transfer_accounts'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000015_create_withdrawal_statuses_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('withdrawal_statuses'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000017_create_setting_categories_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->text('description'); 20 | $table->integer('display_order'); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('setting_categories'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000021_create_currency_conversion_histories_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 15 | $table->timestamps(); 16 | $table->bigInteger('currency_conversion_id')->unsigned()->nullable()->index(); 17 | $table->foreign('currency_conversion_id') 18 | ->references('id')->on('currency_conversions') 19 | ->onDelete('cascade'); 20 | $table->double('rate_before_change', 10, 2)->default(0.00); 21 | $table->double('rate', 10, 2)->default(0.00); 22 | }); 23 | } 24 | 25 | /** 26 | * Reverse the migrations. 27 | */ 28 | public function down() 29 | { 30 | Schema::drop('currency_conversion_histories'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000022_create_items_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('user_id')->unsigned()->nullable()->index(); 19 | $table->foreign('user_id') 20 | ->references('id')->on('users') 21 | ->onDelete('set null'); 22 | $table->string('name'); 23 | $table->string('slug')->unique(); 24 | $table->text('description'); 25 | $table->double('amount', 10, 2)->default(0.00); 26 | $table->boolean('is_active'); 27 | $table->boolean('is_paid'); 28 | }); 29 | } 30 | 31 | /** 32 | * Reverse the migrations. 33 | * 34 | * @return void 35 | */ 36 | public function down() 37 | { 38 | Schema::drop('items'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000023_create_item_user_statuses_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->bigInteger('booking_count')->default(0); 20 | $table->string('slug')->unique(); 21 | $table->text('description'); 22 | $table->bigInteger('display_order'); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('item_users'); 34 | Schema::drop('item_user_statuses'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000025_create_cancellation_types_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index();; 17 | $table->timestamps(); 18 | $table->string('name', 255); 19 | $table->text('description'); 20 | $table->string('minimum_duration'); 21 | $table->string('maximum_duration'); 22 | $table->double('deduct_rate', 10, 2)->default(0.00); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('cancellation_types'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000028_create_dispute_statuses_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('dispute_statuses'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000030_create_email_templates_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->string('subject'); 20 | $table->text('body_content'); 21 | $table->string('filename'); 22 | $table->string('from_name'); 23 | $table->string('info'); 24 | $table->string('reply_to'); 25 | }); 26 | } 27 | 28 | /** 29 | * Reverse the migrations. 30 | * 31 | * @return void 32 | */ 33 | public function down() 34 | { 35 | Schema::drop('email_templates'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000031_create_attachments_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('attachmentable_id'); 19 | $table->string('attachmentable_type', 255); 20 | $table->string('filename', 255); 21 | $table->string('dir', 255); 22 | $table->string('mimetype', 255); 23 | $table->bigInteger('filesize'); 24 | $table->bigInteger('height'); 25 | $table->bigInteger('width'); 26 | }); 27 | } 28 | 29 | /** 30 | * Reverse the migrations. 31 | * 32 | * @return void 33 | */ 34 | public function down() 35 | { 36 | Schema::drop('attachments'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2016_03_24_000035_create_message_contents_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->text('subject'); 19 | $table->text('message'); 20 | $table->boolean('admin_suspend'); 21 | $table->boolean('is_system_flagged'); 22 | $table->text('detected_suspicious_words'); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('message_contents'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_04_28_000038_create_sudopay_payment_groups_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('sudopay_group_id')->unsigned()->nullable()->index(); 19 | $table->string('name'); 20 | $table->string('thumb_url'); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('sudopay_payment_groups'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2016_05_10_000041_create_sudopay_ipn_logs_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->bigInteger('ip'); 19 | $table->text('post_variable'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::drop('sudopay_ipn_logs'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2016_05_11_000047_create_duration_types_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->unsigned()->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('duration_types'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_05_17_000048_create_dispute_types_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name'); 19 | $table->boolean('is_booker')->default(0); 20 | $table->boolean('is_active')->default(1); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('dispute_types'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2016_05_18_000051_create_wallet_transaction_logs_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->timestamps(); 18 | $table->double('amount', 10, 2)->default(0.00); 19 | $table->string('wallet_transaction_logable_type'); 20 | $table->bigInteger('wallet_transaction_logable_id')->unsigned(); 21 | $table->string('status'); 22 | $table->string('payment_type'); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('wallet_transaction_logs'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000054_create_vehicle_makes_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->unsigned()->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->bigInteger('vehicle_count')->default(0)->nullable(); 21 | $table->bigInteger('vehicle_model_count')->default(0)->nullable(); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('vehicle_makes'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000057_create_fuel_types_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->unsigned()->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('fuel_types'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000062_create_surcharges_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->unsigned()->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->string('short_description'); 21 | $table->text('description'); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('surcharges'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000064_create_taxes_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->string('short_description'); 21 | $table->text('description')->nullable(); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('taxes'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000066_create_extra_accessories_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->string('short_description'); 21 | $table->text('description')->nullable(); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('extra_accessories'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000068_create_insurances_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->string('short_description'); 21 | $table->text('description')->nullable(); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('insurances'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/migrations/2016_06_02_000070_create_fuel_options_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id')->index(); 17 | $table->timestamps(); 18 | $table->string('name')->index(); 19 | $table->string('slug'); 20 | $table->string('short_description'); 21 | $table->text('description')->nullable(); 22 | $table->boolean('is_active')->default(0); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('fuel_options'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /database/seeds/DiscountTypeSeeder.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Illuminate\Database\Seeder; 17 | use Illuminate\Database\Eloquent\Model; 18 | use App\DiscountType; 19 | use App\Eloquent; 20 | use Illuminate\Support\Facades\Hash; 21 | 22 | class DiscountTypeSeeder extends Seeder 23 | { 24 | /** 25 | * Run the database seeds. 26 | * @return void 27 | */ 28 | public function run() 29 | { 30 | DiscountType::create([ 31 | 'id' => 1, 32 | 'type' => 'percentage', 33 | ]); 34 | DiscountType::create([ 35 | 'id' => 2, 36 | 'type' => 'amount', 37 | ]); 38 | } 39 | } -------------------------------------------------------------------------------- /database/seeds/DurationTypesTableSeeder.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Illuminate\Database\Seeder; 17 | use Illuminate\Database\Eloquent\Model; 18 | use App\DurationType; 19 | use Illuminate\Support\Facades\Hash; 20 | 21 | class DurationTypesTableSeeder extends Seeder 22 | { 23 | /** 24 | * Run the database seeds. 25 | * 26 | * @return void 27 | */ 28 | public function run() 29 | { 30 | DurationType::create([ 31 | 'id' => 1, 32 | 'name' => 'Per day' 33 | ]); 34 | DurationType::create([ 35 | 'id' => 2, 36 | 'name' => 'Per rental' 37 | ]); 38 | } 39 | } -------------------------------------------------------------------------------- /database/seeds/IpsTableSeeder.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Illuminate\Database\Seeder; 17 | use Illuminate\Database\Eloquent\Model; 18 | use App\Ip; 19 | 20 | class IpsTableSeeder extends Seeder 21 | { 22 | /** 23 | * Run the database seeds. 24 | * 25 | * @return void 26 | */ 27 | public function run() 28 | { 29 | Ip::create([ 30 | 'ip' => '127.0.0.1', 31 | 'city_id' => 33, 32 | 'state_id' => 8, 33 | 'country_id' => 102, 34 | 'host' => 'localhost' 35 | ]); 36 | 37 | Ip::create([ 38 | 'ip' => '::1', 39 | 'city_id' => 33, 40 | 'state_id' => 8, 41 | 'country_id' => 102, 42 | 'host' => 'localhost' 43 | ]); 44 | } 45 | } -------------------------------------------------------------------------------- /database/seeds/RolesTableSeeder.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Illuminate\Database\Seeder; 17 | use Illuminate\Database\Eloquent\Model; 18 | use App\Role; 19 | 20 | class RolesTableSeeder extends Seeder 21 | { 22 | /** 23 | * Run the database seeds. 24 | * 25 | * @return void 26 | */ 27 | public function run() 28 | { 29 | Role::create([ 30 | 'name' => 'admin' 31 | ]); 32 | 33 | Role::create([ 34 | 'name' => 'user' 35 | ]); 36 | } 37 | } -------------------------------------------------------------------------------- /database/seeds/WithdrawalStatusesTableSeeder.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Illuminate\Database\Seeder; 17 | use Illuminate\Database\Eloquent\Model; 18 | use Plugins\Withdrawals\Model\WithdrawalStatus; 19 | use Illuminate\Support\Facades\Hash; 20 | 21 | class WithdrawalStatusesTableSeeder extends Seeder 22 | { 23 | /** 24 | * Run the database seeds. 25 | * 26 | * @return void 27 | */ 28 | public function run() 29 | { 30 | WithdrawalStatus::create([ 31 | 'id' => 1, 32 | 'name' => 'Pending' 33 | ]); 34 | WithdrawalStatus::create([ 35 | 'id' => 2, 36 | 'name' => 'Rejected' 37 | ]); 38 | WithdrawalStatus::create([ 39 | 'id' => 3, 40 | 'name' => 'Success' 41 | ]); 42 | } 43 | } -------------------------------------------------------------------------------- /grunt-config/dev1.json: -------------------------------------------------------------------------------- 1 | { 2 | "api_url": "", 3 | "host": "", 4 | "host_username": "", 5 | "host_password": "", 6 | "upload_path": "", 7 | "db_name": "", 8 | "db_user": "", 9 | "db_password": "" 10 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RentnRide", 3 | "version": "0.0.1", 4 | "author": "Agriya", 5 | "test": "RentnRide", 6 | "devDependencies": { 7 | "grunt": ">=0.4.5 <1.0.0", 8 | "grunt-contrib-clean": "^1.0.0", 9 | "grunt-contrib-concat": "^1.0.0", 10 | "grunt-contrib-copy": "^1.0.0", 11 | "grunt-contrib-jshint": "^1.0.0", 12 | "grunt-contrib-less": "~1.2.0", 13 | "grunt-contrib-uglify": "~1.0.1", 14 | "grunt-html2js": "^0.3.5", 15 | "grunt-ng-annotate": "^2.0.1", 16 | "lodash": "^4.7.0", 17 | "grunt-angular-translate": "~0.3.0", 18 | "grunt-parallel": "~0.4.1", 19 | "grunt-regex-replace": "~0.2.6", 20 | "grunt-exec": "^0.4.6", 21 | "grunt-ssh": "^0.12.8", 22 | "grunt-ngdocs": "~0.2.10", 23 | "grunt-zip": "^0.17.1" 24 | }, 25 | "dependencies": { 26 | "lodash": "^4.7.0" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests/ 15 | 16 | 17 | 18 | 19 | app/ 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_api_requests.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/api_requests': 5 | summary: 'Fetch All Api Requests' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Api Request Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Api Request by Ascending / Descending Order'] 11 | q: [query,string, description:'Search Api Requests'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | 17 | GET '/admin/api_requests/{id}': 18 | summary: 'Show Api Request' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,description:'The Api Request Identifier'] 22 | responses: 23 | 200:true 24 | 404:'Not found' 25 | 26 | DELETE '/admin/api_requests/{id}': 27 | summary: 'Delete Api Request' 28 | produces: json 29 | parameters: 30 | id:[path,int64,required,description:'The Api Request Identifier'] 31 | responses: 32 | 200:true 33 | 404:'Not found' 34 | 35 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_contacts.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET 'admin/contacts': 6 | summary: 'Fetch List of Contacts' 7 | produces: json 8 | parameters: 9 | page: [query, int64, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Contact'] 11 | sort:[query,string, description:'The Contact Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Contact by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | 18 | DELETE '/admin/contacts/{id}': 19 | summary: 'Delete Contact' 20 | produces: json 21 | parameters: 22 | id:[path,int64,required,description:'Delete IP Details from List'] 23 | responses: 24 | 200:true 25 | 404:'Not found' 26 | 27 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_currency_conversion_histories.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/currency_conversion_histories': 5 | summary: 'Fetch all currency conversion histories' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The currency conversion history Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort currency conversion history by Ascending / Descending Order'] 11 | q: [query,string, description:'Search currency conversion history'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_currency_conversions.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/currency_conversions': 5 | summary: 'Fetch all currency conversions' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The currency conversion Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort currency conversion by Ascending / Descending Order'] 11 | q: [query,string, description:'Search currency conversion'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_dashboard.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/stats': 6 | summary: 'Get the count of all site activities based on duration' 7 | produces: json 8 | parameters: 9 | filter:[query,enum:['lastDays', 'lastWeeks', 'lastMonths', 'lastYears'],string, description:'filter stats based on duration '] 10 | responses: 11 | 200:true 12 | 404:'Not found' 13 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_ips.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/ips': 6 | summary: 'Fetch List of Ips' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search IP'] 11 | sort:[query,string, description:'The IP Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort IP by Ascending / Descending Order'] 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | 17 | DELETE '/admin/ips/{id}': 18 | summary: 'Delete IP' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,description:'The IP Identifier'] 22 | responses: 23 | 200:true 24 | 404:'Not found' 25 | 26 | GET '/admin/ips/{id}': 27 | summary: 'Show IP Details' 28 | produces: json 29 | parameters: 30 | id:[path,int64,required,description:'The IP Identifier'] 31 | responses: 32 | 200:true 33 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_paypal_transaction_logs.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/paypal_transaction_logs': 6 | summary: 'Get the list of paypal transaction logs' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Log Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort log by Ascending / Descending Order'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 15 | GET '/admin/paypal_transaction_logs/{id}': 16 | summary: 'View paypal transaction log' 17 | parameters: 18 | id:[path,int64,required,description:'view log details'] 19 | produces: json 20 | responses: 21 | 200:true 22 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_roles.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/roles': 5 | summary: 'Fetch all roles' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The role Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort role by Ascending / Descending Order'] 11 | q: [query,string, description:'Search roles'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_setting_categories.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/setting_categories': 6 | summary: 'List all setting categories' 7 | parameters: 8 | sort:[query,string,description:"sorting field name"] 9 | sortby:[query,enum:['asc', 'desc'],string,description:'sort setting category by ascending / descending order'] 10 | page:[query, int, description:'Page number for filtering'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 404:'Not found' 15 | 16 | GET '/admin/setting_categories/{id}': 17 | summary: 'Show setting category' 18 | produces: json 19 | parameters: 20 | id:[path,int64,required,description:'Setting category id'] 21 | responses: 22 | 200:true 23 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_sudopay.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/sudopay/synchronize': 6 | summary: 'Synchronize of sudopay gateway and update to DB' 7 | produces: json 8 | responses: 9 | 200:true 10 | 11 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_sudopay_ipn_logs.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/sudopay_ipn_logs': 6 | summary: 'Get the list of sudopay ipn logs' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Log Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Log by Ascending / Descending Order'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 15 | GET '/admin/sudopay_ipn_logs/{id}': 16 | summary: 'View sudopay ipn log' 17 | parameters: 18 | id:[path,int64,required,description:'view log details'] 19 | produces: json 20 | responses: 21 | 200:true 22 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_sudopay_transaction_logs.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/sudopay_transaction_logs': 6 | summary: 'Get the list of sudopay transaction logs' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Log Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Item by Ascending / Descending Order'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 15 | GET '/admin/sudopay_transaction_logs/{id}': 16 | summary: 'View sudopay transaction log' 17 | parameters: 18 | id:[path,int64,required,description:'view log details'] 19 | produces: json 20 | responses: 21 | 200:true 22 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_transactions.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/transactions': 6 | summary: 'Fetch all Transactions' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Page number for filtering'] 10 | q:[query,string, description:'Search Transaction'] 11 | filter:[query,enum:['Admin', 'All'],int, description:'filter list of requests '] 12 | sort:[query,string, description:'The field_name to sort'] 13 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Requests by Ascending / Descending Order'] 14 | limit:[query,enum:['all'],string, description:'choose limit'] 15 | transaction_type_id:[query,string,description:'comma separated list of transaction_type_id'] 16 | to_user:[query,int64, description:'Filter user identifier'] 17 | responses: 18 | 200:true 19 | 404:'Not found' 20 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_user_logins.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/user_logins': 5 | summary: 'Fetch User Logins' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The user_login Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort User Login by Ascending / Descending Order'] 11 | 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | 17 | DELETE '/admin/user_logins/{id}': 18 | summary: 'Delete User Logins' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,description:'The user_login Identifier'] 22 | responses: 23 | 200:true 24 | 404:'Not found' 25 | 26 | GET '/admin/user_logins/{id}': 27 | summary: 'Show User Login' 28 | produces: json 29 | parameters: 30 | id:[path,int64,required,description:'The User Login Identifier'] 31 | responses: 32 | 200:true 33 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_wallet_transaction_logs.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/wallet_transaction_logs': 6 | summary: 'Get the list of wallet transaction logs' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Log Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort log by Ascending / Descending Order'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 15 | GET '/admin/wallet_transaction_logs/{id}': 16 | summary: 'View wallet transaction log' 17 | parameters: 18 | id:[path,int64,required,description:'view log details'] 19 | produces: json 20 | responses: 21 | 200:true 22 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/admin_withdrawal_statuses.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/admin/withdrawal_statuses': 5 | summary: 'Fetch all withdrawal status' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The status Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort status by Ascending / Descending Order'] 11 | q: [query,string, description:'Search status'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/cancellation_types.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/cancellation_types': 6 | summary: 'List cancellation types' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search cancellation types'] 11 | sort:[query,string,description:'The cancellation type Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort cancellation types by Ascending / Descending Order'] 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/cities.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/cities': 6 | summary: 'Fetch List of Cities' 7 | produces: json 8 | parameters: 9 | type:[query,string, description:'Display City By Listing Type'] 10 | field:[query,string, description:'Give Whatever Fields Needed by "Comma Seperator"'] 11 | q:[query,string, description:'Search City'] 12 | filter:[query,string, description:'filter list of City'] 13 | sort:[query,string, description:'The City Identifier'] 14 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort City by Ascending / Descending Order'] 15 | 16 | responses: 17 | 200:true 18 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/contacts.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | POST '/admin/contacts': 6 | summary: 'Add Contact Details' 7 | produces: json 8 | parameters: 9 | ContactAdd:[body,required,type:"ContactAdd"] 10 | responses: 11 | 200:true 12 | 404:'Not found' 13 | 14 | 15 | MODEL "ContactAdd": 16 | first_name:[string,required,"Contact First Name"] 17 | last_name:[string,required,"Contact Last Name"] 18 | email:[string,required,"Contact Email"] 19 | subject:[string,required,"Contact Subject"] 20 | message:[string,required,"Contact Message"] 21 | telephone:[int64,required,"Contact Number"] 22 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/counter_locations.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/counter_locations': 6 | summary: 'Get the list of counter locations' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search counter location'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for counter locations'] 11 | sort:[query,string, description:'The counter location Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort counter location by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/countries.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/countries': 6 | summary: 'Fetch List of countries' 7 | produces: json 8 | parameters: 9 | filter:[query,string, description:'filter list of countries '] 10 | type:[query,string, description:'Display Country By Listing Type'] 11 | field:[query,string, description:'Give Whatever Fields Needed by "Comma Seperator"'] 12 | q:[query,string, description:'Search Country'] 13 | sort:[query,string, description:'The Country Identifier'] 14 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Country by Ascending / Descending Order'] 15 | responses: 16 | 200:true 17 | 404:'Not found' 18 | 19 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/currencies.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/currencies': 6 | summary: 'Fetch List of Currencies' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | type:[query,string, description:'Display Currency By Listing Type'] 11 | field:[query,string, description:'Give Whatever Fields Needed by "Comma Seperator"'] 12 | q:[query,string, description:'Search Currency'] 13 | filter:[query,string, description:'filter list of currencies '] 14 | sort:[query,string, description:'The Currency Identifier'] 15 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Currency by Ascending / Descending Order'] 16 | 17 | responses: 18 | 200:true 19 | 404:'Not found' 20 | 21 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/fuel_types.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/fuel_types': 6 | summary: 'Get the list of fuel types' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search fuel type'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for fuel types'] 11 | sort:[query,string, description:'The fuel type Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort fuel type by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/images.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/img/{size}/{model}/{filename}': 5 | summary: 'Create images' 6 | produces: json 7 | parameters: 8 | size:[path,int64,required,description:'Size'] 9 | model:[path,int64,required,description:'Model'] 10 | filename:[path,int64,required,description:'File name'] 11 | responses: 12 | 200:true 13 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/languages.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/languages': 6 | summary: 'Fetch Languages' 7 | produces: json 8 | parameters: 9 | filter:[query,string, description:'filter list of languages'] 10 | page:[query, int, description:'Give which page to be loaded'] 11 | type:[query,string, description:'Display Languages By Listing Type'] 12 | field:[query,string, description:'Give Whatever Fields Needed by "Comma Seperator"'] 13 | q:[query,string, description:'Search Languages'] 14 | sort:[query,string, description:'The language Identifier'] 15 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort languages by Ascending / Descending Order'] 16 | 17 | responses: 18 | 200:true 19 | 404:'Not found' 20 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/money_transfer_accounts.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/money_transfer_accounts': 6 | summary: 'Get the list of money transfer accounts' 7 | parameters: 8 | page:[query, int, description:'Page number for filtering'] 9 | produces: json 10 | responses: 11 | 200:true 12 | 13 | POST '/money_transfer_accounts': 14 | summary: 'Store money transfer accounts' 15 | produces: json 16 | parameters: 17 | MoneyTranferAccountAdd:[body,required,type:"MoneyTranferAccountAdd"] 18 | responses: 19 | 200:true 20 | 404:'Not found' 21 | 22 | DELETE '/money_transfer_accounts/{id}': 23 | summary: 'Delete the specified money transfer account' 24 | produces: json 25 | parameters: 26 | id:[path,int64,required,description:"Enter money transfer account ID"] 27 | responses: 28 | 200:true 29 | 30 | MODEL 'MoneyTranferAccountAdd': 31 | account:[string,required,"Money Transfer account details"] -------------------------------------------------------------------------------- /public/api_explorer/DSL/pages.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/languages/{iso2}/pages': 6 | summary: 'Fetch pages by languages' 7 | produces: json 8 | parameters: 9 | iso2:[path,string,required, description:'The Language iso2'] 10 | GET '/page/{id}': 11 | summary: 'Show Page' 12 | produces: json 13 | parameters: 14 | id:[path,string,required, description:'The Page Identifier'] 15 | responses: 16 | 200:true 17 | 404:'Not found' 18 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/payment_gateways.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/get_gateways': 6 | summary: 'Get the list of payment gateways' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The Log Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Item by Ascending / Descending Order'] 11 | produces: json 12 | responses: 13 | 200:true -------------------------------------------------------------------------------- /public/api_explorer/DSL/providers.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/providers': 5 | summary: 'Fetch all providers' 6 | produces: json 7 | parameters: 8 | filter:[query,enum:['active', 'inactive'],string, description:'Filter List of Providers '] 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q: [query,string, description:'Search Providers'] 11 | sort:[query,string,description:'The Provider Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Provider by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/settings.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/settings?type=public_settings': 6 | summary: 'Fetch all settings' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Page number for filtering'] 10 | q:[query,string, description:'Search settings'] 11 | sort:[query,string, description:'The settings to sort'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort settings by Ascending / Descending Order'] 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/states.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/states': 6 | summary: 'Fetch List of states' 7 | produces: json 8 | parameters: 9 | filter:[query,string, description:'filter list of states '] 10 | type:[query,string, description:'Display State By Listing Type'] 11 | field:[query,string, description:'Give Whatever Fields Needed by "Comma Seperator"'] 12 | q:[query,string, description:'Search State'] 13 | sort:[query,string, description:'The State Identifier'] 14 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort States by Ascending / Descending Order'] 15 | 16 | responses: 17 | 200:true 18 | 404:'Not found' 19 | 20 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/transaction_types.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/transaction_types': 6 | summary: 'Fetch all transaction types' 7 | parameters: 8 | sort:[query,string,description:"sorting field name"] 9 | sortby:[query,enum:['asc', 'desc'],string,description:'sort transaction types by ascending / descending order'] 10 | page:[query, int, description:'Page number for filtering'] 11 | produces: json 12 | responses: 13 | 200:true 14 | 404:'Not found' 15 | 16 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/transactions.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/transactions': 6 | summary: 'Fetch all Transactions' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Page number for filtering'] 10 | q:[query,string, description:'Search Transaction'] 11 | filter:[query,enum:['All', 'Today', 'This Week', 'This Month'],int, description:'filter list of requests '] 12 | sort:[query,string, description:'The field_name to sort'] 13 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Requests by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/user_cash_withdrawals.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/user_cash_withdrawals': 6 | summary: 'Get the list of withdrawal requests' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Page number for filtering'] 10 | filter:[query,enum:['pending', 'success', 'rejected', 'all'],int, description:'filter list of requests '] 11 | sort:[query,string, description:'The field_name to sort'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort Requests by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | 18 | POST '/user_cash_withdrawals': 19 | summary: 'Store Withdrawal Requests' 20 | produces: json 21 | parameters: 22 | UserCashWithdrawal:[body,required,type:"UserCashWithdrawal"] 23 | responses: 24 | 200:true 25 | 404:'Not found' 26 | 27 | 28 | MODEL 'UserCashWithdrawal': 29 | money_transfer_account_id:[int,required,"Money Transfer Account Td"], 30 | amount:[double,required,"Amount to be withdrawn"] -------------------------------------------------------------------------------- /public/api_explorer/DSL/user_views.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/admin/user_views': 6 | summary: 'Fetch user views' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q: [query,string, description:'Search User Views'] 11 | sort:[query,string, description:'The user_view Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort User View by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | 18 | DELETE '/admin/user_views/{user_view_id}': 19 | summary: 'Delete User View' 20 | produces: json 21 | parameters: 22 | id:[path,int64,required, description:'The user_view Identifier'] 23 | responses: 24 | 200:true 25 | 404:'Not found' 26 | 27 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_extra_accessories.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_extra_accessories': 6 | summary: 'Fetch List of extra accessories' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search ExtraAccessory'] 11 | filter:[query,enum:['active', 'inactive'],string,description:'filter list of extra accessories '] 12 | sort:[query,string,description:'The ExtraAccessory Identifier'] 13 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort ExtraAccessory by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_fuel_options.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_fuel_options': 6 | summary: 'Fetch List of Vehicle fuel options' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search FuelOption'] 11 | filter:[query,enum:['active', 'inactive'],string,description:'filter list of vehicle fuel options '] 12 | sort:[query,string,description:'The Fuel Option Identifier'] 13 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort FuelOption by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_insurances.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_insurances': 6 | summary: 'Fetch List of insurances' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search Insurance'] 11 | filter:[query,enum:['active', 'inactive'],string,description:'filter list of insurances '] 12 | sort:[query,string,description:'The Insurance Identifier'] 13 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort Insurance by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_makes.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_makes': 6 | summary: 'Get the list of vehicle makes' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search vehicle make'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for vehicle makes'] 11 | sort:[query,string, description:'The vehicle make Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle make by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_models.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_models': 6 | summary: 'Get the list of vehicle models' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search vehicle model'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for vehicle models'] 11 | sort:[query,string, description:'The vehicle model Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle model by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_special_prices.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_special_prices': 6 | summary: 'Get the list of vehicle special prices' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search vehicle special price'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for vehicle special prices'] 11 | sort:[query,string, description:'The vehicle special price Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle special price by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | GET '/vehicle_special_prices/{id}/edit': 18 | summary: 'Edit the vehicle special price' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,'id'] 22 | responses: 23 | 200:true 24 | 25 | GET '/vehicle_special_prices/{id}': 26 | summary: 'View the vehicle special price' 27 | produces: json 28 | parameters: 29 | id:[path,int64,required,'id'] 30 | responses: 31 | 200:true 32 | 33 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_surcharges.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_surcharges': 6 | summary: 'Fetch List of surcharges' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search Surcharge'] 11 | filter:[query,enum:['active', 'inactive'],string,description:'filter list of surcharges '] 12 | sort:[query,string,description:'The Surcharge Identifier'] 13 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort Surcharge by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_taxes.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_taxes': 6 | summary: 'Fetch List of taxes' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string,description:'Search Tax'] 11 | filter:[query,enum:['active', 'inactive'],string,description:'filter list of taxes '] 12 | sort:[query,string,description:'The Tax Identifier'] 13 | sortby:[query,enum:['asc', 'desc'],string,description:'Sort Tax by Ascending / Descending Order'] 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_extra_accessories.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_extra_accessories': 6 | summary: 'Fetch List of vehicle_type_extra_accessories' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Vehicle Type ExtraAccessory'] 11 | sort:[query,string,description:'The Vehicle Type ExtraAccessory Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle_type_extra_accessories by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_fuel_options.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_fuel_options': 6 | summary: 'Fetch List of vehicle_type_fuel_options' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Vehicle Type FuelOption'] 11 | sort:[query,string,description:'The Vehicle Type FuelOption Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle_type_fuel_options by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_insurances.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_insurances': 6 | summary: 'Fetch List of vehicle_type_insurances' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Vehicle Type Insurance'] 11 | sort:[query,string,description:'The Vehicle Type Insurance Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle_type_insurances by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_prices.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_prices': 6 | summary: 'Get the list of vehicle type prices' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search vehicle type price'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for vehicle type prices'] 11 | sort:[query,string, description:'The vehicle type price Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle type price by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | GET '/vehicle_type_prices/{id}/edit': 18 | summary: 'Edit the vehicle type price' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,'id'] 22 | responses: 23 | 200:true 24 | 25 | GET '/vehicle_type_prices/{id}': 26 | summary: 'View the vehicle type price' 27 | produces: json 28 | parameters: 29 | id:[path,int64,required,'id'] 30 | responses: 31 | 200:true 32 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_surcharges.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_surcharges': 6 | summary: 'Fetch List of vehicle_type_surcharges' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Vehicle Type Surcharge'] 11 | sort:[query,string,description:'The Vehicle Type Surcharge Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle_type_surcharges by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' 17 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_type_taxes.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_type_taxes': 6 | summary: 'Fetch List of vehicle_type_taxes' 7 | produces: json 8 | parameters: 9 | page: [query, int, description:'Give which page to be loaded'] 10 | q:[query,string, description:'Search Vehicle Type Tax'] 11 | sort:[query,string,description:'The Vehicle Type Tax Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle_type_taxes by Ascending / Descending Order'] 13 | 14 | responses: 15 | 200:true 16 | 404:'Not found' -------------------------------------------------------------------------------- /public/api_explorer/DSL/vehicle_types.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | GET '/vehicle_types': 6 | summary: 'Get the list of vehicle types' 7 | parameters: 8 | page: [query, int64, description:'Give which page to be loaded'] 9 | q:[query,string, description:'Search vehicle type'] 10 | filter:[query,enum:['is_active', 'all'],string,description:'Filter list for vehicle types'] 11 | sort:[query,string, description:'The vehicle type Identifier'] 12 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort vehicle type by Ascending / Descending Order'] 13 | produces: json 14 | responses: 15 | 200:true 16 | 17 | GET '/vehicle_types/{id}': 18 | summary: 'View the vehicle type' 19 | produces: json 20 | parameters: 21 | id:[path,int64,required,'id'] 22 | responses: 23 | 200:true 24 | 25 | -------------------------------------------------------------------------------- /public/api_explorer/DSL/wallets.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | 5 | POST '/wallets': 6 | summary: 'Add amount to user wallet' 7 | produces: json 8 | parameters: 9 | WalletAdd:[body,required,type:"WalletAdd"] 10 | responses: 11 | 200:true 12 | 404:'Not found' 13 | 14 | MODEL 'WalletAdd': 15 | amount:[int64,required,"Amount to be added to wallet"] -------------------------------------------------------------------------------- /public/api_explorer/DSL/withdrawal_statuses.dsl: -------------------------------------------------------------------------------- 1 | swagger_version 1.2 2 | api_version 1.0 3 | base_path '/bookorrent/public/api' 4 | GET '/withdrawal_statuses': 5 | summary: 'Fetch all withdrawal status' 6 | produces: json 7 | parameters: 8 | page: [query, int, description:'Give which page to be loaded'] 9 | sort:[query,string, description:'The status Identifier'] 10 | sortby:[query,enum:['asc', 'desc'],string, description:'Sort status by Ascending / Descending Order'] 11 | q: [query,string, description:'Search status'] 12 | 13 | responses: 14 | 200:true 15 | 404:'Not found' 16 | -------------------------------------------------------------------------------- /public/api_explorer/api-docs/admin_sudopay.json: -------------------------------------------------------------------------------- 1 | { 2 | "apis": [ 3 | { 4 | "path": "/admin/sudopay/synchronize", 5 | "operations": [ 6 | { 7 | "summary": "Synchronize of sudopay gateway and update to DB", 8 | "produces": [ 9 | "application/json" 10 | ], 11 | "responseMessages": [ 12 | { 13 | "code": "200", 14 | "message": "OK" 15 | } 16 | ], 17 | "method": "GET", 18 | "nickname": "get__admin_sudopay_synchronize" 19 | } 20 | ] 21 | } 22 | ], 23 | "models": {}, 24 | "swaggerVersion": "1.2", 25 | "apiVersion": "1", 26 | "basePath": "/bookorrent/public/api" 27 | } -------------------------------------------------------------------------------- /public/api_explorer/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/public/api_explorer/images/logo_small.png -------------------------------------------------------------------------------- /public/api_explorer/images/pet_store_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/public/api_explorer/images/pet_store_api.png -------------------------------------------------------------------------------- /public/api_explorer/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/public/api_explorer/images/throbber.gif -------------------------------------------------------------------------------- /public/api_explorer/images/wordnik_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agriya/rentnride/4538b1d3b406e4a4498fc76fc07eeee42fb58aed/public/api_explorer/images/wordnik_api.png -------------------------------------------------------------------------------- /public/api_explorer/lib/jquery.slideto.min.js: -------------------------------------------------------------------------------- 1 | (function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery); 2 | -------------------------------------------------------------------------------- /public/api_explorer/lib/jquery.wiggle.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Wiggle 3 | Author: WonderGroup, Jordan Thomas 4 | URL: http://labs.wondergroup.com/demos/mini-ui/index.html 5 | License: MIT (http://en.wikipedia.org/wiki/MIT_License) 6 | */ 7 | jQuery.fn.wiggle=function(o){var d={speed:50,wiggles:3,travel:5,callback:null};var o=jQuery.extend(d,o);return this.each(function(){var cache=this;var wrap=jQuery(this).wrap('
').css("position","relative");var calls=0;for(i=1;i<=o.wiggles;i++){jQuery(this).animate({left:"-="+o.travel},o.speed).animate({left:"+="+o.travel*2},o.speed*2).animate({left:"-="+o.travel},o.speed,function(){calls++;if(jQuery(cache).parent().hasClass('wiggle-wrap')){jQuery(cache).parent().replaceWith(cache);} 8 | if(calls==o.wiggles&&jQuery.isFunction(o.callback)){o.callback();}});}});}; -------------------------------------------------------------------------------- /resources/views/emails/mailContent.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | echo $body; -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/ExampleTest.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | use Laravel\Lumen\Testing\DatabaseTransactions; 17 | 18 | class ExampleTest extends TestCase 19 | { 20 | /** 21 | * A basic test example. 22 | * 23 | * @return void 24 | */ 25 | public function testExample() 26 | { 27 | $this->get('/'); 28 | 29 | $this->assertEquals( 30 | $this->response->getContent(), $this->app->version() 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2018 Agriya Infoway Private Ltd 12 | * @license http://www.agriya.com/ Agriya Infoway Licence 13 | * @link http://www.agriya.com 14 | */ 15 | 16 | class TestCase extends Laravel\Lumen\Testing\TestCase 17 | { 18 | /** 19 | * Creates the application. 20 | * 21 | * @return \Laravel\Lumen\Application 22 | */ 23 | public function createApplication() 24 | { 25 | return require __DIR__.'/../bootstrap/app.php'; 26 | } 27 | } 28 | --------------------------------------------------------------------------------