Skip to content

Instantly share code, notes, and snippets.

View pritamsharma45's full-sized avatar

Pritam Sharma pritamsharma45

  • Dhanbad
View GitHub Profile
@pritamsharma45
pritamsharma45 / code.js
Last active August 29, 2025 14:49
Data entry with multiple files upload
const DATA_ENTRY_SHEET_NAME = "Sheet1";
const TIME_STAMP_COLUMN_NAME = "Timestamp";
const FOLDER_ID = "";
// == IMAGE UPLOAD CONFIGURATION ==
// Add or edit image column names here - this is the only place you need to modify
const IMAGE_COLUMNS = [
{ name: "before", label: "Before Image" },
{ name: "on process", label: "On Process Image" },
{ name: "after", label: "After Image" },
@pritamsharma45
pritamsharma45 / CurrencyLocale.json
Created July 11, 2025 04:27
Global Currencies with Locale
[
{
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"locales": ["en-US", "en-CA", "es-US"]
},
{
"code": "EUR",
"name": "Euro",

Role-Based Access Features

This document outlines the role-based access control (RBAC) features implemented in the StageFlow-SufiArt application, as derived from the core mixins: authMixin, approvalMixin, and leadManagmentMixin.

Roles Overview

The application supports three primary user roles:

  • Owner
  • Admin
@pritamsharma45
pritamsharma45 / index.html
Last active May 14, 2025 11:41
Data Entry with File Upload
<!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
/>
<title>Data Entry Form with File Upload</title>
</head>
<body>
const DATA_ENTRY_SHEET_NAME = "Sheet1";
const TIME_STAMP_COLUMN_NAME = "Timestamp";
const FOLDER_ID = "";
const FILE_LINK_COLUMN_NAME = "FileLink";
const UPLOADED_FILE_NAME_COLUMN = "UploadedFileName";
const FORM_FILE_INPUT_NAME = "theFile";
function doPost(e) {
try {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(